diff --git a/.fern/metadata.json b/.fern/metadata.json index 8da5cad..463601c 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -9,10 +9,10 @@ "version": "1.21" } }, - "originGitCommit": "08782e4eef6cd6ccce4b6a6883408d9915a2d7c4", + "originGitCommit": "b0888bd6ca83627cb07ea05c440e35c183cebbd0", "originGitCommitIsDirty": false, "invokedBy": "ci", - "requestedVersion": "3.0.0-next.11", + "requestedVersion": "3.0.0-next.12", "ciProvider": "github", - "sdkVersion": "v3.0.0-next.11" + "sdkVersion": "v3.0.0-next.12" } \ No newline at end of file diff --git a/cloudpdf-generation.json b/cloudpdf-generation.json index a6f50f2..20c7c8b 100644 --- a/cloudpdf-generation.json +++ b/cloudpdf-generation.json @@ -1,12 +1,12 @@ { "language": "go", - "canonicalVersion": "3.0.0-next.11", - "sdkVersion": "3.0.0-next.11", + "canonicalVersion": "3.0.0-next.12", + "sdkVersion": "3.0.0-next.12", "source": { "repository": "embedpdf/embed-pdf-viewer", "openapi": "cloudpdf/contract/openapi.json", - "openapiSha256": "7bc0eea37724b3e359b0437edc3102b137e3d3f499293c89bb2b3293c6e3b614", - "gitCommit": "08782e4eef6cd6ccce4b6a6883408d9915a2d7c4", + "openapiSha256": "501ec54f2f28089dc8a3cf3a8d2ff3ade44c6c35d47977a3dfa47465fb83a049", + "gitCommit": "b0888bd6ca83627cb07ea05c440e35c183cebbd0", "gitCommitIsDirty": false }, "fern": { diff --git a/core/request_option.go b/core/request_option.go index 3467e14..779e83b 100644 --- a/core/request_option.go +++ b/core/request_option.go @@ -65,8 +65,8 @@ func (r *RequestOptions) cloneHeader() http.Header { headers := r.HTTPHeader.Clone() headers.Set("X-Fern-Language", "Go") headers.Set("X-Fern-SDK-Name", "github.com/embedpdf/cloudpdf-sdk-go/v3") - headers.Set("X-Fern-SDK-Version", "v3.0.0-next.11") - headers.Set("User-Agent", "github.com/embedpdf/cloudpdf-sdk-go/v3/3.0.0-next.11") + headers.Set("X-Fern-SDK-Version", "v3.0.0-next.12") + headers.Set("User-Agent", "github.com/embedpdf/cloudpdf-sdk-go/v3/3.0.0-next.12") return headers } diff --git a/doc/annotations.go b/doc/annotations.go index e218a26..6e8238e 100644 --- a/doc/annotations.go +++ b/doc/annotations.go @@ -137,6 +137,140 @@ func (d *DeleteAnnotationsRequest) SetAnnotKey(annotKey string) { d.require(deleteAnnotationsRequestFieldAnnotKey) } +var ( + exportAppearanceAnnotationsRequestFieldDocumentPassword = big.NewInt(1 << 0) + exportAppearanceAnnotationsRequestFieldDocID = big.NewInt(1 << 1) + exportAppearanceAnnotationsRequestFieldLayerName = big.NewInt(1 << 2) + exportAppearanceAnnotationsRequestFieldPon = big.NewInt(1 << 3) +) + +type ExportAppearanceAnnotationsRequest struct { + // Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead. + DocumentPassword *string `json:"-" url:"-"` + DocID string `json:"-" url:"-"` + LayerName string `json:"-" url:"-"` + Pon int `json:"-" url:"-"` + Body v3.DocAnnotationsExportAppearanceRequest `json:"-" url:"-"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` +} + +func (e *ExportAppearanceAnnotationsRequest) require(field *big.Int) { + if e.explicitFields == nil { + e.explicitFields = big.NewInt(0) + } + e.explicitFields.Or(e.explicitFields, field) +} + +// SetDocumentPassword sets the DocumentPassword field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (e *ExportAppearanceAnnotationsRequest) SetDocumentPassword(documentPassword *string) { + e.DocumentPassword = documentPassword + e.require(exportAppearanceAnnotationsRequestFieldDocumentPassword) +} + +// SetDocID sets the DocID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (e *ExportAppearanceAnnotationsRequest) SetDocID(docID string) { + e.DocID = docID + e.require(exportAppearanceAnnotationsRequestFieldDocID) +} + +// SetLayerName sets the LayerName field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (e *ExportAppearanceAnnotationsRequest) SetLayerName(layerName string) { + e.LayerName = layerName + e.require(exportAppearanceAnnotationsRequestFieldLayerName) +} + +// SetPon sets the Pon field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (e *ExportAppearanceAnnotationsRequest) SetPon(pon int) { + e.Pon = pon + e.require(exportAppearanceAnnotationsRequestFieldPon) +} + +func (e *ExportAppearanceAnnotationsRequest) UnmarshalJSON(data []byte) error { + var body v3.DocAnnotationsExportAppearanceRequest + if err := json.Unmarshal(data, &body); err != nil { + return err + } + e.Body = body + return nil +} + +func (e *ExportAppearanceAnnotationsRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(e.Body) +} + +var ( + flattenAnnotationsRequestFieldDocumentPassword = big.NewInt(1 << 0) + flattenAnnotationsRequestFieldDocID = big.NewInt(1 << 1) + flattenAnnotationsRequestFieldLayerName = big.NewInt(1 << 2) + flattenAnnotationsRequestFieldPon = big.NewInt(1 << 3) +) + +type FlattenAnnotationsRequest struct { + // Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead. + DocumentPassword *string `json:"-" url:"-"` + DocID string `json:"-" url:"-"` + LayerName string `json:"-" url:"-"` + Pon int `json:"-" url:"-"` + Body v3.DocAnnotationsFlattenRequest `json:"-" url:"-"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` +} + +func (f *FlattenAnnotationsRequest) require(field *big.Int) { + if f.explicitFields == nil { + f.explicitFields = big.NewInt(0) + } + f.explicitFields.Or(f.explicitFields, field) +} + +// SetDocumentPassword sets the DocumentPassword field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (f *FlattenAnnotationsRequest) SetDocumentPassword(documentPassword *string) { + f.DocumentPassword = documentPassword + f.require(flattenAnnotationsRequestFieldDocumentPassword) +} + +// SetDocID sets the DocID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (f *FlattenAnnotationsRequest) SetDocID(docID string) { + f.DocID = docID + f.require(flattenAnnotationsRequestFieldDocID) +} + +// SetLayerName sets the LayerName field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (f *FlattenAnnotationsRequest) SetLayerName(layerName string) { + f.LayerName = layerName + f.require(flattenAnnotationsRequestFieldLayerName) +} + +// SetPon sets the Pon field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (f *FlattenAnnotationsRequest) SetPon(pon int) { + f.Pon = pon + f.require(flattenAnnotationsRequestFieldPon) +} + +func (f *FlattenAnnotationsRequest) UnmarshalJSON(data []byte) error { + var body v3.DocAnnotationsFlattenRequest + if err := json.Unmarshal(data, &body); err != nil { + return err + } + f.Body = body + return nil +} + +func (f *FlattenAnnotationsRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(f.Body) +} + var ( listAnnotationsRequestFieldDocumentPassword = big.NewInt(1 << 0) listAnnotationsRequestFieldDocID = big.NewInt(1 << 1) diff --git a/doc/annotations/client.go b/doc/annotations/client.go index a40f0db..43cc3a5 100644 --- a/doc/annotations/client.go +++ b/doc/annotations/client.go @@ -4,6 +4,7 @@ package annotations import ( context "context" + io "io" cloudpdf "github.com/embedpdf/cloudpdf-sdk-go/v3" core "github.com/embedpdf/cloudpdf-sdk-go/v3/core" @@ -180,3 +181,65 @@ func (c *Client) Update( } return response.Body, nil } + +// Example: +// +// request := &doc.ExportAppearanceAnnotationsRequest{ +// DocID: "docId", +// LayerName: "layerName", +// Pon: 1, +// Body: map[string]any{ +// "string": map[string]any{ +// "key": "value", +// }, +// }, +// } +// client.Doc.Annotations.ExportAppearance( +// context.TODO(), +// request, +// ) +func (c *Client) ExportAppearance( + ctx context.Context, + request *doc.ExportAppearanceAnnotationsRequest, + opts ...option.RequestOption, +) (io.Reader, error) { + response, err := c.WithRawResponse.ExportAppearance( + ctx, + request, + opts..., + ) + if err != nil { + return nil, err + } + return response.Body, nil +} + +// Example: +// +// request := &doc.FlattenAnnotationsRequest{ +// DocID: "docId", +// LayerName: "layerName", +// Pon: 1, +// Body: map[string]any{ +// "key": "value", +// }, +// } +// client.Doc.Annotations.Flatten( +// context.TODO(), +// request, +// ) +func (c *Client) Flatten( + ctx context.Context, + request *doc.FlattenAnnotationsRequest, + opts ...option.RequestOption, +) (*cloudpdf.DocAnnotationsFlatten200Response, error) { + response, err := c.WithRawResponse.Flatten( + ctx, + request, + opts..., + ) + if err != nil { + return nil, err + } + return response.Body, nil +} diff --git a/doc/annotations/doc_annotations_test/doc_annotations_test.go b/doc/annotations/doc_annotations_test/doc_annotations_test.go index bb11e49..5788b35 100644 --- a/doc/annotations/doc_annotations_test/doc_annotations_test.go +++ b/doc/annotations/doc_annotations_test/doc_annotations_test.go @@ -223,3 +223,34 @@ func TestDocAnnotationsUpdateWithWireMock( require.NoError(t, invocationErr, "Client method call should succeed") VerifyRequestCount(t, "TestDocAnnotationsUpdateWithWireMock", "PATCH", "/v1/docs/docId/layers/layerName/annotations/pages/1/items/annotKey", nil, 1) } + +func TestDocAnnotationsFlattenWithWireMock( + t *testing.T, +) { + WireMockBaseURL := os.Getenv("WIREMOCK_URL") + if WireMockBaseURL == "" { + WireMockBaseURL = "http://localhost:8080" + } + client := client.NewClient( + option.WithBaseURL(WireMockBaseURL), + option.WithToken("test-token"), + ) + request := &doc.FlattenAnnotationsRequest{ + DocID: "docId", + LayerName: "layerName", + Pon: 1, + Body: map[string]any{ + "key": "value", + }, + } + _, invocationErr := client.Doc.Annotations.Flatten( + context.TODO(), + request, + option.WithHTTPHeader( + http.Header{"X-Test-Id": []string{"TestDocAnnotationsFlattenWithWireMock"}}, + ), + ) + + require.NoError(t, invocationErr, "Client method call should succeed") + VerifyRequestCount(t, "TestDocAnnotationsFlattenWithWireMock", "POST", "/v1/docs/docId/layers/layerName/annotations/pages/1/items/flatten", nil, 1) +} diff --git a/doc/annotations/raw_client.go b/doc/annotations/raw_client.go index 11a4c02..e9e38e1 100644 --- a/doc/annotations/raw_client.go +++ b/doc/annotations/raw_client.go @@ -3,7 +3,9 @@ package annotations import ( + bytes "bytes" context "context" + io "io" http "net/http" cloudpdf "github.com/embedpdf/cloudpdf-sdk-go/v3" @@ -290,3 +292,107 @@ func (r *RawClient) Update( Body: response, }, nil } + +func (r *RawClient) ExportAppearance( + ctx context.Context, + request *doc.ExportAppearanceAnnotationsRequest, + opts ...option.RequestOption, +) (*core.Response[io.Reader], error) { + options := core.NewRequestOptions(opts...) + baseURL := internal.ResolveBaseURL( + options.BaseURL, + r.baseURL, + "", + ) + endpointURL := internal.EncodeURL( + baseURL+"/v1/docs/%v/layers/%v/annotations/pages/%v/items/appearance", + request.DocID, + request.LayerName, + request.Pon, + ) + headers := internal.MergeHeaders( + r.options.ToHeader(), + options.ToHeader(), + ) + if request.DocumentPassword != nil { + headers.Add("X-Document-Password", *request.DocumentPassword) + } + headers.Add("Content-Type", "application/json") + response := bytes.NewBuffer(nil) + raw, err := r.caller.Call( + ctx, + &internal.CallParams{ + URL: endpointURL, + Method: http.MethodPost, + Headers: headers, + MaxAttempts: options.MaxAttempts, + DisableRetries: options.DisableRetries, + BodyProperties: options.BodyProperties, + QueryParameters: options.QueryParameters, + Client: options.HTTPClient, + Request: request, + Response: response, + ErrorDecoder: internal.NewErrorDecoder(doc.ErrorCodes), + }, + ) + if err != nil { + return nil, err + } + return &core.Response[io.Reader]{ + StatusCode: raw.StatusCode, + Header: raw.Header, + Body: response, + }, nil +} + +func (r *RawClient) Flatten( + ctx context.Context, + request *doc.FlattenAnnotationsRequest, + opts ...option.RequestOption, +) (*core.Response[*cloudpdf.DocAnnotationsFlatten200Response], error) { + options := core.NewRequestOptions(opts...) + baseURL := internal.ResolveBaseURL( + options.BaseURL, + r.baseURL, + "", + ) + endpointURL := internal.EncodeURL( + baseURL+"/v1/docs/%v/layers/%v/annotations/pages/%v/items/flatten", + request.DocID, + request.LayerName, + request.Pon, + ) + headers := internal.MergeHeaders( + r.options.ToHeader(), + options.ToHeader(), + ) + if request.DocumentPassword != nil { + headers.Add("X-Document-Password", *request.DocumentPassword) + } + headers.Add("Content-Type", "application/json") + var response *cloudpdf.DocAnnotationsFlatten200Response + raw, err := r.caller.Call( + ctx, + &internal.CallParams{ + URL: endpointURL, + Method: http.MethodPost, + Headers: headers, + MaxAttempts: options.MaxAttempts, + DisableRetries: options.DisableRetries, + BodyProperties: options.BodyProperties, + QueryParameters: options.QueryParameters, + Client: options.HTTPClient, + Request: request, + Response: &response, + ErrorDecoder: internal.NewErrorDecoder(doc.ErrorCodes), + }, + ) + if err != nil { + return nil, err + } + return &core.Response[*cloudpdf.DocAnnotationsFlatten200Response]{ + StatusCode: raw.StatusCode, + Header: raw.Header, + Body: response, + }, nil +} diff --git a/doc/annotations_test.go b/doc/annotations_test.go index 6d69849..e1d9879 100644 --- a/doc/annotations_test.go +++ b/doc/annotations_test.go @@ -372,6 +372,330 @@ func TestSettersMarkExplicitDeleteAnnotationsRequest(t *testing.T) { } +func TestSettersExportAppearanceAnnotationsRequest(t *testing.T) { + t.Run("SetDocumentPassword", func(t *testing.T) { + obj := &ExportAppearanceAnnotationsRequest{} + var fernTestValueDocumentPassword *string + obj.SetDocumentPassword(fernTestValueDocumentPassword) + assert.Equal(t, fernTestValueDocumentPassword, obj.DocumentPassword) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetDocID", func(t *testing.T) { + obj := &ExportAppearanceAnnotationsRequest{} + var fernTestValueDocID string + obj.SetDocID(fernTestValueDocID) + assert.Equal(t, fernTestValueDocID, obj.DocID) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetLayerName", func(t *testing.T) { + obj := &ExportAppearanceAnnotationsRequest{} + var fernTestValueLayerName string + obj.SetLayerName(fernTestValueLayerName) + assert.Equal(t, fernTestValueLayerName, obj.LayerName) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetPon", func(t *testing.T) { + obj := &ExportAppearanceAnnotationsRequest{} + var fernTestValuePon int + obj.SetPon(fernTestValuePon) + assert.Equal(t, fernTestValuePon, obj.Pon) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestSettersMarkExplicitExportAppearanceAnnotationsRequest(t *testing.T) { + t.Run("SetDocumentPassword_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &ExportAppearanceAnnotationsRequest{} + var fernTestValueDocumentPassword *string + + // Act + obj.SetDocumentPassword(fernTestValueDocumentPassword) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetDocID_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &ExportAppearanceAnnotationsRequest{} + var fernTestValueDocID string + + // Act + obj.SetDocID(fernTestValueDocID) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetLayerName_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &ExportAppearanceAnnotationsRequest{} + var fernTestValueLayerName string + + // Act + obj.SetLayerName(fernTestValueLayerName) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetPon_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &ExportAppearanceAnnotationsRequest{} + var fernTestValuePon int + + // Act + obj.SetPon(fernTestValuePon) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersFlattenAnnotationsRequest(t *testing.T) { + t.Run("SetDocumentPassword", func(t *testing.T) { + obj := &FlattenAnnotationsRequest{} + var fernTestValueDocumentPassword *string + obj.SetDocumentPassword(fernTestValueDocumentPassword) + assert.Equal(t, fernTestValueDocumentPassword, obj.DocumentPassword) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetDocID", func(t *testing.T) { + obj := &FlattenAnnotationsRequest{} + var fernTestValueDocID string + obj.SetDocID(fernTestValueDocID) + assert.Equal(t, fernTestValueDocID, obj.DocID) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetLayerName", func(t *testing.T) { + obj := &FlattenAnnotationsRequest{} + var fernTestValueLayerName string + obj.SetLayerName(fernTestValueLayerName) + assert.Equal(t, fernTestValueLayerName, obj.LayerName) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetPon", func(t *testing.T) { + obj := &FlattenAnnotationsRequest{} + var fernTestValuePon int + obj.SetPon(fernTestValuePon) + assert.Equal(t, fernTestValuePon, obj.Pon) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestSettersMarkExplicitFlattenAnnotationsRequest(t *testing.T) { + t.Run("SetDocumentPassword_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &FlattenAnnotationsRequest{} + var fernTestValueDocumentPassword *string + + // Act + obj.SetDocumentPassword(fernTestValueDocumentPassword) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetDocID_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &FlattenAnnotationsRequest{} + var fernTestValueDocID string + + // Act + obj.SetDocID(fernTestValueDocID) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetLayerName_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &FlattenAnnotationsRequest{} + var fernTestValueLayerName string + + // Act + obj.SetLayerName(fernTestValueLayerName) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetPon_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &FlattenAnnotationsRequest{} + var fernTestValuePon int + + // Act + obj.SetPon(fernTestValuePon) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + func TestSettersListAnnotationsRequest(t *testing.T) { t.Run("SetDocumentPassword", func(t *testing.T) { obj := &ListAnnotationsRequest{} diff --git a/doc/pages.go b/doc/pages.go index 0215c81..4ea398d 100644 --- a/doc/pages.go +++ b/doc/pages.go @@ -366,6 +366,64 @@ func (m *MovePagesRequest) MarshalJSON() ([]byte, error) { return json.Marshal(m.Body) } +var ( + removeNamePagesRequestFieldDocumentPassword = big.NewInt(1 << 0) + removeNamePagesRequestFieldDocID = big.NewInt(1 << 1) + removeNamePagesRequestFieldLayerName = big.NewInt(1 << 2) +) + +type RemoveNamePagesRequest struct { + // Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead. + DocumentPassword *string `json:"-" url:"-"` + DocID string `json:"-" url:"-"` + LayerName string `json:"-" url:"-"` + Body v3.DocPagesRemoveNameRequest `json:"-" url:"-"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` +} + +func (r *RemoveNamePagesRequest) require(field *big.Int) { + if r.explicitFields == nil { + r.explicitFields = big.NewInt(0) + } + r.explicitFields.Or(r.explicitFields, field) +} + +// SetDocumentPassword sets the DocumentPassword field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (r *RemoveNamePagesRequest) SetDocumentPassword(documentPassword *string) { + r.DocumentPassword = documentPassword + r.require(removeNamePagesRequestFieldDocumentPassword) +} + +// SetDocID sets the DocID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (r *RemoveNamePagesRequest) SetDocID(docID string) { + r.DocID = docID + r.require(removeNamePagesRequestFieldDocID) +} + +// SetLayerName sets the LayerName field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (r *RemoveNamePagesRequest) SetLayerName(layerName string) { + r.LayerName = layerName + r.require(removeNamePagesRequestFieldLayerName) +} + +func (r *RemoveNamePagesRequest) UnmarshalJSON(data []byte) error { + var body v3.DocPagesRemoveNameRequest + if err := json.Unmarshal(data, &body); err != nil { + return err + } + r.Body = body + return nil +} + +func (r *RemoveNamePagesRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(r.Body) +} + var ( rotatePagesRequestFieldDocumentPassword = big.NewInt(1 << 0) rotatePagesRequestFieldDocID = big.NewInt(1 << 1) @@ -423,3 +481,61 @@ func (r *RotatePagesRequest) UnmarshalJSON(data []byte) error { func (r *RotatePagesRequest) MarshalJSON() ([]byte, error) { return json.Marshal(r.Body) } + +var ( + setNamePagesRequestFieldDocumentPassword = big.NewInt(1 << 0) + setNamePagesRequestFieldDocID = big.NewInt(1 << 1) + setNamePagesRequestFieldLayerName = big.NewInt(1 << 2) +) + +type SetNamePagesRequest struct { + // Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead. + DocumentPassword *string `json:"-" url:"-"` + DocID string `json:"-" url:"-"` + LayerName string `json:"-" url:"-"` + Body v3.DocPagesSetNameRequest `json:"-" url:"-"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` +} + +func (s *SetNamePagesRequest) require(field *big.Int) { + if s.explicitFields == nil { + s.explicitFields = big.NewInt(0) + } + s.explicitFields.Or(s.explicitFields, field) +} + +// SetDocumentPassword sets the DocumentPassword field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (s *SetNamePagesRequest) SetDocumentPassword(documentPassword *string) { + s.DocumentPassword = documentPassword + s.require(setNamePagesRequestFieldDocumentPassword) +} + +// SetDocID sets the DocID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (s *SetNamePagesRequest) SetDocID(docID string) { + s.DocID = docID + s.require(setNamePagesRequestFieldDocID) +} + +// SetLayerName sets the LayerName field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (s *SetNamePagesRequest) SetLayerName(layerName string) { + s.LayerName = layerName + s.require(setNamePagesRequestFieldLayerName) +} + +func (s *SetNamePagesRequest) UnmarshalJSON(data []byte) error { + var body v3.DocPagesSetNameRequest + if err := json.Unmarshal(data, &body); err != nil { + return err + } + s.Body = body + return nil +} + +func (s *SetNamePagesRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(s.Body) +} diff --git a/doc/pages/client.go b/doc/pages/client.go index b17c761..83dd563 100644 --- a/doc/pages/client.go +++ b/doc/pages/client.go @@ -218,6 +218,64 @@ func (c *Client) Move( return response.Body, nil } +// Example: +// +// request := &doc.SetNamePagesRequest{ +// DocID: "docId", +// LayerName: "layerName", +// Body: map[string]any{ +// "key": "value", +// }, +// } +// client.Doc.Pages.SetName( +// context.TODO(), +// request, +// ) +func (c *Client) SetName( + ctx context.Context, + request *doc.SetNamePagesRequest, + opts ...option.RequestOption, +) (*cloudpdf.DocPagesSetName200Response, error) { + response, err := c.WithRawResponse.SetName( + ctx, + request, + opts..., + ) + if err != nil { + return nil, err + } + return response.Body, nil +} + +// Example: +// +// request := &doc.RemoveNamePagesRequest{ +// DocID: "docId", +// LayerName: "layerName", +// Body: map[string]any{ +// "key": "value", +// }, +// } +// client.Doc.Pages.RemoveName( +// context.TODO(), +// request, +// ) +func (c *Client) RemoveName( + ctx context.Context, + request *doc.RemoveNamePagesRequest, + opts ...option.RequestOption, +) (*cloudpdf.DocPagesRemoveName200Response, error) { + response, err := c.WithRawResponse.RemoveName( + ctx, + request, + opts..., + ) + if err != nil { + return nil, err + } + return response.Body, nil +} + // Example: // // request := &doc.RotatePagesRequest{ diff --git a/doc/pages/doc_pages_test/doc_pages_test.go b/doc/pages/doc_pages_test/doc_pages_test.go index c62d2ca..1d885c2 100644 --- a/doc/pages/doc_pages_test/doc_pages_test.go +++ b/doc/pages/doc_pages_test/doc_pages_test.go @@ -228,6 +228,66 @@ func TestDocPagesMoveWithWireMock( VerifyRequestCount(t, "TestDocPagesMoveWithWireMock", "POST", "/v1/docs/docId/layers/layerName/pages/move", nil, 1) } +func TestDocPagesSetNameWithWireMock( + t *testing.T, +) { + WireMockBaseURL := os.Getenv("WIREMOCK_URL") + if WireMockBaseURL == "" { + WireMockBaseURL = "http://localhost:8080" + } + client := client.NewClient( + option.WithBaseURL(WireMockBaseURL), + option.WithToken("test-token"), + ) + request := &doc.SetNamePagesRequest{ + DocID: "docId", + LayerName: "layerName", + Body: map[string]any{ + "key": "value", + }, + } + _, invocationErr := client.Doc.Pages.SetName( + context.TODO(), + request, + option.WithHTTPHeader( + http.Header{"X-Test-Id": []string{"TestDocPagesSetNameWithWireMock"}}, + ), + ) + + require.NoError(t, invocationErr, "Client method call should succeed") + VerifyRequestCount(t, "TestDocPagesSetNameWithWireMock", "POST", "/v1/docs/docId/layers/layerName/pages/names", nil, 1) +} + +func TestDocPagesRemoveNameWithWireMock( + t *testing.T, +) { + WireMockBaseURL := os.Getenv("WIREMOCK_URL") + if WireMockBaseURL == "" { + WireMockBaseURL = "http://localhost:8080" + } + client := client.NewClient( + option.WithBaseURL(WireMockBaseURL), + option.WithToken("test-token"), + ) + request := &doc.RemoveNamePagesRequest{ + DocID: "docId", + LayerName: "layerName", + Body: map[string]any{ + "key": "value", + }, + } + _, invocationErr := client.Doc.Pages.RemoveName( + context.TODO(), + request, + option.WithHTTPHeader( + http.Header{"X-Test-Id": []string{"TestDocPagesRemoveNameWithWireMock"}}, + ), + ) + + require.NoError(t, invocationErr, "Client method call should succeed") + VerifyRequestCount(t, "TestDocPagesRemoveNameWithWireMock", "POST", "/v1/docs/docId/layers/layerName/pages/names/delete", nil, 1) +} + func TestDocPagesRotateWithWireMock( t *testing.T, ) { diff --git a/doc/pages/raw_client.go b/doc/pages/raw_client.go index c3f9b0c..7183cf4 100644 --- a/doc/pages/raw_client.go +++ b/doc/pages/raw_client.go @@ -350,6 +350,108 @@ func (r *RawClient) Move( }, nil } +func (r *RawClient) SetName( + ctx context.Context, + request *doc.SetNamePagesRequest, + opts ...option.RequestOption, +) (*core.Response[*cloudpdf.DocPagesSetName200Response], error) { + options := core.NewRequestOptions(opts...) + baseURL := internal.ResolveBaseURL( + options.BaseURL, + r.baseURL, + "", + ) + endpointURL := internal.EncodeURL( + baseURL+"/v1/docs/%v/layers/%v/pages/names", + request.DocID, + request.LayerName, + ) + headers := internal.MergeHeaders( + r.options.ToHeader(), + options.ToHeader(), + ) + if request.DocumentPassword != nil { + headers.Add("X-Document-Password", *request.DocumentPassword) + } + headers.Add("Content-Type", "application/json") + var response *cloudpdf.DocPagesSetName200Response + raw, err := r.caller.Call( + ctx, + &internal.CallParams{ + URL: endpointURL, + Method: http.MethodPost, + Headers: headers, + MaxAttempts: options.MaxAttempts, + DisableRetries: options.DisableRetries, + BodyProperties: options.BodyProperties, + QueryParameters: options.QueryParameters, + Client: options.HTTPClient, + Request: request, + Response: &response, + ErrorDecoder: internal.NewErrorDecoder(doc.ErrorCodes), + }, + ) + if err != nil { + return nil, err + } + return &core.Response[*cloudpdf.DocPagesSetName200Response]{ + StatusCode: raw.StatusCode, + Header: raw.Header, + Body: response, + }, nil +} + +func (r *RawClient) RemoveName( + ctx context.Context, + request *doc.RemoveNamePagesRequest, + opts ...option.RequestOption, +) (*core.Response[*cloudpdf.DocPagesRemoveName200Response], error) { + options := core.NewRequestOptions(opts...) + baseURL := internal.ResolveBaseURL( + options.BaseURL, + r.baseURL, + "", + ) + endpointURL := internal.EncodeURL( + baseURL+"/v1/docs/%v/layers/%v/pages/names/delete", + request.DocID, + request.LayerName, + ) + headers := internal.MergeHeaders( + r.options.ToHeader(), + options.ToHeader(), + ) + if request.DocumentPassword != nil { + headers.Add("X-Document-Password", *request.DocumentPassword) + } + headers.Add("Content-Type", "application/json") + var response *cloudpdf.DocPagesRemoveName200Response + raw, err := r.caller.Call( + ctx, + &internal.CallParams{ + URL: endpointURL, + Method: http.MethodPost, + Headers: headers, + MaxAttempts: options.MaxAttempts, + DisableRetries: options.DisableRetries, + BodyProperties: options.BodyProperties, + QueryParameters: options.QueryParameters, + Client: options.HTTPClient, + Request: request, + Response: &response, + ErrorDecoder: internal.NewErrorDecoder(doc.ErrorCodes), + }, + ) + if err != nil { + return nil, err + } + return &core.Response[*cloudpdf.DocPagesRemoveName200Response]{ + StatusCode: raw.StatusCode, + Header: raw.Header, + Body: response, + }, nil +} + func (r *RawClient) Rotate( ctx context.Context, request *doc.RotatePagesRequest, diff --git a/doc/pages_test.go b/doc/pages_test.go index 293f68b..e7973a8 100644 --- a/doc/pages_test.go +++ b/doc/pages_test.go @@ -747,6 +747,129 @@ func TestSettersMarkExplicitMovePagesRequest(t *testing.T) { } +func TestSettersRemoveNamePagesRequest(t *testing.T) { + t.Run("SetDocumentPassword", func(t *testing.T) { + obj := &RemoveNamePagesRequest{} + var fernTestValueDocumentPassword *string + obj.SetDocumentPassword(fernTestValueDocumentPassword) + assert.Equal(t, fernTestValueDocumentPassword, obj.DocumentPassword) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetDocID", func(t *testing.T) { + obj := &RemoveNamePagesRequest{} + var fernTestValueDocID string + obj.SetDocID(fernTestValueDocID) + assert.Equal(t, fernTestValueDocID, obj.DocID) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetLayerName", func(t *testing.T) { + obj := &RemoveNamePagesRequest{} + var fernTestValueLayerName string + obj.SetLayerName(fernTestValueLayerName) + assert.Equal(t, fernTestValueLayerName, obj.LayerName) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestSettersMarkExplicitRemoveNamePagesRequest(t *testing.T) { + t.Run("SetDocumentPassword_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &RemoveNamePagesRequest{} + var fernTestValueDocumentPassword *string + + // Act + obj.SetDocumentPassword(fernTestValueDocumentPassword) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetDocID_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &RemoveNamePagesRequest{} + var fernTestValueDocID string + + // Act + obj.SetDocID(fernTestValueDocID) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetLayerName_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &RemoveNamePagesRequest{} + var fernTestValueLayerName string + + // Act + obj.SetLayerName(fernTestValueLayerName) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + func TestSettersRotatePagesRequest(t *testing.T) { t.Run("SetDocumentPassword", func(t *testing.T) { obj := &RotatePagesRequest{} @@ -869,3 +992,126 @@ func TestSettersMarkExplicitRotatePagesRequest(t *testing.T) { }) } + +func TestSettersSetNamePagesRequest(t *testing.T) { + t.Run("SetDocumentPassword", func(t *testing.T) { + obj := &SetNamePagesRequest{} + var fernTestValueDocumentPassword *string + obj.SetDocumentPassword(fernTestValueDocumentPassword) + assert.Equal(t, fernTestValueDocumentPassword, obj.DocumentPassword) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetDocID", func(t *testing.T) { + obj := &SetNamePagesRequest{} + var fernTestValueDocID string + obj.SetDocID(fernTestValueDocID) + assert.Equal(t, fernTestValueDocID, obj.DocID) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetLayerName", func(t *testing.T) { + obj := &SetNamePagesRequest{} + var fernTestValueLayerName string + obj.SetLayerName(fernTestValueLayerName) + assert.Equal(t, fernTestValueLayerName, obj.LayerName) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestSettersMarkExplicitSetNamePagesRequest(t *testing.T) { + t.Run("SetDocumentPassword_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &SetNamePagesRequest{} + var fernTestValueDocumentPassword *string + + // Act + obj.SetDocumentPassword(fernTestValueDocumentPassword) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetDocID_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &SetNamePagesRequest{} + var fernTestValueDocID string + + // Act + obj.SetDocID(fernTestValueDocID) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetLayerName_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &SetNamePagesRequest{} + var fernTestValueLayerName string + + // Act + obj.SetLayerName(fernTestValueLayerName) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} diff --git a/reference.md b/reference.md index 2a48378..c764bb3 100644 --- a/reference.md +++ b/reference.md @@ -2473,6 +2473,174 @@ client.Doc.Annotations.Update( + + + + +
client.Doc.Annotations.ExportAppearance(DocID, LayerName, Pon, request) -> string +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```go +request := &doc.ExportAppearanceAnnotationsRequest{ + DocID: "docId", + LayerName: "layerName", + Pon: 1, + Body: map[string]any{ + "string": map[string]any{ + "key": "value", + }, + }, +} +client.Doc.Annotations.ExportAppearance( + context.TODO(), + request, +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**docID:** `string` + +
+
+ +
+
+ +**layerName:** `string` + +
+
+ +
+
+ +**pon:** `int` + +
+
+ +
+
+ +**documentPassword:** `*string` — Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead. + +
+
+ +
+
+ +**request:** `cloudpdf.DocAnnotationsExportAppearanceRequest` + +
+
+
+
+ + +
+
+
+ +
client.Doc.Annotations.Flatten(DocID, LayerName, Pon, request) -> *cloudpdf.DocAnnotationsFlatten200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```go +request := &doc.FlattenAnnotationsRequest{ + DocID: "docId", + LayerName: "layerName", + Pon: 1, + Body: map[string]any{ + "key": "value", + }, +} +client.Doc.Annotations.Flatten( + context.TODO(), + request, +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**docID:** `string` + +
+
+ +
+
+ +**layerName:** `string` + +
+
+ +
+
+ +**pon:** `int` + +
+
+ +
+
+ +**documentPassword:** `*string` — Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead. + +
+
+ +
+
+ +**request:** `cloudpdf.DocAnnotationsFlattenRequest` + +
+
+
+
+ +
@@ -3382,6 +3550,154 @@ client.Doc.Pages.Move( + + + + +
client.Doc.Pages.SetName(DocID, LayerName, request) -> *cloudpdf.DocPagesSetName200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```go +request := &doc.SetNamePagesRequest{ + DocID: "docId", + LayerName: "layerName", + Body: map[string]any{ + "key": "value", + }, +} +client.Doc.Pages.SetName( + context.TODO(), + request, +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**docID:** `string` + +
+
+ +
+
+ +**layerName:** `string` + +
+
+ +
+
+ +**documentPassword:** `*string` — Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead. + +
+
+ +
+
+ +**request:** `cloudpdf.DocPagesSetNameRequest` + +
+
+
+
+ + +
+
+
+ +
client.Doc.Pages.RemoveName(DocID, LayerName, request) -> *cloudpdf.DocPagesRemoveName200Response +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```go +request := &doc.RemoveNamePagesRequest{ + DocID: "docId", + LayerName: "layerName", + Body: map[string]any{ + "key": "value", + }, +} +client.Doc.Pages.RemoveName( + context.TODO(), + request, +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**docID:** `string` + +
+
+ +
+
+ +**layerName:** `string` + +
+
+ +
+
+ +**documentPassword:** `*string` — Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead. + +
+
+ +
+
+ +**request:** `cloudpdf.DocPagesRemoveNameRequest` + +
+
+
+
+ +
diff --git a/types.go b/types.go index 3e2cbc2..823683f 100644 --- a/types.go +++ b/types.go @@ -2924,14 +2924,6503 @@ func (d DocAnnotationsDelete404ResponseName) Ptr() *DocAnnotationsDelete404Respo return &d } +var ( + docAnnotationsExportAppearance400ResponseFieldName = big.NewInt(1 << 0) + docAnnotationsExportAppearance400ResponseFieldCode = big.NewInt(1 << 1) + docAnnotationsExportAppearance400ResponseFieldMessage = big.NewInt(1 << 2) + docAnnotationsExportAppearance400ResponseFieldDetails = big.NewInt(1 << 3) +) + +type DocAnnotationsExportAppearance400Response struct { + Name DocAnnotationsExportAppearance400ResponseName `json:"name" url:"name"` + Code DocAnnotationsExportAppearance400ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsExportAppearance400Response) GetName() DocAnnotationsExportAppearance400ResponseName { + if d == nil { + return "" + } + return d.Name +} + +func (d *DocAnnotationsExportAppearance400Response) GetCode() DocAnnotationsExportAppearance400ResponseCode { + if d == nil { + return "" + } + return d.Code +} + +func (d *DocAnnotationsExportAppearance400Response) GetMessage() string { + if d == nil { + return "" + } + return d.Message +} + +func (d *DocAnnotationsExportAppearance400Response) GetDetails() map[string]any { + if d == nil { + return nil + } + return d.Details +} + +func (d *DocAnnotationsExportAppearance400Response) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsExportAppearance400Response) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetName sets the Name field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsExportAppearance400Response) SetName(name DocAnnotationsExportAppearance400ResponseName) { + d.Name = name + d.require(docAnnotationsExportAppearance400ResponseFieldName) +} + +// SetCode sets the Code field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsExportAppearance400Response) SetCode(code DocAnnotationsExportAppearance400ResponseCode) { + d.Code = code + d.require(docAnnotationsExportAppearance400ResponseFieldCode) +} + +// SetMessage sets the Message field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsExportAppearance400Response) SetMessage(message string) { + d.Message = message + d.require(docAnnotationsExportAppearance400ResponseFieldMessage) +} + +// SetDetails sets the Details field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsExportAppearance400Response) SetDetails(details map[string]any) { + d.Details = details + d.require(docAnnotationsExportAppearance400ResponseFieldDetails) +} + +func (d *DocAnnotationsExportAppearance400Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsExportAppearance400Response + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsExportAppearance400Response(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsExportAppearance400Response) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsExportAppearance400Response + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsExportAppearance400Response) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsExportAppearance400ResponseCode string + +const ( + DocAnnotationsExportAppearance400ResponseCodeUnknown DocAnnotationsExportAppearance400ResponseCode = "Unknown" + DocAnnotationsExportAppearance400ResponseCodeInvalidArg DocAnnotationsExportAppearance400ResponseCode = "InvalidArg" + DocAnnotationsExportAppearance400ResponseCodeDocNotOpen DocAnnotationsExportAppearance400ResponseCode = "DocNotOpen" + DocAnnotationsExportAppearance400ResponseCodeDocOpenFailed DocAnnotationsExportAppearance400ResponseCode = "DocOpenFailed" + DocAnnotationsExportAppearance400ResponseCodeDocPasswordRequired DocAnnotationsExportAppearance400ResponseCode = "DocPasswordRequired" + DocAnnotationsExportAppearance400ResponseCodeDocPasswordIncorrect DocAnnotationsExportAppearance400ResponseCode = "DocPasswordIncorrect" + DocAnnotationsExportAppearance400ResponseCodeSharePasswordRequired DocAnnotationsExportAppearance400ResponseCode = "SharePasswordRequired" + DocAnnotationsExportAppearance400ResponseCodeAborted DocAnnotationsExportAppearance400ResponseCode = "Aborted" + DocAnnotationsExportAppearance400ResponseCodeNetwork DocAnnotationsExportAppearance400ResponseCode = "Network" + DocAnnotationsExportAppearance400ResponseCodeUnauthenticated DocAnnotationsExportAppearance400ResponseCode = "Unauthenticated" + DocAnnotationsExportAppearance400ResponseCodeForbidden DocAnnotationsExportAppearance400ResponseCode = "Forbidden" + DocAnnotationsExportAppearance400ResponseCodeNotFound DocAnnotationsExportAppearance400ResponseCode = "NotFound" + DocAnnotationsExportAppearance400ResponseCodeWireFormat DocAnnotationsExportAppearance400ResponseCode = "WireFormat" + DocAnnotationsExportAppearance400ResponseCodeRuntimeUnavailable DocAnnotationsExportAppearance400ResponseCode = "RuntimeUnavailable" + DocAnnotationsExportAppearance400ResponseCodeInvalidReference DocAnnotationsExportAppearance400ResponseCode = "InvalidReference" + DocAnnotationsExportAppearance400ResponseCodeWeakAnnotationSessionConflict DocAnnotationsExportAppearance400ResponseCode = "WeakAnnotationSessionConflict" + DocAnnotationsExportAppearance400ResponseCodeLayerVersionConflict DocAnnotationsExportAppearance400ResponseCode = "LayerVersionConflict" + DocAnnotationsExportAppearance400ResponseCodeNotImplemented DocAnnotationsExportAppearance400ResponseCode = "NotImplemented" + DocAnnotationsExportAppearance400ResponseCodeMalformedPdf DocAnnotationsExportAppearance400ResponseCode = "MalformedPdf" +) + +func NewDocAnnotationsExportAppearance400ResponseCodeFromString(s string) (DocAnnotationsExportAppearance400ResponseCode, error) { + switch s { + case "Unknown": + return DocAnnotationsExportAppearance400ResponseCodeUnknown, nil + case "InvalidArg": + return DocAnnotationsExportAppearance400ResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocAnnotationsExportAppearance400ResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocAnnotationsExportAppearance400ResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocAnnotationsExportAppearance400ResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocAnnotationsExportAppearance400ResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocAnnotationsExportAppearance400ResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocAnnotationsExportAppearance400ResponseCodeAborted, nil + case "Network": + return DocAnnotationsExportAppearance400ResponseCodeNetwork, nil + case "Unauthenticated": + return DocAnnotationsExportAppearance400ResponseCodeUnauthenticated, nil + case "Forbidden": + return DocAnnotationsExportAppearance400ResponseCodeForbidden, nil + case "NotFound": + return DocAnnotationsExportAppearance400ResponseCodeNotFound, nil + case "WireFormat": + return DocAnnotationsExportAppearance400ResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocAnnotationsExportAppearance400ResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocAnnotationsExportAppearance400ResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocAnnotationsExportAppearance400ResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocAnnotationsExportAppearance400ResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocAnnotationsExportAppearance400ResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocAnnotationsExportAppearance400ResponseCodeMalformedPdf, nil + } + var t DocAnnotationsExportAppearance400ResponseCode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsExportAppearance400ResponseCode) Ptr() *DocAnnotationsExportAppearance400ResponseCode { + return &d +} + +type DocAnnotationsExportAppearance400ResponseName string + +const ( + DocAnnotationsExportAppearance400ResponseNameEngineError DocAnnotationsExportAppearance400ResponseName = "EngineError" +) + +func NewDocAnnotationsExportAppearance400ResponseNameFromString(s string) (DocAnnotationsExportAppearance400ResponseName, error) { + switch s { + case "EngineError": + return DocAnnotationsExportAppearance400ResponseNameEngineError, nil + } + var t DocAnnotationsExportAppearance400ResponseName + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsExportAppearance400ResponseName) Ptr() *DocAnnotationsExportAppearance400ResponseName { + return &d +} + +var ( + docAnnotationsExportAppearance404ResponseFieldName = big.NewInt(1 << 0) + docAnnotationsExportAppearance404ResponseFieldCode = big.NewInt(1 << 1) + docAnnotationsExportAppearance404ResponseFieldMessage = big.NewInt(1 << 2) + docAnnotationsExportAppearance404ResponseFieldDetails = big.NewInt(1 << 3) +) + +type DocAnnotationsExportAppearance404Response struct { + Name DocAnnotationsExportAppearance404ResponseName `json:"name" url:"name"` + Code DocAnnotationsExportAppearance404ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsExportAppearance404Response) GetName() DocAnnotationsExportAppearance404ResponseName { + if d == nil { + return "" + } + return d.Name +} + +func (d *DocAnnotationsExportAppearance404Response) GetCode() DocAnnotationsExportAppearance404ResponseCode { + if d == nil { + return "" + } + return d.Code +} + +func (d *DocAnnotationsExportAppearance404Response) GetMessage() string { + if d == nil { + return "" + } + return d.Message +} + +func (d *DocAnnotationsExportAppearance404Response) GetDetails() map[string]any { + if d == nil { + return nil + } + return d.Details +} + +func (d *DocAnnotationsExportAppearance404Response) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsExportAppearance404Response) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetName sets the Name field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsExportAppearance404Response) SetName(name DocAnnotationsExportAppearance404ResponseName) { + d.Name = name + d.require(docAnnotationsExportAppearance404ResponseFieldName) +} + +// SetCode sets the Code field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsExportAppearance404Response) SetCode(code DocAnnotationsExportAppearance404ResponseCode) { + d.Code = code + d.require(docAnnotationsExportAppearance404ResponseFieldCode) +} + +// SetMessage sets the Message field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsExportAppearance404Response) SetMessage(message string) { + d.Message = message + d.require(docAnnotationsExportAppearance404ResponseFieldMessage) +} + +// SetDetails sets the Details field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsExportAppearance404Response) SetDetails(details map[string]any) { + d.Details = details + d.require(docAnnotationsExportAppearance404ResponseFieldDetails) +} + +func (d *DocAnnotationsExportAppearance404Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsExportAppearance404Response + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsExportAppearance404Response(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsExportAppearance404Response) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsExportAppearance404Response + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsExportAppearance404Response) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsExportAppearance404ResponseCode string + +const ( + DocAnnotationsExportAppearance404ResponseCodeUnknown DocAnnotationsExportAppearance404ResponseCode = "Unknown" + DocAnnotationsExportAppearance404ResponseCodeInvalidArg DocAnnotationsExportAppearance404ResponseCode = "InvalidArg" + DocAnnotationsExportAppearance404ResponseCodeDocNotOpen DocAnnotationsExportAppearance404ResponseCode = "DocNotOpen" + DocAnnotationsExportAppearance404ResponseCodeDocOpenFailed DocAnnotationsExportAppearance404ResponseCode = "DocOpenFailed" + DocAnnotationsExportAppearance404ResponseCodeDocPasswordRequired DocAnnotationsExportAppearance404ResponseCode = "DocPasswordRequired" + DocAnnotationsExportAppearance404ResponseCodeDocPasswordIncorrect DocAnnotationsExportAppearance404ResponseCode = "DocPasswordIncorrect" + DocAnnotationsExportAppearance404ResponseCodeSharePasswordRequired DocAnnotationsExportAppearance404ResponseCode = "SharePasswordRequired" + DocAnnotationsExportAppearance404ResponseCodeAborted DocAnnotationsExportAppearance404ResponseCode = "Aborted" + DocAnnotationsExportAppearance404ResponseCodeNetwork DocAnnotationsExportAppearance404ResponseCode = "Network" + DocAnnotationsExportAppearance404ResponseCodeUnauthenticated DocAnnotationsExportAppearance404ResponseCode = "Unauthenticated" + DocAnnotationsExportAppearance404ResponseCodeForbidden DocAnnotationsExportAppearance404ResponseCode = "Forbidden" + DocAnnotationsExportAppearance404ResponseCodeNotFound DocAnnotationsExportAppearance404ResponseCode = "NotFound" + DocAnnotationsExportAppearance404ResponseCodeWireFormat DocAnnotationsExportAppearance404ResponseCode = "WireFormat" + DocAnnotationsExportAppearance404ResponseCodeRuntimeUnavailable DocAnnotationsExportAppearance404ResponseCode = "RuntimeUnavailable" + DocAnnotationsExportAppearance404ResponseCodeInvalidReference DocAnnotationsExportAppearance404ResponseCode = "InvalidReference" + DocAnnotationsExportAppearance404ResponseCodeWeakAnnotationSessionConflict DocAnnotationsExportAppearance404ResponseCode = "WeakAnnotationSessionConflict" + DocAnnotationsExportAppearance404ResponseCodeLayerVersionConflict DocAnnotationsExportAppearance404ResponseCode = "LayerVersionConflict" + DocAnnotationsExportAppearance404ResponseCodeNotImplemented DocAnnotationsExportAppearance404ResponseCode = "NotImplemented" + DocAnnotationsExportAppearance404ResponseCodeMalformedPdf DocAnnotationsExportAppearance404ResponseCode = "MalformedPdf" +) + +func NewDocAnnotationsExportAppearance404ResponseCodeFromString(s string) (DocAnnotationsExportAppearance404ResponseCode, error) { + switch s { + case "Unknown": + return DocAnnotationsExportAppearance404ResponseCodeUnknown, nil + case "InvalidArg": + return DocAnnotationsExportAppearance404ResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocAnnotationsExportAppearance404ResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocAnnotationsExportAppearance404ResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocAnnotationsExportAppearance404ResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocAnnotationsExportAppearance404ResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocAnnotationsExportAppearance404ResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocAnnotationsExportAppearance404ResponseCodeAborted, nil + case "Network": + return DocAnnotationsExportAppearance404ResponseCodeNetwork, nil + case "Unauthenticated": + return DocAnnotationsExportAppearance404ResponseCodeUnauthenticated, nil + case "Forbidden": + return DocAnnotationsExportAppearance404ResponseCodeForbidden, nil + case "NotFound": + return DocAnnotationsExportAppearance404ResponseCodeNotFound, nil + case "WireFormat": + return DocAnnotationsExportAppearance404ResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocAnnotationsExportAppearance404ResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocAnnotationsExportAppearance404ResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocAnnotationsExportAppearance404ResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocAnnotationsExportAppearance404ResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocAnnotationsExportAppearance404ResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocAnnotationsExportAppearance404ResponseCodeMalformedPdf, nil + } + var t DocAnnotationsExportAppearance404ResponseCode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsExportAppearance404ResponseCode) Ptr() *DocAnnotationsExportAppearance404ResponseCode { + return &d +} + +type DocAnnotationsExportAppearance404ResponseName string + +const ( + DocAnnotationsExportAppearance404ResponseNameEngineError DocAnnotationsExportAppearance404ResponseName = "EngineError" +) + +func NewDocAnnotationsExportAppearance404ResponseNameFromString(s string) (DocAnnotationsExportAppearance404ResponseName, error) { + switch s { + case "EngineError": + return DocAnnotationsExportAppearance404ResponseNameEngineError, nil + } + var t DocAnnotationsExportAppearance404ResponseName + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsExportAppearance404ResponseName) Ptr() *DocAnnotationsExportAppearance404ResponseName { + return &d +} + +type DocAnnotationsExportAppearanceRequest = map[string]any + +var ( + docAnnotationsFlatten200ResponseFieldMeta = big.NewInt(1 << 0) +) + +type DocAnnotationsFlatten200Response struct { + Meta *DocAnnotationsFlatten200ResponseMeta `json:"meta" url:"meta"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + ExtraProperties map[string]interface{} `json:"-" url:"-"` + + rawJSON json.RawMessage +} + +func (d *DocAnnotationsFlatten200Response) GetMeta() *DocAnnotationsFlatten200ResponseMeta { + if d == nil { + return nil + } + return d.Meta +} + +func (d *DocAnnotationsFlatten200Response) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.ExtraProperties +} + +func (d *DocAnnotationsFlatten200Response) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetMeta sets the Meta field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten200Response) SetMeta(meta *DocAnnotationsFlatten200ResponseMeta) { + d.Meta = meta + d.require(docAnnotationsFlatten200ResponseFieldMeta) +} + +func (d *DocAnnotationsFlatten200Response) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsFlatten200Response + var unmarshaler = struct { + embed + }{ + embed: embed(*d), + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { + return err + } + *d = DocAnnotationsFlatten200Response(unmarshaler.embed) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.ExtraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsFlatten200Response) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsFlatten200Response + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return internal.MarshalJSONWithExtraProperties(explicitMarshaler, d.ExtraProperties) +} + +func (d *DocAnnotationsFlatten200Response) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsFlatten200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) + docAnnotationsFlatten200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) +) + +type DocAnnotationsFlatten200ResponseMeta struct { + AffectedPages []*DocAnnotationsFlatten200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` + CacheDelta *DocAnnotationsFlatten200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsFlatten200ResponseMeta) GetAffectedPages() []*DocAnnotationsFlatten200ResponseMetaAffectedPagesItem { + if d == nil { + return nil + } + return d.AffectedPages +} + +func (d *DocAnnotationsFlatten200ResponseMeta) GetCacheDelta() *DocAnnotationsFlatten200ResponseMetaCacheDelta { + if d == nil { + return nil + } + return d.CacheDelta +} + +func (d *DocAnnotationsFlatten200ResponseMeta) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsFlatten200ResponseMeta) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetAffectedPages sets the AffectedPages field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten200ResponseMeta) SetAffectedPages(affectedPages []*DocAnnotationsFlatten200ResponseMetaAffectedPagesItem) { + d.AffectedPages = affectedPages + d.require(docAnnotationsFlatten200ResponseMetaFieldAffectedPages) +} + +// SetCacheDelta sets the CacheDelta field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten200ResponseMeta) SetCacheDelta(cacheDelta *DocAnnotationsFlatten200ResponseMetaCacheDelta) { + d.CacheDelta = cacheDelta + d.require(docAnnotationsFlatten200ResponseMetaFieldCacheDelta) +} + +func (d *DocAnnotationsFlatten200ResponseMeta) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsFlatten200ResponseMeta + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsFlatten200ResponseMeta(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsFlatten200ResponseMeta) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsFlatten200ResponseMeta + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsFlatten200ResponseMeta) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsFlatten200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsFlatten200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) + docAnnotationsFlatten200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) +) + +type DocAnnotationsFlatten200ResponseMetaAffectedPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Revision *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` + WeakAnnotationState *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItem) GetRevision() *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision { + if d == nil { + return nil + } + return d.Revision +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState { + if d == nil { + return nil + } + return d.WeakAnnotationState +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItem) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsFlatten200ResponseMetaAffectedPagesItemFieldPageObjectNumber) +} + +// SetRevision sets the Revision field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItem) SetRevision(revision *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision) { + d.Revision = revision + d.require(docAnnotationsFlatten200ResponseMetaAffectedPagesItemFieldRevision) +} + +// SetWeakAnnotationState sets the WeakAnnotationState field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) { + d.WeakAnnotationState = weakAnnotationState + d.require(docAnnotationsFlatten200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsFlatten200ResponseMetaAffectedPagesItem + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsFlatten200ResponseMetaAffectedPagesItem(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsFlatten200ResponseMetaAffectedPagesItem + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItem) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsFlatten200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsFlatten200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsFlatten200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) +) + +type DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision struct { + DocSessionID string `json:"docSessionId" url:"docSessionId"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Generation int `json:"generation" url:"generation"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { + if d == nil { + return "" + } + return d.DocSessionID +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { + if d == nil { + return 0 + } + return d.Generation +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docAnnotationsFlatten200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsFlatten200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) +} + +// SetGeneration sets the Generation field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docAnnotationsFlatten200ResponseMetaAffectedPagesItemRevisionFieldGeneration) +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState struct { + Kind string + Unknown *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + Known *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + + rawJSON json.RawMessage +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { + if d == nil { + return "" + } + return d.Kind +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { + if d == nil { + return nil + } + return d.Unknown +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { + if d == nil { + return nil + } + return d.Known +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { + var unmarshaler struct { + Kind string `json:"kind"` + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { + return err + } + d.Kind = unmarshaler.Kind + if unmarshaler.Kind == "" { + return fmt.Errorf("%T did not include discriminant kind", d) + } + switch unmarshaler.Kind { + case "unknown": + value := new(DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Unknown = value + case "known": + value := new(DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Known = value + } + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { + if err := d.validate(); err != nil { + return nil, err + } + if d.Unknown != nil { + return internal.MarshalJSONWithExtraProperty(d.Unknown, "kind", "unknown") + } + if d.Known != nil { + return internal.MarshalJSONWithExtraProperty(d.Known, "kind", "known") + } + if len(d.rawJSON) > 0 { + return d.rawJSON, nil + } + return nil, fmt.Errorf("type %T does not define a non-empty union type", d) +} + +type DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { + VisitUnknown(*DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error + VisitKnown(*DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { + if d.Unknown != nil { + return visitor.VisitUnknown(d.Unknown) + } + if d.Known != nil { + return visitor.VisitKnown(d.Known) + } + return fmt.Errorf("type %T does not define a non-empty union type", d) +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { + if d == nil { + return fmt.Errorf("type %T is nil", d) + } + var fields []string + if d.Unknown != nil { + fields = append(fields, "unknown") + } + if d.Known != nil { + fields = append(fields, "known") + } + if len(fields) == 0 { + if d.Kind != "" { + if len(d.rawJSON) > 0 { + return nil + } + return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) + } + return fmt.Errorf("type %T is empty", d) + } + if len(fields) > 1 { + return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) + } + if d.Kind != "" { + field := fields[0] + if d.Kind != field { + return fmt.Errorf( + "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", + d, + d.Kind, + d, + ) + } + } + return nil +} + +var ( + docAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) +) + +type DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { + HasAnyWeakAnnotations bool `json:"hasAnyWeakAnnotations" url:"hasAnyWeakAnnotations"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { + if d == nil { + return false + } + return d.HasAnyWeakAnnotations +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetHasAnyWeakAnnotations sets the HasAnyWeakAnnotations field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { + d.HasAnyWeakAnnotations = hasAnyWeakAnnotations + d.require(docAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsFlatten200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) + docAnnotationsFlatten200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) + docAnnotationsFlatten200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) + docAnnotationsFlatten200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) +) + +type DocAnnotationsFlatten200ResponseMetaCacheDelta struct { + PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` + DocVersion int `json:"docVersion" url:"docVersion"` + AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` + Pages []*DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDelta) GetPreviousDocVersion() int { + if d == nil { + return 0 + } + return d.PreviousDocVersion +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDelta) GetDocVersion() int { + if d == nil { + return 0 + } + return d.DocVersion +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { + if d == nil { + return nil + } + return d.AnnotationsVersion +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDelta) GetPages() []*DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem { + if d == nil { + return nil + } + return d.Pages +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDelta) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPreviousDocVersion sets the PreviousDocVersion field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { + d.PreviousDocVersion = previousDocVersion + d.require(docAnnotationsFlatten200ResponseMetaCacheDeltaFieldPreviousDocVersion) +} + +// SetDocVersion sets the DocVersion field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { + d.DocVersion = docVersion + d.require(docAnnotationsFlatten200ResponseMetaCacheDeltaFieldDocVersion) +} + +// SetAnnotationsVersion sets the AnnotationsVersion field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { + d.AnnotationsVersion = annotationsVersion + d.require(docAnnotationsFlatten200ResponseMetaCacheDeltaFieldAnnotationsVersion) +} + +// SetPages sets the Pages field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten200ResponseMetaCacheDelta) SetPages(pages []*DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem) { + d.Pages = pages + d.require(docAnnotationsFlatten200ResponseMetaCacheDeltaFieldPages) +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsFlatten200ResponseMetaCacheDelta + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsFlatten200ResponseMetaCacheDelta(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsFlatten200ResponseMetaCacheDelta + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDelta) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) +) + +type DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Cache *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem) GetCache() *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache { + if d == nil { + return nil + } + return d.Cache +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) +} + +// SetCache sets the Cache field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache) { + d.Cache = cache + d.require(docAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemFieldCache) +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) + docAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) +) + +type DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache struct { + ContentVersion int `json:"contentVersion" url:"contentVersion"` + AnnotationVersion int `json:"annotationVersion" url:"annotationVersion"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { + if d == nil { + return 0 + } + return d.ContentVersion +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { + if d == nil { + return 0 + } + return d.AnnotationVersion +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetContentVersion sets the ContentVersion field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { + d.ContentVersion = contentVersion + d.require(docAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) +} + +// SetAnnotationVersion sets the AnnotationVersion field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { + d.AnnotationVersion = annotationVersion + d.require(docAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsFlatten400ResponseFieldName = big.NewInt(1 << 0) + docAnnotationsFlatten400ResponseFieldCode = big.NewInt(1 << 1) + docAnnotationsFlatten400ResponseFieldMessage = big.NewInt(1 << 2) + docAnnotationsFlatten400ResponseFieldDetails = big.NewInt(1 << 3) +) + +type DocAnnotationsFlatten400Response struct { + Name DocAnnotationsFlatten400ResponseName `json:"name" url:"name"` + Code DocAnnotationsFlatten400ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsFlatten400Response) GetName() DocAnnotationsFlatten400ResponseName { + if d == nil { + return "" + } + return d.Name +} + +func (d *DocAnnotationsFlatten400Response) GetCode() DocAnnotationsFlatten400ResponseCode { + if d == nil { + return "" + } + return d.Code +} + +func (d *DocAnnotationsFlatten400Response) GetMessage() string { + if d == nil { + return "" + } + return d.Message +} + +func (d *DocAnnotationsFlatten400Response) GetDetails() map[string]any { + if d == nil { + return nil + } + return d.Details +} + +func (d *DocAnnotationsFlatten400Response) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsFlatten400Response) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetName sets the Name field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten400Response) SetName(name DocAnnotationsFlatten400ResponseName) { + d.Name = name + d.require(docAnnotationsFlatten400ResponseFieldName) +} + +// SetCode sets the Code field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten400Response) SetCode(code DocAnnotationsFlatten400ResponseCode) { + d.Code = code + d.require(docAnnotationsFlatten400ResponseFieldCode) +} + +// SetMessage sets the Message field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten400Response) SetMessage(message string) { + d.Message = message + d.require(docAnnotationsFlatten400ResponseFieldMessage) +} + +// SetDetails sets the Details field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten400Response) SetDetails(details map[string]any) { + d.Details = details + d.require(docAnnotationsFlatten400ResponseFieldDetails) +} + +func (d *DocAnnotationsFlatten400Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsFlatten400Response + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsFlatten400Response(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsFlatten400Response) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsFlatten400Response + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsFlatten400Response) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsFlatten400ResponseCode string + +const ( + DocAnnotationsFlatten400ResponseCodeUnknown DocAnnotationsFlatten400ResponseCode = "Unknown" + DocAnnotationsFlatten400ResponseCodeInvalidArg DocAnnotationsFlatten400ResponseCode = "InvalidArg" + DocAnnotationsFlatten400ResponseCodeDocNotOpen DocAnnotationsFlatten400ResponseCode = "DocNotOpen" + DocAnnotationsFlatten400ResponseCodeDocOpenFailed DocAnnotationsFlatten400ResponseCode = "DocOpenFailed" + DocAnnotationsFlatten400ResponseCodeDocPasswordRequired DocAnnotationsFlatten400ResponseCode = "DocPasswordRequired" + DocAnnotationsFlatten400ResponseCodeDocPasswordIncorrect DocAnnotationsFlatten400ResponseCode = "DocPasswordIncorrect" + DocAnnotationsFlatten400ResponseCodeSharePasswordRequired DocAnnotationsFlatten400ResponseCode = "SharePasswordRequired" + DocAnnotationsFlatten400ResponseCodeAborted DocAnnotationsFlatten400ResponseCode = "Aborted" + DocAnnotationsFlatten400ResponseCodeNetwork DocAnnotationsFlatten400ResponseCode = "Network" + DocAnnotationsFlatten400ResponseCodeUnauthenticated DocAnnotationsFlatten400ResponseCode = "Unauthenticated" + DocAnnotationsFlatten400ResponseCodeForbidden DocAnnotationsFlatten400ResponseCode = "Forbidden" + DocAnnotationsFlatten400ResponseCodeNotFound DocAnnotationsFlatten400ResponseCode = "NotFound" + DocAnnotationsFlatten400ResponseCodeWireFormat DocAnnotationsFlatten400ResponseCode = "WireFormat" + DocAnnotationsFlatten400ResponseCodeRuntimeUnavailable DocAnnotationsFlatten400ResponseCode = "RuntimeUnavailable" + DocAnnotationsFlatten400ResponseCodeInvalidReference DocAnnotationsFlatten400ResponseCode = "InvalidReference" + DocAnnotationsFlatten400ResponseCodeWeakAnnotationSessionConflict DocAnnotationsFlatten400ResponseCode = "WeakAnnotationSessionConflict" + DocAnnotationsFlatten400ResponseCodeLayerVersionConflict DocAnnotationsFlatten400ResponseCode = "LayerVersionConflict" + DocAnnotationsFlatten400ResponseCodeNotImplemented DocAnnotationsFlatten400ResponseCode = "NotImplemented" + DocAnnotationsFlatten400ResponseCodeMalformedPdf DocAnnotationsFlatten400ResponseCode = "MalformedPdf" +) + +func NewDocAnnotationsFlatten400ResponseCodeFromString(s string) (DocAnnotationsFlatten400ResponseCode, error) { + switch s { + case "Unknown": + return DocAnnotationsFlatten400ResponseCodeUnknown, nil + case "InvalidArg": + return DocAnnotationsFlatten400ResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocAnnotationsFlatten400ResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocAnnotationsFlatten400ResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocAnnotationsFlatten400ResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocAnnotationsFlatten400ResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocAnnotationsFlatten400ResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocAnnotationsFlatten400ResponseCodeAborted, nil + case "Network": + return DocAnnotationsFlatten400ResponseCodeNetwork, nil + case "Unauthenticated": + return DocAnnotationsFlatten400ResponseCodeUnauthenticated, nil + case "Forbidden": + return DocAnnotationsFlatten400ResponseCodeForbidden, nil + case "NotFound": + return DocAnnotationsFlatten400ResponseCodeNotFound, nil + case "WireFormat": + return DocAnnotationsFlatten400ResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocAnnotationsFlatten400ResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocAnnotationsFlatten400ResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocAnnotationsFlatten400ResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocAnnotationsFlatten400ResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocAnnotationsFlatten400ResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocAnnotationsFlatten400ResponseCodeMalformedPdf, nil + } + var t DocAnnotationsFlatten400ResponseCode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsFlatten400ResponseCode) Ptr() *DocAnnotationsFlatten400ResponseCode { + return &d +} + +type DocAnnotationsFlatten400ResponseName string + +const ( + DocAnnotationsFlatten400ResponseNameEngineError DocAnnotationsFlatten400ResponseName = "EngineError" +) + +func NewDocAnnotationsFlatten400ResponseNameFromString(s string) (DocAnnotationsFlatten400ResponseName, error) { + switch s { + case "EngineError": + return DocAnnotationsFlatten400ResponseNameEngineError, nil + } + var t DocAnnotationsFlatten400ResponseName + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsFlatten400ResponseName) Ptr() *DocAnnotationsFlatten400ResponseName { + return &d +} + +var ( + docAnnotationsFlatten404ResponseFieldName = big.NewInt(1 << 0) + docAnnotationsFlatten404ResponseFieldCode = big.NewInt(1 << 1) + docAnnotationsFlatten404ResponseFieldMessage = big.NewInt(1 << 2) + docAnnotationsFlatten404ResponseFieldDetails = big.NewInt(1 << 3) +) + +type DocAnnotationsFlatten404Response struct { + Name DocAnnotationsFlatten404ResponseName `json:"name" url:"name"` + Code DocAnnotationsFlatten404ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsFlatten404Response) GetName() DocAnnotationsFlatten404ResponseName { + if d == nil { + return "" + } + return d.Name +} + +func (d *DocAnnotationsFlatten404Response) GetCode() DocAnnotationsFlatten404ResponseCode { + if d == nil { + return "" + } + return d.Code +} + +func (d *DocAnnotationsFlatten404Response) GetMessage() string { + if d == nil { + return "" + } + return d.Message +} + +func (d *DocAnnotationsFlatten404Response) GetDetails() map[string]any { + if d == nil { + return nil + } + return d.Details +} + +func (d *DocAnnotationsFlatten404Response) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsFlatten404Response) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetName sets the Name field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten404Response) SetName(name DocAnnotationsFlatten404ResponseName) { + d.Name = name + d.require(docAnnotationsFlatten404ResponseFieldName) +} + +// SetCode sets the Code field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten404Response) SetCode(code DocAnnotationsFlatten404ResponseCode) { + d.Code = code + d.require(docAnnotationsFlatten404ResponseFieldCode) +} + +// SetMessage sets the Message field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten404Response) SetMessage(message string) { + d.Message = message + d.require(docAnnotationsFlatten404ResponseFieldMessage) +} + +// SetDetails sets the Details field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsFlatten404Response) SetDetails(details map[string]any) { + d.Details = details + d.require(docAnnotationsFlatten404ResponseFieldDetails) +} + +func (d *DocAnnotationsFlatten404Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsFlatten404Response + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsFlatten404Response(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsFlatten404Response) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsFlatten404Response + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsFlatten404Response) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsFlatten404ResponseCode string + +const ( + DocAnnotationsFlatten404ResponseCodeUnknown DocAnnotationsFlatten404ResponseCode = "Unknown" + DocAnnotationsFlatten404ResponseCodeInvalidArg DocAnnotationsFlatten404ResponseCode = "InvalidArg" + DocAnnotationsFlatten404ResponseCodeDocNotOpen DocAnnotationsFlatten404ResponseCode = "DocNotOpen" + DocAnnotationsFlatten404ResponseCodeDocOpenFailed DocAnnotationsFlatten404ResponseCode = "DocOpenFailed" + DocAnnotationsFlatten404ResponseCodeDocPasswordRequired DocAnnotationsFlatten404ResponseCode = "DocPasswordRequired" + DocAnnotationsFlatten404ResponseCodeDocPasswordIncorrect DocAnnotationsFlatten404ResponseCode = "DocPasswordIncorrect" + DocAnnotationsFlatten404ResponseCodeSharePasswordRequired DocAnnotationsFlatten404ResponseCode = "SharePasswordRequired" + DocAnnotationsFlatten404ResponseCodeAborted DocAnnotationsFlatten404ResponseCode = "Aborted" + DocAnnotationsFlatten404ResponseCodeNetwork DocAnnotationsFlatten404ResponseCode = "Network" + DocAnnotationsFlatten404ResponseCodeUnauthenticated DocAnnotationsFlatten404ResponseCode = "Unauthenticated" + DocAnnotationsFlatten404ResponseCodeForbidden DocAnnotationsFlatten404ResponseCode = "Forbidden" + DocAnnotationsFlatten404ResponseCodeNotFound DocAnnotationsFlatten404ResponseCode = "NotFound" + DocAnnotationsFlatten404ResponseCodeWireFormat DocAnnotationsFlatten404ResponseCode = "WireFormat" + DocAnnotationsFlatten404ResponseCodeRuntimeUnavailable DocAnnotationsFlatten404ResponseCode = "RuntimeUnavailable" + DocAnnotationsFlatten404ResponseCodeInvalidReference DocAnnotationsFlatten404ResponseCode = "InvalidReference" + DocAnnotationsFlatten404ResponseCodeWeakAnnotationSessionConflict DocAnnotationsFlatten404ResponseCode = "WeakAnnotationSessionConflict" + DocAnnotationsFlatten404ResponseCodeLayerVersionConflict DocAnnotationsFlatten404ResponseCode = "LayerVersionConflict" + DocAnnotationsFlatten404ResponseCodeNotImplemented DocAnnotationsFlatten404ResponseCode = "NotImplemented" + DocAnnotationsFlatten404ResponseCodeMalformedPdf DocAnnotationsFlatten404ResponseCode = "MalformedPdf" +) + +func NewDocAnnotationsFlatten404ResponseCodeFromString(s string) (DocAnnotationsFlatten404ResponseCode, error) { + switch s { + case "Unknown": + return DocAnnotationsFlatten404ResponseCodeUnknown, nil + case "InvalidArg": + return DocAnnotationsFlatten404ResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocAnnotationsFlatten404ResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocAnnotationsFlatten404ResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocAnnotationsFlatten404ResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocAnnotationsFlatten404ResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocAnnotationsFlatten404ResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocAnnotationsFlatten404ResponseCodeAborted, nil + case "Network": + return DocAnnotationsFlatten404ResponseCodeNetwork, nil + case "Unauthenticated": + return DocAnnotationsFlatten404ResponseCodeUnauthenticated, nil + case "Forbidden": + return DocAnnotationsFlatten404ResponseCodeForbidden, nil + case "NotFound": + return DocAnnotationsFlatten404ResponseCodeNotFound, nil + case "WireFormat": + return DocAnnotationsFlatten404ResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocAnnotationsFlatten404ResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocAnnotationsFlatten404ResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocAnnotationsFlatten404ResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocAnnotationsFlatten404ResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocAnnotationsFlatten404ResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocAnnotationsFlatten404ResponseCodeMalformedPdf, nil + } + var t DocAnnotationsFlatten404ResponseCode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsFlatten404ResponseCode) Ptr() *DocAnnotationsFlatten404ResponseCode { + return &d +} + +type DocAnnotationsFlatten404ResponseName string + +const ( + DocAnnotationsFlatten404ResponseNameEngineError DocAnnotationsFlatten404ResponseName = "EngineError" +) + +func NewDocAnnotationsFlatten404ResponseNameFromString(s string) (DocAnnotationsFlatten404ResponseName, error) { + switch s { + case "EngineError": + return DocAnnotationsFlatten404ResponseNameEngineError, nil + } + var t DocAnnotationsFlatten404ResponseName + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsFlatten404ResponseName) Ptr() *DocAnnotationsFlatten404ResponseName { + return &d +} + +type DocAnnotationsFlattenRequest = map[string]any + var ( docAnnotationsList200ResponseFieldPageState = big.NewInt(1 << 0) docAnnotationsList200ResponseFieldAnnotations = big.NewInt(1 << 1) ) -type DocAnnotationsList200Response struct { - PageState *DocAnnotationsList200ResponsePageState `json:"pageState" url:"pageState"` - Annotations []*DocAnnotationsList200ResponseAnnotationsItem `json:"annotations" url:"annotations"` +type DocAnnotationsList200Response struct { + PageState *DocAnnotationsList200ResponsePageState `json:"pageState" url:"pageState"` + Annotations []*DocAnnotationsList200ResponseAnnotationsItem `json:"annotations" url:"annotations"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200Response) GetPageState() *DocAnnotationsList200ResponsePageState { + if d == nil { + return nil + } + return d.PageState +} + +func (d *DocAnnotationsList200Response) GetAnnotations() []*DocAnnotationsList200ResponseAnnotationsItem { + if d == nil { + return nil + } + return d.Annotations +} + +func (d *DocAnnotationsList200Response) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200Response) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageState sets the PageState field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200Response) SetPageState(pageState *DocAnnotationsList200ResponsePageState) { + d.PageState = pageState + d.require(docAnnotationsList200ResponseFieldPageState) +} + +// SetAnnotations sets the Annotations field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200Response) SetAnnotations(annotations []*DocAnnotationsList200ResponseAnnotationsItem) { + d.Annotations = annotations + d.require(docAnnotationsList200ResponseFieldAnnotations) +} + +func (d *DocAnnotationsList200Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200Response + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200Response(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200Response) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200Response + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200Response) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsList200ResponseAnnotationsItem struct { + Subtype string + Highlight *DocAnnotationsList200ResponseAnnotationsItemHighlight + Underline *DocAnnotationsList200ResponseAnnotationsItemUnderline + Squiggly *DocAnnotationsList200ResponseAnnotationsItemSquiggly + Strikeout *DocAnnotationsList200ResponseAnnotationsItemStrikeout + Circle *DocAnnotationsList200ResponseAnnotationsItemCircle + Square *DocAnnotationsList200ResponseAnnotationsItemSquare + Polygon *DocAnnotationsList200ResponseAnnotationsItemPolygon + Polyline *DocAnnotationsList200ResponseAnnotationsItemPolyline + Line *DocAnnotationsList200ResponseAnnotationsItemLine + Link *DocAnnotationsList200ResponseAnnotationsItemLink + Ink *DocAnnotationsList200ResponseAnnotationsItemInk + FreeText *DocAnnotationsList200ResponseAnnotationsItemFreeText + Caret *DocAnnotationsList200ResponseAnnotationsItemCaret + Text *DocAnnotationsList200ResponseAnnotationsItemText + Stamp *DocAnnotationsList200ResponseAnnotationsItemStamp + FileAttachment *DocAnnotationsList200ResponseAnnotationsItemFileAttachment + Widget *DocAnnotationsList200ResponseAnnotationsItemWidget + Redact *DocAnnotationsList200ResponseAnnotationsItemRedact + Unsupported *DocAnnotationsList200ResponseAnnotationsItemUnsupported + + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) GetSubtype() string { + if d == nil { + return "" + } + return d.Subtype +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) GetHighlight() *DocAnnotationsList200ResponseAnnotationsItemHighlight { + if d == nil { + return nil + } + return d.Highlight +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) GetUnderline() *DocAnnotationsList200ResponseAnnotationsItemUnderline { + if d == nil { + return nil + } + return d.Underline +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) GetSquiggly() *DocAnnotationsList200ResponseAnnotationsItemSquiggly { + if d == nil { + return nil + } + return d.Squiggly +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) GetStrikeout() *DocAnnotationsList200ResponseAnnotationsItemStrikeout { + if d == nil { + return nil + } + return d.Strikeout +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) GetCircle() *DocAnnotationsList200ResponseAnnotationsItemCircle { + if d == nil { + return nil + } + return d.Circle +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) GetSquare() *DocAnnotationsList200ResponseAnnotationsItemSquare { + if d == nil { + return nil + } + return d.Square +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) GetPolygon() *DocAnnotationsList200ResponseAnnotationsItemPolygon { + if d == nil { + return nil + } + return d.Polygon +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) GetPolyline() *DocAnnotationsList200ResponseAnnotationsItemPolyline { + if d == nil { + return nil + } + return d.Polyline +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) GetLine() *DocAnnotationsList200ResponseAnnotationsItemLine { + if d == nil { + return nil + } + return d.Line +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) GetLink() *DocAnnotationsList200ResponseAnnotationsItemLink { + if d == nil { + return nil + } + return d.Link +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) GetInk() *DocAnnotationsList200ResponseAnnotationsItemInk { + if d == nil { + return nil + } + return d.Ink +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) GetFreeText() *DocAnnotationsList200ResponseAnnotationsItemFreeText { + if d == nil { + return nil + } + return d.FreeText +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) GetCaret() *DocAnnotationsList200ResponseAnnotationsItemCaret { + if d == nil { + return nil + } + return d.Caret +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) GetText() *DocAnnotationsList200ResponseAnnotationsItemText { + if d == nil { + return nil + } + return d.Text +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) GetStamp() *DocAnnotationsList200ResponseAnnotationsItemStamp { + if d == nil { + return nil + } + return d.Stamp +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) GetFileAttachment() *DocAnnotationsList200ResponseAnnotationsItemFileAttachment { + if d == nil { + return nil + } + return d.FileAttachment +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) GetWidget() *DocAnnotationsList200ResponseAnnotationsItemWidget { + if d == nil { + return nil + } + return d.Widget +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) GetRedact() *DocAnnotationsList200ResponseAnnotationsItemRedact { + if d == nil { + return nil + } + return d.Redact +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) GetUnsupported() *DocAnnotationsList200ResponseAnnotationsItemUnsupported { + if d == nil { + return nil + } + return d.Unsupported +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) UnmarshalJSON(data []byte) error { + var unmarshaler struct { + Subtype string `json:"subtype"` + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { + return err + } + d.Subtype = unmarshaler.Subtype + if unmarshaler.Subtype == "" { + return fmt.Errorf("%T did not include discriminant subtype", d) + } + switch unmarshaler.Subtype { + case "highlight": + value := new(DocAnnotationsList200ResponseAnnotationsItemHighlight) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Highlight = value + case "underline": + value := new(DocAnnotationsList200ResponseAnnotationsItemUnderline) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Underline = value + case "squiggly": + value := new(DocAnnotationsList200ResponseAnnotationsItemSquiggly) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Squiggly = value + case "strikeout": + value := new(DocAnnotationsList200ResponseAnnotationsItemStrikeout) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Strikeout = value + case "circle": + value := new(DocAnnotationsList200ResponseAnnotationsItemCircle) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Circle = value + case "square": + value := new(DocAnnotationsList200ResponseAnnotationsItemSquare) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Square = value + case "polygon": + value := new(DocAnnotationsList200ResponseAnnotationsItemPolygon) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Polygon = value + case "polyline": + value := new(DocAnnotationsList200ResponseAnnotationsItemPolyline) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Polyline = value + case "line": + value := new(DocAnnotationsList200ResponseAnnotationsItemLine) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Line = value + case "link": + value := new(DocAnnotationsList200ResponseAnnotationsItemLink) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Link = value + case "ink": + value := new(DocAnnotationsList200ResponseAnnotationsItemInk) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Ink = value + case "free-text": + value := new(DocAnnotationsList200ResponseAnnotationsItemFreeText) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.FreeText = value + case "caret": + value := new(DocAnnotationsList200ResponseAnnotationsItemCaret) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Caret = value + case "text": + value := new(DocAnnotationsList200ResponseAnnotationsItemText) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Text = value + case "stamp": + value := new(DocAnnotationsList200ResponseAnnotationsItemStamp) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Stamp = value + case "file-attachment": + value := new(DocAnnotationsList200ResponseAnnotationsItemFileAttachment) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.FileAttachment = value + case "widget": + value := new(DocAnnotationsList200ResponseAnnotationsItemWidget) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Widget = value + case "redact": + value := new(DocAnnotationsList200ResponseAnnotationsItemRedact) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Redact = value + case "unsupported": + value := new(DocAnnotationsList200ResponseAnnotationsItemUnsupported) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Unsupported = value + } + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d DocAnnotationsList200ResponseAnnotationsItem) MarshalJSON() ([]byte, error) { + if err := d.validate(); err != nil { + return nil, err + } + if d.Highlight != nil { + return internal.MarshalJSONWithExtraProperty(d.Highlight, "subtype", "highlight") + } + if d.Underline != nil { + return internal.MarshalJSONWithExtraProperty(d.Underline, "subtype", "underline") + } + if d.Squiggly != nil { + return internal.MarshalJSONWithExtraProperty(d.Squiggly, "subtype", "squiggly") + } + if d.Strikeout != nil { + return internal.MarshalJSONWithExtraProperty(d.Strikeout, "subtype", "strikeout") + } + if d.Circle != nil { + return internal.MarshalJSONWithExtraProperty(d.Circle, "subtype", "circle") + } + if d.Square != nil { + return internal.MarshalJSONWithExtraProperty(d.Square, "subtype", "square") + } + if d.Polygon != nil { + return internal.MarshalJSONWithExtraProperty(d.Polygon, "subtype", "polygon") + } + if d.Polyline != nil { + return internal.MarshalJSONWithExtraProperty(d.Polyline, "subtype", "polyline") + } + if d.Line != nil { + return internal.MarshalJSONWithExtraProperty(d.Line, "subtype", "line") + } + if d.Link != nil { + return internal.MarshalJSONWithExtraProperty(d.Link, "subtype", "link") + } + if d.Ink != nil { + return internal.MarshalJSONWithExtraProperty(d.Ink, "subtype", "ink") + } + if d.FreeText != nil { + return internal.MarshalJSONWithExtraProperty(d.FreeText, "subtype", "free-text") + } + if d.Caret != nil { + return internal.MarshalJSONWithExtraProperty(d.Caret, "subtype", "caret") + } + if d.Text != nil { + return internal.MarshalJSONWithExtraProperty(d.Text, "subtype", "text") + } + if d.Stamp != nil { + return internal.MarshalJSONWithExtraProperty(d.Stamp, "subtype", "stamp") + } + if d.FileAttachment != nil { + return internal.MarshalJSONWithExtraProperty(d.FileAttachment, "subtype", "file-attachment") + } + if d.Widget != nil { + return internal.MarshalJSONWithExtraProperty(d.Widget, "subtype", "widget") + } + if d.Redact != nil { + return internal.MarshalJSONWithExtraProperty(d.Redact, "subtype", "redact") + } + if d.Unsupported != nil { + return internal.MarshalJSONWithExtraProperty(d.Unsupported, "subtype", "unsupported") + } + if len(d.rawJSON) > 0 { + return d.rawJSON, nil + } + return nil, fmt.Errorf("type %T does not define a non-empty union type", d) +} + +type DocAnnotationsList200ResponseAnnotationsItemVisitor interface { + VisitHighlight(*DocAnnotationsList200ResponseAnnotationsItemHighlight) error + VisitUnderline(*DocAnnotationsList200ResponseAnnotationsItemUnderline) error + VisitSquiggly(*DocAnnotationsList200ResponseAnnotationsItemSquiggly) error + VisitStrikeout(*DocAnnotationsList200ResponseAnnotationsItemStrikeout) error + VisitCircle(*DocAnnotationsList200ResponseAnnotationsItemCircle) error + VisitSquare(*DocAnnotationsList200ResponseAnnotationsItemSquare) error + VisitPolygon(*DocAnnotationsList200ResponseAnnotationsItemPolygon) error + VisitPolyline(*DocAnnotationsList200ResponseAnnotationsItemPolyline) error + VisitLine(*DocAnnotationsList200ResponseAnnotationsItemLine) error + VisitLink(*DocAnnotationsList200ResponseAnnotationsItemLink) error + VisitInk(*DocAnnotationsList200ResponseAnnotationsItemInk) error + VisitFreeText(*DocAnnotationsList200ResponseAnnotationsItemFreeText) error + VisitCaret(*DocAnnotationsList200ResponseAnnotationsItemCaret) error + VisitText(*DocAnnotationsList200ResponseAnnotationsItemText) error + VisitStamp(*DocAnnotationsList200ResponseAnnotationsItemStamp) error + VisitFileAttachment(*DocAnnotationsList200ResponseAnnotationsItemFileAttachment) error + VisitWidget(*DocAnnotationsList200ResponseAnnotationsItemWidget) error + VisitRedact(*DocAnnotationsList200ResponseAnnotationsItemRedact) error + VisitUnsupported(*DocAnnotationsList200ResponseAnnotationsItemUnsupported) error +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemVisitor) error { + if d.Highlight != nil { + return visitor.VisitHighlight(d.Highlight) + } + if d.Underline != nil { + return visitor.VisitUnderline(d.Underline) + } + if d.Squiggly != nil { + return visitor.VisitSquiggly(d.Squiggly) + } + if d.Strikeout != nil { + return visitor.VisitStrikeout(d.Strikeout) + } + if d.Circle != nil { + return visitor.VisitCircle(d.Circle) + } + if d.Square != nil { + return visitor.VisitSquare(d.Square) + } + if d.Polygon != nil { + return visitor.VisitPolygon(d.Polygon) + } + if d.Polyline != nil { + return visitor.VisitPolyline(d.Polyline) + } + if d.Line != nil { + return visitor.VisitLine(d.Line) + } + if d.Link != nil { + return visitor.VisitLink(d.Link) + } + if d.Ink != nil { + return visitor.VisitInk(d.Ink) + } + if d.FreeText != nil { + return visitor.VisitFreeText(d.FreeText) + } + if d.Caret != nil { + return visitor.VisitCaret(d.Caret) + } + if d.Text != nil { + return visitor.VisitText(d.Text) + } + if d.Stamp != nil { + return visitor.VisitStamp(d.Stamp) + } + if d.FileAttachment != nil { + return visitor.VisitFileAttachment(d.FileAttachment) + } + if d.Widget != nil { + return visitor.VisitWidget(d.Widget) + } + if d.Redact != nil { + return visitor.VisitRedact(d.Redact) + } + if d.Unsupported != nil { + return visitor.VisitUnsupported(d.Unsupported) + } + return fmt.Errorf("type %T does not define a non-empty union type", d) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItem) validate() error { + if d == nil { + return fmt.Errorf("type %T is nil", d) + } + var fields []string + if d.Highlight != nil { + fields = append(fields, "highlight") + } + if d.Underline != nil { + fields = append(fields, "underline") + } + if d.Squiggly != nil { + fields = append(fields, "squiggly") + } + if d.Strikeout != nil { + fields = append(fields, "strikeout") + } + if d.Circle != nil { + fields = append(fields, "circle") + } + if d.Square != nil { + fields = append(fields, "square") + } + if d.Polygon != nil { + fields = append(fields, "polygon") + } + if d.Polyline != nil { + fields = append(fields, "polyline") + } + if d.Line != nil { + fields = append(fields, "line") + } + if d.Link != nil { + fields = append(fields, "link") + } + if d.Ink != nil { + fields = append(fields, "ink") + } + if d.FreeText != nil { + fields = append(fields, "free-text") + } + if d.Caret != nil { + fields = append(fields, "caret") + } + if d.Text != nil { + fields = append(fields, "text") + } + if d.Stamp != nil { + fields = append(fields, "stamp") + } + if d.FileAttachment != nil { + fields = append(fields, "file-attachment") + } + if d.Widget != nil { + fields = append(fields, "widget") + } + if d.Redact != nil { + fields = append(fields, "redact") + } + if d.Unsupported != nil { + fields = append(fields, "unsupported") + } + if len(fields) == 0 { + if d.Subtype != "" { + if len(d.rawJSON) > 0 { + return nil + } + return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Subtype) + } + return fmt.Errorf("type %T is empty", d) + } + if len(fields) > 1 { + return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) + } + if d.Subtype != "" { + field := fields[0] + if d.Subtype != field { + return fmt.Errorf( + "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", + d, + d.Subtype, + d, + ) + } + } + return nil +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCaretFieldRef = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCaretFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemCaretFieldIndex = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemCaretFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemCaretFieldNm = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemCaretFieldFlags = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemCaretFieldRect = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemCaretFieldContents = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemCaretFieldSubject = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemCaretFieldAuthor = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemCaretFieldCreated = big.NewInt(1 << 10) + docAnnotationsList200ResponseAnnotationsItemCaretFieldModified = big.NewInt(1 << 11) + docAnnotationsList200ResponseAnnotationsItemCaretFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsList200ResponseAnnotationsItemCaretFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsList200ResponseAnnotationsItemCaretFieldReplyType = big.NewInt(1 << 14) + docAnnotationsList200ResponseAnnotationsItemCaretFieldUserID = big.NewInt(1 << 15) + docAnnotationsList200ResponseAnnotationsItemCaretFieldGroupID = big.NewInt(1 << 16) + docAnnotationsList200ResponseAnnotationsItemCaretFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsList200ResponseAnnotationsItemCaretFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsList200ResponseAnnotationsItemCaretFieldActions = big.NewInt(1 << 19) + docAnnotationsList200ResponseAnnotationsItemCaretFieldColor = big.NewInt(1 << 20) + docAnnotationsList200ResponseAnnotationsItemCaretFieldOpacity = big.NewInt(1 << 21) + docAnnotationsList200ResponseAnnotationsItemCaretFieldIntent = big.NewInt(1 << 22) + docAnnotationsList200ResponseAnnotationsItemCaretFieldRectDifferences = big.NewInt(1 << 23) + docAnnotationsList200ResponseAnnotationsItemCaretFieldRotation = big.NewInt(1 << 24) + docAnnotationsList200ResponseAnnotationsItemCaretFieldUnrotatedRect = big.NewInt(1 << 25) +) + +type DocAnnotationsList200ResponseAnnotationsItemCaret struct { + Ref *DocAnnotationsList200ResponseAnnotationsItemCaretRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsList200ResponseAnnotationsItemCaretFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsList200ResponseAnnotationsItemCaretRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsList200ResponseAnnotationsItemCaretReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsList200ResponseAnnotationsItemCaretColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + Intent *DocAnnotationsList200ResponseAnnotationsItemCaretIntent `json:"intent,omitempty" url:"intent,omitempty"` + RectDifferences *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences `json:"rectDifferences,omitempty" url:"rectDifferences,omitempty"` + Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` + UnrotatedRect *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect `json:"unrotatedRect,omitempty" url:"unrotatedRect,omitempty"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetRef() *DocAnnotationsList200ResponseAnnotationsItemCaretRef { + if d == nil { + return nil + } + return d.Ref +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetIndex() int { + if d == nil { + return 0 + } + return d.Index +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQuality { + if d == nil { + return "" + } + return d.IdentityQuality +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetNm() *string { + if d == nil { + return nil + } + return d.Nm +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemCaretFlags { + if d == nil { + return nil + } + return d.Flags +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetRect() *DocAnnotationsList200ResponseAnnotationsItemCaretRect { + if d == nil { + return nil + } + return d.Rect +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetContents() *string { + if d == nil { + return nil + } + return d.Contents +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetSubject() *string { + if d == nil { + return nil + } + return d.Subject +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetAuthor() *string { + if d == nil { + return nil + } + return d.Author +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetCreated() *time.Time { + if d == nil { + return nil + } + return d.Created +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetModified() *time.Time { + if d == nil { + return nil + } + return d.Modified +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode { + if d == nil { + return "" + } + return d.BlendMode +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo { + if d == nil { + return nil + } + return d.InReplyTo +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemCaretReplyType { + if d == nil { + return nil + } + return d.ReplyType +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetUserID() *string { + if d == nil { + return nil + } + return d.UserID +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetGroupID() *string { + if d == nil { + return nil + } + return d.GroupID +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetCreatedBy() *string { + if d == nil { + return nil + } + return d.CreatedBy +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetUpdatedBy() *string { + if d == nil { + return nil + } + return d.UpdatedBy +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetActions() *PdfAnnotationActions { + if d == nil { + return nil + } + return d.Actions +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetColor() *DocAnnotationsList200ResponseAnnotationsItemCaretColor { + if d == nil { + return nil + } + return d.Color +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetOpacity() float64 { + if d == nil { + return 0 + } + return d.Opacity +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetIntent() *DocAnnotationsList200ResponseAnnotationsItemCaretIntent { + if d == nil { + return nil + } + return d.Intent +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetRectDifferences() *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences { + if d == nil { + return nil + } + return d.RectDifferences +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetRotation() *float64 { + if d == nil { + return nil + } + return d.Rotation +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetUnrotatedRect() *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect { + if d == nil { + return nil + } + return d.UnrotatedRect +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetRef sets the Ref field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemCaretRef) { + d.Ref = ref + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldRef) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldPageObjectNumber) +} + +// SetIndex sets the Index field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetIndex(index int) { + d.Index = index + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldIndex) +} + +// SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQuality) { + d.IdentityQuality = identityQuality + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldIdentityQuality) +} + +// SetNm sets the Nm field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetNm(nm *string) { + d.Nm = nm + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldNm) +} + +// SetFlags sets the Flags field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) { + d.Flags = flags + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldFlags) +} + +// SetRect sets the Rect field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemCaretRect) { + d.Rect = rect + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldRect) +} + +// SetContents sets the Contents field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetContents(contents *string) { + d.Contents = contents + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldContents) +} + +// SetSubject sets the Subject field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetSubject(subject *string) { + d.Subject = subject + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldSubject) +} + +// SetAuthor sets the Author field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetAuthor(author *string) { + d.Author = author + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldAuthor) +} + +// SetCreated sets the Created field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetCreated(created *time.Time) { + d.Created = created + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldCreated) +} + +// SetModified sets the Modified field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetModified(modified *time.Time) { + d.Modified = modified + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldModified) +} + +// SetBlendMode sets the BlendMode field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode) { + d.BlendMode = blendMode + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldBlendMode) +} + +// SetInReplyTo sets the InReplyTo field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) { + d.InReplyTo = inReplyTo + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldInReplyTo) +} + +// SetReplyType sets the ReplyType field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemCaretReplyType) { + d.ReplyType = replyType + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldReplyType) +} + +// SetUserID sets the UserID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetUserID(userID *string) { + d.UserID = userID + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldUserID) +} + +// SetGroupID sets the GroupID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetGroupID(groupID *string) { + d.GroupID = groupID + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldGroupID) +} + +// SetCreatedBy sets the CreatedBy field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetCreatedBy(createdBy *string) { + d.CreatedBy = createdBy + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldCreatedBy) +} + +// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetUpdatedBy(updatedBy *string) { + d.UpdatedBy = updatedBy + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldUpdatedBy) +} + +// SetActions sets the Actions field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetActions(actions *PdfAnnotationActions) { + d.Actions = actions + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldActions) +} + +// SetColor sets the Color field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemCaretColor) { + d.Color = color + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldColor) +} + +// SetOpacity sets the Opacity field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetOpacity(opacity float64) { + d.Opacity = opacity + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldOpacity) +} + +// SetIntent sets the Intent field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetIntent(intent *DocAnnotationsList200ResponseAnnotationsItemCaretIntent) { + d.Intent = intent + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldIntent) +} + +// SetRectDifferences sets the RectDifferences field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetRectDifferences(rectDifferences *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) { + d.RectDifferences = rectDifferences + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldRectDifferences) +} + +// SetRotation sets the Rotation field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetRotation(rotation *float64) { + d.Rotation = rotation + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldRotation) +} + +// SetUnrotatedRect sets the UnrotatedRect field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetUnrotatedRect(unrotatedRect *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) { + d.UnrotatedRect = unrotatedRect + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldUnrotatedRect) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsList200ResponseAnnotationsItemCaret + var unmarshaler = struct { + embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` + }{ + embed: embed(*d), + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCaret(unmarshaler.embed) + d.Created = unmarshaler.Created.TimePtr() + d.Modified = unmarshaler.Modified.TimePtr() + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCaret + var marshaler = struct { + embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` + }{ + embed: embed(*d), + Created: internal.NewOptionalDateTime(d.Created), + Modified: internal.NewOptionalDateTime(d.Modified), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode string + +const ( + DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "normal" + DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "multiply" + DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "screen" + DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "overlay" + DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "darken" + DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "lighten" + DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "color-dodge" + DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "color-burn" + DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "hard-light" + DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "soft-light" + DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "difference" + DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "exclusion" + DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeHue DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "hue" + DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "saturation" + DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeColor DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "color" + DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "luminosity" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemCaretBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode, error) { + switch s { + case "normal": + return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeNormal, nil + case "multiply": + return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeMultiply, nil + case "screen": + return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeScreen, nil + case "overlay": + return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeOverlay, nil + case "darken": + return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeDarken, nil + case "lighten": + return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeLighten, nil + case "color-dodge": + return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeColorDodge, nil + case "color-burn": + return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeColorBurn, nil + case "hard-light": + return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeHardLight, nil + case "soft-light": + return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeSoftLight, nil + case "difference": + return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeDifference, nil + case "exclusion": + return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeExclusion, nil + case "hue": + return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeHue, nil + case "saturation": + return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeSaturation, nil + case "color": + return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeColor, nil + case "luminosity": + return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeLuminosity, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode { + return &d +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCaretColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCaretColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemCaretColorFieldB = big.NewInt(1 << 2) +) + +type DocAnnotationsList200ResponseAnnotationsItemCaretColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) GetR() int { + if d == nil { + return 0 + } + return d.R +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) GetG() int { + if d == nil { + return 0 + } + return d.G +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) GetB() int { + if d == nil { + return 0 + } + return d.B +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetR sets the R field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) SetR(r int) { + d.R = r + d.require(docAnnotationsList200ResponseAnnotationsItemCaretColorFieldR) +} + +// SetG sets the G field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) SetG(g int) { + d.G = g + d.require(docAnnotationsList200ResponseAnnotationsItemCaretColorFieldG) +} + +// SetB sets the B field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) SetB(b int) { + d.B = b + d.require(docAnnotationsList200ResponseAnnotationsItemCaretColorFieldB) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretColor + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCaretColor(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCaretColor + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldLockedContents = big.NewInt(1 << 9) +) + +type DocAnnotationsList200ResponseAnnotationsItemCaretFlags struct { + Invisible bool `json:"invisible" url:"invisible"` + Hidden bool `json:"hidden" url:"hidden"` + Print bool `json:"print" url:"print"` + NoZoom bool `json:"noZoom" url:"noZoom"` + NoRotate bool `json:"noRotate" url:"noRotate"` + NoView bool `json:"noView" url:"noView"` + ReadOnly bool `json:"readOnly" url:"readOnly"` + Locked bool `json:"locked" url:"locked"` + ToggleNoView bool `json:"toggleNoView" url:"toggleNoView"` + LockedContents bool `json:"lockedContents" url:"lockedContents"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) GetInvisible() bool { + if d == nil { + return false + } + return d.Invisible +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) GetHidden() bool { + if d == nil { + return false + } + return d.Hidden +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) GetPrint() bool { + if d == nil { + return false + } + return d.Print +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) GetNoZoom() bool { + if d == nil { + return false + } + return d.NoZoom +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) GetNoRotate() bool { + if d == nil { + return false + } + return d.NoRotate +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) GetNoView() bool { + if d == nil { + return false + } + return d.NoView +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) GetReadOnly() bool { + if d == nil { + return false + } + return d.ReadOnly +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) GetLocked() bool { + if d == nil { + return false + } + return d.Locked +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) GetToggleNoView() bool { + if d == nil { + return false + } + return d.ToggleNoView +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) GetLockedContents() bool { + if d == nil { + return false + } + return d.LockedContents +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetInvisible sets the Invisible field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) SetInvisible(invisible bool) { + d.Invisible = invisible + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldInvisible) +} + +// SetHidden sets the Hidden field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) SetHidden(hidden bool) { + d.Hidden = hidden + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldHidden) +} + +// SetPrint sets the Print field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) SetPrint(print bool) { + d.Print = print + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldPrint) +} + +// SetNoZoom sets the NoZoom field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) SetNoZoom(noZoom bool) { + d.NoZoom = noZoom + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldNoZoom) +} + +// SetNoRotate sets the NoRotate field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) SetNoRotate(noRotate bool) { + d.NoRotate = noRotate + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldNoRotate) +} + +// SetNoView sets the NoView field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) SetNoView(noView bool) { + d.NoView = noView + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldNoView) +} + +// SetReadOnly sets the ReadOnly field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) SetReadOnly(readOnly bool) { + d.ReadOnly = readOnly + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldReadOnly) +} + +// SetLocked sets the Locked field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) SetLocked(locked bool) { + d.Locked = locked + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldLocked) +} + +// SetToggleNoView sets the ToggleNoView field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) SetToggleNoView(toggleNoView bool) { + d.ToggleNoView = toggleNoView + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldToggleNoView) +} + +// SetLockedContents sets the LockedContents field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) SetLockedContents(lockedContents bool) { + d.LockedContents = lockedContents + d.require(docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldLockedContents) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretFlags + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCaretFlags(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCaretFlags + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQuality string + +const ( + DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQuality = "durable" + DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQuality = "weak" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemCaretIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQuality, error) { + switch s { + case "durable": + return DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQualityDurable, nil + case "weak": + return DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQualityWeak, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQuality + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQuality { + return &d +} + +type DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo struct { + Kind string + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm + Index *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex + + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) GetKind() string { + if d == nil { + return "" + } + return d.Kind +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber { + if d == nil { + return nil + } + return d.ObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm { + if d == nil { + return nil + } + return d.Nm +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex { + if d == nil { + return nil + } + return d.Index +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) UnmarshalJSON(data []byte) error { + var unmarshaler struct { + Kind string `json:"kind"` + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { + return err + } + d.Kind = unmarshaler.Kind + if unmarshaler.Kind == "" { + return fmt.Errorf("%T did not include discriminant kind", d) + } + switch unmarshaler.Kind { + case "objectNumber": + value := new(DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.ObjectNumber = value + case "nm": + value := new(DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Nm = value + case "index": + value := new(DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Index = value + } + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) MarshalJSON() ([]byte, error) { + if err := d.validate(); err != nil { + return nil, err + } + if d.ObjectNumber != nil { + return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") + } + if d.Nm != nil { + return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") + } + if d.Index != nil { + return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") + } + if len(d.rawJSON) > 0 { + return d.rawJSON, nil + } + return nil, fmt.Errorf("type %T does not define a non-empty union type", d) +} + +type DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) error +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToVisitor) error { + if d.ObjectNumber != nil { + return visitor.VisitObjectNumber(d.ObjectNumber) + } + if d.Nm != nil { + return visitor.VisitNm(d.Nm) + } + if d.Index != nil { + return visitor.VisitIndex(d.Index) + } + return fmt.Errorf("type %T does not define a non-empty union type", d) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) validate() error { + if d == nil { + return fmt.Errorf("type %T is nil", d) + } + var fields []string + if d.ObjectNumber != nil { + fields = append(fields, "objectNumber") + } + if d.Nm != nil { + fields = append(fields, "nm") + } + if d.Index != nil { + fields = append(fields, "index") + } + if len(fields) == 0 { + if d.Kind != "" { + if len(d.rawJSON) > 0 { + return nil + } + return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) + } + return fmt.Errorf("type %T is empty", d) + } + if len(fields) > 1 { + return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) + } + if d.Kind != "" { + field := fields[0] + if d.Kind != field { + return fmt.Errorf( + "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", + d, + d.Kind, + d, + ) + } + } + return nil +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexFieldRevision = big.NewInt(1 << 2) +) + +type DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision `json:"revision" url:"revision"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) GetIndex() int { + if d == nil { + return 0 + } + return d.Index +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision { + if d == nil { + return nil + } + return d.Revision +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexFieldPageObjectNumber) +} + +// SetIndex sets the Index field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) SetIndex(index int) { + d.Index = index + d.require(docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexFieldIndex) +} + +// SetRevision sets the Revision field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) { + d.Revision = revision + d.require(docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexFieldRevision) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) +) + +type DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision struct { + DocSessionID string `json:"docSessionId" url:"docSessionId"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Generation int `json:"generation" url:"generation"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) GetDocSessionID() string { + if d == nil { + return "" + } + return d.DocSessionID +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) GetGeneration() int { + if d == nil { + return 0 + } + return d.Generation +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevisionFieldDocSessionID) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevisionFieldPageObjectNumber) +} + +// SetGeneration sets the Generation field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevisionFieldGeneration) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCaretInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCaretInReplyToNmFieldNm = big.NewInt(1 << 1) +) + +type DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Nm string `json:"nm" url:"nm"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) GetNm() string { + if d == nil { + return "" + } + return d.Nm +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemCaretInReplyToNmFieldPageObjectNumber) +} + +// SetNm sets the Nm field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) SetNm(nm string) { + d.Nm = nm + d.require(docAnnotationsList200ResponseAnnotationsItemCaretInReplyToNmFieldNm) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) +) + +type DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) GetAnnotObjectNumber() int { + if d == nil { + return 0 + } + return d.AnnotObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumberFieldPageObjectNumber) +} + +// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { + d.AnnotObjectNumber = annotObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumberFieldAnnotObjectNumber) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsList200ResponseAnnotationsItemCaretIntent string + +const ( + DocAnnotationsList200ResponseAnnotationsItemCaretIntentReplace DocAnnotationsList200ResponseAnnotationsItemCaretIntent = "replace" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemCaretIntentFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemCaretIntent, error) { + switch s { + case "replace": + return DocAnnotationsList200ResponseAnnotationsItemCaretIntentReplace, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemCaretIntent + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemCaretIntent) Ptr() *DocAnnotationsList200ResponseAnnotationsItemCaretIntent { + return &d +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCaretRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCaretRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemCaretRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemCaretRectFieldTop = big.NewInt(1 << 3) +) + +type DocAnnotationsList200ResponseAnnotationsItemCaretRect struct { + Left float64 `json:"left" url:"left"` + Bottom float64 `json:"bottom" url:"bottom"` + Right float64 `json:"right" url:"right"` + Top float64 `json:"top" url:"top"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) GetLeft() float64 { + if d == nil { + return 0 + } + return d.Left +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) GetBottom() float64 { + if d == nil { + return 0 + } + return d.Bottom +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) GetRight() float64 { + if d == nil { + return 0 + } + return d.Right +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) GetTop() float64 { + if d == nil { + return 0 + } + return d.Top +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetLeft sets the Left field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsList200ResponseAnnotationsItemCaretRectFieldLeft) +} + +// SetBottom sets the Bottom field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsList200ResponseAnnotationsItemCaretRectFieldBottom) +} + +// SetRight sets the Right field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsList200ResponseAnnotationsItemCaretRectFieldRight) +} + +// SetTop sets the Top field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsList200ResponseAnnotationsItemCaretRectFieldTop) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretRect + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCaretRect(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCaretRect + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCaretRectDifferencesFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCaretRectDifferencesFieldTop = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemCaretRectDifferencesFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemCaretRectDifferencesFieldBottom = big.NewInt(1 << 3) +) + +type DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences struct { + Left float64 `json:"left" url:"left"` + Top float64 `json:"top" url:"top"` + Right float64 `json:"right" url:"right"` + Bottom float64 `json:"bottom" url:"bottom"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) GetLeft() float64 { + if d == nil { + return 0 + } + return d.Left +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) GetTop() float64 { + if d == nil { + return 0 + } + return d.Top +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) GetRight() float64 { + if d == nil { + return 0 + } + return d.Right +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) GetBottom() float64 { + if d == nil { + return 0 + } + return d.Bottom +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetLeft sets the Left field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsList200ResponseAnnotationsItemCaretRectDifferencesFieldLeft) +} + +// SetTop sets the Top field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsList200ResponseAnnotationsItemCaretRectDifferencesFieldTop) +} + +// SetRight sets the Right field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsList200ResponseAnnotationsItemCaretRectDifferencesFieldRight) +} + +// SetBottom sets the Bottom field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsList200ResponseAnnotationsItemCaretRectDifferencesFieldBottom) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsList200ResponseAnnotationsItemCaretRef struct { + Kind string + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm + Index *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex + + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRef) GetKind() string { + if d == nil { + return "" + } + return d.Kind +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber { + if d == nil { + return nil + } + return d.ObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm { + if d == nil { + return nil + } + return d.Nm +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex { + if d == nil { + return nil + } + return d.Index +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRef) UnmarshalJSON(data []byte) error { + var unmarshaler struct { + Kind string `json:"kind"` + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { + return err + } + d.Kind = unmarshaler.Kind + if unmarshaler.Kind == "" { + return fmt.Errorf("%T did not include discriminant kind", d) + } + switch unmarshaler.Kind { + case "objectNumber": + value := new(DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.ObjectNumber = value + case "nm": + value := new(DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Nm = value + case "index": + value := new(DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Index = value + } + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d DocAnnotationsList200ResponseAnnotationsItemCaretRef) MarshalJSON() ([]byte, error) { + if err := d.validate(); err != nil { + return nil, err + } + if d.ObjectNumber != nil { + return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") + } + if d.Nm != nil { + return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") + } + if d.Index != nil { + return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") + } + if len(d.rawJSON) > 0 { + return d.rawJSON, nil + } + return nil, fmt.Errorf("type %T does not define a non-empty union type", d) +} + +type DocAnnotationsList200ResponseAnnotationsItemCaretRefVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) error +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemCaretRefVisitor) error { + if d.ObjectNumber != nil { + return visitor.VisitObjectNumber(d.ObjectNumber) + } + if d.Nm != nil { + return visitor.VisitNm(d.Nm) + } + if d.Index != nil { + return visitor.VisitIndex(d.Index) + } + return fmt.Errorf("type %T does not define a non-empty union type", d) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRef) validate() error { + if d == nil { + return fmt.Errorf("type %T is nil", d) + } + var fields []string + if d.ObjectNumber != nil { + fields = append(fields, "objectNumber") + } + if d.Nm != nil { + fields = append(fields, "nm") + } + if d.Index != nil { + fields = append(fields, "index") + } + if len(fields) == 0 { + if d.Kind != "" { + if len(d.rawJSON) > 0 { + return nil + } + return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) + } + return fmt.Errorf("type %T is empty", d) + } + if len(fields) > 1 { + return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) + } + if d.Kind != "" { + field := fields[0] + if d.Kind != field { + return fmt.Errorf( + "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", + d, + d.Kind, + d, + ) + } + } + return nil +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCaretRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCaretRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemCaretRefIndexFieldRevision = big.NewInt(1 << 2) +) + +type DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision `json:"revision" url:"revision"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) GetIndex() int { + if d == nil { + return 0 + } + return d.Index +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision { + if d == nil { + return nil + } + return d.Revision +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemCaretRefIndexFieldPageObjectNumber) +} + +// SetIndex sets the Index field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) SetIndex(index int) { + d.Index = index + d.require(docAnnotationsList200ResponseAnnotationsItemCaretRefIndexFieldIndex) +} + +// SetRevision sets the Revision field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) { + d.Revision = revision + d.require(docAnnotationsList200ResponseAnnotationsItemCaretRefIndexFieldRevision) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) +) + +type DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision struct { + DocSessionID string `json:"docSessionId" url:"docSessionId"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Generation int `json:"generation" url:"generation"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) GetDocSessionID() string { + if d == nil { + return "" + } + return d.DocSessionID +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) GetGeneration() int { + if d == nil { + return 0 + } + return d.Generation +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevisionFieldDocSessionID) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevisionFieldPageObjectNumber) +} + +// SetGeneration sets the Generation field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevisionFieldGeneration) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCaretRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCaretRefNmFieldNm = big.NewInt(1 << 1) +) + +type DocAnnotationsList200ResponseAnnotationsItemCaretRefNm struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Nm string `json:"nm" url:"nm"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) GetNm() string { + if d == nil { + return "" + } + return d.Nm +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemCaretRefNmFieldPageObjectNumber) +} + +// SetNm sets the Nm field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) SetNm(nm string) { + d.Nm = nm + d.require(docAnnotationsList200ResponseAnnotationsItemCaretRefNmFieldNm) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretRefNm + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCaretRefNm(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCaretRefNm + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) +) + +type DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) GetAnnotObjectNumber() int { + if d == nil { + return 0 + } + return d.AnnotObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumberFieldPageObjectNumber) +} + +// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { + d.AnnotObjectNumber = annotObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumberFieldAnnotObjectNumber) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsList200ResponseAnnotationsItemCaretReplyType string + +const ( + DocAnnotationsList200ResponseAnnotationsItemCaretReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemCaretReplyType = "reply" + DocAnnotationsList200ResponseAnnotationsItemCaretReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemCaretReplyType = "group" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemCaretReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemCaretReplyType, error) { + switch s { + case "reply": + return DocAnnotationsList200ResponseAnnotationsItemCaretReplyTypeReply, nil + case "group": + return DocAnnotationsList200ResponseAnnotationsItemCaretReplyTypeGroup, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemCaretReplyType + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemCaretReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemCaretReplyType { + return &d +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRectFieldTop = big.NewInt(1 << 3) +) + +type DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect struct { + Left float64 `json:"left" url:"left"` + Bottom float64 `json:"bottom" url:"bottom"` + Right float64 `json:"right" url:"right"` + Top float64 `json:"top" url:"top"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) GetLeft() float64 { + if d == nil { + return 0 + } + return d.Left +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) GetBottom() float64 { + if d == nil { + return 0 + } + return d.Bottom +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) GetRight() float64 { + if d == nil { + return 0 + } + return d.Right +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) GetTop() float64 { + if d == nil { + return 0 + } + return d.Top +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetLeft sets the Left field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRectFieldLeft) +} + +// SetBottom sets the Bottom field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRectFieldBottom) +} + +// SetRight sets the Right field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRectFieldRight) +} + +// SetTop sets the Top field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRectFieldTop) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCircleFieldRef = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCircleFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemCircleFieldIndex = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemCircleFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemCircleFieldNm = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemCircleFieldFlags = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemCircleFieldRect = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemCircleFieldContents = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemCircleFieldSubject = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemCircleFieldAuthor = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemCircleFieldCreated = big.NewInt(1 << 10) + docAnnotationsList200ResponseAnnotationsItemCircleFieldModified = big.NewInt(1 << 11) + docAnnotationsList200ResponseAnnotationsItemCircleFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsList200ResponseAnnotationsItemCircleFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsList200ResponseAnnotationsItemCircleFieldReplyType = big.NewInt(1 << 14) + docAnnotationsList200ResponseAnnotationsItemCircleFieldUserID = big.NewInt(1 << 15) + docAnnotationsList200ResponseAnnotationsItemCircleFieldGroupID = big.NewInt(1 << 16) + docAnnotationsList200ResponseAnnotationsItemCircleFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsList200ResponseAnnotationsItemCircleFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsList200ResponseAnnotationsItemCircleFieldActions = big.NewInt(1 << 19) + docAnnotationsList200ResponseAnnotationsItemCircleFieldColor = big.NewInt(1 << 20) + docAnnotationsList200ResponseAnnotationsItemCircleFieldOpacity = big.NewInt(1 << 21) + docAnnotationsList200ResponseAnnotationsItemCircleFieldStrokeWidth = big.NewInt(1 << 22) + docAnnotationsList200ResponseAnnotationsItemCircleFieldBorderStyle = big.NewInt(1 << 23) + docAnnotationsList200ResponseAnnotationsItemCircleFieldDashArray = big.NewInt(1 << 24) + docAnnotationsList200ResponseAnnotationsItemCircleFieldInteriorColor = big.NewInt(1 << 25) + docAnnotationsList200ResponseAnnotationsItemCircleFieldCloudyIntensity = big.NewInt(1 << 26) + docAnnotationsList200ResponseAnnotationsItemCircleFieldRectDifferences = big.NewInt(1 << 27) + docAnnotationsList200ResponseAnnotationsItemCircleFieldRotation = big.NewInt(1 << 28) + docAnnotationsList200ResponseAnnotationsItemCircleFieldUnrotatedRect = big.NewInt(1 << 29) +) + +type DocAnnotationsList200ResponseAnnotationsItemCircle struct { + Ref *DocAnnotationsList200ResponseAnnotationsItemCircleRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsList200ResponseAnnotationsItemCircleFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsList200ResponseAnnotationsItemCircleRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsList200ResponseAnnotationsItemCircleReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsList200ResponseAnnotationsItemCircleColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` + BorderStyle DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle `json:"borderStyle" url:"borderStyle"` + DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` + InteriorColor *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` + CloudyIntensity *float64 `json:"cloudyIntensity,omitempty" url:"cloudyIntensity,omitempty"` + RectDifferences *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences `json:"rectDifferences,omitempty" url:"rectDifferences,omitempty"` + Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` + UnrotatedRect *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect `json:"unrotatedRect,omitempty" url:"unrotatedRect,omitempty"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetRef() *DocAnnotationsList200ResponseAnnotationsItemCircleRef { + if d == nil { + return nil + } + return d.Ref +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetIndex() int { + if d == nil { + return 0 + } + return d.Index +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQuality { + if d == nil { + return "" + } + return d.IdentityQuality +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetNm() *string { + if d == nil { + return nil + } + return d.Nm +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemCircleFlags { + if d == nil { + return nil + } + return d.Flags +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetRect() *DocAnnotationsList200ResponseAnnotationsItemCircleRect { + if d == nil { + return nil + } + return d.Rect +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetContents() *string { + if d == nil { + return nil + } + return d.Contents +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetSubject() *string { + if d == nil { + return nil + } + return d.Subject +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetAuthor() *string { + if d == nil { + return nil + } + return d.Author +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetCreated() *time.Time { + if d == nil { + return nil + } + return d.Created +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetModified() *time.Time { + if d == nil { + return nil + } + return d.Modified +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode { + if d == nil { + return "" + } + return d.BlendMode +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo { + if d == nil { + return nil + } + return d.InReplyTo +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemCircleReplyType { + if d == nil { + return nil + } + return d.ReplyType +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetUserID() *string { + if d == nil { + return nil + } + return d.UserID +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetGroupID() *string { + if d == nil { + return nil + } + return d.GroupID +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetCreatedBy() *string { + if d == nil { + return nil + } + return d.CreatedBy +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetUpdatedBy() *string { + if d == nil { + return nil + } + return d.UpdatedBy +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetActions() *PdfAnnotationActions { + if d == nil { + return nil + } + return d.Actions +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetColor() *DocAnnotationsList200ResponseAnnotationsItemCircleColor { + if d == nil { + return nil + } + return d.Color +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetOpacity() float64 { + if d == nil { + return 0 + } + return d.Opacity +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetStrokeWidth() float64 { + if d == nil { + return 0 + } + return d.StrokeWidth +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetBorderStyle() DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle { + if d == nil { + return "" + } + return d.BorderStyle +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetDashArray() []float64 { + if d == nil { + return nil + } + return d.DashArray +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetInteriorColor() *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor { + if d == nil { + return nil + } + return d.InteriorColor +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetCloudyIntensity() *float64 { + if d == nil { + return nil + } + return d.CloudyIntensity +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetRectDifferences() *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences { + if d == nil { + return nil + } + return d.RectDifferences +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetRotation() *float64 { + if d == nil { + return nil + } + return d.Rotation +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetUnrotatedRect() *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect { + if d == nil { + return nil + } + return d.UnrotatedRect +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetRef sets the Ref field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemCircleRef) { + d.Ref = ref + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldRef) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldPageObjectNumber) +} + +// SetIndex sets the Index field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetIndex(index int) { + d.Index = index + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldIndex) +} + +// SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQuality) { + d.IdentityQuality = identityQuality + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldIdentityQuality) +} + +// SetNm sets the Nm field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetNm(nm *string) { + d.Nm = nm + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldNm) +} + +// SetFlags sets the Flags field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) { + d.Flags = flags + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldFlags) +} + +// SetRect sets the Rect field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemCircleRect) { + d.Rect = rect + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldRect) +} + +// SetContents sets the Contents field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetContents(contents *string) { + d.Contents = contents + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldContents) +} + +// SetSubject sets the Subject field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetSubject(subject *string) { + d.Subject = subject + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldSubject) +} + +// SetAuthor sets the Author field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetAuthor(author *string) { + d.Author = author + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldAuthor) +} + +// SetCreated sets the Created field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetCreated(created *time.Time) { + d.Created = created + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldCreated) +} + +// SetModified sets the Modified field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetModified(modified *time.Time) { + d.Modified = modified + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldModified) +} + +// SetBlendMode sets the BlendMode field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode) { + d.BlendMode = blendMode + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldBlendMode) +} + +// SetInReplyTo sets the InReplyTo field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) { + d.InReplyTo = inReplyTo + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldInReplyTo) +} + +// SetReplyType sets the ReplyType field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemCircleReplyType) { + d.ReplyType = replyType + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldReplyType) +} + +// SetUserID sets the UserID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetUserID(userID *string) { + d.UserID = userID + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldUserID) +} + +// SetGroupID sets the GroupID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetGroupID(groupID *string) { + d.GroupID = groupID + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldGroupID) +} + +// SetCreatedBy sets the CreatedBy field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetCreatedBy(createdBy *string) { + d.CreatedBy = createdBy + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldCreatedBy) +} + +// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetUpdatedBy(updatedBy *string) { + d.UpdatedBy = updatedBy + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldUpdatedBy) +} + +// SetActions sets the Actions field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetActions(actions *PdfAnnotationActions) { + d.Actions = actions + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldActions) +} + +// SetColor sets the Color field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemCircleColor) { + d.Color = color + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldColor) +} + +// SetOpacity sets the Opacity field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetOpacity(opacity float64) { + d.Opacity = opacity + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldOpacity) +} + +// SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetStrokeWidth(strokeWidth float64) { + d.StrokeWidth = strokeWidth + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldStrokeWidth) +} + +// SetBorderStyle sets the BorderStyle field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetBorderStyle(borderStyle DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle) { + d.BorderStyle = borderStyle + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldBorderStyle) +} + +// SetDashArray sets the DashArray field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetDashArray(dashArray []float64) { + d.DashArray = dashArray + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldDashArray) +} + +// SetInteriorColor sets the InteriorColor field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetInteriorColor(interiorColor *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) { + d.InteriorColor = interiorColor + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldInteriorColor) +} + +// SetCloudyIntensity sets the CloudyIntensity field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetCloudyIntensity(cloudyIntensity *float64) { + d.CloudyIntensity = cloudyIntensity + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldCloudyIntensity) +} + +// SetRectDifferences sets the RectDifferences field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetRectDifferences(rectDifferences *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) { + d.RectDifferences = rectDifferences + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldRectDifferences) +} + +// SetRotation sets the Rotation field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetRotation(rotation *float64) { + d.Rotation = rotation + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldRotation) +} + +// SetUnrotatedRect sets the UnrotatedRect field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetUnrotatedRect(unrotatedRect *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) { + d.UnrotatedRect = unrotatedRect + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldUnrotatedRect) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsList200ResponseAnnotationsItemCircle + var unmarshaler = struct { + embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` + }{ + embed: embed(*d), + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCircle(unmarshaler.embed) + d.Created = unmarshaler.Created.TimePtr() + d.Modified = unmarshaler.Modified.TimePtr() + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCircle + var marshaler = struct { + embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` + }{ + embed: embed(*d), + Created: internal.NewOptionalDateTime(d.Created), + Modified: internal.NewOptionalDateTime(d.Modified), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode string + +const ( + DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "normal" + DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "multiply" + DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "screen" + DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "overlay" + DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "darken" + DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "lighten" + DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "color-dodge" + DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "color-burn" + DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "hard-light" + DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "soft-light" + DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "difference" + DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "exclusion" + DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeHue DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "hue" + DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "saturation" + DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeColor DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "color" + DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "luminosity" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemCircleBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode, error) { + switch s { + case "normal": + return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeNormal, nil + case "multiply": + return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeMultiply, nil + case "screen": + return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeScreen, nil + case "overlay": + return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeOverlay, nil + case "darken": + return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeDarken, nil + case "lighten": + return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeLighten, nil + case "color-dodge": + return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeColorDodge, nil + case "color-burn": + return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeColorBurn, nil + case "hard-light": + return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeHardLight, nil + case "soft-light": + return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeSoftLight, nil + case "difference": + return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeDifference, nil + case "exclusion": + return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeExclusion, nil + case "hue": + return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeHue, nil + case "saturation": + return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeSaturation, nil + case "color": + return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeColor, nil + case "luminosity": + return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeLuminosity, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode { + return &d +} + +type DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle string + +const ( + DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyleSolid DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle = "solid" + DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyleDashed DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle = "dashed" + DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyleBeveled DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle = "beveled" + DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyleInset DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle = "inset" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemCircleBorderStyleFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle, error) { + switch s { + case "solid": + return DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyleSolid, nil + case "dashed": + return DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyleDashed, nil + case "beveled": + return DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyleBeveled, nil + case "inset": + return DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyleInset, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle) Ptr() *DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle { + return &d +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCircleColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCircleColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemCircleColorFieldB = big.NewInt(1 << 2) +) + +type DocAnnotationsList200ResponseAnnotationsItemCircleColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) GetR() int { + if d == nil { + return 0 + } + return d.R +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) GetG() int { + if d == nil { + return 0 + } + return d.G +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) GetB() int { + if d == nil { + return 0 + } + return d.B +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetR sets the R field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) SetR(r int) { + d.R = r + d.require(docAnnotationsList200ResponseAnnotationsItemCircleColorFieldR) +} + +// SetG sets the G field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) SetG(g int) { + d.G = g + d.require(docAnnotationsList200ResponseAnnotationsItemCircleColorFieldG) +} + +// SetB sets the B field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) SetB(b int) { + d.B = b + d.require(docAnnotationsList200ResponseAnnotationsItemCircleColorFieldB) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleColor + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCircleColor(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCircleColor + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldLockedContents = big.NewInt(1 << 9) +) + +type DocAnnotationsList200ResponseAnnotationsItemCircleFlags struct { + Invisible bool `json:"invisible" url:"invisible"` + Hidden bool `json:"hidden" url:"hidden"` + Print bool `json:"print" url:"print"` + NoZoom bool `json:"noZoom" url:"noZoom"` + NoRotate bool `json:"noRotate" url:"noRotate"` + NoView bool `json:"noView" url:"noView"` + ReadOnly bool `json:"readOnly" url:"readOnly"` + Locked bool `json:"locked" url:"locked"` + ToggleNoView bool `json:"toggleNoView" url:"toggleNoView"` + LockedContents bool `json:"lockedContents" url:"lockedContents"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) GetInvisible() bool { + if d == nil { + return false + } + return d.Invisible +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) GetHidden() bool { + if d == nil { + return false + } + return d.Hidden +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) GetPrint() bool { + if d == nil { + return false + } + return d.Print +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) GetNoZoom() bool { + if d == nil { + return false + } + return d.NoZoom +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) GetNoRotate() bool { + if d == nil { + return false + } + return d.NoRotate +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) GetNoView() bool { + if d == nil { + return false + } + return d.NoView +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) GetReadOnly() bool { + if d == nil { + return false + } + return d.ReadOnly +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) GetLocked() bool { + if d == nil { + return false + } + return d.Locked +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) GetToggleNoView() bool { + if d == nil { + return false + } + return d.ToggleNoView +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) GetLockedContents() bool { + if d == nil { + return false + } + return d.LockedContents +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetInvisible sets the Invisible field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) SetInvisible(invisible bool) { + d.Invisible = invisible + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldInvisible) +} + +// SetHidden sets the Hidden field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) SetHidden(hidden bool) { + d.Hidden = hidden + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldHidden) +} + +// SetPrint sets the Print field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) SetPrint(print bool) { + d.Print = print + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldPrint) +} + +// SetNoZoom sets the NoZoom field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) SetNoZoom(noZoom bool) { + d.NoZoom = noZoom + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldNoZoom) +} + +// SetNoRotate sets the NoRotate field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) SetNoRotate(noRotate bool) { + d.NoRotate = noRotate + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldNoRotate) +} + +// SetNoView sets the NoView field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) SetNoView(noView bool) { + d.NoView = noView + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldNoView) +} + +// SetReadOnly sets the ReadOnly field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) SetReadOnly(readOnly bool) { + d.ReadOnly = readOnly + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldReadOnly) +} + +// SetLocked sets the Locked field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) SetLocked(locked bool) { + d.Locked = locked + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldLocked) +} + +// SetToggleNoView sets the ToggleNoView field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) SetToggleNoView(toggleNoView bool) { + d.ToggleNoView = toggleNoView + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldToggleNoView) +} + +// SetLockedContents sets the LockedContents field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) SetLockedContents(lockedContents bool) { + d.LockedContents = lockedContents + d.require(docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldLockedContents) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleFlags + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCircleFlags(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCircleFlags + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQuality string + +const ( + DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQuality = "durable" + DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQuality = "weak" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemCircleIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQuality, error) { + switch s { + case "durable": + return DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQualityDurable, nil + case "weak": + return DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQualityWeak, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQuality + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQuality { + return &d +} + +type DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo struct { + Kind string + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm + Index *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex + + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) GetKind() string { + if d == nil { + return "" + } + return d.Kind +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber { + if d == nil { + return nil + } + return d.ObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm { + if d == nil { + return nil + } + return d.Nm +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex { + if d == nil { + return nil + } + return d.Index +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) UnmarshalJSON(data []byte) error { + var unmarshaler struct { + Kind string `json:"kind"` + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { + return err + } + d.Kind = unmarshaler.Kind + if unmarshaler.Kind == "" { + return fmt.Errorf("%T did not include discriminant kind", d) + } + switch unmarshaler.Kind { + case "objectNumber": + value := new(DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.ObjectNumber = value + case "nm": + value := new(DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Nm = value + case "index": + value := new(DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Index = value + } + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) MarshalJSON() ([]byte, error) { + if err := d.validate(); err != nil { + return nil, err + } + if d.ObjectNumber != nil { + return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") + } + if d.Nm != nil { + return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") + } + if d.Index != nil { + return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") + } + if len(d.rawJSON) > 0 { + return d.rawJSON, nil + } + return nil, fmt.Errorf("type %T does not define a non-empty union type", d) +} + +type DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) error +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToVisitor) error { + if d.ObjectNumber != nil { + return visitor.VisitObjectNumber(d.ObjectNumber) + } + if d.Nm != nil { + return visitor.VisitNm(d.Nm) + } + if d.Index != nil { + return visitor.VisitIndex(d.Index) + } + return fmt.Errorf("type %T does not define a non-empty union type", d) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) validate() error { + if d == nil { + return fmt.Errorf("type %T is nil", d) + } + var fields []string + if d.ObjectNumber != nil { + fields = append(fields, "objectNumber") + } + if d.Nm != nil { + fields = append(fields, "nm") + } + if d.Index != nil { + fields = append(fields, "index") + } + if len(fields) == 0 { + if d.Kind != "" { + if len(d.rawJSON) > 0 { + return nil + } + return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) + } + return fmt.Errorf("type %T is empty", d) + } + if len(fields) > 1 { + return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) + } + if d.Kind != "" { + field := fields[0] + if d.Kind != field { + return fmt.Errorf( + "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", + d, + d.Kind, + d, + ) + } + } + return nil +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexFieldRevision = big.NewInt(1 << 2) +) + +type DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision `json:"revision" url:"revision"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) GetIndex() int { + if d == nil { + return 0 + } + return d.Index +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision { + if d == nil { + return nil + } + return d.Revision +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexFieldPageObjectNumber) +} + +// SetIndex sets the Index field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) SetIndex(index int) { + d.Index = index + d.require(docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexFieldIndex) +} + +// SetRevision sets the Revision field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) { + d.Revision = revision + d.require(docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexFieldRevision) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) +) + +type DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision struct { + DocSessionID string `json:"docSessionId" url:"docSessionId"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Generation int `json:"generation" url:"generation"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) GetDocSessionID() string { + if d == nil { + return "" + } + return d.DocSessionID +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) GetGeneration() int { + if d == nil { + return 0 + } + return d.Generation +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevisionFieldDocSessionID) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevisionFieldPageObjectNumber) +} + +// SetGeneration sets the Generation field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevisionFieldGeneration) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCircleInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCircleInReplyToNmFieldNm = big.NewInt(1 << 1) +) + +type DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Nm string `json:"nm" url:"nm"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -2940,55 +9429,271 @@ type DocAnnotationsList200Response struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200Response) GetPageState() *DocAnnotationsList200ResponsePageState { +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) GetNm() string { + if d == nil { + return "" + } + return d.Nm +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } - return d.PageState + return d.extraProperties } -func (d *DocAnnotationsList200Response) GetAnnotations() []*DocAnnotationsList200ResponseAnnotationsItem { +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemCircleInReplyToNmFieldPageObjectNumber) +} + +// SetNm sets the Nm field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) SetNm(nm string) { + d.Nm = nm + d.require(docAnnotationsList200ResponseAnnotationsItemCircleInReplyToNmFieldNm) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) +) + +type DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber) GetAnnotObjectNumber() int { + if d == nil { + return 0 + } + return d.AnnotObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } - return d.Annotations + return d.extraProperties } -func (d *DocAnnotationsList200Response) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumberFieldPageObjectNumber) +} + +// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { + d.AnnotObjectNumber = annotObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumberFieldAnnotObjectNumber) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCircleInteriorColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCircleInteriorColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemCircleInteriorColorFieldB = big.NewInt(1 << 2) +) + +type DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) GetR() int { + if d == nil { + return 0 + } + return d.R +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) GetG() int { + if d == nil { + return 0 + } + return d.G +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) GetB() int { + if d == nil { + return 0 + } + return d.B +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200Response) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageState sets the PageState field and marks it as non-optional; +// SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200Response) SetPageState(pageState *DocAnnotationsList200ResponsePageState) { - d.PageState = pageState - d.require(docAnnotationsList200ResponseFieldPageState) +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) SetR(r int) { + d.R = r + d.require(docAnnotationsList200ResponseAnnotationsItemCircleInteriorColorFieldR) } -// SetAnnotations sets the Annotations field and marks it as non-optional; +// SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200Response) SetAnnotations(annotations []*DocAnnotationsList200ResponseAnnotationsItem) { - d.Annotations = annotations - d.require(docAnnotationsList200ResponseFieldAnnotations) +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) SetG(g int) { + d.G = g + d.require(docAnnotationsList200ResponseAnnotationsItemCircleInteriorColorFieldG) } -func (d *DocAnnotationsList200Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200Response +// SetB sets the B field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) SetB(b int) { + d.B = b + d.require(docAnnotationsList200ResponseAnnotationsItemCircleInteriorColorFieldB) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200Response(value) + *d = DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -2998,8 +9703,8 @@ func (d *DocAnnotationsList200Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocAnnotationsList200Response) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200Response +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor var marshaler = struct { embed }{ @@ -3009,7 +9714,7 @@ func (d *DocAnnotationsList200Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200Response) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) String() string { if d == nil { return "" } @@ -3024,596 +9729,1058 @@ func (d *DocAnnotationsList200Response) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItem struct { - Subtype string - Highlight *DocAnnotationsList200ResponseAnnotationsItemHighlight - Underline *DocAnnotationsList200ResponseAnnotationsItemUnderline - Squiggly *DocAnnotationsList200ResponseAnnotationsItemSquiggly - Strikeout *DocAnnotationsList200ResponseAnnotationsItemStrikeout - Circle *DocAnnotationsList200ResponseAnnotationsItemCircle - Square *DocAnnotationsList200ResponseAnnotationsItemSquare - Polygon *DocAnnotationsList200ResponseAnnotationsItemPolygon - Polyline *DocAnnotationsList200ResponseAnnotationsItemPolyline - Line *DocAnnotationsList200ResponseAnnotationsItemLine - Link *DocAnnotationsList200ResponseAnnotationsItemLink - Ink *DocAnnotationsList200ResponseAnnotationsItemInk - FreeText *DocAnnotationsList200ResponseAnnotationsItemFreeText - Caret *DocAnnotationsList200ResponseAnnotationsItemCaret - Text *DocAnnotationsList200ResponseAnnotationsItemText - Stamp *DocAnnotationsList200ResponseAnnotationsItemStamp - FileAttachment *DocAnnotationsList200ResponseAnnotationsItemFileAttachment - Widget *DocAnnotationsList200ResponseAnnotationsItemWidget - Redact *DocAnnotationsList200ResponseAnnotationsItemRedact - Unsupported *DocAnnotationsList200ResponseAnnotationsItemUnsupported +var ( + docAnnotationsList200ResponseAnnotationsItemCircleRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCircleRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemCircleRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemCircleRectFieldTop = big.NewInt(1 << 3) +) + +type DocAnnotationsList200ResponseAnnotationsItemCircleRect struct { + Left float64 `json:"left" url:"left"` + Bottom float64 `json:"bottom" url:"bottom"` + Right float64 `json:"right" url:"right"` + Top float64 `json:"top" url:"top"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) GetLeft() float64 { + if d == nil { + return 0 + } + return d.Left +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) GetBottom() float64 { + if d == nil { + return 0 + } + return d.Bottom +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) GetRight() float64 { + if d == nil { + return 0 + } + return d.Right +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) GetTop() float64 { + if d == nil { + return 0 + } + return d.Top +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetLeft sets the Left field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsList200ResponseAnnotationsItemCircleRectFieldLeft) +} + +// SetBottom sets the Bottom field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsList200ResponseAnnotationsItemCircleRectFieldBottom) +} + +// SetRight sets the Right field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsList200ResponseAnnotationsItemCircleRectFieldRight) +} + +// SetTop sets the Top field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsList200ResponseAnnotationsItemCircleRectFieldTop) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleRect + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCircleRect(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCircleRect + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCircleRectDifferencesFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCircleRectDifferencesFieldTop = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemCircleRectDifferencesFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemCircleRectDifferencesFieldBottom = big.NewInt(1 << 3) +) + +type DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences struct { + Left float64 `json:"left" url:"left"` + Top float64 `json:"top" url:"top"` + Right float64 `json:"right" url:"right"` + Bottom float64 `json:"bottom" url:"bottom"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) GetLeft() float64 { + if d == nil { + return 0 + } + return d.Left +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) GetTop() float64 { + if d == nil { + return 0 + } + return d.Top +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) GetRight() float64 { + if d == nil { + return 0 + } + return d.Right +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) GetBottom() float64 { + if d == nil { + return 0 + } + return d.Bottom +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetLeft sets the Left field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsList200ResponseAnnotationsItemCircleRectDifferencesFieldLeft) +} + +// SetTop sets the Top field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsList200ResponseAnnotationsItemCircleRectDifferencesFieldTop) +} + +// SetRight sets the Right field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsList200ResponseAnnotationsItemCircleRectDifferencesFieldRight) +} + +// SetBottom sets the Bottom field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsList200ResponseAnnotationsItemCircleRectDifferencesFieldBottom) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsList200ResponseAnnotationsItemCircleRef struct { + Kind string + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm + Index *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItem) GetSubtype() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRef) GetKind() string { if d == nil { return "" } - return d.Subtype + return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItem) GetHighlight() *DocAnnotationsList200ResponseAnnotationsItemHighlight { +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber { if d == nil { return nil } - return d.Highlight + return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItem) GetUnderline() *DocAnnotationsList200ResponseAnnotationsItemUnderline { +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm { if d == nil { return nil } - return d.Underline + return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItem) GetSquiggly() *DocAnnotationsList200ResponseAnnotationsItemSquiggly { +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex { if d == nil { return nil } - return d.Squiggly + return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItem) GetStrikeout() *DocAnnotationsList200ResponseAnnotationsItemStrikeout { +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRef) UnmarshalJSON(data []byte) error { + var unmarshaler struct { + Kind string `json:"kind"` + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { + return err + } + d.Kind = unmarshaler.Kind + if unmarshaler.Kind == "" { + return fmt.Errorf("%T did not include discriminant kind", d) + } + switch unmarshaler.Kind { + case "objectNumber": + value := new(DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.ObjectNumber = value + case "nm": + value := new(DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Nm = value + case "index": + value := new(DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Index = value + } + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d DocAnnotationsList200ResponseAnnotationsItemCircleRef) MarshalJSON() ([]byte, error) { + if err := d.validate(); err != nil { + return nil, err + } + if d.ObjectNumber != nil { + return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") + } + if d.Nm != nil { + return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") + } + if d.Index != nil { + return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") + } + if len(d.rawJSON) > 0 { + return d.rawJSON, nil + } + return nil, fmt.Errorf("type %T does not define a non-empty union type", d) +} + +type DocAnnotationsList200ResponseAnnotationsItemCircleRefVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) error +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemCircleRefVisitor) error { + if d.ObjectNumber != nil { + return visitor.VisitObjectNumber(d.ObjectNumber) + } + if d.Nm != nil { + return visitor.VisitNm(d.Nm) + } + if d.Index != nil { + return visitor.VisitIndex(d.Index) + } + return fmt.Errorf("type %T does not define a non-empty union type", d) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRef) validate() error { + if d == nil { + return fmt.Errorf("type %T is nil", d) + } + var fields []string + if d.ObjectNumber != nil { + fields = append(fields, "objectNumber") + } + if d.Nm != nil { + fields = append(fields, "nm") + } + if d.Index != nil { + fields = append(fields, "index") + } + if len(fields) == 0 { + if d.Kind != "" { + if len(d.rawJSON) > 0 { + return nil + } + return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) + } + return fmt.Errorf("type %T is empty", d) + } + if len(fields) > 1 { + return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) + } + if d.Kind != "" { + field := fields[0] + if d.Kind != field { + return fmt.Errorf( + "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", + d, + d.Kind, + d, + ) + } + } + return nil +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCircleRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCircleRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemCircleRefIndexFieldRevision = big.NewInt(1 << 2) +) + +type DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision `json:"revision" url:"revision"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) GetIndex() int { + if d == nil { + return 0 + } + return d.Index +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision { if d == nil { return nil } - return d.Strikeout + return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItem) GetCircle() *DocAnnotationsList200ResponseAnnotationsItemCircle { +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } - return d.Circle + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemCircleRefIndexFieldPageObjectNumber) +} + +// SetIndex sets the Index field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) SetIndex(index int) { + d.Index = index + d.require(docAnnotationsList200ResponseAnnotationsItemCircleRefIndexFieldIndex) +} + +// SetRevision sets the Revision field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) { + d.Revision = revision + d.require(docAnnotationsList200ResponseAnnotationsItemCircleRefIndexFieldRevision) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) +) + +type DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision struct { + DocSessionID string `json:"docSessionId" url:"docSessionId"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Generation int `json:"generation" url:"generation"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) GetDocSessionID() string { + if d == nil { + return "" + } + return d.DocSessionID +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) GetGeneration() int { + if d == nil { + return 0 + } + return d.Generation +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevisionFieldDocSessionID) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevisionFieldPageObjectNumber) +} + +// SetGeneration sets the Generation field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevisionFieldGeneration) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCircleRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCircleRefNmFieldNm = big.NewInt(1 << 1) +) + +type DocAnnotationsList200ResponseAnnotationsItemCircleRefNm struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Nm string `json:"nm" url:"nm"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) GetNm() string { + if d == nil { + return "" + } + return d.Nm +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemCircleRefNmFieldPageObjectNumber) +} + +// SetNm sets the Nm field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) SetNm(nm string) { + d.Nm = nm + d.require(docAnnotationsList200ResponseAnnotationsItemCircleRefNmFieldNm) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleRefNm + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemCircleRefNm(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCircleRefNm + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) +) + +type DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItem) GetSquare() *DocAnnotationsList200ResponseAnnotationsItemSquare { +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) GetPageObjectNumber() int { if d == nil { - return nil + return 0 } - return d.Square + return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItem) GetPolygon() *DocAnnotationsList200ResponseAnnotationsItemPolygon { +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { - return nil + return 0 } - return d.Polygon + return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItem) GetPolyline() *DocAnnotationsList200ResponseAnnotationsItemPolyline { +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } - return d.Polyline + return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItem) GetLine() *DocAnnotationsList200ResponseAnnotationsItemLine { - if d == nil { - return nil +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) } - return d.Line + d.explicitFields.Or(d.explicitFields, field) } -func (d *DocAnnotationsList200ResponseAnnotationsItem) GetLink() *DocAnnotationsList200ResponseAnnotationsItemLink { - if d == nil { - return nil - } - return d.Link +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumberFieldPageObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItem) GetInk() *DocAnnotationsList200ResponseAnnotationsItemInk { - if d == nil { - return nil +// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { + d.AnnotObjectNumber = annotObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumberFieldAnnotObjectNumber) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err } - return d.Ink + *d = DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItem) GetFreeText() *DocAnnotationsList200ResponseAnnotationsItemFreeText { - if d == nil { - return nil +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber + var marshaler = struct { + embed + }{ + embed: embed(*d), } - return d.FreeText + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItem) GetCaret() *DocAnnotationsList200ResponseAnnotationsItemCaret { +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) String() string { if d == nil { - return nil + return "" } - return d.Caret + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItem) GetText() *DocAnnotationsList200ResponseAnnotationsItemText { - if d == nil { - return nil +type DocAnnotationsList200ResponseAnnotationsItemCircleReplyType string + +const ( + DocAnnotationsList200ResponseAnnotationsItemCircleReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemCircleReplyType = "reply" + DocAnnotationsList200ResponseAnnotationsItemCircleReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemCircleReplyType = "group" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemCircleReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemCircleReplyType, error) { + switch s { + case "reply": + return DocAnnotationsList200ResponseAnnotationsItemCircleReplyTypeReply, nil + case "group": + return DocAnnotationsList200ResponseAnnotationsItemCircleReplyTypeGroup, nil } - return d.Text + var t DocAnnotationsList200ResponseAnnotationsItemCircleReplyType + return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d *DocAnnotationsList200ResponseAnnotationsItem) GetStamp() *DocAnnotationsList200ResponseAnnotationsItemStamp { +func (d DocAnnotationsList200ResponseAnnotationsItemCircleReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemCircleReplyType { + return &d +} + +var ( + docAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRectFieldTop = big.NewInt(1 << 3) +) + +type DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect struct { + Left float64 `json:"left" url:"left"` + Bottom float64 `json:"bottom" url:"bottom"` + Right float64 `json:"right" url:"right"` + Top float64 `json:"top" url:"top"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) GetLeft() float64 { if d == nil { - return nil + return 0 } - return d.Stamp + return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItem) GetFileAttachment() *DocAnnotationsList200ResponseAnnotationsItemFileAttachment { +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) GetBottom() float64 { if d == nil { - return nil + return 0 } - return d.FileAttachment + return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItem) GetWidget() *DocAnnotationsList200ResponseAnnotationsItemWidget { +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) GetRight() float64 { if d == nil { - return nil + return 0 } - return d.Widget + return d.Right } -func (d *DocAnnotationsList200ResponseAnnotationsItem) GetRedact() *DocAnnotationsList200ResponseAnnotationsItemRedact { +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) GetTop() float64 { if d == nil { - return nil + return 0 } - return d.Redact + return d.Top } -func (d *DocAnnotationsList200ResponseAnnotationsItem) GetUnsupported() *DocAnnotationsList200ResponseAnnotationsItemUnsupported { +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } - return d.Unsupported + return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItem) UnmarshalJSON(data []byte) error { - var unmarshaler struct { - Subtype string `json:"subtype"` - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { - return err - } - d.Subtype = unmarshaler.Subtype - if unmarshaler.Subtype == "" { - return fmt.Errorf("%T did not include discriminant subtype", d) - } - switch unmarshaler.Subtype { - case "highlight": - value := new(DocAnnotationsList200ResponseAnnotationsItemHighlight) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Highlight = value - case "underline": - value := new(DocAnnotationsList200ResponseAnnotationsItemUnderline) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Underline = value - case "squiggly": - value := new(DocAnnotationsList200ResponseAnnotationsItemSquiggly) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Squiggly = value - case "strikeout": - value := new(DocAnnotationsList200ResponseAnnotationsItemStrikeout) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Strikeout = value - case "circle": - value := new(DocAnnotationsList200ResponseAnnotationsItemCircle) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Circle = value - case "square": - value := new(DocAnnotationsList200ResponseAnnotationsItemSquare) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Square = value - case "polygon": - value := new(DocAnnotationsList200ResponseAnnotationsItemPolygon) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Polygon = value - case "polyline": - value := new(DocAnnotationsList200ResponseAnnotationsItemPolyline) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Polyline = value - case "line": - value := new(DocAnnotationsList200ResponseAnnotationsItemLine) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Line = value - case "link": - value := new(DocAnnotationsList200ResponseAnnotationsItemLink) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Link = value - case "ink": - value := new(DocAnnotationsList200ResponseAnnotationsItemInk) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Ink = value - case "free-text": - value := new(DocAnnotationsList200ResponseAnnotationsItemFreeText) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.FreeText = value - case "caret": - value := new(DocAnnotationsList200ResponseAnnotationsItemCaret) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Caret = value - case "text": - value := new(DocAnnotationsList200ResponseAnnotationsItemText) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Text = value - case "stamp": - value := new(DocAnnotationsList200ResponseAnnotationsItemStamp) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Stamp = value - case "file-attachment": - value := new(DocAnnotationsList200ResponseAnnotationsItemFileAttachment) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.FileAttachment = value - case "widget": - value := new(DocAnnotationsList200ResponseAnnotationsItemWidget) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Widget = value - case "redact": - value := new(DocAnnotationsList200ResponseAnnotationsItemRedact) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Redact = value - case "unsupported": - value := new(DocAnnotationsList200ResponseAnnotationsItemUnsupported) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Unsupported = value +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) } - d.rawJSON = json.RawMessage(data) - return nil + d.explicitFields.Or(d.explicitFields, field) } -func (d DocAnnotationsList200ResponseAnnotationsItem) MarshalJSON() ([]byte, error) { - if err := d.validate(); err != nil { - return nil, err - } - if d.Highlight != nil { - return internal.MarshalJSONWithExtraProperty(d.Highlight, "subtype", "highlight") - } - if d.Underline != nil { - return internal.MarshalJSONWithExtraProperty(d.Underline, "subtype", "underline") - } - if d.Squiggly != nil { - return internal.MarshalJSONWithExtraProperty(d.Squiggly, "subtype", "squiggly") - } - if d.Strikeout != nil { - return internal.MarshalJSONWithExtraProperty(d.Strikeout, "subtype", "strikeout") - } - if d.Circle != nil { - return internal.MarshalJSONWithExtraProperty(d.Circle, "subtype", "circle") - } - if d.Square != nil { - return internal.MarshalJSONWithExtraProperty(d.Square, "subtype", "square") - } - if d.Polygon != nil { - return internal.MarshalJSONWithExtraProperty(d.Polygon, "subtype", "polygon") - } - if d.Polyline != nil { - return internal.MarshalJSONWithExtraProperty(d.Polyline, "subtype", "polyline") - } - if d.Line != nil { - return internal.MarshalJSONWithExtraProperty(d.Line, "subtype", "line") - } - if d.Link != nil { - return internal.MarshalJSONWithExtraProperty(d.Link, "subtype", "link") - } - if d.Ink != nil { - return internal.MarshalJSONWithExtraProperty(d.Ink, "subtype", "ink") - } - if d.FreeText != nil { - return internal.MarshalJSONWithExtraProperty(d.FreeText, "subtype", "free-text") - } - if d.Caret != nil { - return internal.MarshalJSONWithExtraProperty(d.Caret, "subtype", "caret") - } - if d.Text != nil { - return internal.MarshalJSONWithExtraProperty(d.Text, "subtype", "text") - } - if d.Stamp != nil { - return internal.MarshalJSONWithExtraProperty(d.Stamp, "subtype", "stamp") - } - if d.FileAttachment != nil { - return internal.MarshalJSONWithExtraProperty(d.FileAttachment, "subtype", "file-attachment") - } - if d.Widget != nil { - return internal.MarshalJSONWithExtraProperty(d.Widget, "subtype", "widget") - } - if d.Redact != nil { - return internal.MarshalJSONWithExtraProperty(d.Redact, "subtype", "redact") - } - if d.Unsupported != nil { - return internal.MarshalJSONWithExtraProperty(d.Unsupported, "subtype", "unsupported") - } - if len(d.rawJSON) > 0 { - return d.rawJSON, nil - } - return nil, fmt.Errorf("type %T does not define a non-empty union type", d) +// SetLeft sets the Left field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRectFieldLeft) } -type DocAnnotationsList200ResponseAnnotationsItemVisitor interface { - VisitHighlight(*DocAnnotationsList200ResponseAnnotationsItemHighlight) error - VisitUnderline(*DocAnnotationsList200ResponseAnnotationsItemUnderline) error - VisitSquiggly(*DocAnnotationsList200ResponseAnnotationsItemSquiggly) error - VisitStrikeout(*DocAnnotationsList200ResponseAnnotationsItemStrikeout) error - VisitCircle(*DocAnnotationsList200ResponseAnnotationsItemCircle) error - VisitSquare(*DocAnnotationsList200ResponseAnnotationsItemSquare) error - VisitPolygon(*DocAnnotationsList200ResponseAnnotationsItemPolygon) error - VisitPolyline(*DocAnnotationsList200ResponseAnnotationsItemPolyline) error - VisitLine(*DocAnnotationsList200ResponseAnnotationsItemLine) error - VisitLink(*DocAnnotationsList200ResponseAnnotationsItemLink) error - VisitInk(*DocAnnotationsList200ResponseAnnotationsItemInk) error - VisitFreeText(*DocAnnotationsList200ResponseAnnotationsItemFreeText) error - VisitCaret(*DocAnnotationsList200ResponseAnnotationsItemCaret) error - VisitText(*DocAnnotationsList200ResponseAnnotationsItemText) error - VisitStamp(*DocAnnotationsList200ResponseAnnotationsItemStamp) error - VisitFileAttachment(*DocAnnotationsList200ResponseAnnotationsItemFileAttachment) error - VisitWidget(*DocAnnotationsList200ResponseAnnotationsItemWidget) error - VisitRedact(*DocAnnotationsList200ResponseAnnotationsItemRedact) error - VisitUnsupported(*DocAnnotationsList200ResponseAnnotationsItemUnsupported) error +// SetBottom sets the Bottom field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRectFieldBottom) } -func (d *DocAnnotationsList200ResponseAnnotationsItem) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemVisitor) error { - if d.Highlight != nil { - return visitor.VisitHighlight(d.Highlight) - } - if d.Underline != nil { - return visitor.VisitUnderline(d.Underline) - } - if d.Squiggly != nil { - return visitor.VisitSquiggly(d.Squiggly) - } - if d.Strikeout != nil { - return visitor.VisitStrikeout(d.Strikeout) - } - if d.Circle != nil { - return visitor.VisitCircle(d.Circle) - } - if d.Square != nil { - return visitor.VisitSquare(d.Square) - } - if d.Polygon != nil { - return visitor.VisitPolygon(d.Polygon) - } - if d.Polyline != nil { - return visitor.VisitPolyline(d.Polyline) - } - if d.Line != nil { - return visitor.VisitLine(d.Line) - } - if d.Link != nil { - return visitor.VisitLink(d.Link) - } - if d.Ink != nil { - return visitor.VisitInk(d.Ink) - } - if d.FreeText != nil { - return visitor.VisitFreeText(d.FreeText) - } - if d.Caret != nil { - return visitor.VisitCaret(d.Caret) - } - if d.Text != nil { - return visitor.VisitText(d.Text) - } - if d.Stamp != nil { - return visitor.VisitStamp(d.Stamp) - } - if d.FileAttachment != nil { - return visitor.VisitFileAttachment(d.FileAttachment) - } - if d.Widget != nil { - return visitor.VisitWidget(d.Widget) +// SetRight sets the Right field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRectFieldRight) +} + +// SetTop sets the Top field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRectFieldTop) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err } - if d.Redact != nil { - return visitor.VisitRedact(d.Redact) + *d = DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err } - if d.Unsupported != nil { - return visitor.VisitUnsupported(d.Unsupported) + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect + var marshaler = struct { + embed + }{ + embed: embed(*d), } - return fmt.Errorf("type %T does not define a non-empty union type", d) + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItem) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) String() string { if d == nil { - return fmt.Errorf("type %T is nil", d) - } - var fields []string - if d.Highlight != nil { - fields = append(fields, "highlight") - } - if d.Underline != nil { - fields = append(fields, "underline") - } - if d.Squiggly != nil { - fields = append(fields, "squiggly") - } - if d.Strikeout != nil { - fields = append(fields, "strikeout") - } - if d.Circle != nil { - fields = append(fields, "circle") - } - if d.Square != nil { - fields = append(fields, "square") - } - if d.Polygon != nil { - fields = append(fields, "polygon") - } - if d.Polyline != nil { - fields = append(fields, "polyline") - } - if d.Line != nil { - fields = append(fields, "line") - } - if d.Link != nil { - fields = append(fields, "link") - } - if d.Ink != nil { - fields = append(fields, "ink") - } - if d.FreeText != nil { - fields = append(fields, "free-text") - } - if d.Caret != nil { - fields = append(fields, "caret") - } - if d.Text != nil { - fields = append(fields, "text") - } - if d.Stamp != nil { - fields = append(fields, "stamp") - } - if d.FileAttachment != nil { - fields = append(fields, "file-attachment") - } - if d.Widget != nil { - fields = append(fields, "widget") - } - if d.Redact != nil { - fields = append(fields, "redact") - } - if d.Unsupported != nil { - fields = append(fields, "unsupported") + return "" } - if len(fields) == 0 { - if d.Subtype != "" { - if len(d.rawJSON) > 0 { - return nil - } - return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Subtype) + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value } - return fmt.Errorf("type %T is empty", d) - } - if len(fields) > 1 { - return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) } - if d.Subtype != "" { - field := fields[0] - if d.Subtype != field { - return fmt.Errorf( - "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", - d, - d.Subtype, - d, - ) - } + if value, err := internal.StringifyJSON(d); err == nil { + return value } - return nil + return fmt.Sprintf("%#v", d) } var ( - docAnnotationsList200ResponseAnnotationsItemCaretFieldRef = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCaretFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemCaretFieldIndex = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemCaretFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemCaretFieldNm = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemCaretFieldFlags = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemCaretFieldRect = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemCaretFieldContents = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemCaretFieldSubject = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemCaretFieldAuthor = big.NewInt(1 << 9) - docAnnotationsList200ResponseAnnotationsItemCaretFieldCreated = big.NewInt(1 << 10) - docAnnotationsList200ResponseAnnotationsItemCaretFieldModified = big.NewInt(1 << 11) - docAnnotationsList200ResponseAnnotationsItemCaretFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsList200ResponseAnnotationsItemCaretFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsList200ResponseAnnotationsItemCaretFieldReplyType = big.NewInt(1 << 14) - docAnnotationsList200ResponseAnnotationsItemCaretFieldUserID = big.NewInt(1 << 15) - docAnnotationsList200ResponseAnnotationsItemCaretFieldGroupID = big.NewInt(1 << 16) - docAnnotationsList200ResponseAnnotationsItemCaretFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsList200ResponseAnnotationsItemCaretFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsList200ResponseAnnotationsItemCaretFieldActions = big.NewInt(1 << 19) - docAnnotationsList200ResponseAnnotationsItemCaretFieldColor = big.NewInt(1 << 20) - docAnnotationsList200ResponseAnnotationsItemCaretFieldOpacity = big.NewInt(1 << 21) - docAnnotationsList200ResponseAnnotationsItemCaretFieldIntent = big.NewInt(1 << 22) - docAnnotationsList200ResponseAnnotationsItemCaretFieldRectDifferences = big.NewInt(1 << 23) - docAnnotationsList200ResponseAnnotationsItemCaretFieldRotation = big.NewInt(1 << 24) - docAnnotationsList200ResponseAnnotationsItemCaretFieldUnrotatedRect = big.NewInt(1 << 25) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldRef = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldIndex = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldNm = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldFlags = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldRect = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldContents = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldSubject = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldAuthor = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldCreated = big.NewInt(1 << 10) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldModified = big.NewInt(1 << 11) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldReplyType = big.NewInt(1 << 14) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldUserID = big.NewInt(1 << 15) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldGroupID = big.NewInt(1 << 16) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldActions = big.NewInt(1 << 19) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldColor = big.NewInt(1 << 20) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldOpacity = big.NewInt(1 << 21) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldIcon = big.NewInt(1 << 22) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldFile = big.NewInt(1 << 23) ) -type DocAnnotationsList200ResponseAnnotationsItemCaret struct { - Ref *DocAnnotationsList200ResponseAnnotationsItemCaretRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsList200ResponseAnnotationsItemCaretFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsList200ResponseAnnotationsItemCaretRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsList200ResponseAnnotationsItemCaretReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsList200ResponseAnnotationsItemCaretColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - Intent *DocAnnotationsList200ResponseAnnotationsItemCaretIntent `json:"intent,omitempty" url:"intent,omitempty"` - RectDifferences *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences `json:"rectDifferences,omitempty" url:"rectDifferences,omitempty"` - Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` - UnrotatedRect *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect `json:"unrotatedRect,omitempty" url:"unrotatedRect,omitempty"` +type DocAnnotationsList200ResponseAnnotationsItemFileAttachment struct { + Ref *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + Icon DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon `json:"icon" url:"icon"` + File *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile `json:"file" url:"file"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -3622,196 +10789,182 @@ type DocAnnotationsList200ResponseAnnotationsItemCaret struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetRef() *DocAnnotationsList200ResponseAnnotationsItemCaretRef { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetRef() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQuality { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetNm() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemCaretFlags { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetRect() *DocAnnotationsList200ResponseAnnotationsItemCaretRect { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetRect() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetContents() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetSubject() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetAuthor() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetCreated() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetModified() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemCaretReplyType { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetUserID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetGroupID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetCreatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetUpdatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetColor() *DocAnnotationsList200ResponseAnnotationsItemCaretColor { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetColor() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor { if d == nil { return nil } return d.Color } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetOpacity() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetOpacity() float64 { if d == nil { return 0 } return d.Opacity } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetIntent() *DocAnnotationsList200ResponseAnnotationsItemCaretIntent { - if d == nil { - return nil - } - return d.Intent -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetRectDifferences() *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences { - if d == nil { - return nil - } - return d.RectDifferences -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetRotation() *float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetIcon() DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon { if d == nil { - return nil + return "" } - return d.Rotation + return d.Icon } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetUnrotatedRect() *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetFile() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile { if d == nil { return nil } - return d.UnrotatedRect + return d.File } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -3820,201 +10973,371 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) require(field *big.I // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemCaretRef) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) { d.Ref = ref - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldRef) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQuality) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldIdentityQuality) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetNm(nm *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) { d.Flags = flags - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldFlags) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemCaretRect) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) { d.Rect = rect - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldRect) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetContents(contents *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldContents) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetSubject(subject *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldSubject) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetAuthor(author *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldAuthor) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetCreated(created *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldCreated) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetModified(modified *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldModified) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldBlendMode) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldInReplyTo) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemCaretReplyType) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyType) { d.ReplyType = replyType - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldReplyType) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetUserID(userID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldUserID) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetGroupID(groupID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldGroupID) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldCreatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldUpdatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldActions) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldActions) } // SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemCaretColor) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) { d.Color = color - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldColor) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldColor) } // SetOpacity sets the Opacity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetOpacity(opacity float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetOpacity(opacity float64) { d.Opacity = opacity - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldOpacity) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldOpacity) } -// SetIntent sets the Intent field and marks it as non-optional; +// SetIcon sets the Icon field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetIntent(intent *DocAnnotationsList200ResponseAnnotationsItemCaretIntent) { - d.Intent = intent - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldIntent) +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetIcon(icon DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon) { + d.Icon = icon + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldIcon) } -// SetRectDifferences sets the RectDifferences field and marks it as non-optional; +// SetFile sets the File field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetRectDifferences(rectDifferences *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) { - d.RectDifferences = rectDifferences - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldRectDifferences) +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetFile(file *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) { + d.File = file + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldFile) } -// SetRotation sets the Rotation field and marks it as non-optional; +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachment + var unmarshaler = struct { + embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` + }{ + embed: embed(*d), + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachment(unmarshaler.embed) + d.Created = unmarshaler.Created.TimePtr() + d.Modified = unmarshaler.Modified.TimePtr() + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachment + var marshaler = struct { + embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` + }{ + embed: embed(*d), + Created: internal.NewOptionalDateTime(d.Created), + Modified: internal.NewOptionalDateTime(d.Modified), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode string + +const ( + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "normal" + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "multiply" + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "screen" + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "overlay" + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "darken" + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "lighten" + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "color-dodge" + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "color-burn" + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "hard-light" + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "soft-light" + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "difference" + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "exclusion" + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeHue DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "hue" + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "saturation" + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeColor DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "color" + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "luminosity" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode, error) { + switch s { + case "normal": + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeNormal, nil + case "multiply": + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeMultiply, nil + case "screen": + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeScreen, nil + case "overlay": + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeOverlay, nil + case "darken": + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeDarken, nil + case "lighten": + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeLighten, nil + case "color-dodge": + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeColorDodge, nil + case "color-burn": + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeColorBurn, nil + case "hard-light": + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeHardLight, nil + case "soft-light": + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeSoftLight, nil + case "difference": + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeDifference, nil + case "exclusion": + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeExclusion, nil + case "hue": + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeHue, nil + case "saturation": + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeSaturation, nil + case "color": + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeColor, nil + case "luminosity": + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeLuminosity, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode { + return &d +} + +var ( + docAnnotationsList200ResponseAnnotationsItemFileAttachmentColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentColorFieldB = big.NewInt(1 << 2) +) + +type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) GetR() int { + if d == nil { + return 0 + } + return d.R +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) GetG() int { + if d == nil { + return 0 + } + return d.G +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) GetB() int { + if d == nil { + return 0 + } + return d.B +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetRotation(rotation *float64) { - d.Rotation = rotation - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldRotation) +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) SetR(r int) { + d.R = r + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentColorFieldR) +} + +// SetG sets the G field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) SetG(g int) { + d.G = g + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentColorFieldG) } -// SetUnrotatedRect sets the UnrotatedRect field and marks it as non-optional; +// SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) SetUnrotatedRect(unrotatedRect *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) { - d.UnrotatedRect = unrotatedRect - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFieldUnrotatedRect) +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) SetB(b int) { + d.B = b + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentColorFieldB) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsList200ResponseAnnotationsItemCaret - var unmarshaler = struct { - embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` - }{ - embed: embed(*d), - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCaret(unmarshaler.embed) - d.Created = unmarshaler.Created.TimePtr() - d.Modified = unmarshaler.Modified.TimePtr() + *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -4024,22 +11347,18 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) UnmarshalJSON(data [ return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCaret +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor var marshaler = struct { embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` }{ - embed: embed(*d), - Created: internal.NewOptionalDateTime(d.Created), - Modified: internal.NewOptionalDateTime(d.Modified), + embed: embed(*d), } explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) String() string { if d == nil { return "" } @@ -4054,80 +11373,22 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaret) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode string - -const ( - DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "normal" - DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "multiply" - DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "screen" - DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "overlay" - DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "darken" - DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "lighten" - DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "color-dodge" - DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "color-burn" - DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "hard-light" - DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "soft-light" - DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "difference" - DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "exclusion" - DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeHue DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "hue" - DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "saturation" - DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeColor DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "color" - DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode = "luminosity" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemCaretBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode, error) { - switch s { - case "normal": - return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeNormal, nil - case "multiply": - return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeMultiply, nil - case "screen": - return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeScreen, nil - case "overlay": - return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeOverlay, nil - case "darken": - return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeDarken, nil - case "lighten": - return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeLighten, nil - case "color-dodge": - return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeColorDodge, nil - case "color-burn": - return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeColorBurn, nil - case "hard-light": - return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeHardLight, nil - case "soft-light": - return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeSoftLight, nil - case "difference": - return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeDifference, nil - case "exclusion": - return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeExclusion, nil - case "hue": - return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeHue, nil - case "saturation": - return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeSaturation, nil - case "color": - return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeColor, nil - case "luminosity": - return DocAnnotationsList200ResponseAnnotationsItemCaretBlendModeLuminosity, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemCaretBlendMode { - return &d -} - var ( - docAnnotationsList200ResponseAnnotationsItemCaretColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCaretColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemCaretColorFieldB = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldName = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldMimeType = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldDescription = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldSize = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldChecksum = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldCreationDate = big.NewInt(1 << 5) ) -type DocAnnotationsList200ResponseAnnotationsItemCaretColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` +type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile struct { + Name string `json:"name" url:"name"` + MimeType *string `json:"mimeType,omitempty" url:"mimeType,omitempty"` + Description *string `json:"description,omitempty" url:"description,omitempty"` + Size *int `json:"size,omitempty" url:"size,omitempty"` + Checksum *string `json:"checksum,omitempty" url:"checksum,omitempty"` + CreationDate *string `json:"creationDate,omitempty" url:"creationDate,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -4136,69 +11397,111 @@ type DocAnnotationsList200ResponseAnnotationsItemCaretColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) GetR() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) GetName() string { if d == nil { - return 0 + return "" } - return d.R + return d.Name } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) GetG() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) GetMimeType() *string { if d == nil { - return 0 + return nil } - return d.G + return d.MimeType } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) GetB() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) GetDescription() *string { if d == nil { - return 0 + return nil } - return d.B + return d.Description } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) GetSize() *int { + if d == nil { + return nil + } + return d.Size +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) GetChecksum() *string { + if d == nil { + return nil + } + return d.Checksum +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) GetCreationDate() *string { + if d == nil { + return nil + } + return d.CreationDate +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetR sets the R field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) SetR(r int) { - d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemCaretColorFieldR) +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) SetName(name string) { + d.Name = name + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldName) } -// SetG sets the G field and marks it as non-optional; +// SetMimeType sets the MimeType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) SetG(g int) { - d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemCaretColorFieldG) +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) SetMimeType(mimeType *string) { + d.MimeType = mimeType + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldMimeType) } -// SetB sets the B field and marks it as non-optional; +// SetDescription sets the Description field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) SetB(b int) { - d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemCaretColorFieldB) +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) SetDescription(description *string) { + d.Description = description + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldDescription) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretColor +// SetSize sets the Size field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) SetSize(size *int) { + d.Size = size + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldSize) +} + +// SetChecksum sets the Checksum field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) SetChecksum(checksum *string) { + d.Checksum = checksum + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldChecksum) +} + +// SetCreationDate sets the CreationDate field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) SetCreationDate(creationDate *string) { + d.CreationDate = creationDate + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldCreationDate) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCaretColor(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -4208,8 +11511,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) UnmarshalJSON(d return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCaretColor +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile var marshaler = struct { embed }{ @@ -4219,7 +11522,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) MarshalJSON() ( return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) String() string { if d == nil { return "" } @@ -4235,19 +11538,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretColor) String() string } var ( - docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsList200ResponseAnnotationsItemCaretFlags struct { +type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -4266,84 +11569,84 @@ type DocAnnotationsList200ResponseAnnotationsItemCaretFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) GetInvisible() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) GetHidden() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) GetPrint() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) GetNoZoom() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) GetNoRotate() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) GetNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) GetReadOnly() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) GetLocked() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) GetToggleNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) GetLockedContents() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -4352,81 +11655,81 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) require(field * // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldInvisible) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldHidden) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) SetPrint(print bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldPrint) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldNoZoom) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldNoRotate) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) SetNoView(noView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldReadOnly) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) SetLocked(locked bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldLocked) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldToggleNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsList200ResponseAnnotationsItemCaretFlagsFieldLockedContents) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldLockedContents) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCaretFlags(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -4436,8 +11739,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) UnmarshalJSON(d return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCaretFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags var marshaler = struct { embed }{ @@ -4447,7 +11750,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) MarshalJSON() ( return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) String() string { if d == nil { return "" } @@ -4462,66 +11765,94 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretFlags) String() string return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQuality string +type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon string const ( - DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQuality = "durable" - DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQuality = "weak" + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIconPushPin DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon = "push-pin" + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIconPaperclip DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon = "paperclip" + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIconGraph DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon = "graph" + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIconTag DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon = "tag" ) -func NewDocAnnotationsList200ResponseAnnotationsItemCaretIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQuality, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemFileAttachmentIconFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon, error) { + switch s { + case "push-pin": + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIconPushPin, nil + case "paperclip": + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIconPaperclip, nil + case "graph": + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIconGraph, nil + case "tag": + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIconTag, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon { + return &d +} + +type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQuality string + +const ( + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQuality = "durable" + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQuality = "weak" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQualityDurable, nil + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQualityDurable, nil case "weak": - return DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQualityWeak, nil + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQualityWeak, nil } - var t DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQuality + var t DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemCaretIdentityQuality { +func (d DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQuality { return &d } -type DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo struct { +type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm - Index *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm + Index *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -4534,19 +11865,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) UnmarshalJS } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -4556,7 +11887,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) UnmarshalJS return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -4575,13 +11906,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) MarshalJSON( return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) error +type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -4594,7 +11925,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) Accept(visi return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -4635,15 +11966,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyTo) validate() } var ( - docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -4652,35 +11983,35 @@ type DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -4689,32 +12020,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) requir // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -4724,8 +12055,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) Unmars return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex var marshaler = struct { embed }{ @@ -4735,7 +12066,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) String() string { if d == nil { return "" } @@ -4751,12 +12082,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndex) String } var ( - docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -4768,35 +12099,35 @@ type DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision str rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -4805,32 +12136,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -4840,8 +12171,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision var marshaler = struct { embed }{ @@ -4851,7 +12182,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -4867,11 +12198,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToIndexRevision } var ( - docAnnotationsList200ResponseAnnotationsItemCaretInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCaretInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm struct { +type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -4882,28 +12213,28 @@ type DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -4912,25 +12243,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) require(f // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemCaretInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemCaretInReplyToNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -4940,8 +12271,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) Unmarshal return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm var marshaler = struct { embed }{ @@ -4951,7 +12282,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) MarshalJS return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) String() string { if d == nil { return "" } @@ -4967,11 +12298,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToNm) String() } var ( - docAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -4982,28 +12313,28 @@ type DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber stru rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -5012,25 +12343,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -5040,8 +12371,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber var marshaler = struct { embed }{ @@ -5051,7 +12382,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -5066,33 +12397,14 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretInReplyToObjectNumber) return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemCaretIntent string - -const ( - DocAnnotationsList200ResponseAnnotationsItemCaretIntentReplace DocAnnotationsList200ResponseAnnotationsItemCaretIntent = "replace" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemCaretIntentFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemCaretIntent, error) { - switch s { - case "replace": - return DocAnnotationsList200ResponseAnnotationsItemCaretIntentReplace, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemCaretIntent - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemCaretIntent) Ptr() *DocAnnotationsList200ResponseAnnotationsItemCaretIntent { - return &d -} - var ( - docAnnotationsList200ResponseAnnotationsItemCaretRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCaretRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemCaretRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemCaretRectFieldTop = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemCaretRect struct { +type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -5105,42 +12417,42 @@ type DocAnnotationsList200ResponseAnnotationsItemCaretRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) GetLeft() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) GetBottom() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) GetRight() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) GetTop() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -5149,171 +12461,39 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) require(field *b // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) SetLeft(left float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemCaretRectFieldLeft) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) SetBottom(bottom float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemCaretRectFieldBottom) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) SetRight(right float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemCaretRectFieldRight) -} - -// SetTop sets the Top field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemCaretRectFieldTop) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretRect - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemCaretRect(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCaretRect - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRect) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsList200ResponseAnnotationsItemCaretRectDifferencesFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCaretRectDifferencesFieldTop = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemCaretRectDifferencesFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemCaretRectDifferencesFieldBottom = big.NewInt(1 << 3) -) - -type DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences struct { - Left float64 `json:"left" url:"left"` - Top float64 `json:"top" url:"top"` - Right float64 `json:"right" url:"right"` - Bottom float64 `json:"bottom" url:"bottom"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) GetLeft() float64 { - if d == nil { - return 0 - } - return d.Left -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) GetTop() float64 { - if d == nil { - return 0 - } - return d.Top -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) GetRight() float64 { - if d == nil { - return 0 - } - return d.Right -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) GetBottom() float64 { - if d == nil { - return 0 - } - return d.Bottom -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetLeft sets the Left field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemCaretRectDifferencesFieldLeft) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) SetTop(top float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemCaretRectDifferencesFieldTop) -} - -// SetRight sets the Right field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemCaretRectDifferencesFieldRight) -} - -// SetBottom sets the Bottom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemCaretRectDifferencesFieldBottom) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRectFieldTop) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -5323,8 +12503,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) Unmar return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect var marshaler = struct { embed }{ @@ -5334,7 +12514,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) String() string { if d == nil { return "" } @@ -5349,44 +12529,44 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRectDifferences) Strin return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemCaretRef struct { +type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm - Index *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm + Index *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRef) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -5399,19 +12579,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRef) UnmarshalJSON(dat } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -5421,7 +12601,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRef) UnmarshalJSON(dat return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemCaretRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -5440,13 +12620,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemCaretRef) MarshalJSON() ([]b return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemCaretRefVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) error +type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemCaretRefVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -5459,7 +12639,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRef) Accept(visitor Do return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRef) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -5500,15 +12680,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRef) validate() error } var ( - docAnnotationsList200ResponseAnnotationsItemCaretRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCaretRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemCaretRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -5517,35 +12697,35 @@ type DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -5554,32 +12734,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) require(fiel // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemCaretRefIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemCaretRefIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemCaretRefIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -5589,8 +12769,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) UnmarshalJSO return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex var marshaler = struct { embed }{ @@ -5600,7 +12780,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) MarshalJSON( return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) String() string { if d == nil { return "" } @@ -5616,12 +12796,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndex) String() str } var ( - docAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -5633,35 +12813,35 @@ type DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -5670,32 +12850,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) requ // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -5705,8 +12885,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) Unma return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision var marshaler = struct { embed }{ @@ -5716,7 +12896,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) Mars return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) String() string { if d == nil { return "" } @@ -5732,11 +12912,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefIndexRevision) Stri } var ( - docAnnotationsList200ResponseAnnotationsItemCaretRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCaretRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemCaretRefNm struct { +type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -5747,28 +12927,28 @@ type DocAnnotationsList200ResponseAnnotationsItemCaretRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -5777,125 +12957,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) require(field * // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemCaretRefNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemCaretRefNmFieldNm) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretRefNm - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemCaretRefNm(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCaretRefNm - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefNm) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) -) - -type DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) GetAnnotObjectNumber() int { - if d == nil { - return 0 - } - return d.AnnotObjectNumber -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumberFieldPageObjectNumber) -} - -// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { - d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -5905,8 +12985,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) Unmar return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm var marshaler = struct { embed }{ @@ -5916,7 +12996,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) String() string { if d == nil { return "" } @@ -5931,40 +13011,14 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretRefObjectNumber) Strin return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemCaretReplyType string - -const ( - DocAnnotationsList200ResponseAnnotationsItemCaretReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemCaretReplyType = "reply" - DocAnnotationsList200ResponseAnnotationsItemCaretReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemCaretReplyType = "group" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemCaretReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemCaretReplyType, error) { - switch s { - case "reply": - return DocAnnotationsList200ResponseAnnotationsItemCaretReplyTypeReply, nil - case "group": - return DocAnnotationsList200ResponseAnnotationsItemCaretReplyTypeGroup, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemCaretReplyType - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemCaretReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemCaretReplyType { - return &d -} - var ( - docAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRectFieldTop = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect struct { - Left float64 `json:"left" url:"left"` - Bottom float64 `json:"bottom" url:"bottom"` - Right float64 `json:"right" url:"right"` - Top float64 `json:"top" url:"top"` +type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -5973,83 +13027,55 @@ type DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) GetLeft() float64 { - if d == nil { - return 0 - } - return d.Left -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) GetBottom() float64 { - if d == nil { - return 0 - } - return d.Bottom -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) GetRight() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } - return d.Right + return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) GetTop() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } - return d.Top + return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetLeft sets the Left field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRectFieldLeft) -} - -// SetBottom sets the Bottom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRectFieldBottom) -} - -// SetRight sets the Right field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRectFieldRight) +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumberFieldPageObjectNumber) } -// SetTop sets the Top field and marks it as non-optional; +// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRectFieldTop) +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { + d.AnnotObjectNumber = annotObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -6059,8 +13085,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) Unmarsh return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber var marshaler = struct { embed }{ @@ -6070,7 +13096,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) Marshal return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber) String() string { if d == nil { return "" } @@ -6085,70 +13111,104 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCaretUnrotatedRect) String( return fmt.Sprintf("%#v", d) } +type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyType string + +const ( + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyType = "reply" + DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyType = "group" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyType, error) { + switch s { + case "reply": + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyTypeReply, nil + case "group": + return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyTypeGroup, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyType + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyType { + return &d +} + var ( - docAnnotationsList200ResponseAnnotationsItemCircleFieldRef = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCircleFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemCircleFieldIndex = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemCircleFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemCircleFieldNm = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemCircleFieldFlags = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemCircleFieldRect = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemCircleFieldContents = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemCircleFieldSubject = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemCircleFieldAuthor = big.NewInt(1 << 9) - docAnnotationsList200ResponseAnnotationsItemCircleFieldCreated = big.NewInt(1 << 10) - docAnnotationsList200ResponseAnnotationsItemCircleFieldModified = big.NewInt(1 << 11) - docAnnotationsList200ResponseAnnotationsItemCircleFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsList200ResponseAnnotationsItemCircleFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsList200ResponseAnnotationsItemCircleFieldReplyType = big.NewInt(1 << 14) - docAnnotationsList200ResponseAnnotationsItemCircleFieldUserID = big.NewInt(1 << 15) - docAnnotationsList200ResponseAnnotationsItemCircleFieldGroupID = big.NewInt(1 << 16) - docAnnotationsList200ResponseAnnotationsItemCircleFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsList200ResponseAnnotationsItemCircleFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsList200ResponseAnnotationsItemCircleFieldActions = big.NewInt(1 << 19) - docAnnotationsList200ResponseAnnotationsItemCircleFieldColor = big.NewInt(1 << 20) - docAnnotationsList200ResponseAnnotationsItemCircleFieldOpacity = big.NewInt(1 << 21) - docAnnotationsList200ResponseAnnotationsItemCircleFieldStrokeWidth = big.NewInt(1 << 22) - docAnnotationsList200ResponseAnnotationsItemCircleFieldBorderStyle = big.NewInt(1 << 23) - docAnnotationsList200ResponseAnnotationsItemCircleFieldDashArray = big.NewInt(1 << 24) - docAnnotationsList200ResponseAnnotationsItemCircleFieldInteriorColor = big.NewInt(1 << 25) - docAnnotationsList200ResponseAnnotationsItemCircleFieldCloudyIntensity = big.NewInt(1 << 26) - docAnnotationsList200ResponseAnnotationsItemCircleFieldRectDifferences = big.NewInt(1 << 27) - docAnnotationsList200ResponseAnnotationsItemCircleFieldRotation = big.NewInt(1 << 28) - docAnnotationsList200ResponseAnnotationsItemCircleFieldUnrotatedRect = big.NewInt(1 << 29) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldRef = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldIndex = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldNm = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldFlags = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldRect = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldContents = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldSubject = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldAuthor = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldCreated = big.NewInt(1 << 10) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldModified = big.NewInt(1 << 11) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldReplyType = big.NewInt(1 << 14) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldUserID = big.NewInt(1 << 15) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldGroupID = big.NewInt(1 << 16) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldActions = big.NewInt(1 << 19) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldIntent = big.NewInt(1 << 20) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldFontFamily = big.NewInt(1 << 21) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldFontSize = big.NewInt(1 << 22) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldTextAlign = big.NewInt(1 << 23) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldColor = big.NewInt(1 << 24) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldFontColor = big.NewInt(1 << 25) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldInteriorColor = big.NewInt(1 << 26) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldOpacity = big.NewInt(1 << 27) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldStrokeWidth = big.NewInt(1 << 28) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldBorderStyle = big.NewInt(1 << 29) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldDashArray = big.NewInt(1 << 30) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldRectDifferences = big.NewInt(1 << 31) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldCalloutLine = big.NewInt(1 << 32) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldLineEnding = big.NewInt(1 << 33) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldRotation = big.NewInt(1 << 34) + docAnnotationsList200ResponseAnnotationsItemFreeTextFieldUnrotatedRect = big.NewInt(1 << 35) ) -type DocAnnotationsList200ResponseAnnotationsItemCircle struct { - Ref *DocAnnotationsList200ResponseAnnotationsItemCircleRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsList200ResponseAnnotationsItemCircleFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsList200ResponseAnnotationsItemCircleRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsList200ResponseAnnotationsItemCircleReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsList200ResponseAnnotationsItemCircleColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` - BorderStyle DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle `json:"borderStyle" url:"borderStyle"` - DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` - InteriorColor *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` - CloudyIntensity *float64 `json:"cloudyIntensity,omitempty" url:"cloudyIntensity,omitempty"` - RectDifferences *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences `json:"rectDifferences,omitempty" url:"rectDifferences,omitempty"` - Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` - UnrotatedRect *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect `json:"unrotatedRect,omitempty" url:"unrotatedRect,omitempty"` +type DocAnnotationsList200ResponseAnnotationsItemFreeText struct { + Ref *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Intent DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent `json:"intent" url:"intent"` + FontFamily DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily `json:"fontFamily" url:"fontFamily"` + FontSize float64 `json:"fontSize" url:"fontSize"` + TextAlign DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign `json:"textAlign" url:"textAlign"` + Color *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor `json:"color" url:"color"` + FontColor *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor `json:"fontColor,omitempty" url:"fontColor,omitempty"` + InteriorColor *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` + Opacity float64 `json:"opacity" url:"opacity"` + StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` + BorderStyle DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle `json:"borderStyle" url:"borderStyle"` + DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` + RectDifferences *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences `json:"rectDifferences,omitempty" url:"rectDifferences,omitempty"` + CalloutLine []any `json:"calloutLine,omitempty" url:"calloutLine,omitempty"` + LineEnding *DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding `json:"lineEnding,omitempty" url:"lineEnding,omitempty"` + Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` + UnrotatedRect *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect `json:"unrotatedRect,omitempty" url:"unrotatedRect,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -6157,224 +13217,266 @@ type DocAnnotationsList200ResponseAnnotationsItemCircle struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetRef() *DocAnnotationsList200ResponseAnnotationsItemCircleRef { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetRef() *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQuality { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetNm() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemCircleFlags { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetRect() *DocAnnotationsList200ResponseAnnotationsItemCircleRect { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetRect() *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetContents() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetSubject() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetAuthor() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetCreated() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetModified() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemCircleReplyType { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetUserID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetGroupID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetCreatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetUpdatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetColor() *DocAnnotationsList200ResponseAnnotationsItemCircleColor { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetIntent() DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent { + if d == nil { + return "" + } + return d.Intent +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetFontFamily() DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily { + if d == nil { + return "" + } + return d.FontFamily +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetFontSize() float64 { + if d == nil { + return 0 + } + return d.FontSize +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetTextAlign() DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign { + if d == nil { + return "" + } + return d.TextAlign +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetColor() *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor { if d == nil { return nil } return d.Color } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetOpacity() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetFontColor() *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor { + if d == nil { + return nil + } + return d.FontColor +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetInteriorColor() *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor { + if d == nil { + return nil + } + return d.InteriorColor +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetOpacity() float64 { if d == nil { return 0 } return d.Opacity } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetStrokeWidth() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetStrokeWidth() float64 { if d == nil { return 0 } return d.StrokeWidth } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetBorderStyle() DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetBorderStyle() DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle { if d == nil { return "" } return d.BorderStyle } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetDashArray() []float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetDashArray() []float64 { if d == nil { return nil } return d.DashArray } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetInteriorColor() *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetRectDifferences() *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences { if d == nil { return nil } - return d.InteriorColor + return d.RectDifferences } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetCloudyIntensity() *float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetCalloutLine() []any { if d == nil { return nil } - return d.CloudyIntensity + return d.CalloutLine } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetRectDifferences() *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetLineEnding() *DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding { if d == nil { return nil } - return d.RectDifferences + return d.LineEnding } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetRotation() *float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetRotation() *float64 { if d == nil { return nil } return d.Rotation } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetUnrotatedRect() *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetUnrotatedRect() *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect { if d == nil { return nil } return d.UnrotatedRect } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -6383,216 +13485,258 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) require(field *big. // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemCircleRef) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) { d.Ref = ref - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldRef) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQuality) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldIdentityQuality) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetNm(nm *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) { d.Flags = flags - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldFlags) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemCircleRect) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) { d.Rect = rect - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldRect) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetContents(contents *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldContents) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetSubject(subject *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldSubject) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetAuthor(author *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldAuthor) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetCreated(created *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldCreated) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetModified(modified *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldModified) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldBlendMode) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldInReplyTo) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemCircleReplyType) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyType) { d.ReplyType = replyType - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldReplyType) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetUserID(userID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldUserID) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetGroupID(groupID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldGroupID) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldCreatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldUpdatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldActions) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldActions) +} + +// SetIntent sets the Intent field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetIntent(intent DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent) { + d.Intent = intent + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldIntent) +} + +// SetFontFamily sets the FontFamily field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetFontFamily(fontFamily DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily) { + d.FontFamily = fontFamily + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldFontFamily) +} + +// SetFontSize sets the FontSize field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetFontSize(fontSize float64) { + d.FontSize = fontSize + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldFontSize) +} + +// SetTextAlign sets the TextAlign field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetTextAlign(textAlign DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign) { + d.TextAlign = textAlign + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldTextAlign) } // SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemCircleColor) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) { d.Color = color - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldColor) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldColor) +} + +// SetFontColor sets the FontColor field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetFontColor(fontColor *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) { + d.FontColor = fontColor + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldFontColor) +} + +// SetInteriorColor sets the InteriorColor field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetInteriorColor(interiorColor *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) { + d.InteriorColor = interiorColor + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldInteriorColor) } // SetOpacity sets the Opacity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetOpacity(opacity float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetOpacity(opacity float64) { d.Opacity = opacity - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldOpacity) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldOpacity) } // SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetStrokeWidth(strokeWidth float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetStrokeWidth(strokeWidth float64) { d.StrokeWidth = strokeWidth - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldStrokeWidth) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldStrokeWidth) } // SetBorderStyle sets the BorderStyle field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetBorderStyle(borderStyle DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetBorderStyle(borderStyle DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle) { d.BorderStyle = borderStyle - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldBorderStyle) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldBorderStyle) } // SetDashArray sets the DashArray field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetDashArray(dashArray []float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetDashArray(dashArray []float64) { d.DashArray = dashArray - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldDashArray) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldDashArray) } -// SetInteriorColor sets the InteriorColor field and marks it as non-optional; +// SetRectDifferences sets the RectDifferences field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetInteriorColor(interiorColor *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) { - d.InteriorColor = interiorColor - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldInteriorColor) +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetRectDifferences(rectDifferences *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) { + d.RectDifferences = rectDifferences + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldRectDifferences) } -// SetCloudyIntensity sets the CloudyIntensity field and marks it as non-optional; +// SetCalloutLine sets the CalloutLine field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetCloudyIntensity(cloudyIntensity *float64) { - d.CloudyIntensity = cloudyIntensity - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldCloudyIntensity) +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetCalloutLine(calloutLine []any) { + d.CalloutLine = calloutLine + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldCalloutLine) } -// SetRectDifferences sets the RectDifferences field and marks it as non-optional; +// SetLineEnding sets the LineEnding field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetRectDifferences(rectDifferences *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) { - d.RectDifferences = rectDifferences - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldRectDifferences) +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetLineEnding(lineEnding *DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding) { + d.LineEnding = lineEnding + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldLineEnding) } // SetRotation sets the Rotation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetRotation(rotation *float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetRotation(rotation *float64) { d.Rotation = rotation - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldRotation) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldRotation) } // SetUnrotatedRect sets the UnrotatedRect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) SetUnrotatedRect(unrotatedRect *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetUnrotatedRect(unrotatedRect *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) { d.UnrotatedRect = unrotatedRect - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFieldUnrotatedRect) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldUnrotatedRect) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsList200ResponseAnnotationsItemCircle +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsList200ResponseAnnotationsItemFreeText var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -6603,7 +13747,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) UnmarshalJSON(data if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCircle(unmarshaler.embed) + *d = DocAnnotationsList200ResponseAnnotationsItemFreeText(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -6615,8 +13759,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) UnmarshalJSON(data return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCircle +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFreeText var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -6630,7 +13774,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) MarshalJSON() ([]by return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) String() string { if d == nil { return "" } @@ -6645,105 +13789,105 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircle) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode string +type DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode string const ( - DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "normal" - DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "multiply" - DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "screen" - DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "overlay" - DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "darken" - DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "lighten" - DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "color-dodge" - DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "color-burn" - DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "hard-light" - DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "soft-light" - DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "difference" - DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "exclusion" - DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeHue DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "hue" - DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "saturation" - DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeColor DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "color" - DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode = "luminosity" + DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "normal" + DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "multiply" + DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "screen" + DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "overlay" + DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "darken" + DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "lighten" + DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "color-dodge" + DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "color-burn" + DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "hard-light" + DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "soft-light" + DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "difference" + DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "exclusion" + DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeHue DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "hue" + DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "saturation" + DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeColor DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "color" + DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "luminosity" ) -func NewDocAnnotationsList200ResponseAnnotationsItemCircleBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode, error) { switch s { case "normal": - return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeNormal, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeNormal, nil case "multiply": - return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeMultiply, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeMultiply, nil case "screen": - return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeScreen, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeScreen, nil case "overlay": - return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeOverlay, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeOverlay, nil case "darken": - return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeDarken, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeDarken, nil case "lighten": - return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeLighten, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeLighten, nil case "color-dodge": - return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeColorDodge, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeColorBurn, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeHardLight, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeHardLight, nil case "soft-light": - return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeSoftLight, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeSoftLight, nil case "difference": - return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeDifference, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeDifference, nil case "exclusion": - return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeExclusion, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeExclusion, nil case "hue": - return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeHue, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeHue, nil case "saturation": - return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeSaturation, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeSaturation, nil case "color": - return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeColor, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeColor, nil case "luminosity": - return DocAnnotationsList200ResponseAnnotationsItemCircleBlendModeLuminosity, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeLuminosity, nil } - var t DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode + var t DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemCircleBlendMode { +func (d DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode { return &d } -type DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle string +type DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle string const ( - DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyleSolid DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle = "solid" - DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyleDashed DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle = "dashed" - DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyleBeveled DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle = "beveled" - DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyleInset DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle = "inset" + DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyleSolid DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle = "solid" + DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyleDashed DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle = "dashed" + DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyleBeveled DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle = "beveled" + DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyleInset DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle = "inset" ) -func NewDocAnnotationsList200ResponseAnnotationsItemCircleBorderStyleFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyleFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle, error) { switch s { case "solid": - return DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyleSolid, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyleSolid, nil case "dashed": - return DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyleDashed, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyleDashed, nil case "beveled": - return DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyleBeveled, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyleBeveled, nil case "inset": - return DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyleInset, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyleInset, nil } - var t DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle + var t DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle) Ptr() *DocAnnotationsList200ResponseAnnotationsItemCircleBorderStyle { +func (d DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemCircleColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCircleColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemCircleColorFieldB = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemFreeTextColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFreeTextColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFreeTextColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemCircleColor struct { +type DocAnnotationsList200ResponseAnnotationsItemFreeTextColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -6755,35 +13899,35 @@ type DocAnnotationsList200ResponseAnnotationsItemCircleColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) GetR() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) GetG() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) GetB() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -6792,32 +13936,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) require(field // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) SetR(r int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) SetR(r int) { d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemCircleColorFieldR) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) SetG(g int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) SetG(g int) { d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemCircleColorFieldG) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) SetB(b int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) SetB(b int) { d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemCircleColorFieldB) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextColorFieldB) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleColor +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCircleColor(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -6827,8 +13971,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) UnmarshalJSON( return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCircleColor +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextColor var marshaler = struct { embed }{ @@ -6838,7 +13982,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) String() string { if d == nil { return "" } @@ -6854,19 +13998,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleColor) String() strin } var ( - docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsList200ResponseAnnotationsItemCircleFlags struct { +type DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -6885,84 +14029,84 @@ type DocAnnotationsList200ResponseAnnotationsItemCircleFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) GetInvisible() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) GetHidden() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) GetPrint() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) GetNoZoom() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) GetNoRotate() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) GetNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) GetReadOnly() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) GetLocked() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) GetToggleNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) GetLockedContents() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -6971,81 +14115,81 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) require(field // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldInvisible) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldHidden) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) SetPrint(print bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldPrint) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldNoZoom) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldNoRotate) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) SetNoView(noView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldReadOnly) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) SetLocked(locked bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldLocked) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldToggleNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsList200ResponseAnnotationsItemCircleFlagsFieldLockedContents) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldLockedContents) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCircleFlags(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -7055,8 +14199,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) UnmarshalJSON( return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCircleFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags var marshaler = struct { embed }{ @@ -7066,7 +14210,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) String() string { if d == nil { return "" } @@ -7081,66 +14225,240 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleFlags) String() strin return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQuality string +var ( + docAnnotationsList200ResponseAnnotationsItemFreeTextFontColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFreeTextFontColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFreeTextFontColorFieldB = big.NewInt(1 << 2) +) + +type DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) GetR() int { + if d == nil { + return 0 + } + return d.R +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) GetG() int { + if d == nil { + return 0 + } + return d.G +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) GetB() int { + if d == nil { + return 0 + } + return d.B +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetR sets the R field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) SetR(r int) { + d.R = r + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFontColorFieldR) +} + +// SetG sets the G field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) SetG(g int) { + d.G = g + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFontColorFieldG) +} + +// SetB sets the B field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) SetB(b int) { + d.B = b + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFontColorFieldB) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily string const ( - DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQuality = "durable" - DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQuality = "weak" + DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyCourier DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "courier" + DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyCourierBold DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "courier-bold" + DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyCourierBoldOblique DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "courier-bold-oblique" + DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyCourierOblique DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "courier-oblique" + DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyHelvetica DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "helvetica" + DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyHelveticaBold DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "helvetica-bold" + DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyHelveticaBoldOblique DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "helvetica-bold-oblique" + DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyHelveticaOblique DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "helvetica-oblique" + DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyTimesRoman DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "times-roman" + DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyTimesBold DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "times-bold" + DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyTimesBoldItalic DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "times-bold-italic" + DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyTimesItalic DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "times-italic" + DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilySymbol DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "symbol" + DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyZapfDingbats DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "zapf-dingbats" ) -func NewDocAnnotationsList200ResponseAnnotationsItemCircleIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQuality, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily, error) { + switch s { + case "courier": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyCourier, nil + case "courier-bold": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyCourierBold, nil + case "courier-bold-oblique": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyCourierBoldOblique, nil + case "courier-oblique": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyCourierOblique, nil + case "helvetica": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyHelvetica, nil + case "helvetica-bold": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyHelveticaBold, nil + case "helvetica-bold-oblique": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyHelveticaBoldOblique, nil + case "helvetica-oblique": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyHelveticaOblique, nil + case "times-roman": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyTimesRoman, nil + case "times-bold": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyTimesBold, nil + case "times-bold-italic": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyTimesBoldItalic, nil + case "times-italic": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyTimesItalic, nil + case "symbol": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilySymbol, nil + case "zapf-dingbats": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyZapfDingbats, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily { + return &d +} + +type DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQuality string + +const ( + DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQuality = "durable" + DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQuality = "weak" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQualityDurable, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQualityDurable, nil case "weak": - return DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQualityWeak, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQualityWeak, nil } - var t DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQuality + var t DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemCircleIdentityQuality { +func (d DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQuality { return &d } -type DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo struct { +type DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm - Index *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm + Index *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -7153,19 +14471,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) UnmarshalJ } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -7175,7 +14493,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) UnmarshalJ return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -7194,13 +14512,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) MarshalJSON return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) error +type DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -7213,7 +14531,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) Accept(vis return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -7254,15 +14572,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyTo) validate() } var ( - docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -7271,35 +14589,35 @@ type DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -7308,32 +14626,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) requi // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -7343,8 +14661,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) Unmar return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex var marshaler = struct { embed }{ @@ -7354,7 +14672,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) String() string { if d == nil { return "" } @@ -7370,12 +14688,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndex) Strin } var ( - docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -7387,35 +14705,35 @@ type DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision st rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -7424,32 +14742,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevisio // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -7459,8 +14777,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevisio return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision var marshaler = struct { embed }{ @@ -7470,7 +14788,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevisio return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -7486,11 +14804,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToIndexRevisio } var ( - docAnnotationsList200ResponseAnnotationsItemCircleInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCircleInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm struct { +type DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -7501,28 +14819,28 @@ type DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -7531,25 +14849,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) require( // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemCircleInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemCircleInReplyToNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -7559,8 +14877,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) Unmarsha return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm var marshaler = struct { embed }{ @@ -7570,7 +14888,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) MarshalJ return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) String() string { if d == nil { return "" } @@ -7586,11 +14904,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToNm) String() } var ( - docAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -7601,28 +14919,28 @@ type DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber str rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -7631,25 +14949,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -7659,8 +14977,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber var marshaler = struct { embed }{ @@ -7670,7 +14988,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -7685,13 +15003,35 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInReplyToObjectNumber return fmt.Sprintf("%#v", d) } +type DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent string + +const ( + DocAnnotationsList200ResponseAnnotationsItemFreeTextIntentFreeText DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent = "free-text" + DocAnnotationsList200ResponseAnnotationsItemFreeTextIntentFreeTextCallout DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent = "free-text-callout" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemFreeTextIntentFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent, error) { + switch s { + case "free-text": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextIntentFreeText, nil + case "free-text-callout": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextIntentFreeTextCallout, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent { + return &d +} + var ( - docAnnotationsList200ResponseAnnotationsItemCircleInteriorColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCircleInteriorColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemCircleInteriorColorFieldB = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor struct { +type DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -7703,35 +15043,35 @@ type DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) GetR() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) GetG() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) GetB() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -7740,32 +15080,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) requir // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) SetR(r int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) SetR(r int) { d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemCircleInteriorColorFieldR) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) SetG(g int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) SetG(g int) { d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemCircleInteriorColorFieldG) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) SetB(b int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) SetB(b int) { d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemCircleInteriorColorFieldB) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColorFieldB) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -7775,8 +15115,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) Unmars return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor var marshaler = struct { embed }{ @@ -7786,7 +15126,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) String() string { if d == nil { return "" } @@ -7801,14 +15141,60 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleInteriorColor) String return fmt.Sprintf("%#v", d) } +type DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding string + +const ( + DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingNone DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding = "none" + DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingSquare DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding = "square" + DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingCircle DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding = "circle" + DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingDiamond DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding = "diamond" + DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingOpenArrow DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding = "open-arrow" + DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingClosedArrow DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding = "closed-arrow" + DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingButt DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding = "butt" + DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingROpenArrow DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding = "r-open-arrow" + DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingRClosedArrow DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding = "r-closed-arrow" + DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingSlash DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding = "slash" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding, error) { + switch s { + case "none": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingNone, nil + case "square": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingSquare, nil + case "circle": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingCircle, nil + case "diamond": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingDiamond, nil + case "open-arrow": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingOpenArrow, nil + case "closed-arrow": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingClosedArrow, nil + case "butt": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingButt, nil + case "r-open-arrow": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingROpenArrow, nil + case "r-closed-arrow": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingRClosedArrow, nil + case "slash": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingSlash, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding { + return &d +} + var ( - docAnnotationsList200ResponseAnnotationsItemCircleRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCircleRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemCircleRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemCircleRectFieldTop = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemFreeTextRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFreeTextRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFreeTextRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemFreeTextRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemCircleRect struct { +type DocAnnotationsList200ResponseAnnotationsItemFreeTextRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -7821,42 +15207,42 @@ type DocAnnotationsList200ResponseAnnotationsItemCircleRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) GetLeft() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) GetBottom() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) GetRight() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) GetTop() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -7865,39 +15251,39 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) require(field * // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) SetLeft(left float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemCircleRectFieldLeft) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) SetBottom(bottom float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemCircleRectFieldBottom) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) SetRight(right float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemCircleRectFieldRight) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) SetTop(top float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemCircleRectFieldTop) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRectFieldTop) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleRect +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCircleRect(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -7907,8 +15293,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) UnmarshalJSON(d return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCircleRect +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextRect var marshaler = struct { embed }{ @@ -7918,7 +15304,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) MarshalJSON() ( return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) String() string { if d == nil { return "" } @@ -7934,13 +15320,13 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRect) String() string } var ( - docAnnotationsList200ResponseAnnotationsItemCircleRectDifferencesFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCircleRectDifferencesFieldTop = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemCircleRectDifferencesFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemCircleRectDifferencesFieldBottom = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferencesFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferencesFieldTop = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferencesFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferencesFieldBottom = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences struct { +type DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences struct { Left float64 `json:"left" url:"left"` Top float64 `json:"top" url:"top"` Right float64 `json:"right" url:"right"` @@ -7953,42 +15339,42 @@ type DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) GetLeft() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) GetTop() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) GetRight() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) GetBottom() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -7997,39 +15383,39 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) requ // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) SetLeft(left float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemCircleRectDifferencesFieldLeft) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferencesFieldLeft) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) SetTop(top float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) SetTop(top float64) { d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemCircleRectDifferencesFieldTop) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferencesFieldTop) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) SetRight(right float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) SetRight(right float64) { d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemCircleRectDifferencesFieldRight) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferencesFieldRight) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) SetBottom(bottom float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemCircleRectDifferencesFieldBottom) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferencesFieldBottom) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -8039,8 +15425,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) Unma return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences var marshaler = struct { embed }{ @@ -8050,7 +15436,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) Mars return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) String() string { if d == nil { return "" } @@ -8065,44 +15451,44 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRectDifferences) Stri return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemCircleRef struct { +type DocAnnotationsList200ResponseAnnotationsItemFreeTextRef struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm - Index *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm + Index *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRef) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -8115,19 +15501,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRef) UnmarshalJSON(da } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -8137,7 +15523,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRef) UnmarshalJSON(da return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemCircleRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -8156,13 +15542,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemCircleRef) MarshalJSON() ([] return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemCircleRefVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) error +type DocAnnotationsList200ResponseAnnotationsItemFreeTextRefVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemCircleRefVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemFreeTextRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -8175,7 +15561,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRef) Accept(visitor D return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRef) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -8216,15 +15602,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRef) validate() error } var ( - docAnnotationsList200ResponseAnnotationsItemCircleRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCircleRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemCircleRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -8233,35 +15619,35 @@ type DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -8270,32 +15656,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) require(fie // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemCircleRefIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemCircleRefIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemCircleRefIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -8305,8 +15691,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) UnmarshalJS return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex var marshaler = struct { embed }{ @@ -8316,7 +15702,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) MarshalJSON return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) String() string { if d == nil { return "" } @@ -8332,12 +15718,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndex) String() st } var ( - docAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -8349,35 +15735,35 @@ type DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -8386,32 +15772,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) req // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -8421,8 +15807,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) Unm return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision var marshaler = struct { embed }{ @@ -8432,7 +15818,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) Mar return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) String() string { if d == nil { return "" } @@ -8448,11 +15834,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefIndexRevision) Str } var ( - docAnnotationsList200ResponseAnnotationsItemCircleRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCircleRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFreeTextRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFreeTextRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemCircleRefNm struct { +type DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -8463,28 +15849,28 @@ type DocAnnotationsList200ResponseAnnotationsItemCircleRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -8493,25 +15879,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) require(field // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemCircleRefNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemCircleRefNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRefNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCircleRefNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -8521,8 +15907,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) UnmarshalJSON( return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCircleRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm var marshaler = struct { embed }{ @@ -8532,7 +15918,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) String() string { if d == nil { return "" } @@ -8548,11 +15934,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefNm) String() strin } var ( - docAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -8563,28 +15949,28 @@ type DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -8593,25 +15979,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) requ // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -8621,8 +16007,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) Unma return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber var marshaler = struct { embed }{ @@ -8632,7 +16018,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) Mars return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) String() string { if d == nil { return "" } @@ -8647,36 +16033,61 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleRefObjectNumber) Stri return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemCircleReplyType string +type DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyType string const ( - DocAnnotationsList200ResponseAnnotationsItemCircleReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemCircleReplyType = "reply" - DocAnnotationsList200ResponseAnnotationsItemCircleReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemCircleReplyType = "group" + DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyType = "reply" + DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyType = "group" ) -func NewDocAnnotationsList200ResponseAnnotationsItemCircleReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemCircleReplyType, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemFreeTextReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyType, error) { switch s { case "reply": - return DocAnnotationsList200ResponseAnnotationsItemCircleReplyTypeReply, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyTypeReply, nil case "group": - return DocAnnotationsList200ResponseAnnotationsItemCircleReplyTypeGroup, nil + return DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyTypeGroup, nil } - var t DocAnnotationsList200ResponseAnnotationsItemCircleReplyType + var t DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemCircleReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemCircleReplyType { +func (d DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyType { + return &d +} + +type DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign string + +const ( + DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlignLeft DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign = "left" + DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlignCenter DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign = "center" + DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlignRight DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign = "right" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlignFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign, error) { + switch s { + case "left": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlignLeft, nil + case "center": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlignCenter, nil + case "right": + return DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlignRight, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRectFieldTop = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect struct { +type DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -8689,42 +16100,42 @@ type DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) GetLeft() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) GetBottom() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) GetRight() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) GetTop() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -8733,39 +16144,39 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) requir // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) SetLeft(left float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRectFieldLeft) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) SetBottom(bottom float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRectFieldBottom) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) SetRight(right float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRectFieldRight) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) SetTop(top float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRectFieldTop) + d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRectFieldTop) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect(value) + *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -8775,8 +16186,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) Unmars return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect var marshaler = struct { embed }{ @@ -8786,7 +16197,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) String() string { if d == nil { return "" } @@ -8802,57 +16213,55 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemCircleUnrotatedRect) String } var ( - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldRef = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldIndex = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldNm = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldFlags = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldRect = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldContents = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldSubject = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldAuthor = big.NewInt(1 << 9) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldCreated = big.NewInt(1 << 10) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldModified = big.NewInt(1 << 11) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldReplyType = big.NewInt(1 << 14) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldUserID = big.NewInt(1 << 15) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldGroupID = big.NewInt(1 << 16) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldActions = big.NewInt(1 << 19) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldColor = big.NewInt(1 << 20) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldOpacity = big.NewInt(1 << 21) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldIcon = big.NewInt(1 << 22) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldFile = big.NewInt(1 << 23) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldRef = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldIndex = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldNm = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldFlags = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldRect = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldContents = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldSubject = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldAuthor = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldCreated = big.NewInt(1 << 10) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldModified = big.NewInt(1 << 11) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldReplyType = big.NewInt(1 << 14) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldUserID = big.NewInt(1 << 15) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldGroupID = big.NewInt(1 << 16) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldActions = big.NewInt(1 << 19) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldColor = big.NewInt(1 << 20) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldOpacity = big.NewInt(1 << 21) + docAnnotationsList200ResponseAnnotationsItemHighlightFieldQuadPoints = big.NewInt(1 << 22) ) -type DocAnnotationsList200ResponseAnnotationsItemFileAttachment struct { - Ref *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - Icon DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon `json:"icon" url:"icon"` - File *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile `json:"file" url:"file"` +type DocAnnotationsList200ResponseAnnotationsItemHighlight struct { + Ref *DocAnnotationsList200ResponseAnnotationsItemHighlightRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsList200ResponseAnnotationsItemHighlightRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsList200ResponseAnnotationsItemHighlightReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsList200ResponseAnnotationsItemHighlightColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + QuadPoints []*DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem `json:"quadPoints" url:"quadPoints"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -8861,182 +16270,175 @@ type DocAnnotationsList200ResponseAnnotationsItemFileAttachment struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetRef() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetRef() *DocAnnotationsList200ResponseAnnotationsItemHighlightRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQuality { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetNm() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetRect() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetRect() *DocAnnotationsList200ResponseAnnotationsItemHighlightRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetContents() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetSubject() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetAuthor() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetCreated() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetModified() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyType { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemHighlightReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetUserID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetGroupID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetCreatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetUpdatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetColor() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetColor() *DocAnnotationsList200ResponseAnnotationsItemHighlightColor { if d == nil { return nil } return d.Color } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetOpacity() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetOpacity() float64 { if d == nil { return 0 } return d.Opacity } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetIcon() DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon { - if d == nil { - return "" - } - return d.Icon -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetFile() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetQuadPoints() []*DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem { if d == nil { return nil } - return d.File + return d.QuadPoints } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -9045,174 +16447,167 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) require(fie // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemHighlightRef) { d.Ref = ref - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldRef) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQuality) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldIdentityQuality) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetNm(nm *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) { d.Flags = flags - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldFlags) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) { d.Rect = rect - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldRect) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetContents(contents *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldContents) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetSubject(subject *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldSubject) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetAuthor(author *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldAuthor) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetCreated(created *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldCreated) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetModified(modified *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldModified) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldBlendMode) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldInReplyTo) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyType) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemHighlightReplyType) { d.ReplyType = replyType - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldReplyType) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetUserID(userID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldUserID) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetGroupID(groupID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldGroupID) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldCreatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldUpdatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldActions) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldActions) } // SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) { d.Color = color - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldColor) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldColor) } // SetOpacity sets the Opacity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetOpacity(opacity float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetOpacity(opacity float64) { d.Opacity = opacity - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldOpacity) -} - -// SetIcon sets the Icon field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetIcon(icon DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon) { - d.Icon = icon - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldIcon) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldOpacity) } -// SetFile sets the File field and marks it as non-optional; +// SetQuadPoints sets the QuadPoints field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) SetFile(file *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) { - d.File = file - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFieldFile) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetQuadPoints(quadPoints []*DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) { + d.QuadPoints = quadPoints + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldQuadPoints) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachment +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsList200ResponseAnnotationsItemHighlight var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -9223,7 +16618,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) UnmarshalJS if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachment(unmarshaler.embed) + *d = DocAnnotationsList200ResponseAnnotationsItemHighlight(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -9235,8 +16630,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) UnmarshalJS return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachment +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemHighlight var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -9250,7 +16645,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) MarshalJSON return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) String() string { if d == nil { return "" } @@ -9265,77 +16660,77 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachment) String() st return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode string +type DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode string const ( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "normal" - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "multiply" - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "screen" - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "overlay" - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "darken" - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "lighten" - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "color-dodge" - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "color-burn" - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "hard-light" - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "soft-light" - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "difference" - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "exclusion" - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeHue DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "hue" - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "saturation" - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeColor DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "color" - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode = "luminosity" + DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "normal" + DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "multiply" + DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "screen" + DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "overlay" + DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "darken" + DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "lighten" + DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "color-dodge" + DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "color-burn" + DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "hard-light" + DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "soft-light" + DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "difference" + DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "exclusion" + DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeHue DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "hue" + DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "saturation" + DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeColor DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "color" + DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "luminosity" ) -func NewDocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode, error) { switch s { case "normal": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeNormal, nil + return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeNormal, nil case "multiply": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeMultiply, nil + return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeMultiply, nil case "screen": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeScreen, nil + return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeScreen, nil case "overlay": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeOverlay, nil + return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeOverlay, nil case "darken": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeDarken, nil + return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeDarken, nil case "lighten": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeLighten, nil + return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeLighten, nil case "color-dodge": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeColorDodge, nil + return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeColorBurn, nil + return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeHardLight, nil + return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeHardLight, nil case "soft-light": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeSoftLight, nil + return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeSoftLight, nil case "difference": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeDifference, nil + return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeDifference, nil case "exclusion": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeExclusion, nil + return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeExclusion, nil case "hue": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeHue, nil + return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeHue, nil case "saturation": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeSaturation, nil + return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeSaturation, nil case "color": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeColor, nil + return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeColor, nil case "luminosity": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendModeLuminosity, nil + return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeLuminosity, nil } - var t DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode + var t DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentBlendMode { +func (d DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemFileAttachmentColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentColorFieldB = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemHighlightColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemHighlightColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemHighlightColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor struct { +type DocAnnotationsList200ResponseAnnotationsItemHighlightColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -9347,35 +16742,35 @@ type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) GetR() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) GetG() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) GetB() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -9384,32 +16779,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) requir // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) SetR(r int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) SetR(r int) { d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentColorFieldR) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) SetG(g int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) SetG(g int) { d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentColorFieldG) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) SetB(b int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) SetB(b int) { d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentColorFieldB) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightColorFieldB) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor(value) + *d = DocAnnotationsList200ResponseAnnotationsItemHighlightColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -9419,8 +16814,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) Unmars return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemHighlightColor var marshaler = struct { embed }{ @@ -9430,7 +16825,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) String() string { if d == nil { return "" } @@ -9446,21 +16841,29 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentColor) String } var ( - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldName = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldMimeType = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldDescription = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldSize = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldChecksum = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldCreationDate = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile struct { - Name string `json:"name" url:"name"` - MimeType *string `json:"mimeType,omitempty" url:"mimeType,omitempty"` - Description *string `json:"description,omitempty" url:"description,omitempty"` - Size *int `json:"size,omitempty" url:"size,omitempty"` - Checksum *string `json:"checksum,omitempty" url:"checksum,omitempty"` - CreationDate *string `json:"creationDate,omitempty" url:"creationDate,omitempty"` +type DocAnnotationsList200ResponseAnnotationsItemHighlightFlags struct { + Invisible bool `json:"invisible" url:"invisible"` + Hidden bool `json:"hidden" url:"hidden"` + Print bool `json:"print" url:"print"` + NoZoom bool `json:"noZoom" url:"noZoom"` + NoRotate bool `json:"noRotate" url:"noRotate"` + NoView bool `json:"noView" url:"noView"` + ReadOnly bool `json:"readOnly" url:"readOnly"` + Locked bool `json:"locked" url:"locked"` + ToggleNoView bool `json:"toggleNoView" url:"toggleNoView"` + LockedContents bool `json:"lockedContents" url:"lockedContents"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -9469,111 +16872,167 @@ type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) GetName() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) GetInvisible() bool { if d == nil { - return "" + return false } - return d.Name + return d.Invisible } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) GetMimeType() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) GetHidden() bool { if d == nil { - return nil + return false } - return d.MimeType + return d.Hidden } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) GetDescription() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) GetPrint() bool { if d == nil { - return nil + return false } - return d.Description + return d.Print } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) GetSize() *int { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) GetNoZoom() bool { if d == nil { - return nil + return false } - return d.Size + return d.NoZoom } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) GetChecksum() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) GetNoRotate() bool { if d == nil { - return nil + return false } - return d.Checksum + return d.NoRotate } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) GetCreationDate() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) GetNoView() bool { if d == nil { - return nil + return false } - return d.CreationDate + return d.NoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) GetReadOnly() bool { + if d == nil { + return false + } + return d.ReadOnly +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) GetLocked() bool { + if d == nil { + return false + } + return d.Locked +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) GetToggleNoView() bool { + if d == nil { + return false + } + return d.ToggleNoView +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) GetLockedContents() bool { + if d == nil { + return false + } + return d.LockedContents +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetName sets the Name field and marks it as non-optional; +// SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) SetName(name string) { - d.Name = name - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldName) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) SetInvisible(invisible bool) { + d.Invisible = invisible + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldInvisible) } -// SetMimeType sets the MimeType field and marks it as non-optional; +// SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) SetMimeType(mimeType *string) { - d.MimeType = mimeType - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldMimeType) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) SetHidden(hidden bool) { + d.Hidden = hidden + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldHidden) } -// SetDescription sets the Description field and marks it as non-optional; +// SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) SetDescription(description *string) { - d.Description = description - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldDescription) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) SetPrint(print bool) { + d.Print = print + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldPrint) } -// SetSize sets the Size field and marks it as non-optional; +// SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) SetSize(size *int) { - d.Size = size - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldSize) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) SetNoZoom(noZoom bool) { + d.NoZoom = noZoom + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldNoZoom) } -// SetChecksum sets the Checksum field and marks it as non-optional; +// SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) SetChecksum(checksum *string) { - d.Checksum = checksum - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldChecksum) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) SetNoRotate(noRotate bool) { + d.NoRotate = noRotate + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldNoRotate) } -// SetCreationDate sets the CreationDate field and marks it as non-optional; +// SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) SetCreationDate(creationDate *string) { - d.CreationDate = creationDate - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFileFieldCreationDate) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) SetNoView(noView bool) { + d.NoView = noView + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldNoView) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile +// SetReadOnly sets the ReadOnly field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) SetReadOnly(readOnly bool) { + d.ReadOnly = readOnly + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldReadOnly) +} + +// SetLocked sets the Locked field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) SetLocked(locked bool) { + d.Locked = locked + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldLocked) +} + +// SetToggleNoView sets the ToggleNoView field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) SetToggleNoView(toggleNoView bool) { + d.ToggleNoView = toggleNoView + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldToggleNoView) +} + +// SetLockedContents sets the LockedContents field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) SetLockedContents(lockedContents bool) { + d.LockedContents = lockedContents + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldLockedContents) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile(value) + *d = DocAnnotationsList200ResponseAnnotationsItemHighlightFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -9583,8 +17042,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) Unmarsh return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemHighlightFlags var marshaler = struct { embed }{ @@ -9594,7 +17053,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) Marshal return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) String() string { if d == nil { return "" } @@ -9609,30 +17068,188 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFile) String( return fmt.Sprintf("%#v", d) } +type DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQuality string + +const ( + DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQuality = "durable" + DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQuality = "weak" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQuality, error) { + switch s { + case "durable": + return DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQualityDurable, nil + case "weak": + return DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQualityWeak, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQuality + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQuality { + return &d +} + +type DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo struct { + Kind string + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm + Index *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex + + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) GetKind() string { + if d == nil { + return "" + } + return d.Kind +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber { + if d == nil { + return nil + } + return d.ObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm { + if d == nil { + return nil + } + return d.Nm +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex { + if d == nil { + return nil + } + return d.Index +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) UnmarshalJSON(data []byte) error { + var unmarshaler struct { + Kind string `json:"kind"` + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { + return err + } + d.Kind = unmarshaler.Kind + if unmarshaler.Kind == "" { + return fmt.Errorf("%T did not include discriminant kind", d) + } + switch unmarshaler.Kind { + case "objectNumber": + value := new(DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.ObjectNumber = value + case "nm": + value := new(DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Nm = value + case "index": + value := new(DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Index = value + } + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) MarshalJSON() ([]byte, error) { + if err := d.validate(); err != nil { + return nil, err + } + if d.ObjectNumber != nil { + return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") + } + if d.Nm != nil { + return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") + } + if d.Index != nil { + return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") + } + if len(d.rawJSON) > 0 { + return d.rawJSON, nil + } + return nil, fmt.Errorf("type %T does not define a non-empty union type", d) +} + +type DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) error +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToVisitor) error { + if d.ObjectNumber != nil { + return visitor.VisitObjectNumber(d.ObjectNumber) + } + if d.Nm != nil { + return visitor.VisitNm(d.Nm) + } + if d.Index != nil { + return visitor.VisitIndex(d.Index) + } + return fmt.Errorf("type %T does not define a non-empty union type", d) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) validate() error { + if d == nil { + return fmt.Errorf("type %T is nil", d) + } + var fields []string + if d.ObjectNumber != nil { + fields = append(fields, "objectNumber") + } + if d.Nm != nil { + fields = append(fields, "nm") + } + if d.Index != nil { + fields = append(fields, "index") + } + if len(fields) == 0 { + if d.Kind != "" { + if len(d.rawJSON) > 0 { + return nil + } + return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) + } + return fmt.Errorf("type %T is empty", d) + } + if len(fields) > 1 { + return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) + } + if d.Kind != "" { + field := fields[0] + if d.Kind != field { + return fmt.Errorf( + "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", + d, + d.Kind, + d, + ) + } + } + return nil +} + var ( - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags struct { - Invisible bool `json:"invisible" url:"invisible"` - Hidden bool `json:"hidden" url:"hidden"` - Print bool `json:"print" url:"print"` - NoZoom bool `json:"noZoom" url:"noZoom"` - NoRotate bool `json:"noRotate" url:"noRotate"` - NoView bool `json:"noView" url:"noView"` - ReadOnly bool `json:"readOnly" url:"readOnly"` - Locked bool `json:"locked" url:"locked"` - ToggleNoView bool `json:"toggleNoView" url:"toggleNoView"` - LockedContents bool `json:"lockedContents" url:"lockedContents"` +type DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -9641,167 +17258,285 @@ type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) GetInvisible() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) GetPageObjectNumber() int { if d == nil { - return false + return 0 } - return d.Invisible + return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) GetHidden() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) GetIndex() int { if d == nil { - return false + return 0 } - return d.Hidden + return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) GetPrint() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision { if d == nil { - return false + return nil } - return d.Print + return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) GetNoZoom() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { - return false + return nil } - return d.NoZoom + return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) GetNoRotate() bool { - if d == nil { - return false +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) } - return d.NoRotate + d.explicitFields.Or(d.explicitFields, field) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) GetNoView() bool { - if d == nil { - return false +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexFieldPageObjectNumber) +} + +// SetIndex sets the Index field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) SetIndex(index int) { + d.Index = index + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexFieldIndex) +} + +// SetRevision sets the Revision field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) { + d.Revision = revision + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexFieldRevision) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err } - return d.NoView + *d = DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) GetReadOnly() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) String() string { if d == nil { - return false + return "" } - return d.ReadOnly + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) GetLocked() bool { +var ( + docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) +) + +type DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision struct { + DocSessionID string `json:"docSessionId" url:"docSessionId"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Generation int `json:"generation" url:"generation"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) GetDocSessionID() string { if d == nil { - return false + return "" } - return d.Locked + return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) GetToggleNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { - return false + return 0 } - return d.ToggleNoView + return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) GetLockedContents() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) GetGeneration() int { if d == nil { - return false + return 0 } - return d.LockedContents + return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetInvisible sets the Invisible field and marks it as non-optional; +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) SetInvisible(invisible bool) { - d.Invisible = invisible - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldInvisible) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevisionFieldDocSessionID) } -// SetHidden sets the Hidden field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) SetHidden(hidden bool) { - d.Hidden = hidden - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldHidden) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevisionFieldPageObjectNumber) } -// SetPrint sets the Print field and marks it as non-optional; +// SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) SetPrint(print bool) { - d.Print = print - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldPrint) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevisionFieldGeneration) } -// SetNoZoom sets the NoZoom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) SetNoZoom(noZoom bool) { - d.NoZoom = noZoom - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldNoZoom) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil } -// SetNoRotate sets the NoRotate field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) SetNoRotate(noRotate bool) { - d.NoRotate = noRotate - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldNoRotate) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) } -// SetNoView sets the NoView field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) SetNoView(noView bool) { - d.NoView = noView - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldNoView) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } -// SetReadOnly sets the ReadOnly field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) SetReadOnly(readOnly bool) { - d.ReadOnly = readOnly - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldReadOnly) +var ( + docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNmFieldNm = big.NewInt(1 << 1) +) + +type DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Nm string `json:"nm" url:"nm"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage } -// SetLocked sets the Locked field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) SetLocked(locked bool) { - d.Locked = locked - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldLocked) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber } -// SetToggleNoView sets the ToggleNoView field and marks it as non-optional; +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) GetNm() string { + if d == nil { + return "" + } + return d.Nm +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) SetToggleNoView(toggleNoView bool) { - d.ToggleNoView = toggleNoView - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldToggleNoView) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNmFieldPageObjectNumber) } -// SetLockedContents sets the LockedContents field and marks it as non-optional; +// SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) SetLockedContents(lockedContents bool) { - d.LockedContents = lockedContents - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentFlagsFieldLockedContents) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) SetNm(nm string) { + d.Nm = nm + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags(value) + *d = DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -9811,8 +17546,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) Unmars return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm var marshaler = struct { embed }{ @@ -9822,7 +17557,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) String() string { if d == nil { return "" } @@ -9837,216 +17572,246 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentFlags) String return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon string - -const ( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIconPushPin DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon = "push-pin" - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIconPaperclip DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon = "paperclip" - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIconGraph DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon = "graph" - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIconTag DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon = "tag" +var ( + docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -func NewDocAnnotationsList200ResponseAnnotationsItemFileAttachmentIconFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon, error) { - switch s { - case "push-pin": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIconPushPin, nil - case "paperclip": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIconPaperclip, nil - case "graph": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIconGraph, nil - case "tag": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIconTag, nil +type DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber) GetPageObjectNumber() int { + if d == nil { + return 0 } - var t DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon - return "", fmt.Errorf("%s is not a valid %T", s, t) + return d.PageObjectNumber } -func (d DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIcon { - return &d +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber) GetAnnotObjectNumber() int { + if d == nil { + return 0 + } + return d.AnnotObjectNumber } -type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQuality string +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} -const ( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQuality = "durable" - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQuality = "weak" -) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} -func NewDocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQuality, error) { - switch s { - case "durable": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQualityDurable, nil - case "weak": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQualityWeak, nil +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumberFieldPageObjectNumber) +} + +// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { + d.AnnotObjectNumber = annotObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumberFieldAnnotObjectNumber) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err } - var t DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQuality - return "", fmt.Errorf("%s is not a valid %T", s, t) + *d = DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentIdentityQuality { - return &d +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) } -type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo struct { - Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm - Index *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} - rawJSON json.RawMessage +var ( + docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemFieldP1 = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemFieldP2 = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemFieldP3 = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemFieldP4 = big.NewInt(1 << 3) +) + +type DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem struct { + P1 *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1 `json:"p1" url:"p1"` + P2 *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2 `json:"p2" url:"p2"` + P3 *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3 `json:"p3" url:"p3"` + P4 *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4 `json:"p4" url:"p4"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) GetP1() *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1 { + if d == nil { + return nil + } + return d.P1 } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) GetP2() *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2 { if d == nil { - return "" + return nil } - return d.Kind + return d.P2 } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) GetP3() *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3 { if d == nil { return nil } - return d.ObjectNumber + return d.P3 } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) GetP4() *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4 { if d == nil { return nil } - return d.Nm + return d.P4 } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } - return d.Index + return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo) UnmarshalJSON(data []byte) error { - var unmarshaler struct { - Kind string `json:"kind"` - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { - return err - } - d.Kind = unmarshaler.Kind - if unmarshaler.Kind == "" { - return fmt.Errorf("%T did not include discriminant kind", d) - } - switch unmarshaler.Kind { - case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.ObjectNumber = value - case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Nm = value - case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Index = value +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) } - d.rawJSON = json.RawMessage(data) - return nil + d.explicitFields.Or(d.explicitFields, field) } -func (d DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo) MarshalJSON() ([]byte, error) { - if err := d.validate(); err != nil { - return nil, err - } - if d.ObjectNumber != nil { - return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") - } - if d.Nm != nil { - return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") - } - if d.Index != nil { - return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") - } - if len(d.rawJSON) > 0 { - return d.rawJSON, nil - } - return nil, fmt.Errorf("type %T does not define a non-empty union type", d) +// SetP1 sets the P1 field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) SetP1(p1 *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) { + d.P1 = p1 + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemFieldP1) } -type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) error +// SetP2 sets the P2 field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) SetP2(p2 *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) { + d.P2 = p2 + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemFieldP2) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToVisitor) error { - if d.ObjectNumber != nil { - return visitor.VisitObjectNumber(d.ObjectNumber) +// SetP3 sets the P3 field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) SetP3(p3 *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) { + d.P3 = p3 + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemFieldP3) +} + +// SetP4 sets the P4 field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) SetP4(p4 *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) { + d.P4 = p4 + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemFieldP4) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err } - if d.Nm != nil { - return visitor.VisitNm(d.Nm) + *d = DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err } - if d.Index != nil { - return visitor.VisitIndex(d.Index) + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem + var marshaler = struct { + embed + }{ + embed: embed(*d), } - return fmt.Errorf("type %T does not define a non-empty union type", d) + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyTo) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) String() string { if d == nil { - return fmt.Errorf("type %T is nil", d) - } - var fields []string - if d.ObjectNumber != nil { - fields = append(fields, "objectNumber") - } - if d.Nm != nil { - fields = append(fields, "nm") - } - if d.Index != nil { - fields = append(fields, "index") + return "" } - if len(fields) == 0 { - if d.Kind != "" { - if len(d.rawJSON) > 0 { - return nil - } - return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value } - return fmt.Errorf("type %T is empty", d) - } - if len(fields) > 1 { - return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) } - if d.Kind != "" { - field := fields[0] - if d.Kind != field { - return fmt.Errorf( - "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", - d, - d.Kind, - d, - ) - } + if value, err := internal.StringifyJSON(d); err == nil { + return value } - return nil + return fmt.Sprintf("%#v", d) } var ( - docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1FieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1 struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -10055,69 +17820,55 @@ type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex st rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) GetX() float64 { if d == nil { return 0 } - return d.PageObjectNumber + return d.X } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) GetY() float64 { if d == nil { return 0 } - return d.Index -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision { - if d == nil { - return nil - } - return d.Revision + return d.Y } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexFieldPageObjectNumber) -} - -// SetIndex sets the Index field and marks it as non-optional; +// SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) SetIndex(index int) { - d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexFieldIndex) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) SetX(x float64) { + d.X = x + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1FieldX) } -// SetRevision sets the Revision field and marks it as non-optional; +// SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) { - d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexFieldRevision) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) SetY(y float64) { + d.Y = y + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1FieldY) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -10127,8 +17878,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToInde return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1 var marshaler = struct { embed }{ @@ -10138,7 +17889,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToInde return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) String() string { if d == nil { return "" } @@ -10154,15 +17905,13 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToInde } var ( - docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2FieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision struct { - DocSessionID string `json:"docSessionId" url:"docSessionId"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Generation int `json:"generation" url:"generation"` +type DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2 struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -10171,69 +17920,55 @@ type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRev rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) GetDocSessionID() string { - if d == nil { - return "" - } - return d.DocSessionID -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) GetX() float64 { if d == nil { return 0 } - return d.PageObjectNumber + return d.X } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) GetY() float64 { if d == nil { return 0 } - return d.Generation + return d.Y } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetDocSessionID sets the DocSessionID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) SetDocSessionID(docSessionID string) { - d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldDocSessionID) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldPageObjectNumber) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) SetX(x float64) { + d.X = x + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2FieldX) } -// SetGeneration sets the Generation field and marks it as non-optional; +// SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) SetGeneration(generation int) { - d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldGeneration) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) SetY(y float64) { + d.Y = y + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2FieldY) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -10243,8 +17978,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToInde return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2 var marshaler = struct { embed }{ @@ -10254,7 +17989,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToInde return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) String() string { if d == nil { return "" } @@ -10270,13 +18005,13 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToInde } var ( - docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3FieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Nm string `json:"nm" url:"nm"` +type DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3 struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -10285,55 +18020,55 @@ type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm struc rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) GetX() float64 { if d == nil { return 0 } - return d.PageObjectNumber + return d.X } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) GetY() float64 { if d == nil { - return "" + return 0 } - return d.Nm + return d.Y } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNmFieldPageObjectNumber) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) SetX(x float64) { + d.X = x + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3FieldX) } -// SetNm sets the Nm field and marks it as non-optional; +// SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) SetNm(nm string) { - d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNmFieldNm) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) SetY(y float64) { + d.Y = y + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3FieldY) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -10343,8 +18078,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3 var marshaler = struct { embed }{ @@ -10354,7 +18089,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) String() string { if d == nil { return "" } @@ -10370,13 +18105,13 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToNm) } var ( - docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4FieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` +type DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4 struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -10385,55 +18120,55 @@ type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNu rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) GetX() float64 { if d == nil { return 0 } - return d.PageObjectNumber + return d.X } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) GetY() float64 { if d == nil { return 0 } - return d.AnnotObjectNumber + return d.Y } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumberFieldPageObjectNumber) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) SetX(x float64) { + d.X = x + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4FieldX) } -// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { - d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumberFieldAnnotObjectNumber) +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) SetY(y float64) { + d.Y = y + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4FieldY) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -10443,8 +18178,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObje return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4 var marshaler = struct { embed }{ @@ -10454,7 +18189,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObje return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) String() string { if d == nil { return "" } @@ -10470,13 +18205,13 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentInReplyToObje } var ( - docAnnotationsList200ResponseAnnotationsItemFileAttachmentRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentRectFieldTop = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemHighlightRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemHighlightRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemHighlightRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemHighlightRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect struct { +type DocAnnotationsList200ResponseAnnotationsItemHighlightRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -10489,42 +18224,42 @@ type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) GetLeft() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) GetBottom() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) GetRight() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) GetTop() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -10533,39 +18268,39 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) require // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) SetLeft(left float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRectFieldLeft) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) SetBottom(bottom float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRectFieldBottom) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) SetRight(right float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRectFieldRight) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) SetTop(top float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRectFieldTop) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRectFieldTop) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect(value) + *d = DocAnnotationsList200ResponseAnnotationsItemHighlightRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -10575,8 +18310,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) Unmarsh return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemHighlightRect var marshaler = struct { embed }{ @@ -10586,7 +18321,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) Marshal return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) String() string { if d == nil { return "" } @@ -10601,44 +18336,44 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRect) String( return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef struct { +type DocAnnotationsList200ResponseAnnotationsItemHighlightRef struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm - Index *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm + Index *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -10651,19 +18386,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) Unmarsha } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -10673,7 +18408,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) Unmarsha return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemHighlightRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -10692,13 +18427,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) MarshalJS return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) error +type DocAnnotationsList200ResponseAnnotationsItemHighlightRefVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemHighlightRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -10711,7 +18446,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) Accept(v return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -10752,15 +18487,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRef) validate } var ( - docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -10769,35 +18504,35 @@ type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -10806,32 +18541,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) req // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -10841,8 +18576,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) Unm return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex var marshaler = struct { embed }{ @@ -10852,7 +18587,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) Mar return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) String() string { if d == nil { return "" } @@ -10868,12 +18603,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndex) Str } var ( - docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -10885,35 +18620,35 @@ type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -10922,32 +18657,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevis // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -10957,8 +18692,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevis return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision var marshaler = struct { embed }{ @@ -10968,7 +18703,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevis return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) String() string { if d == nil { return "" } @@ -10984,11 +18719,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefIndexRevis } var ( - docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemHighlightRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemHighlightRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm struct { +type DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -10999,28 +18734,28 @@ type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -11029,25 +18764,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) requir // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRefNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -11057,8 +18792,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) Unmars return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm var marshaler = struct { embed }{ @@ -11068,7 +18803,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) String() string { if d == nil { return "" } @@ -11084,11 +18819,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefNm) String } var ( - docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -11099,28 +18834,28 @@ type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber s rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -11129,25 +18864,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumb // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -11157,8 +18892,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumb return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber var marshaler = struct { embed }{ @@ -11168,7 +18903,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumb return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) String() string { if d == nil { return "" } @@ -11183,104 +18918,88 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentRefObjectNumb return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyType string +type DocAnnotationsList200ResponseAnnotationsItemHighlightReplyType string const ( - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyType = "reply" - DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyType = "group" + DocAnnotationsList200ResponseAnnotationsItemHighlightReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemHighlightReplyType = "reply" + DocAnnotationsList200ResponseAnnotationsItemHighlightReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemHighlightReplyType = "group" ) -func NewDocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyType, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemHighlightReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemHighlightReplyType, error) { switch s { case "reply": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyTypeReply, nil + return DocAnnotationsList200ResponseAnnotationsItemHighlightReplyTypeReply, nil case "group": - return DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyTypeGroup, nil + return DocAnnotationsList200ResponseAnnotationsItemHighlightReplyTypeGroup, nil } - var t DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyType + var t DocAnnotationsList200ResponseAnnotationsItemHighlightReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFileAttachmentReplyType { +func (d DocAnnotationsList200ResponseAnnotationsItemHighlightReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemHighlightReplyType { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldRef = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldIndex = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldNm = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldFlags = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldRect = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldContents = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldSubject = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldAuthor = big.NewInt(1 << 9) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldCreated = big.NewInt(1 << 10) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldModified = big.NewInt(1 << 11) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldReplyType = big.NewInt(1 << 14) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldUserID = big.NewInt(1 << 15) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldGroupID = big.NewInt(1 << 16) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldActions = big.NewInt(1 << 19) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldIntent = big.NewInt(1 << 20) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldFontFamily = big.NewInt(1 << 21) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldFontSize = big.NewInt(1 << 22) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldTextAlign = big.NewInt(1 << 23) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldColor = big.NewInt(1 << 24) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldFontColor = big.NewInt(1 << 25) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldInteriorColor = big.NewInt(1 << 26) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldOpacity = big.NewInt(1 << 27) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldStrokeWidth = big.NewInt(1 << 28) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldBorderStyle = big.NewInt(1 << 29) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldDashArray = big.NewInt(1 << 30) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldRectDifferences = big.NewInt(1 << 31) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldCalloutLine = big.NewInt(1 << 32) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldLineEnding = big.NewInt(1 << 33) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldRotation = big.NewInt(1 << 34) - docAnnotationsList200ResponseAnnotationsItemFreeTextFieldUnrotatedRect = big.NewInt(1 << 35) + docAnnotationsList200ResponseAnnotationsItemInkFieldRef = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemInkFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemInkFieldIndex = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemInkFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemInkFieldNm = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemInkFieldFlags = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemInkFieldRect = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemInkFieldContents = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemInkFieldSubject = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemInkFieldAuthor = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemInkFieldCreated = big.NewInt(1 << 10) + docAnnotationsList200ResponseAnnotationsItemInkFieldModified = big.NewInt(1 << 11) + docAnnotationsList200ResponseAnnotationsItemInkFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsList200ResponseAnnotationsItemInkFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsList200ResponseAnnotationsItemInkFieldReplyType = big.NewInt(1 << 14) + docAnnotationsList200ResponseAnnotationsItemInkFieldUserID = big.NewInt(1 << 15) + docAnnotationsList200ResponseAnnotationsItemInkFieldGroupID = big.NewInt(1 << 16) + docAnnotationsList200ResponseAnnotationsItemInkFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsList200ResponseAnnotationsItemInkFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsList200ResponseAnnotationsItemInkFieldActions = big.NewInt(1 << 19) + docAnnotationsList200ResponseAnnotationsItemInkFieldColor = big.NewInt(1 << 20) + docAnnotationsList200ResponseAnnotationsItemInkFieldOpacity = big.NewInt(1 << 21) + docAnnotationsList200ResponseAnnotationsItemInkFieldStrokeWidth = big.NewInt(1 << 22) + docAnnotationsList200ResponseAnnotationsItemInkFieldBorderStyle = big.NewInt(1 << 23) + docAnnotationsList200ResponseAnnotationsItemInkFieldDashArray = big.NewInt(1 << 24) + docAnnotationsList200ResponseAnnotationsItemInkFieldIntent = big.NewInt(1 << 25) + docAnnotationsList200ResponseAnnotationsItemInkFieldInkList = big.NewInt(1 << 26) + docAnnotationsList200ResponseAnnotationsItemInkFieldRotation = big.NewInt(1 << 27) ) -type DocAnnotationsList200ResponseAnnotationsItemFreeText struct { - Ref *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Intent DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent `json:"intent" url:"intent"` - FontFamily DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily `json:"fontFamily" url:"fontFamily"` - FontSize float64 `json:"fontSize" url:"fontSize"` - TextAlign DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign `json:"textAlign" url:"textAlign"` - Color *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor `json:"color" url:"color"` - FontColor *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor `json:"fontColor,omitempty" url:"fontColor,omitempty"` - InteriorColor *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` - Opacity float64 `json:"opacity" url:"opacity"` - StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` - BorderStyle DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle `json:"borderStyle" url:"borderStyle"` - DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` - RectDifferences *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences `json:"rectDifferences,omitempty" url:"rectDifferences,omitempty"` - CalloutLine []any `json:"calloutLine,omitempty" url:"calloutLine,omitempty"` - LineEnding *DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding `json:"lineEnding,omitempty" url:"lineEnding,omitempty"` - Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` - UnrotatedRect *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect `json:"unrotatedRect,omitempty" url:"unrotatedRect,omitempty"` +type DocAnnotationsList200ResponseAnnotationsItemInk struct { + Ref *DocAnnotationsList200ResponseAnnotationsItemInkRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsList200ResponseAnnotationsItemInkIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsList200ResponseAnnotationsItemInkFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsList200ResponseAnnotationsItemInkRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsList200ResponseAnnotationsItemInkBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsList200ResponseAnnotationsItemInkReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsList200ResponseAnnotationsItemInkColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` + BorderStyle DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle `json:"borderStyle" url:"borderStyle"` + DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` + Intent *DocAnnotationsList200ResponseAnnotationsItemInkIntent `json:"intent,omitempty" url:"intent,omitempty"` + InkList [][]*DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem `json:"inkList" url:"inkList"` + Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -11289,266 +19008,210 @@ type DocAnnotationsList200ResponseAnnotationsItemFreeText struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetRef() *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetRef() *DocAnnotationsList200ResponseAnnotationsItemInkRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQuality { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemInkIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetNm() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemInkFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetRect() *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetRect() *DocAnnotationsList200ResponseAnnotationsItemInkRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetContents() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetSubject() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetAuthor() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetCreated() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetModified() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemInkBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyType { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemInkReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetUserID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetGroupID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetCreatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetUpdatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetIntent() DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent { - if d == nil { - return "" - } - return d.Intent -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetFontFamily() DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily { - if d == nil { - return "" - } - return d.FontFamily -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetFontSize() float64 { - if d == nil { - return 0 - } - return d.FontSize -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetTextAlign() DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign { - if d == nil { - return "" - } - return d.TextAlign -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetColor() *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetColor() *DocAnnotationsList200ResponseAnnotationsItemInkColor { if d == nil { return nil } return d.Color } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetFontColor() *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor { - if d == nil { - return nil - } - return d.FontColor -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetInteriorColor() *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor { - if d == nil { - return nil - } - return d.InteriorColor -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetOpacity() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetOpacity() float64 { if d == nil { return 0 } return d.Opacity } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetStrokeWidth() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetStrokeWidth() float64 { if d == nil { return 0 } return d.StrokeWidth } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetBorderStyle() DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetBorderStyle() DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle { if d == nil { return "" } return d.BorderStyle } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetDashArray() []float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetDashArray() []float64 { if d == nil { return nil } return d.DashArray } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetRectDifferences() *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences { - if d == nil { - return nil - } - return d.RectDifferences -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetCalloutLine() []any { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetIntent() *DocAnnotationsList200ResponseAnnotationsItemInkIntent { if d == nil { return nil } - return d.CalloutLine + return d.Intent } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetLineEnding() *DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetInkList() [][]*DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem { if d == nil { return nil } - return d.LineEnding + return d.InkList } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetRotation() *float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetRotation() *float64 { if d == nil { return nil } return d.Rotation } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetUnrotatedRect() *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect { - if d == nil { - return nil - } - return d.UnrotatedRect -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -11557,258 +19220,202 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) require(field *bi // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemInkRef) { d.Ref = ref - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldRef) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQuality) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemInkIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldIdentityQuality) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetNm(nm *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemInkFlags) { d.Flags = flags - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldFlags) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemInkRect) { d.Rect = rect - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldRect) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetContents(contents *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldContents) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetSubject(subject *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldSubject) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetAuthor(author *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldAuthor) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetCreated(created *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldCreated) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetModified(modified *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldModified) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemInkBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldBlendMode) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldInReplyTo) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyType) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemInkReplyType) { d.ReplyType = replyType - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldReplyType) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetUserID(userID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldUserID) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetGroupID(groupID *string) { - d.GroupID = groupID - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldGroupID) -} - -// SetCreatedBy sets the CreatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetCreatedBy(createdBy *string) { - d.CreatedBy = createdBy - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldCreatedBy) -} - -// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetUpdatedBy(updatedBy *string) { - d.UpdatedBy = updatedBy - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldUpdatedBy) -} - -// SetActions sets the Actions field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetActions(actions *PdfAnnotationActions) { - d.Actions = actions - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldActions) -} - -// SetIntent sets the Intent field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetIntent(intent DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent) { - d.Intent = intent - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldIntent) -} - -// SetFontFamily sets the FontFamily field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetFontFamily(fontFamily DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily) { - d.FontFamily = fontFamily - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldFontFamily) -} - -// SetFontSize sets the FontSize field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetFontSize(fontSize float64) { - d.FontSize = fontSize - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldFontSize) +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetGroupID(groupID *string) { + d.GroupID = groupID + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldGroupID) } -// SetTextAlign sets the TextAlign field and marks it as non-optional; +// SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetTextAlign(textAlign DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign) { - d.TextAlign = textAlign - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldTextAlign) +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetCreatedBy(createdBy *string) { + d.CreatedBy = createdBy + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldCreatedBy) } -// SetColor sets the Color field and marks it as non-optional; +// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) { - d.Color = color - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldColor) +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetUpdatedBy(updatedBy *string) { + d.UpdatedBy = updatedBy + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldUpdatedBy) } -// SetFontColor sets the FontColor field and marks it as non-optional; +// SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetFontColor(fontColor *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) { - d.FontColor = fontColor - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldFontColor) +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetActions(actions *PdfAnnotationActions) { + d.Actions = actions + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldActions) } -// SetInteriorColor sets the InteriorColor field and marks it as non-optional; +// SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetInteriorColor(interiorColor *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) { - d.InteriorColor = interiorColor - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldInteriorColor) +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemInkColor) { + d.Color = color + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldColor) } // SetOpacity sets the Opacity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetOpacity(opacity float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetOpacity(opacity float64) { d.Opacity = opacity - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldOpacity) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldOpacity) } // SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetStrokeWidth(strokeWidth float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetStrokeWidth(strokeWidth float64) { d.StrokeWidth = strokeWidth - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldStrokeWidth) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldStrokeWidth) } // SetBorderStyle sets the BorderStyle field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetBorderStyle(borderStyle DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetBorderStyle(borderStyle DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle) { d.BorderStyle = borderStyle - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldBorderStyle) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldBorderStyle) } // SetDashArray sets the DashArray field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetDashArray(dashArray []float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetDashArray(dashArray []float64) { d.DashArray = dashArray - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldDashArray) -} - -// SetRectDifferences sets the RectDifferences field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetRectDifferences(rectDifferences *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) { - d.RectDifferences = rectDifferences - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldRectDifferences) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldDashArray) } -// SetCalloutLine sets the CalloutLine field and marks it as non-optional; +// SetIntent sets the Intent field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetCalloutLine(calloutLine []any) { - d.CalloutLine = calloutLine - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldCalloutLine) +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetIntent(intent *DocAnnotationsList200ResponseAnnotationsItemInkIntent) { + d.Intent = intent + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldIntent) } -// SetLineEnding sets the LineEnding field and marks it as non-optional; +// SetInkList sets the InkList field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetLineEnding(lineEnding *DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding) { - d.LineEnding = lineEnding - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldLineEnding) +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetInkList(inkList [][]*DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) { + d.InkList = inkList + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldInkList) } // SetRotation sets the Rotation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetRotation(rotation *float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetRotation(rotation *float64) { d.Rotation = rotation - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldRotation) -} - -// SetUnrotatedRect sets the UnrotatedRect field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) SetUnrotatedRect(unrotatedRect *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) { - d.UnrotatedRect = unrotatedRect - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFieldUnrotatedRect) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldRotation) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsList200ResponseAnnotationsItemFreeText +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsList200ResponseAnnotationsItemInk var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -11819,7 +19426,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) UnmarshalJSON(dat if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFreeText(unmarshaler.embed) + *d = DocAnnotationsList200ResponseAnnotationsItemInk(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -11831,8 +19438,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) UnmarshalJSON(dat return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFreeText +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemInk var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -11846,7 +19453,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) MarshalJSON() ([] return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInk) String() string { if d == nil { return "" } @@ -11861,105 +19468,105 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeText) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode string +type DocAnnotationsList200ResponseAnnotationsItemInkBlendMode string const ( - DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "normal" - DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "multiply" - DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "screen" - DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "overlay" - DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "darken" - DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "lighten" - DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "color-dodge" - DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "color-burn" - DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "hard-light" - DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "soft-light" - DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "difference" - DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "exclusion" - DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeHue DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "hue" - DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "saturation" - DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeColor DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "color" - DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode = "luminosity" + DocAnnotationsList200ResponseAnnotationsItemInkBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "normal" + DocAnnotationsList200ResponseAnnotationsItemInkBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "multiply" + DocAnnotationsList200ResponseAnnotationsItemInkBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "screen" + DocAnnotationsList200ResponseAnnotationsItemInkBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "overlay" + DocAnnotationsList200ResponseAnnotationsItemInkBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "darken" + DocAnnotationsList200ResponseAnnotationsItemInkBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "lighten" + DocAnnotationsList200ResponseAnnotationsItemInkBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "color-dodge" + DocAnnotationsList200ResponseAnnotationsItemInkBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "color-burn" + DocAnnotationsList200ResponseAnnotationsItemInkBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "hard-light" + DocAnnotationsList200ResponseAnnotationsItemInkBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "soft-light" + DocAnnotationsList200ResponseAnnotationsItemInkBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "difference" + DocAnnotationsList200ResponseAnnotationsItemInkBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "exclusion" + DocAnnotationsList200ResponseAnnotationsItemInkBlendModeHue DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "hue" + DocAnnotationsList200ResponseAnnotationsItemInkBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "saturation" + DocAnnotationsList200ResponseAnnotationsItemInkBlendModeColor DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "color" + DocAnnotationsList200ResponseAnnotationsItemInkBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "luminosity" ) -func NewDocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemInkBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemInkBlendMode, error) { switch s { case "normal": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeNormal, nil + return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeNormal, nil case "multiply": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeMultiply, nil + return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeMultiply, nil case "screen": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeScreen, nil + return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeScreen, nil case "overlay": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeOverlay, nil + return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeOverlay, nil case "darken": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeDarken, nil + return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeDarken, nil case "lighten": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeLighten, nil + return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeLighten, nil case "color-dodge": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeColorDodge, nil + return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeColorBurn, nil + return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeHardLight, nil + return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeHardLight, nil case "soft-light": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeSoftLight, nil + return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeSoftLight, nil case "difference": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeDifference, nil + return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeDifference, nil case "exclusion": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeExclusion, nil + return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeExclusion, nil case "hue": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeHue, nil + return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeHue, nil case "saturation": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeSaturation, nil + return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeSaturation, nil case "color": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeColor, nil + return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeColor, nil case "luminosity": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendModeLuminosity, nil + return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeLuminosity, nil } - var t DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode + var t DocAnnotationsList200ResponseAnnotationsItemInkBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFreeTextBlendMode { +func (d DocAnnotationsList200ResponseAnnotationsItemInkBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemInkBlendMode { return &d } -type DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle string +type DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle string const ( - DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyleSolid DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle = "solid" - DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyleDashed DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle = "dashed" - DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyleBeveled DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle = "beveled" - DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyleInset DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle = "inset" + DocAnnotationsList200ResponseAnnotationsItemInkBorderStyleSolid DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle = "solid" + DocAnnotationsList200ResponseAnnotationsItemInkBorderStyleDashed DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle = "dashed" + DocAnnotationsList200ResponseAnnotationsItemInkBorderStyleBeveled DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle = "beveled" + DocAnnotationsList200ResponseAnnotationsItemInkBorderStyleInset DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle = "inset" ) -func NewDocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyleFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemInkBorderStyleFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle, error) { switch s { case "solid": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyleSolid, nil + return DocAnnotationsList200ResponseAnnotationsItemInkBorderStyleSolid, nil case "dashed": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyleDashed, nil + return DocAnnotationsList200ResponseAnnotationsItemInkBorderStyleDashed, nil case "beveled": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyleBeveled, nil + return DocAnnotationsList200ResponseAnnotationsItemInkBorderStyleBeveled, nil case "inset": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyleInset, nil + return DocAnnotationsList200ResponseAnnotationsItemInkBorderStyleInset, nil } - var t DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle + var t DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFreeTextBorderStyle { +func (d DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle) Ptr() *DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemFreeTextColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFreeTextColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemFreeTextColorFieldB = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemInkColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemInkColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemInkColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemFreeTextColor struct { +type DocAnnotationsList200ResponseAnnotationsItemInkColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -11971,35 +19578,35 @@ type DocAnnotationsList200ResponseAnnotationsItemFreeTextColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) GetR() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) GetG() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) GetB() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -12008,32 +19615,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) require(fiel // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) SetR(r int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) SetR(r int) { d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextColorFieldR) + d.require(docAnnotationsList200ResponseAnnotationsItemInkColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) SetG(g int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) SetG(g int) { d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextColorFieldG) + d.require(docAnnotationsList200ResponseAnnotationsItemInkColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) SetB(b int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) SetB(b int) { d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextColorFieldB) + d.require(docAnnotationsList200ResponseAnnotationsItemInkColorFieldB) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextColor +func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextColor(value) + *d = DocAnnotationsList200ResponseAnnotationsItemInkColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -12043,8 +19650,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) UnmarshalJSO return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextColor +func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemInkColor var marshaler = struct { embed }{ @@ -12054,7 +19661,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) MarshalJSON( return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) String() string { if d == nil { return "" } @@ -12070,19 +19677,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextColor) String() str } var ( - docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags struct { +type DocAnnotationsList200ResponseAnnotationsItemInkFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -12101,84 +19708,84 @@ type DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) GetInvisible() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) GetHidden() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) GetPrint() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) GetNoZoom() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) GetNoRotate() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) GetNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) GetReadOnly() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) GetLocked() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) GetToggleNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) GetLockedContents() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -12187,197 +19794,81 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) require(fiel // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldInvisible) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldHidden) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) SetPrint(print bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldPrint) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldNoZoom) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldNoRotate) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) SetNoView(noView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldReadOnly) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) SetLocked(locked bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldLocked) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldToggleNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFlagsFieldLockedContents) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFlags) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsList200ResponseAnnotationsItemFreeTextFontColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFreeTextFontColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemFreeTextFontColorFieldB = big.NewInt(1 << 2) -) - -type DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) GetR() int { - if d == nil { - return 0 - } - return d.R -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) GetG() int { - if d == nil { - return 0 - } - return d.G -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) GetB() int { - if d == nil { - return 0 - } - return d.B -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetR sets the R field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) SetR(r int) { - d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFontColorFieldR) -} - -// SetG sets the G field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) SetG(g int) { - d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFontColorFieldG) -} - -// SetB sets the B field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) SetB(b int) { - d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextFontColorFieldB) + d.require(docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldLockedContents) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor(value) + *d = DocAnnotationsList200ResponseAnnotationsItemInkFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -12387,8 +19878,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) Unmarsha return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemInkFlags var marshaler = struct { embed }{ @@ -12398,7 +19889,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) MarshalJ return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) String() string { if d == nil { return "" } @@ -12413,124 +19904,66 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontColor) String() return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily string - -const ( - DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyCourier DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "courier" - DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyCourierBold DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "courier-bold" - DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyCourierBoldOblique DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "courier-bold-oblique" - DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyCourierOblique DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "courier-oblique" - DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyHelvetica DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "helvetica" - DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyHelveticaBold DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "helvetica-bold" - DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyHelveticaBoldOblique DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "helvetica-bold-oblique" - DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyHelveticaOblique DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "helvetica-oblique" - DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyTimesRoman DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "times-roman" - DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyTimesBold DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "times-bold" - DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyTimesBoldItalic DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "times-bold-italic" - DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyTimesItalic DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "times-italic" - DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilySymbol DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "symbol" - DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyZapfDingbats DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily = "zapf-dingbats" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily, error) { - switch s { - case "courier": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyCourier, nil - case "courier-bold": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyCourierBold, nil - case "courier-bold-oblique": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyCourierBoldOblique, nil - case "courier-oblique": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyCourierOblique, nil - case "helvetica": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyHelvetica, nil - case "helvetica-bold": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyHelveticaBold, nil - case "helvetica-bold-oblique": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyHelveticaBoldOblique, nil - case "helvetica-oblique": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyHelveticaOblique, nil - case "times-roman": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyTimesRoman, nil - case "times-bold": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyTimesBold, nil - case "times-bold-italic": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyTimesBoldItalic, nil - case "times-italic": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyTimesItalic, nil - case "symbol": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilySymbol, nil - case "zapf-dingbats": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamilyZapfDingbats, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFreeTextFontFamily { - return &d -} - -type DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQuality string +type DocAnnotationsList200ResponseAnnotationsItemInkIdentityQuality string const ( - DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQuality = "durable" - DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQuality = "weak" + DocAnnotationsList200ResponseAnnotationsItemInkIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemInkIdentityQuality = "durable" + DocAnnotationsList200ResponseAnnotationsItemInkIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemInkIdentityQuality = "weak" ) -func NewDocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQuality, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemInkIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemInkIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQualityDurable, nil + return DocAnnotationsList200ResponseAnnotationsItemInkIdentityQualityDurable, nil case "weak": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQualityWeak, nil + return DocAnnotationsList200ResponseAnnotationsItemInkIdentityQualityWeak, nil } - var t DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQuality + var t DocAnnotationsList200ResponseAnnotationsItemInkIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFreeTextIdentityQuality { +func (d DocAnnotationsList200ResponseAnnotationsItemInkIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemInkIdentityQuality { return &d } -type DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo struct { +type DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm - Index *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm + Index *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -12543,19 +19976,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) Unmarsha } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -12565,7 +19998,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) Unmarsha return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -12584,13 +20017,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) MarshalJS return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) error +type DocAnnotationsList200ResponseAnnotationsItemInkInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemInkInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -12603,7 +20036,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) Accept(v return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -12644,15 +20077,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyTo) validate } var ( - docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -12661,35 +20094,35 @@ type DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -12698,32 +20131,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) req // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -12733,8 +20166,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) Unm return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex var marshaler = struct { embed }{ @@ -12744,7 +20177,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) Mar return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) String() string { if d == nil { return "" } @@ -12760,12 +20193,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndex) Str } var ( - docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -12777,35 +20210,35 @@ type DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -12814,32 +20247,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevis // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -12849,8 +20282,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevis return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision var marshaler = struct { embed }{ @@ -12860,7 +20293,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevis return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -12876,11 +20309,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToIndexRevis } var ( - docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemInkInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemInkInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm struct { +type DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -12891,28 +20324,28 @@ type DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -12921,25 +20354,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) requir // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemInkInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemInkInReplyToNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -12949,8 +20382,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) Unmars return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm var marshaler = struct { embed }{ @@ -12960,7 +20393,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) String() string { if d == nil { return "" } @@ -12976,11 +20409,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToNm) String } var ( - docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -12991,28 +20424,28 @@ type DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber s rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -13021,25 +20454,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumb // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -13049,8 +20482,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumb return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber var marshaler = struct { embed }{ @@ -13060,7 +20493,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumb return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -13075,38 +20508,14 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInReplyToObjectNumb return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent string - -const ( - DocAnnotationsList200ResponseAnnotationsItemFreeTextIntentFreeText DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent = "free-text" - DocAnnotationsList200ResponseAnnotationsItemFreeTextIntentFreeTextCallout DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent = "free-text-callout" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemFreeTextIntentFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent, error) { - switch s { - case "free-text": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextIntentFreeText, nil - case "free-text-callout": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextIntentFreeTextCallout, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFreeTextIntent { - return &d -} - var ( - docAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColorFieldB = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemInkInkListItemItemFieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemInkInkListItemItemFieldY = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` +type DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -13115,69 +20524,55 @@ type DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) GetR() int { - if d == nil { - return 0 - } - return d.R -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) GetG() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) GetX() float64 { if d == nil { return 0 } - return d.G + return d.X } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) GetB() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) GetY() float64 { if d == nil { return 0 } - return d.B + return d.Y } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetR sets the R field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) SetR(r int) { - d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColorFieldR) -} - -// SetG sets the G field and marks it as non-optional; +// SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) SetG(g int) { - d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColorFieldG) +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) SetX(x float64) { + d.X = x + d.require(docAnnotationsList200ResponseAnnotationsItemInkInkListItemItemFieldX) } -// SetB sets the B field and marks it as non-optional; +// SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) SetB(b int) { - d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColorFieldB) +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) SetY(y float64) { + d.Y = y + d.require(docAnnotationsList200ResponseAnnotationsItemInkInkListItemItemFieldY) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor(value) + *d = DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -13187,8 +20582,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) Unma return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem var marshaler = struct { embed }{ @@ -13198,7 +20593,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) Mars return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) String() string { if d == nil { return "" } @@ -13213,60 +20608,33 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextInteriorColor) Stri return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding string +type DocAnnotationsList200ResponseAnnotationsItemInkIntent string const ( - DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingNone DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding = "none" - DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingSquare DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding = "square" - DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingCircle DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding = "circle" - DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingDiamond DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding = "diamond" - DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingOpenArrow DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding = "open-arrow" - DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingClosedArrow DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding = "closed-arrow" - DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingButt DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding = "butt" - DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingROpenArrow DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding = "r-open-arrow" - DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingRClosedArrow DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding = "r-closed-arrow" - DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingSlash DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding = "slash" + DocAnnotationsList200ResponseAnnotationsItemInkIntentInkHighlight DocAnnotationsList200ResponseAnnotationsItemInkIntent = "ink-highlight" ) -func NewDocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemInkIntentFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemInkIntent, error) { switch s { - case "none": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingNone, nil - case "square": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingSquare, nil - case "circle": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingCircle, nil - case "diamond": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingDiamond, nil - case "open-arrow": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingOpenArrow, nil - case "closed-arrow": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingClosedArrow, nil - case "butt": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingButt, nil - case "r-open-arrow": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingROpenArrow, nil - case "r-closed-arrow": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingRClosedArrow, nil - case "slash": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEndingSlash, nil + case "ink-highlight": + return DocAnnotationsList200ResponseAnnotationsItemInkIntentInkHighlight, nil } - var t DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding + var t DocAnnotationsList200ResponseAnnotationsItemInkIntent return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFreeTextLineEnding { +func (d DocAnnotationsList200ResponseAnnotationsItemInkIntent) Ptr() *DocAnnotationsList200ResponseAnnotationsItemInkIntent { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemFreeTextRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFreeTextRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemFreeTextRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemFreeTextRectFieldTop = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemInkRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemInkRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemInkRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemInkRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemFreeTextRect struct { +type DocAnnotationsList200ResponseAnnotationsItemInkRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -13279,42 +20647,42 @@ type DocAnnotationsList200ResponseAnnotationsItemFreeTextRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) GetLeft() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) GetBottom() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) GetRight() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) GetTop() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -13323,171 +20691,39 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) require(field // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) SetLeft(left float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRectFieldLeft) + d.require(docAnnotationsList200ResponseAnnotationsItemInkRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) SetBottom(bottom float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRectFieldBottom) + d.require(docAnnotationsList200ResponseAnnotationsItemInkRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) SetRight(right float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRectFieldRight) -} - -// SetTop sets the Top field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRectFieldTop) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextRect - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextRect(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextRect - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRect) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferencesFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferencesFieldTop = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferencesFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferencesFieldBottom = big.NewInt(1 << 3) -) - -type DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences struct { - Left float64 `json:"left" url:"left"` - Top float64 `json:"top" url:"top"` - Right float64 `json:"right" url:"right"` - Bottom float64 `json:"bottom" url:"bottom"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) GetLeft() float64 { - if d == nil { - return 0 - } - return d.Left -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) GetTop() float64 { - if d == nil { - return 0 - } - return d.Top -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) GetRight() float64 { - if d == nil { - return 0 - } - return d.Right -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) GetBottom() float64 { - if d == nil { - return 0 - } - return d.Bottom -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetLeft sets the Left field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferencesFieldLeft) + d.require(docAnnotationsList200ResponseAnnotationsItemInkRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) SetTop(top float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferencesFieldTop) -} - -// SetRight sets the Right field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferencesFieldRight) -} - -// SetBottom sets the Bottom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferencesFieldBottom) + d.require(docAnnotationsList200ResponseAnnotationsItemInkRectFieldTop) } - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences + +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences(value) + *d = DocAnnotationsList200ResponseAnnotationsItemInkRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -13497,8 +20733,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) Un return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemInkRect var marshaler = struct { embed }{ @@ -13508,7 +20744,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) Ma return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) String() string { if d == nil { return "" } @@ -13523,44 +20759,44 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRectDifferences) St return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemFreeTextRef struct { +type DocAnnotationsList200ResponseAnnotationsItemInkRef struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm - Index *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemInkRefNm + Index *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemInkRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -13573,19 +20809,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) UnmarshalJSON( } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemInkRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -13595,7 +20831,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) UnmarshalJSON( return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemInkRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -13614,13 +20850,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) MarshalJSON() ( return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemFreeTextRefVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) error +type DocAnnotationsList200ResponseAnnotationsItemInkRefVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemInkRefNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemFreeTextRefVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemInkRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -13633,7 +20869,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) Accept(visitor return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -13674,15 +20910,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRef) validate() err } var ( - docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemInkRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemInkRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemInkRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemInkRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -13691,35 +20927,35 @@ type DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -13728,32 +20964,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) require(f // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemInkRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemInkRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemInkRefIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemInkRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -13763,8 +20999,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) Unmarshal return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemInkRefIndex var marshaler = struct { embed }{ @@ -13774,7 +21010,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) MarshalJS return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) String() string { if d == nil { return "" } @@ -13790,12 +21026,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndex) String() } var ( - docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemInkRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemInkRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemInkRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -13807,35 +21043,35 @@ type DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision struct rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -13844,32 +21080,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) r // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemInkRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemInkRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemInkRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -13879,8 +21115,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) U return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision var marshaler = struct { embed }{ @@ -13890,7 +21126,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) M return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) String() string { if d == nil { return "" } @@ -13906,11 +21142,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefIndexRevision) S } var ( - docAnnotationsList200ResponseAnnotationsItemFreeTextRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFreeTextRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemInkRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemInkRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm struct { +type DocAnnotationsList200ResponseAnnotationsItemInkRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -13921,28 +21157,28 @@ type DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -13951,25 +21187,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) require(fiel // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRefNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemInkRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRefNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemInkRefNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemInkRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -13979,8 +21215,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) UnmarshalJSO return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemInkRefNm var marshaler = struct { embed }{ @@ -13990,7 +21226,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) MarshalJSON( return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefNm) String() string { if d == nil { return "" } @@ -14006,11 +21242,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefNm) String() str } var ( - docAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemInkRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemInkRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -14021,28 +21257,28 @@ type DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber struct rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -14051,25 +21287,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) re // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemInkRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemInkRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -14079,8 +21315,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) Un return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber var marshaler = struct { embed }{ @@ -14090,7 +21326,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) Ma return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) String() string { if d == nil { return "" } @@ -14105,235 +21341,90 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextRefObjectNumber) St return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyType string +type DocAnnotationsList200ResponseAnnotationsItemInkReplyType string const ( - DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyType = "reply" - DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyType = "group" + DocAnnotationsList200ResponseAnnotationsItemInkReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemInkReplyType = "reply" + DocAnnotationsList200ResponseAnnotationsItemInkReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemInkReplyType = "group" ) -func NewDocAnnotationsList200ResponseAnnotationsItemFreeTextReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyType, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemInkReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemInkReplyType, error) { switch s { case "reply": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyTypeReply, nil + return DocAnnotationsList200ResponseAnnotationsItemInkReplyTypeReply, nil case "group": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyTypeGroup, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyType - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFreeTextReplyType { - return &d -} - -type DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign string - -const ( - DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlignLeft DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign = "left" - DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlignCenter DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign = "center" - DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlignRight DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign = "right" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlignFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign, error) { - switch s { - case "left": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlignLeft, nil - case "center": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlignCenter, nil - case "right": - return DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlignRight, nil + return DocAnnotationsList200ResponseAnnotationsItemInkReplyTypeGroup, nil } - var t DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign + var t DocAnnotationsList200ResponseAnnotationsItemInkReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign) Ptr() *DocAnnotationsList200ResponseAnnotationsItemFreeTextTextAlign { +func (d DocAnnotationsList200ResponseAnnotationsItemInkReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemInkReplyType { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRectFieldTop = big.NewInt(1 << 3) -) - -type DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect struct { - Left float64 `json:"left" url:"left"` - Bottom float64 `json:"bottom" url:"bottom"` - Right float64 `json:"right" url:"right"` - Top float64 `json:"top" url:"top"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) GetLeft() float64 { - if d == nil { - return 0 - } - return d.Left -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) GetBottom() float64 { - if d == nil { - return 0 - } - return d.Bottom -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) GetRight() float64 { - if d == nil { - return 0 - } - return d.Right -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) GetTop() float64 { - if d == nil { - return 0 - } - return d.Top -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetLeft sets the Left field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRectFieldLeft) -} - -// SetBottom sets the Bottom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRectFieldBottom) -} - -// SetRight sets the Right field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRectFieldRight) -} - -// SetTop sets the Top field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRectFieldTop) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemFreeTextUnrotatedRect) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsList200ResponseAnnotationsItemHighlightFieldRef = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemHighlightFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemHighlightFieldIndex = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemHighlightFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemHighlightFieldNm = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemHighlightFieldFlags = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemHighlightFieldRect = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemHighlightFieldContents = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemHighlightFieldSubject = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemHighlightFieldAuthor = big.NewInt(1 << 9) - docAnnotationsList200ResponseAnnotationsItemHighlightFieldCreated = big.NewInt(1 << 10) - docAnnotationsList200ResponseAnnotationsItemHighlightFieldModified = big.NewInt(1 << 11) - docAnnotationsList200ResponseAnnotationsItemHighlightFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsList200ResponseAnnotationsItemHighlightFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsList200ResponseAnnotationsItemHighlightFieldReplyType = big.NewInt(1 << 14) - docAnnotationsList200ResponseAnnotationsItemHighlightFieldUserID = big.NewInt(1 << 15) - docAnnotationsList200ResponseAnnotationsItemHighlightFieldGroupID = big.NewInt(1 << 16) - docAnnotationsList200ResponseAnnotationsItemHighlightFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsList200ResponseAnnotationsItemHighlightFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsList200ResponseAnnotationsItemHighlightFieldActions = big.NewInt(1 << 19) - docAnnotationsList200ResponseAnnotationsItemHighlightFieldColor = big.NewInt(1 << 20) - docAnnotationsList200ResponseAnnotationsItemHighlightFieldOpacity = big.NewInt(1 << 21) - docAnnotationsList200ResponseAnnotationsItemHighlightFieldQuadPoints = big.NewInt(1 << 22) + docAnnotationsList200ResponseAnnotationsItemLineFieldRef = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLineFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLineFieldIndex = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemLineFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemLineFieldNm = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemLineFieldFlags = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemLineFieldRect = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemLineFieldContents = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemLineFieldSubject = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemLineFieldAuthor = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemLineFieldCreated = big.NewInt(1 << 10) + docAnnotationsList200ResponseAnnotationsItemLineFieldModified = big.NewInt(1 << 11) + docAnnotationsList200ResponseAnnotationsItemLineFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsList200ResponseAnnotationsItemLineFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsList200ResponseAnnotationsItemLineFieldReplyType = big.NewInt(1 << 14) + docAnnotationsList200ResponseAnnotationsItemLineFieldUserID = big.NewInt(1 << 15) + docAnnotationsList200ResponseAnnotationsItemLineFieldGroupID = big.NewInt(1 << 16) + docAnnotationsList200ResponseAnnotationsItemLineFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsList200ResponseAnnotationsItemLineFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsList200ResponseAnnotationsItemLineFieldActions = big.NewInt(1 << 19) + docAnnotationsList200ResponseAnnotationsItemLineFieldColor = big.NewInt(1 << 20) + docAnnotationsList200ResponseAnnotationsItemLineFieldOpacity = big.NewInt(1 << 21) + docAnnotationsList200ResponseAnnotationsItemLineFieldStrokeWidth = big.NewInt(1 << 22) + docAnnotationsList200ResponseAnnotationsItemLineFieldBorderStyle = big.NewInt(1 << 23) + docAnnotationsList200ResponseAnnotationsItemLineFieldDashArray = big.NewInt(1 << 24) + docAnnotationsList200ResponseAnnotationsItemLineFieldInteriorColor = big.NewInt(1 << 25) + docAnnotationsList200ResponseAnnotationsItemLineFieldLinePoints = big.NewInt(1 << 26) + docAnnotationsList200ResponseAnnotationsItemLineFieldLineEndings = big.NewInt(1 << 27) + docAnnotationsList200ResponseAnnotationsItemLineFieldRotation = big.NewInt(1 << 28) ) -type DocAnnotationsList200ResponseAnnotationsItemHighlight struct { - Ref *DocAnnotationsList200ResponseAnnotationsItemHighlightRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsList200ResponseAnnotationsItemHighlightRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsList200ResponseAnnotationsItemHighlightReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsList200ResponseAnnotationsItemHighlightColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - QuadPoints []*DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem `json:"quadPoints" url:"quadPoints"` +type DocAnnotationsList200ResponseAnnotationsItemLine struct { + Ref *DocAnnotationsList200ResponseAnnotationsItemLineRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsList200ResponseAnnotationsItemLineIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsList200ResponseAnnotationsItemLineFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsList200ResponseAnnotationsItemLineRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsList200ResponseAnnotationsItemLineBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsList200ResponseAnnotationsItemLineReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsList200ResponseAnnotationsItemLineColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` + BorderStyle DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle `json:"borderStyle" url:"borderStyle"` + DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` + InteriorColor *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` + LinePoints *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints `json:"linePoints" url:"linePoints"` + LineEndings *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings `json:"lineEndings" url:"lineEndings"` + Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -14342,175 +21433,217 @@ type DocAnnotationsList200ResponseAnnotationsItemHighlight struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetRef() *DocAnnotationsList200ResponseAnnotationsItemHighlightRef { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetRef() *DocAnnotationsList200ResponseAnnotationsItemLineRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQuality { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemLineIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetNm() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemLineFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetRect() *DocAnnotationsList200ResponseAnnotationsItemHighlightRect { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetRect() *DocAnnotationsList200ResponseAnnotationsItemLineRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetContents() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetSubject() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetAuthor() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetCreated() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetModified() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemLineBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemHighlightReplyType { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemLineReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetUserID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetGroupID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetCreatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetUpdatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetColor() *DocAnnotationsList200ResponseAnnotationsItemHighlightColor { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetColor() *DocAnnotationsList200ResponseAnnotationsItemLineColor { if d == nil { return nil } return d.Color } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetOpacity() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetOpacity() float64 { if d == nil { return 0 } return d.Opacity } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetQuadPoints() []*DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetStrokeWidth() float64 { + if d == nil { + return 0 + } + return d.StrokeWidth +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetBorderStyle() DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle { + if d == nil { + return "" + } + return d.BorderStyle +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetDashArray() []float64 { if d == nil { return nil } - return d.QuadPoints + return d.DashArray } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetInteriorColor() *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor { + if d == nil { + return nil + } + return d.InteriorColor +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetLinePoints() *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints { + if d == nil { + return nil + } + return d.LinePoints +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetLineEndings() *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings { + if d == nil { + return nil + } + return d.LineEndings +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetRotation() *float64 { + if d == nil { + return nil + } + return d.Rotation +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -14519,167 +21652,209 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) require(field *b // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemHighlightRef) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemLineRef) { d.Ref = ref - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldRef) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQuality) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemLineIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldIdentityQuality) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetNm(nm *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemLineFlags) { d.Flags = flags - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldFlags) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemLineRect) { d.Rect = rect - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldRect) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetContents(contents *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldContents) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetSubject(subject *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldSubject) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetAuthor(author *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldAuthor) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetCreated(created *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldCreated) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetModified(modified *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldModified) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemLineBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldBlendMode) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldInReplyTo) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemHighlightReplyType) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemLineReplyType) { d.ReplyType = replyType - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldReplyType) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetUserID(userID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldUserID) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetGroupID(groupID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldGroupID) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldCreatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldUpdatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldActions) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldActions) } // SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemLineColor) { d.Color = color - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldColor) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldColor) } // SetOpacity sets the Opacity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetOpacity(opacity float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetOpacity(opacity float64) { d.Opacity = opacity - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldOpacity) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldOpacity) } -// SetQuadPoints sets the QuadPoints field and marks it as non-optional; +// SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) SetQuadPoints(quadPoints []*DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) { - d.QuadPoints = quadPoints - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFieldQuadPoints) +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetStrokeWidth(strokeWidth float64) { + d.StrokeWidth = strokeWidth + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldStrokeWidth) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsList200ResponseAnnotationsItemHighlight +// SetBorderStyle sets the BorderStyle field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetBorderStyle(borderStyle DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle) { + d.BorderStyle = borderStyle + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldBorderStyle) +} + +// SetDashArray sets the DashArray field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetDashArray(dashArray []float64) { + d.DashArray = dashArray + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldDashArray) +} + +// SetInteriorColor sets the InteriorColor field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetInteriorColor(interiorColor *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) { + d.InteriorColor = interiorColor + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldInteriorColor) +} + +// SetLinePoints sets the LinePoints field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetLinePoints(linePoints *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints) { + d.LinePoints = linePoints + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldLinePoints) +} + +// SetLineEndings sets the LineEndings field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetLineEndings(lineEndings *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings) { + d.LineEndings = lineEndings + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldLineEndings) +} + +// SetRotation sets the Rotation field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetRotation(rotation *float64) { + d.Rotation = rotation + d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldRotation) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsList200ResponseAnnotationsItemLine var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -14690,7 +21865,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) UnmarshalJSON(da if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemHighlight(unmarshaler.embed) + *d = DocAnnotationsList200ResponseAnnotationsItemLine(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -14702,8 +21877,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) UnmarshalJSON(da return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemHighlight +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLine var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -14717,7 +21892,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) MarshalJSON() ([ return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLine) String() string { if d == nil { return "" } @@ -14732,77 +21907,105 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlight) String() string return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode string +type DocAnnotationsList200ResponseAnnotationsItemLineBlendMode string const ( - DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "normal" - DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "multiply" - DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "screen" - DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "overlay" - DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "darken" - DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "lighten" - DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "color-dodge" - DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "color-burn" - DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "hard-light" - DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "soft-light" - DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "difference" - DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "exclusion" - DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeHue DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "hue" - DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "saturation" - DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeColor DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "color" - DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode = "luminosity" + DocAnnotationsList200ResponseAnnotationsItemLineBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "normal" + DocAnnotationsList200ResponseAnnotationsItemLineBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "multiply" + DocAnnotationsList200ResponseAnnotationsItemLineBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "screen" + DocAnnotationsList200ResponseAnnotationsItemLineBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "overlay" + DocAnnotationsList200ResponseAnnotationsItemLineBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "darken" + DocAnnotationsList200ResponseAnnotationsItemLineBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "lighten" + DocAnnotationsList200ResponseAnnotationsItemLineBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "color-dodge" + DocAnnotationsList200ResponseAnnotationsItemLineBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "color-burn" + DocAnnotationsList200ResponseAnnotationsItemLineBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "hard-light" + DocAnnotationsList200ResponseAnnotationsItemLineBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "soft-light" + DocAnnotationsList200ResponseAnnotationsItemLineBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "difference" + DocAnnotationsList200ResponseAnnotationsItemLineBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "exclusion" + DocAnnotationsList200ResponseAnnotationsItemLineBlendModeHue DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "hue" + DocAnnotationsList200ResponseAnnotationsItemLineBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "saturation" + DocAnnotationsList200ResponseAnnotationsItemLineBlendModeColor DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "color" + DocAnnotationsList200ResponseAnnotationsItemLineBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "luminosity" ) -func NewDocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemLineBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemLineBlendMode, error) { switch s { case "normal": - return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeNormal, nil + return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeNormal, nil case "multiply": - return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeMultiply, nil + return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeMultiply, nil case "screen": - return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeScreen, nil + return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeScreen, nil case "overlay": - return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeOverlay, nil + return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeOverlay, nil case "darken": - return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeDarken, nil + return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeDarken, nil case "lighten": - return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeLighten, nil + return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeLighten, nil case "color-dodge": - return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeColorDodge, nil + return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeColorBurn, nil + return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeHardLight, nil + return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeHardLight, nil case "soft-light": - return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeSoftLight, nil + return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeSoftLight, nil case "difference": - return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeDifference, nil + return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeDifference, nil case "exclusion": - return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeExclusion, nil + return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeExclusion, nil case "hue": - return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeHue, nil + return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeHue, nil case "saturation": - return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeSaturation, nil + return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeSaturation, nil case "color": - return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeColor, nil + return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeColor, nil case "luminosity": - return DocAnnotationsList200ResponseAnnotationsItemHighlightBlendModeLuminosity, nil + return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeLuminosity, nil } - var t DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode + var t DocAnnotationsList200ResponseAnnotationsItemLineBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemHighlightBlendMode { +func (d DocAnnotationsList200ResponseAnnotationsItemLineBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemLineBlendMode { + return &d +} + +type DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle string + +const ( + DocAnnotationsList200ResponseAnnotationsItemLineBorderStyleSolid DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle = "solid" + DocAnnotationsList200ResponseAnnotationsItemLineBorderStyleDashed DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle = "dashed" + DocAnnotationsList200ResponseAnnotationsItemLineBorderStyleBeveled DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle = "beveled" + DocAnnotationsList200ResponseAnnotationsItemLineBorderStyleInset DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle = "inset" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemLineBorderStyleFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle, error) { + switch s { + case "solid": + return DocAnnotationsList200ResponseAnnotationsItemLineBorderStyleSolid, nil + case "dashed": + return DocAnnotationsList200ResponseAnnotationsItemLineBorderStyleDashed, nil + case "beveled": + return DocAnnotationsList200ResponseAnnotationsItemLineBorderStyleBeveled, nil + case "inset": + return DocAnnotationsList200ResponseAnnotationsItemLineBorderStyleInset, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle) Ptr() *DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemHighlightColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemHighlightColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemHighlightColorFieldB = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemLineColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLineColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLineColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemHighlightColor struct { +type DocAnnotationsList200ResponseAnnotationsItemLineColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -14814,35 +22017,35 @@ type DocAnnotationsList200ResponseAnnotationsItemHighlightColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) GetR() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) GetG() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) GetB() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -14851,32 +22054,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) require(fie // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) SetR(r int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) SetR(r int) { d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightColorFieldR) + d.require(docAnnotationsList200ResponseAnnotationsItemLineColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) SetG(g int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) SetG(g int) { d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightColorFieldG) + d.require(docAnnotationsList200ResponseAnnotationsItemLineColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) SetB(b int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) SetB(b int) { d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightColorFieldB) + d.require(docAnnotationsList200ResponseAnnotationsItemLineColorFieldB) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightColor +func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemHighlightColor(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLineColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -14886,8 +22089,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) UnmarshalJS return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemHighlightColor +func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLineColor var marshaler = struct { embed }{ @@ -14897,7 +22100,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) MarshalJSON return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) String() string { if d == nil { return "" } @@ -14913,19 +22116,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightColor) String() st } var ( - docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsList200ResponseAnnotationsItemHighlightFlags struct { +type DocAnnotationsList200ResponseAnnotationsItemLineFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -14944,84 +22147,84 @@ type DocAnnotationsList200ResponseAnnotationsItemHighlightFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) GetInvisible() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) GetHidden() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) GetPrint() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) GetNoZoom() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) GetNoRotate() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) GetNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) GetReadOnly() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) GetLocked() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) GetToggleNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) GetLockedContents() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -15030,81 +22233,81 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) require(fie // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldInvisible) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldHidden) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) SetPrint(print bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldPrint) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldNoZoom) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldNoRotate) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) SetNoView(noView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldReadOnly) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) SetLocked(locked bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldLocked) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldToggleNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightFlagsFieldLockedContents) + d.require(docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldLockedContents) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemHighlightFlags(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLineFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -15114,8 +22317,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) UnmarshalJS return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemHighlightFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLineFlags var marshaler = struct { embed }{ @@ -15125,7 +22328,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) MarshalJSON return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) String() string { if d == nil { return "" } @@ -15140,66 +22343,66 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightFlags) String() st return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQuality string +type DocAnnotationsList200ResponseAnnotationsItemLineIdentityQuality string const ( - DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQuality = "durable" - DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQuality = "weak" + DocAnnotationsList200ResponseAnnotationsItemLineIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemLineIdentityQuality = "durable" + DocAnnotationsList200ResponseAnnotationsItemLineIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemLineIdentityQuality = "weak" ) -func NewDocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQuality, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemLineIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemLineIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQualityDurable, nil + return DocAnnotationsList200ResponseAnnotationsItemLineIdentityQualityDurable, nil case "weak": - return DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQualityWeak, nil + return DocAnnotationsList200ResponseAnnotationsItemLineIdentityQualityWeak, nil } - var t DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQuality + var t DocAnnotationsList200ResponseAnnotationsItemLineIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemHighlightIdentityQuality { +func (d DocAnnotationsList200ResponseAnnotationsItemLineIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemLineIdentityQuality { return &d } -type DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo struct { +type DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm - Index *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm + Index *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -15212,19 +22415,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) Unmarsh } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -15234,7 +22437,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) Unmarsh return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -15253,13 +22456,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) MarshalJ return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) error +type DocAnnotationsList200ResponseAnnotationsItemLineInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemLineInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -15272,7 +22475,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) Accept( return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -15313,15 +22516,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyTo) validat } var ( - docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -15330,35 +22533,35 @@ type DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex struct rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -15367,32 +22570,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) re // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -15402,8 +22605,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) Un return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex var marshaler = struct { embed }{ @@ -15413,7 +22616,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) Ma return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) String() string { if d == nil { return "" } @@ -15429,12 +22632,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndex) St } var ( - docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -15446,35 +22649,35 @@ type DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -15483,32 +22686,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevi // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -15518,8 +22721,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevi return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision var marshaler = struct { embed }{ @@ -15529,7 +22732,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevi return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -15545,11 +22748,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToIndexRevi } var ( - docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLineInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLineInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm struct { +type DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -15560,28 +22763,28 @@ type DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -15590,25 +22793,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) requi // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemLineInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemLineInReplyToNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -15618,8 +22821,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) Unmar return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm var marshaler = struct { embed }{ @@ -15629,7 +22832,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) String() string { if d == nil { return "" } @@ -15645,11 +22848,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToNm) Strin } var ( - docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -15660,28 +22863,28 @@ type DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -15690,25 +22893,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNum // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -15718,8 +22921,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNum return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber var marshaler = struct { embed }{ @@ -15729,7 +22932,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNum return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -15745,17 +22948,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightInReplyToObjectNum } var ( - docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemFieldP1 = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemFieldP2 = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemFieldP3 = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemFieldP4 = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemLineInteriorColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLineInteriorColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLineInteriorColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem struct { - P1 *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1 `json:"p1" url:"p1"` - P2 *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2 `json:"p2" url:"p2"` - P3 *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3 `json:"p3" url:"p3"` - P4 *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4 `json:"p4" url:"p4"` +type DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -15764,83 +22965,69 @@ type DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem struct rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) GetP1() *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1 { - if d == nil { - return nil - } - return d.P1 -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) GetP2() *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2 { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) GetR() int { if d == nil { - return nil + return 0 } - return d.P2 + return d.R } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) GetP3() *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3 { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) GetG() int { if d == nil { - return nil + return 0 } - return d.P3 + return d.G } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) GetP4() *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4 { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) GetB() int { if d == nil { - return nil + return 0 } - return d.P4 + return d.B } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetP1 sets the P1 field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) SetP1(p1 *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) { - d.P1 = p1 - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemFieldP1) -} - -// SetP2 sets the P2 field and marks it as non-optional; +// SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) SetP2(p2 *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) { - d.P2 = p2 - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemFieldP2) +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) SetR(r int) { + d.R = r + d.require(docAnnotationsList200ResponseAnnotationsItemLineInteriorColorFieldR) } -// SetP3 sets the P3 field and marks it as non-optional; +// SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) SetP3(p3 *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) { - d.P3 = p3 - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemFieldP3) +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) SetG(g int) { + d.G = g + d.require(docAnnotationsList200ResponseAnnotationsItemLineInteriorColorFieldG) } -// SetP4 sets the P4 field and marks it as non-optional; +// SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) SetP4(p4 *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) { - d.P4 = p4 - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemFieldP4) +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) SetB(b int) { + d.B = b + d.require(docAnnotationsList200ResponseAnnotationsItemLineInteriorColorFieldB) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -15850,8 +23037,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) Un return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor var marshaler = struct { embed }{ @@ -15861,7 +23048,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) Ma return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) String() string { if d == nil { return "" } @@ -15877,13 +23064,13 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItem) St } var ( - docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1FieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1FieldY = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLineLineEndingsFieldStart = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLineLineEndingsFieldEnd = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1 struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` +type DocAnnotationsList200ResponseAnnotationsItemLineLineEndings struct { + Start DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart `json:"start" url:"start"` + End DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd `json:"end" url:"end"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -15892,55 +23079,55 @@ type DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1 struc rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) GetX() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings) GetStart() DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart { if d == nil { - return 0 + return "" } - return d.X + return d.Start } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) GetY() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings) GetEnd() DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd { if d == nil { - return 0 + return "" } - return d.Y + return d.End } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetX sets the X field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) SetX(x float64) { - d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1FieldX) +// SetStart sets the Start field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings) SetStart(start DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart) { + d.Start = start + d.require(docAnnotationsList200ResponseAnnotationsItemLineLineEndingsFieldStart) } -// SetY sets the Y field and marks it as non-optional; +// SetEnd sets the End field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) SetY(y float64) { - d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1FieldY) +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings) SetEnd(end DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd) { + d.End = end + d.require(docAnnotationsList200ResponseAnnotationsItemLineLineEndingsFieldEnd) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1 +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineLineEndings var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLineLineEndings(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -15950,8 +23137,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1 +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLineLineEndings var marshaler = struct { embed }{ @@ -15961,7 +23148,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings) String() string { if d == nil { return "" } @@ -15976,14 +23163,106 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP1) return fmt.Sprintf("%#v", d) } +type DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd string + +const ( + DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndNone DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd = "none" + DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndSquare DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd = "square" + DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndCircle DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd = "circle" + DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndDiamond DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd = "diamond" + DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndOpenArrow DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd = "open-arrow" + DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndClosedArrow DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd = "closed-arrow" + DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndButt DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd = "butt" + DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndROpenArrow DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd = "r-open-arrow" + DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndRClosedArrow DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd = "r-closed-arrow" + DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndSlash DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd = "slash" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd, error) { + switch s { + case "none": + return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndNone, nil + case "square": + return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndSquare, nil + case "circle": + return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndCircle, nil + case "diamond": + return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndDiamond, nil + case "open-arrow": + return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndOpenArrow, nil + case "closed-arrow": + return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndClosedArrow, nil + case "butt": + return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndButt, nil + case "r-open-arrow": + return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndROpenArrow, nil + case "r-closed-arrow": + return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndRClosedArrow, nil + case "slash": + return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndSlash, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd) Ptr() *DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd { + return &d +} + +type DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart string + +const ( + DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartNone DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart = "none" + DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartSquare DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart = "square" + DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartCircle DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart = "circle" + DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartDiamond DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart = "diamond" + DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartOpenArrow DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart = "open-arrow" + DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartClosedArrow DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart = "closed-arrow" + DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartButt DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart = "butt" + DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartROpenArrow DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart = "r-open-arrow" + DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartRClosedArrow DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart = "r-closed-arrow" + DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartSlash DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart = "slash" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart, error) { + switch s { + case "none": + return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartNone, nil + case "square": + return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartSquare, nil + case "circle": + return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartCircle, nil + case "diamond": + return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartDiamond, nil + case "open-arrow": + return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartOpenArrow, nil + case "closed-arrow": + return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartClosedArrow, nil + case "butt": + return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartButt, nil + case "r-open-arrow": + return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartROpenArrow, nil + case "r-closed-arrow": + return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartRClosedArrow, nil + case "slash": + return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartSlash, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart) Ptr() *DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart { + return &d +} + var ( - docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2FieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2FieldY = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLineLinePointsFieldStart = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLineLinePointsFieldEnd = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2 struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` +type DocAnnotationsList200ResponseAnnotationsItemLineLinePoints struct { + Start *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart `json:"start" url:"start"` + End *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd `json:"end" url:"end"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -15992,55 +23271,55 @@ type DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2 struc rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) GetX() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints) GetStart() *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart { if d == nil { - return 0 + return nil } - return d.X + return d.Start } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) GetY() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints) GetEnd() *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd { if d == nil { - return 0 + return nil } - return d.Y + return d.End } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetX sets the X field and marks it as non-optional; +// SetStart sets the Start field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) SetX(x float64) { - d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2FieldX) +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints) SetStart(start *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) { + d.Start = start + d.require(docAnnotationsList200ResponseAnnotationsItemLineLinePointsFieldStart) } -// SetY sets the Y field and marks it as non-optional; +// SetEnd sets the End field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) SetY(y float64) { - d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2FieldY) +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints) SetEnd(end *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd) { + d.End = end + d.require(docAnnotationsList200ResponseAnnotationsItemLineLinePointsFieldEnd) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2 +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineLinePoints var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLineLinePoints(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -16050,8 +23329,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2 +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLineLinePoints var marshaler = struct { embed }{ @@ -16061,7 +23340,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints) String() string { if d == nil { return "" } @@ -16077,11 +23356,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP2) } var ( - docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3FieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3FieldY = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLineLinePointsEndFieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLineLinePointsEndFieldY = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3 struct { +type DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -16092,28 +23371,28 @@ type DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3 struc rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) GetX() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) GetY() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -16122,25 +23401,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) SetX(x float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd) SetX(x float64) { d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3FieldX) + d.require(docAnnotationsList200ResponseAnnotationsItemLineLinePointsEndFieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) SetY(y float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd) SetY(y float64) { d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3FieldY) + d.require(docAnnotationsList200ResponseAnnotationsItemLineLinePointsEndFieldY) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3 +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -16150,8 +23429,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3 +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd var marshaler = struct { embed }{ @@ -16161,7 +23440,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd) String() string { if d == nil { return "" } @@ -16177,11 +23456,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP3) } var ( - docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4FieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4FieldY = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLineLinePointsStartFieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLineLinePointsStartFieldY = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4 struct { +type DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -16192,28 +23471,28 @@ type DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4 struc rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) GetX() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) GetY() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -16222,25 +23501,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) SetX(x float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) SetX(x float64) { d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4FieldX) + d.require(docAnnotationsList200ResponseAnnotationsItemLineLinePointsStartFieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) SetY(y float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) SetY(y float64) { d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4FieldY) + d.require(docAnnotationsList200ResponseAnnotationsItemLineLinePointsStartFieldY) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4 +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -16250,8 +23529,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4 +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart var marshaler = struct { embed }{ @@ -16261,7 +23540,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) String() string { if d == nil { return "" } @@ -16277,13 +23556,13 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightQuadPointsItemP4) } var ( - docAnnotationsList200ResponseAnnotationsItemHighlightRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemHighlightRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemHighlightRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemHighlightRectFieldTop = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemLineRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLineRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLineRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemLineRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemHighlightRect struct { +type DocAnnotationsList200ResponseAnnotationsItemLineRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -16296,42 +23575,42 @@ type DocAnnotationsList200ResponseAnnotationsItemHighlightRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) GetLeft() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) GetBottom() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) GetRight() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) GetTop() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -16340,39 +23619,39 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) require(fiel // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) SetLeft(left float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRectFieldLeft) + d.require(docAnnotationsList200ResponseAnnotationsItemLineRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) SetBottom(bottom float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRectFieldBottom) + d.require(docAnnotationsList200ResponseAnnotationsItemLineRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) SetRight(right float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRectFieldRight) + d.require(docAnnotationsList200ResponseAnnotationsItemLineRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) SetTop(top float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRectFieldTop) + d.require(docAnnotationsList200ResponseAnnotationsItemLineRectFieldTop) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightRect +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemHighlightRect(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLineRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -16382,8 +23661,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) UnmarshalJSO return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemHighlightRect +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLineRect var marshaler = struct { embed }{ @@ -16393,7 +23672,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) MarshalJSON( return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) String() string { if d == nil { return "" } @@ -16408,44 +23687,44 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRect) String() str return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemHighlightRef struct { +type DocAnnotationsList200ResponseAnnotationsItemLineRef struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm - Index *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemLineRefNm + Index *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRef) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemLineRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -16458,19 +23737,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRef) UnmarshalJSON } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemLineRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -16480,7 +23759,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRef) UnmarshalJSON return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemHighlightRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemLineRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -16499,13 +23778,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemHighlightRef) MarshalJSON() return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemHighlightRefVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) error +type DocAnnotationsList200ResponseAnnotationsItemLineRefVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemLineRefNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemHighlightRefVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemLineRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -16518,7 +23797,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRef) Accept(visito return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRef) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -16559,15 +23838,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRef) validate() er } var ( - docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemLineRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLineRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLineRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemLineRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -16576,35 +23855,35 @@ type DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -16613,32 +23892,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) require( // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemLineRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemLineRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemLineRefIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLineRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -16648,8 +23927,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) Unmarsha return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLineRefIndex var marshaler = struct { embed }{ @@ -16659,7 +23938,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) MarshalJ return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) String() string { if d == nil { return "" } @@ -16675,12 +23954,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndex) String() } var ( - docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemLineRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLineRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLineRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -16692,35 +23971,35 @@ type DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision struc rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -16729,32 +24008,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemLineRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemLineRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemLineRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -16764,8 +24043,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision var marshaler = struct { embed }{ @@ -16775,7 +24054,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) String() string { if d == nil { return "" } @@ -16791,11 +24070,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefIndexRevision) } var ( - docAnnotationsList200ResponseAnnotationsItemHighlightRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemHighlightRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLineRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLineRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm struct { +type DocAnnotationsList200ResponseAnnotationsItemLineRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -16806,28 +24085,28 @@ type DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -16836,25 +24115,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) require(fie // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRefNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemLineRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRefNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemLineRefNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLineRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -16864,8 +24143,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) UnmarshalJS return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLineRefNm var marshaler = struct { embed }{ @@ -16875,7 +24154,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) MarshalJSON return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefNm) String() string { if d == nil { return "" } @@ -16891,11 +24170,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefNm) String() st } var ( - docAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLineRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLineRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -16906,28 +24185,28 @@ type DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber struct rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -16936,25 +24215,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) r // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemLineRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemLineRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -16964,8 +24243,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) U return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber var marshaler = struct { embed }{ @@ -16975,7 +24254,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) M return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) String() string { if d == nil { return "" } @@ -16990,88 +24269,74 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemHighlightRefObjectNumber) S return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemHighlightReplyType string +type DocAnnotationsList200ResponseAnnotationsItemLineReplyType string const ( - DocAnnotationsList200ResponseAnnotationsItemHighlightReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemHighlightReplyType = "reply" - DocAnnotationsList200ResponseAnnotationsItemHighlightReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemHighlightReplyType = "group" + DocAnnotationsList200ResponseAnnotationsItemLineReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemLineReplyType = "reply" + DocAnnotationsList200ResponseAnnotationsItemLineReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemLineReplyType = "group" ) -func NewDocAnnotationsList200ResponseAnnotationsItemHighlightReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemHighlightReplyType, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemLineReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemLineReplyType, error) { switch s { case "reply": - return DocAnnotationsList200ResponseAnnotationsItemHighlightReplyTypeReply, nil + return DocAnnotationsList200ResponseAnnotationsItemLineReplyTypeReply, nil case "group": - return DocAnnotationsList200ResponseAnnotationsItemHighlightReplyTypeGroup, nil + return DocAnnotationsList200ResponseAnnotationsItemLineReplyTypeGroup, nil } - var t DocAnnotationsList200ResponseAnnotationsItemHighlightReplyType + var t DocAnnotationsList200ResponseAnnotationsItemLineReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemHighlightReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemHighlightReplyType { +func (d DocAnnotationsList200ResponseAnnotationsItemLineReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemLineReplyType { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemInkFieldRef = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemInkFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemInkFieldIndex = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemInkFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemInkFieldNm = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemInkFieldFlags = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemInkFieldRect = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemInkFieldContents = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemInkFieldSubject = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemInkFieldAuthor = big.NewInt(1 << 9) - docAnnotationsList200ResponseAnnotationsItemInkFieldCreated = big.NewInt(1 << 10) - docAnnotationsList200ResponseAnnotationsItemInkFieldModified = big.NewInt(1 << 11) - docAnnotationsList200ResponseAnnotationsItemInkFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsList200ResponseAnnotationsItemInkFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsList200ResponseAnnotationsItemInkFieldReplyType = big.NewInt(1 << 14) - docAnnotationsList200ResponseAnnotationsItemInkFieldUserID = big.NewInt(1 << 15) - docAnnotationsList200ResponseAnnotationsItemInkFieldGroupID = big.NewInt(1 << 16) - docAnnotationsList200ResponseAnnotationsItemInkFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsList200ResponseAnnotationsItemInkFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsList200ResponseAnnotationsItemInkFieldActions = big.NewInt(1 << 19) - docAnnotationsList200ResponseAnnotationsItemInkFieldColor = big.NewInt(1 << 20) - docAnnotationsList200ResponseAnnotationsItemInkFieldOpacity = big.NewInt(1 << 21) - docAnnotationsList200ResponseAnnotationsItemInkFieldStrokeWidth = big.NewInt(1 << 22) - docAnnotationsList200ResponseAnnotationsItemInkFieldBorderStyle = big.NewInt(1 << 23) - docAnnotationsList200ResponseAnnotationsItemInkFieldDashArray = big.NewInt(1 << 24) - docAnnotationsList200ResponseAnnotationsItemInkFieldIntent = big.NewInt(1 << 25) - docAnnotationsList200ResponseAnnotationsItemInkFieldInkList = big.NewInt(1 << 26) - docAnnotationsList200ResponseAnnotationsItemInkFieldRotation = big.NewInt(1 << 27) + docAnnotationsList200ResponseAnnotationsItemLinkFieldRef = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLinkFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLinkFieldIndex = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemLinkFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemLinkFieldNm = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemLinkFieldFlags = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemLinkFieldRect = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemLinkFieldContents = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemLinkFieldSubject = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemLinkFieldAuthor = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemLinkFieldCreated = big.NewInt(1 << 10) + docAnnotationsList200ResponseAnnotationsItemLinkFieldModified = big.NewInt(1 << 11) + docAnnotationsList200ResponseAnnotationsItemLinkFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsList200ResponseAnnotationsItemLinkFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsList200ResponseAnnotationsItemLinkFieldReplyType = big.NewInt(1 << 14) + docAnnotationsList200ResponseAnnotationsItemLinkFieldUserID = big.NewInt(1 << 15) + docAnnotationsList200ResponseAnnotationsItemLinkFieldGroupID = big.NewInt(1 << 16) + docAnnotationsList200ResponseAnnotationsItemLinkFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsList200ResponseAnnotationsItemLinkFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsList200ResponseAnnotationsItemLinkFieldActions = big.NewInt(1 << 19) + docAnnotationsList200ResponseAnnotationsItemLinkFieldTarget = big.NewInt(1 << 20) ) -type DocAnnotationsList200ResponseAnnotationsItemInk struct { - Ref *DocAnnotationsList200ResponseAnnotationsItemInkRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsList200ResponseAnnotationsItemInkIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsList200ResponseAnnotationsItemInkFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsList200ResponseAnnotationsItemInkRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsList200ResponseAnnotationsItemInkBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsList200ResponseAnnotationsItemInkReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsList200ResponseAnnotationsItemInkColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` - BorderStyle DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle `json:"borderStyle" url:"borderStyle"` - DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` - Intent *DocAnnotationsList200ResponseAnnotationsItemInkIntent `json:"intent,omitempty" url:"intent,omitempty"` - InkList [][]*DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem `json:"inkList" url:"inkList"` - Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` +type DocAnnotationsList200ResponseAnnotationsItemLink struct { + Ref *DocAnnotationsList200ResponseAnnotationsItemLinkRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsList200ResponseAnnotationsItemLinkFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsList200ResponseAnnotationsItemLinkRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsList200ResponseAnnotationsItemLinkReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Target *DocAnnotationsList200ResponseAnnotationsItemLinkTarget `json:"target,omitempty" url:"target,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -17080,210 +24345,161 @@ type DocAnnotationsList200ResponseAnnotationsItemInk struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetRef() *DocAnnotationsList200ResponseAnnotationsItemInkRef { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetRef() *DocAnnotationsList200ResponseAnnotationsItemLinkRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemInkIdentityQuality { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetNm() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemInkFlags { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemLinkFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetRect() *DocAnnotationsList200ResponseAnnotationsItemInkRect { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetRect() *DocAnnotationsList200ResponseAnnotationsItemLinkRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetContents() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetSubject() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetAuthor() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetCreated() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetModified() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemInkBlendMode { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemInkReplyType { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemLinkReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetUserID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetGroupID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetCreatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetUpdatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetColor() *DocAnnotationsList200ResponseAnnotationsItemInkColor { - if d == nil { - return nil - } - return d.Color -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetOpacity() float64 { - if d == nil { - return 0 - } - return d.Opacity -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetStrokeWidth() float64 { - if d == nil { - return 0 - } - return d.StrokeWidth -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetBorderStyle() DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle { - if d == nil { - return "" - } - return d.BorderStyle -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetDashArray() []float64 { - if d == nil { - return nil - } - return d.DashArray -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetIntent() *DocAnnotationsList200ResponseAnnotationsItemInkIntent { - if d == nil { - return nil - } - return d.Intent -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetInkList() [][]*DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem { - if d == nil { - return nil - } - return d.InkList -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetRotation() *float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetTarget() *DocAnnotationsList200ResponseAnnotationsItemLinkTarget { if d == nil { return nil } - return d.Rotation + return d.Target } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -17292,427 +24508,166 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInk) require(field *big.Int // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemInkRef) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemLinkRef) { d.Ref = ref - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldRef) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemInkIdentityQuality) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldIdentityQuality) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetNm(nm *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemInkFlags) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) { d.Flags = flags - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldFlags) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemInkRect) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemLinkRect) { d.Rect = rect - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldRect) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetContents(contents *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldContents) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetSubject(subject *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldSubject) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetAuthor(author *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldAuthor) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetCreated(created *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldCreated) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetModified(modified *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldModified) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemInkBlendMode) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldBlendMode) -} - -// SetInReplyTo sets the InReplyTo field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) { - d.InReplyTo = inReplyTo - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldInReplyTo) -} - -// SetReplyType sets the ReplyType field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemInkReplyType) { - d.ReplyType = replyType - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldReplyType) -} - -// SetUserID sets the UserID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetUserID(userID *string) { - d.UserID = userID - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldUserID) -} - -// SetGroupID sets the GroupID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetGroupID(groupID *string) { - d.GroupID = groupID - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldGroupID) -} - -// SetCreatedBy sets the CreatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetCreatedBy(createdBy *string) { - d.CreatedBy = createdBy - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldCreatedBy) -} - -// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetUpdatedBy(updatedBy *string) { - d.UpdatedBy = updatedBy - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldUpdatedBy) -} - -// SetActions sets the Actions field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetActions(actions *PdfAnnotationActions) { - d.Actions = actions - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldActions) -} - -// SetColor sets the Color field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemInkColor) { - d.Color = color - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldColor) -} - -// SetOpacity sets the Opacity field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetOpacity(opacity float64) { - d.Opacity = opacity - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldOpacity) -} - -// SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetStrokeWidth(strokeWidth float64) { - d.StrokeWidth = strokeWidth - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldStrokeWidth) -} - -// SetBorderStyle sets the BorderStyle field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetBorderStyle(borderStyle DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle) { - d.BorderStyle = borderStyle - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldBorderStyle) -} - -// SetDashArray sets the DashArray field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetDashArray(dashArray []float64) { - d.DashArray = dashArray - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldDashArray) -} - -// SetIntent sets the Intent field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetIntent(intent *DocAnnotationsList200ResponseAnnotationsItemInkIntent) { - d.Intent = intent - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldIntent) -} - -// SetInkList sets the InkList field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetInkList(inkList [][]*DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) { - d.InkList = inkList - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldInkList) -} - -// SetRotation sets the Rotation field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) SetRotation(rotation *float64) { - d.Rotation = rotation - d.require(docAnnotationsList200ResponseAnnotationsItemInkFieldRotation) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsList200ResponseAnnotationsItemInk - var unmarshaler = struct { - embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` - }{ - embed: embed(*d), - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemInk(unmarshaler.embed) - d.Created = unmarshaler.Created.TimePtr() - d.Modified = unmarshaler.Modified.TimePtr() - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemInk - var marshaler = struct { - embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` - }{ - embed: embed(*d), - Created: internal.NewOptionalDateTime(d.Created), - Modified: internal.NewOptionalDateTime(d.Modified), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemInk) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -type DocAnnotationsList200ResponseAnnotationsItemInkBlendMode string - -const ( - DocAnnotationsList200ResponseAnnotationsItemInkBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "normal" - DocAnnotationsList200ResponseAnnotationsItemInkBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "multiply" - DocAnnotationsList200ResponseAnnotationsItemInkBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "screen" - DocAnnotationsList200ResponseAnnotationsItemInkBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "overlay" - DocAnnotationsList200ResponseAnnotationsItemInkBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "darken" - DocAnnotationsList200ResponseAnnotationsItemInkBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "lighten" - DocAnnotationsList200ResponseAnnotationsItemInkBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "color-dodge" - DocAnnotationsList200ResponseAnnotationsItemInkBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "color-burn" - DocAnnotationsList200ResponseAnnotationsItemInkBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "hard-light" - DocAnnotationsList200ResponseAnnotationsItemInkBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "soft-light" - DocAnnotationsList200ResponseAnnotationsItemInkBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "difference" - DocAnnotationsList200ResponseAnnotationsItemInkBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "exclusion" - DocAnnotationsList200ResponseAnnotationsItemInkBlendModeHue DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "hue" - DocAnnotationsList200ResponseAnnotationsItemInkBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "saturation" - DocAnnotationsList200ResponseAnnotationsItemInkBlendModeColor DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "color" - DocAnnotationsList200ResponseAnnotationsItemInkBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemInkBlendMode = "luminosity" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemInkBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemInkBlendMode, error) { - switch s { - case "normal": - return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeNormal, nil - case "multiply": - return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeMultiply, nil - case "screen": - return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeScreen, nil - case "overlay": - return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeOverlay, nil - case "darken": - return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeDarken, nil - case "lighten": - return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeLighten, nil - case "color-dodge": - return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeColorDodge, nil - case "color-burn": - return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeColorBurn, nil - case "hard-light": - return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeHardLight, nil - case "soft-light": - return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeSoftLight, nil - case "difference": - return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeDifference, nil - case "exclusion": - return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeExclusion, nil - case "hue": - return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeHue, nil - case "saturation": - return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeSaturation, nil - case "color": - return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeColor, nil - case "luminosity": - return DocAnnotationsList200ResponseAnnotationsItemInkBlendModeLuminosity, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemInkBlendMode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemInkBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemInkBlendMode { - return &d -} - -type DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle string - -const ( - DocAnnotationsList200ResponseAnnotationsItemInkBorderStyleSolid DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle = "solid" - DocAnnotationsList200ResponseAnnotationsItemInkBorderStyleDashed DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle = "dashed" - DocAnnotationsList200ResponseAnnotationsItemInkBorderStyleBeveled DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle = "beveled" - DocAnnotationsList200ResponseAnnotationsItemInkBorderStyleInset DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle = "inset" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemInkBorderStyleFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle, error) { - switch s { - case "solid": - return DocAnnotationsList200ResponseAnnotationsItemInkBorderStyleSolid, nil - case "dashed": - return DocAnnotationsList200ResponseAnnotationsItemInkBorderStyleDashed, nil - case "beveled": - return DocAnnotationsList200ResponseAnnotationsItemInkBorderStyleBeveled, nil - case "inset": - return DocAnnotationsList200ResponseAnnotationsItemInkBorderStyleInset, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle) Ptr() *DocAnnotationsList200ResponseAnnotationsItemInkBorderStyle { - return &d -} - -var ( - docAnnotationsList200ResponseAnnotationsItemInkColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemInkColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemInkColorFieldB = big.NewInt(1 << 2) -) - -type DocAnnotationsList200ResponseAnnotationsItemInkColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldBlendMode) } - -func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) GetR() int { - if d == nil { - return 0 - } - return d.R + +// SetInReplyTo sets the InReplyTo field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) { + d.InReplyTo = inReplyTo + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldInReplyTo) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) GetG() int { - if d == nil { - return 0 - } - return d.G +// SetReplyType sets the ReplyType field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemLinkReplyType) { + d.ReplyType = replyType + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldReplyType) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) GetB() int { - if d == nil { - return 0 - } - return d.B +// SetUserID sets the UserID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetUserID(userID *string) { + d.UserID = userID + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldUserID) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties +// SetGroupID sets the GroupID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetGroupID(groupID *string) { + d.GroupID = groupID + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldGroupID) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) +// SetCreatedBy sets the CreatedBy field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetCreatedBy(createdBy *string) { + d.CreatedBy = createdBy + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldCreatedBy) } -// SetR sets the R field and marks it as non-optional; +// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) SetR(r int) { - d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemInkColorFieldR) +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetUpdatedBy(updatedBy *string) { + d.UpdatedBy = updatedBy + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldUpdatedBy) } -// SetG sets the G field and marks it as non-optional; +// SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) SetG(g int) { - d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemInkColorFieldG) +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetActions(actions *PdfAnnotationActions) { + d.Actions = actions + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldActions) } -// SetB sets the B field and marks it as non-optional; +// SetTarget sets the Target field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) SetB(b int) { - d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemInkColorFieldB) +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetTarget(target *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) { + d.Target = target + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldTarget) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkColor - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsList200ResponseAnnotationsItemLink + var unmarshaler = struct { + embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` + }{ + embed: embed(*d), + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemInkColor(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLink(unmarshaler.embed) + d.Created = unmarshaler.Created.TimePtr() + d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -17722,18 +24677,22 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) UnmarshalJSON(dat return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemInkColor +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLink var marshaler = struct { embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` }{ - embed: embed(*d), + embed: embed(*d), + Created: internal.NewOptionalDateTime(d.Created), + Modified: internal.NewOptionalDateTime(d.Modified), } explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLink) String() string { if d == nil { return "" } @@ -17748,20 +24707,84 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkColor) String() string { return fmt.Sprintf("%#v", d) } +type DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode string + +const ( + DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "normal" + DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "multiply" + DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "screen" + DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "overlay" + DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "darken" + DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "lighten" + DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "color-dodge" + DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "color-burn" + DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "hard-light" + DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "soft-light" + DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "difference" + DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "exclusion" + DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeHue DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "hue" + DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "saturation" + DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeColor DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "color" + DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "luminosity" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemLinkBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode, error) { + switch s { + case "normal": + return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeNormal, nil + case "multiply": + return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeMultiply, nil + case "screen": + return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeScreen, nil + case "overlay": + return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeOverlay, nil + case "darken": + return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeDarken, nil + case "lighten": + return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeLighten, nil + case "color-dodge": + return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeColorDodge, nil + case "color-burn": + return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeColorBurn, nil + case "hard-light": + return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeHardLight, nil + case "soft-light": + return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeSoftLight, nil + case "difference": + return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeDifference, nil + case "exclusion": + return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeExclusion, nil + case "hue": + return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeHue, nil + case "saturation": + return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeSaturation, nil + case "color": + return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeColor, nil + case "luminosity": + return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeLuminosity, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode { + return &d +} + var ( - docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsList200ResponseAnnotationsItemInkFlags struct { +type DocAnnotationsList200ResponseAnnotationsItemLinkFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -17780,84 +24803,84 @@ type DocAnnotationsList200ResponseAnnotationsItemInkFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) GetInvisible() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) GetHidden() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) GetPrint() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) GetNoZoom() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) GetNoRotate() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) GetNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) GetReadOnly() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) GetLocked() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) GetToggleNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) GetLockedContents() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -17866,81 +24889,81 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) require(field *bi // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldInvisible) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldHidden) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) SetPrint(print bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldPrint) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldNoZoom) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldNoRotate) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) SetNoView(noView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldReadOnly) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) SetLocked(locked bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldLocked) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldToggleNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsList200ResponseAnnotationsItemInkFlagsFieldLockedContents) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldLockedContents) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemInkFlags(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLinkFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -17950,8 +24973,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) UnmarshalJSON(dat return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemInkFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLinkFlags var marshaler = struct { embed }{ @@ -17961,7 +24984,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) MarshalJSON() ([] return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) String() string { if d == nil { return "" } @@ -17976,66 +24999,66 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkFlags) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemInkIdentityQuality string +type DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQuality string const ( - DocAnnotationsList200ResponseAnnotationsItemInkIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemInkIdentityQuality = "durable" - DocAnnotationsList200ResponseAnnotationsItemInkIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemInkIdentityQuality = "weak" + DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQuality = "durable" + DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQuality = "weak" ) -func NewDocAnnotationsList200ResponseAnnotationsItemInkIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemInkIdentityQuality, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemLinkIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsList200ResponseAnnotationsItemInkIdentityQualityDurable, nil + return DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQualityDurable, nil case "weak": - return DocAnnotationsList200ResponseAnnotationsItemInkIdentityQualityWeak, nil + return DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQualityWeak, nil } - var t DocAnnotationsList200ResponseAnnotationsItemInkIdentityQuality + var t DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemInkIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemInkIdentityQuality { +func (d DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQuality { return &d } -type DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo struct { +type DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm - Index *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm + Index *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -18048,19 +25071,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) UnmarshalJSON } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -18070,7 +25093,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) UnmarshalJSON return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -18089,13 +25112,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) MarshalJSON() return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemInkInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) error +type DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemInkInReplyToVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -18108,7 +25131,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) Accept(visito return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -18149,15 +25172,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyTo) validate() er } var ( - docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -18166,35 +25189,35 @@ type DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -18203,32 +25226,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) require( // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -18238,8 +25261,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) Unmarsha return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex var marshaler = struct { embed }{ @@ -18249,7 +25272,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) MarshalJ return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) String() string { if d == nil { return "" } @@ -18265,12 +25288,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndex) String() } var ( - docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -18282,35 +25305,35 @@ type DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision struc rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -18319,32 +25342,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -18354,8 +25377,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision var marshaler = struct { embed }{ @@ -18365,7 +25388,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -18381,11 +25404,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToIndexRevision) } var ( - docAnnotationsList200ResponseAnnotationsItemInkInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemInkInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLinkInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLinkInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm struct { +type DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -18396,28 +25419,28 @@ type DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -18426,25 +25449,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) require(fie // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemInkInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemInkInReplyToNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkInReplyToNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -18454,8 +25477,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) UnmarshalJS return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm var marshaler = struct { embed }{ @@ -18465,7 +25488,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) MarshalJSON return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) String() string { if d == nil { return "" } @@ -18481,11 +25504,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToNm) String() st } var ( - docAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -18496,28 +25519,28 @@ type DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber struct rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -18526,25 +25549,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) r // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -18554,8 +25577,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) U return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber var marshaler = struct { embed }{ @@ -18565,7 +25588,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) M return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -18581,13 +25604,17 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInReplyToObjectNumber) S } var ( - docAnnotationsList200ResponseAnnotationsItemInkInkListItemItemFieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemInkInkListItemItemFieldY = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLinkRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLinkRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLinkRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemLinkRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` +type DocAnnotationsList200ResponseAnnotationsItemLinkRect struct { + Left float64 `json:"left" url:"left"` + Bottom float64 `json:"bottom" url:"bottom"` + Right float64 `json:"right" url:"right"` + Top float64 `json:"top" url:"top"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -18596,55 +25623,83 @@ type DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) GetX() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) GetLeft() float64 { if d == nil { return 0 } - return d.X + return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) GetY() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) GetBottom() float64 { if d == nil { return 0 } - return d.Y + return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) GetRight() float64 { + if d == nil { + return 0 + } + return d.Right +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) GetTop() float64 { + if d == nil { + return 0 + } + return d.Top +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetX sets the X field and marks it as non-optional; +// SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) SetX(x float64) { - d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemInkInkListItemItemFieldX) +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsList200ResponseAnnotationsItemLinkRectFieldLeft) } -// SetY sets the Y field and marks it as non-optional; +// SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) SetY(y float64) { - d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemInkInkListItemItemFieldY) +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsList200ResponseAnnotationsItemLinkRectFieldBottom) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem +// SetRight sets the Right field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsList200ResponseAnnotationsItemLinkRectFieldRight) +} + +// SetTop sets the Top field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsList200ResponseAnnotationsItemLinkRectFieldTop) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLinkRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -18654,8 +25709,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) Unmarsh return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLinkRect var marshaler = struct { embed }{ @@ -18665,7 +25720,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) Marshal return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) String() string { if d == nil { return "" } @@ -18680,37 +25735,496 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkInkListItemItem) String( return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemInkIntent string +type DocAnnotationsList200ResponseAnnotationsItemLinkRef struct { + Kind string + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemLinkRefNm + Index *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex -const ( - DocAnnotationsList200ResponseAnnotationsItemInkIntentInkHighlight DocAnnotationsList200ResponseAnnotationsItemInkIntent = "ink-highlight" + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRef) GetKind() string { + if d == nil { + return "" + } + return d.Kind +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber { + if d == nil { + return nil + } + return d.ObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemLinkRefNm { + if d == nil { + return nil + } + return d.Nm +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex { + if d == nil { + return nil + } + return d.Index +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRef) UnmarshalJSON(data []byte) error { + var unmarshaler struct { + Kind string `json:"kind"` + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { + return err + } + d.Kind = unmarshaler.Kind + if unmarshaler.Kind == "" { + return fmt.Errorf("%T did not include discriminant kind", d) + } + switch unmarshaler.Kind { + case "objectNumber": + value := new(DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.ObjectNumber = value + case "nm": + value := new(DocAnnotationsList200ResponseAnnotationsItemLinkRefNm) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Nm = value + case "index": + value := new(DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Index = value + } + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d DocAnnotationsList200ResponseAnnotationsItemLinkRef) MarshalJSON() ([]byte, error) { + if err := d.validate(); err != nil { + return nil, err + } + if d.ObjectNumber != nil { + return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") + } + if d.Nm != nil { + return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") + } + if d.Index != nil { + return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") + } + if len(d.rawJSON) > 0 { + return d.rawJSON, nil + } + return nil, fmt.Errorf("type %T does not define a non-empty union type", d) +} + +type DocAnnotationsList200ResponseAnnotationsItemLinkRefVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemLinkRefNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) error +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemLinkRefVisitor) error { + if d.ObjectNumber != nil { + return visitor.VisitObjectNumber(d.ObjectNumber) + } + if d.Nm != nil { + return visitor.VisitNm(d.Nm) + } + if d.Index != nil { + return visitor.VisitIndex(d.Index) + } + return fmt.Errorf("type %T does not define a non-empty union type", d) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRef) validate() error { + if d == nil { + return fmt.Errorf("type %T is nil", d) + } + var fields []string + if d.ObjectNumber != nil { + fields = append(fields, "objectNumber") + } + if d.Nm != nil { + fields = append(fields, "nm") + } + if d.Index != nil { + fields = append(fields, "index") + } + if len(fields) == 0 { + if d.Kind != "" { + if len(d.rawJSON) > 0 { + return nil + } + return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) + } + return fmt.Errorf("type %T is empty", d) + } + if len(fields) > 1 { + return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) + } + if d.Kind != "" { + field := fields[0] + if d.Kind != field { + return fmt.Errorf( + "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", + d, + d.Kind, + d, + ) + } + } + return nil +} + +var ( + docAnnotationsList200ResponseAnnotationsItemLinkRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLinkRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLinkRefIndexFieldRevision = big.NewInt(1 << 2) ) -func NewDocAnnotationsList200ResponseAnnotationsItemInkIntentFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemInkIntent, error) { - switch s { - case "ink-highlight": - return DocAnnotationsList200ResponseAnnotationsItemInkIntentInkHighlight, nil +type DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision `json:"revision" url:"revision"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) GetPageObjectNumber() int { + if d == nil { + return 0 } - var t DocAnnotationsList200ResponseAnnotationsItemInkIntent - return "", fmt.Errorf("%s is not a valid %T", s, t) + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) GetIndex() int { + if d == nil { + return 0 + } + return d.Index +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision { + if d == nil { + return nil + } + return d.Revision +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemLinkRefIndexFieldPageObjectNumber) +} + +// SetIndex sets the Index field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) SetIndex(index int) { + d.Index = index + d.require(docAnnotationsList200ResponseAnnotationsItemLinkRefIndexFieldIndex) +} + +// SetRevision sets the Revision field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) { + d.Revision = revision + d.require(docAnnotationsList200ResponseAnnotationsItemLinkRefIndexFieldRevision) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) +) + +type DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision struct { + DocSessionID string `json:"docSessionId" url:"docSessionId"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Generation int `json:"generation" url:"generation"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) GetDocSessionID() string { + if d == nil { + return "" + } + return d.DocSessionID +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) GetGeneration() int { + if d == nil { + return 0 + } + return d.Generation +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevisionFieldDocSessionID) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevisionFieldPageObjectNumber) +} + +// SetGeneration sets the Generation field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevisionFieldGeneration) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemLinkRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLinkRefNmFieldNm = big.NewInt(1 << 1) +) + +type DocAnnotationsList200ResponseAnnotationsItemLinkRefNm struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Nm string `json:"nm" url:"nm"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefNm) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefNm) GetNm() string { + if d == nil { + return "" + } + return d.Nm +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefNm) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefNm) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefNm) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemLinkRefNmFieldPageObjectNumber) +} + +// SetNm sets the Nm field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefNm) SetNm(nm string) { + d.Nm = nm + d.require(docAnnotationsList200ResponseAnnotationsItemLinkRefNmFieldNm) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkRefNm + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemLinkRefNm(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLinkRefNm + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) } -func (d DocAnnotationsList200ResponseAnnotationsItemInkIntent) Ptr() *DocAnnotationsList200ResponseAnnotationsItemInkIntent { - return &d +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefNm) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } var ( - docAnnotationsList200ResponseAnnotationsItemInkRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemInkRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemInkRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemInkRectFieldTop = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemInkRect struct { - Left float64 `json:"left" url:"left"` - Bottom float64 `json:"bottom" url:"bottom"` - Right float64 `json:"right" url:"right"` - Top float64 `json:"top" url:"top"` +type DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -18719,83 +26233,55 @@ type DocAnnotationsList200ResponseAnnotationsItemInkRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) GetLeft() float64 { - if d == nil { - return 0 - } - return d.Left -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) GetBottom() float64 { - if d == nil { - return 0 - } - return d.Bottom -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) GetRight() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } - return d.Right + return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) GetTop() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } - return d.Top + return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetLeft sets the Left field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemInkRectFieldLeft) -} - -// SetBottom sets the Bottom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemInkRectFieldBottom) -} - -// SetRight sets the Right field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemInkRectFieldRight) +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumberFieldPageObjectNumber) } -// SetTop sets the Top field and marks it as non-optional; +// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemInkRectFieldTop) +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { + d.AnnotObjectNumber = annotObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkRect +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemInkRect(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -18805,8 +26291,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) UnmarshalJSON(data return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemInkRect +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber var marshaler = struct { embed }{ @@ -18816,7 +26302,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) MarshalJSON() ([]b return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) String() string { if d == nil { return "" } @@ -18831,44 +26317,98 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkRect) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemInkRef struct { - Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemInkRefNm - Index *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex +type DocAnnotationsList200ResponseAnnotationsItemLinkReplyType string + +const ( + DocAnnotationsList200ResponseAnnotationsItemLinkReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemLinkReplyType = "reply" + DocAnnotationsList200ResponseAnnotationsItemLinkReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemLinkReplyType = "group" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemLinkReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemLinkReplyType, error) { + switch s { + case "reply": + return DocAnnotationsList200ResponseAnnotationsItemLinkReplyTypeReply, nil + case "group": + return DocAnnotationsList200ResponseAnnotationsItemLinkReplyTypeGroup, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemLinkReplyType + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemLinkReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemLinkReplyType { + return &d +} + +type DocAnnotationsList200ResponseAnnotationsItemLinkTarget struct { + Kind string + Goto *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto + URI *DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI + GotoRemote *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote + Launch *DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch + Javascript *DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript + Named *DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed + Unsupported *DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRef) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) GetGoto() *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto { if d == nil { return nil } - return d.ObjectNumber + return d.Goto } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemInkRefNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) GetURI() *DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI { if d == nil { return nil } - return d.Nm + return d.URI } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) GetGotoRemote() *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote { if d == nil { return nil } - return d.Index + return d.GotoRemote } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) GetLaunch() *DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch { + if d == nil { + return nil + } + return d.Launch +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) GetJavascript() *DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript { + if d == nil { + return nil + } + return d.Javascript +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) GetNamed() *DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed { + if d == nil { + return nil + } + return d.Named +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) GetUnsupported() *DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported { + if d == nil { + return nil + } + return d.Unsupported +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -18880,41 +26420,77 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkRef) UnmarshalJSON(data return fmt.Errorf("%T did not include discriminant kind", d) } switch unmarshaler.Kind { - case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) + case "goto": + value := new(DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto) if err := json.Unmarshal(data, &value); err != nil { return err } - d.ObjectNumber = value - case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemInkRefNm) + d.Goto = value + case "uri": + value := new(DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Nm = value - case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) + d.URI = value + case "goto-remote": + value := new(DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Index = value + d.GotoRemote = value + case "launch": + value := new(DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Launch = value + case "javascript": + value := new(DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Javascript = value + case "named": + value := new(DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Named = value + case "unsupported": + value := new(DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Unsupported = value } d.rawJSON = json.RawMessage(data) return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemInkRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemLinkTarget) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } - if d.ObjectNumber != nil { - return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") + if d.Goto != nil { + return internal.MarshalJSONWithExtraProperty(d.Goto, "kind", "goto") } - if d.Nm != nil { - return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") + if d.URI != nil { + return internal.MarshalJSONWithExtraProperty(d.URI, "kind", "uri") } - if d.Index != nil { - return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") + if d.GotoRemote != nil { + return internal.MarshalJSONWithExtraProperty(d.GotoRemote, "kind", "goto-remote") + } + if d.Launch != nil { + return internal.MarshalJSONWithExtraProperty(d.Launch, "kind", "launch") + } + if d.Javascript != nil { + return internal.MarshalJSONWithExtraProperty(d.Javascript, "kind", "javascript") + } + if d.Named != nil { + return internal.MarshalJSONWithExtraProperty(d.Named, "kind", "named") + } + if d.Unsupported != nil { + return internal.MarshalJSONWithExtraProperty(d.Unsupported, "kind", "unsupported") } if len(d.rawJSON) > 0 { return d.rawJSON, nil @@ -18922,38 +26498,66 @@ func (d DocAnnotationsList200ResponseAnnotationsItemInkRef) MarshalJSON() ([]byt return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemInkRefVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemInkRefNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) error +type DocAnnotationsList200ResponseAnnotationsItemLinkTargetVisitor interface { + VisitGoto(*DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto) error + VisitURI(*DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI) error + VisitGotoRemote(*DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote) error + VisitLaunch(*DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch) error + VisitJavascript(*DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript) error + VisitNamed(*DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed) error + VisitUnsupported(*DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemInkRefVisitor) error { - if d.ObjectNumber != nil { - return visitor.VisitObjectNumber(d.ObjectNumber) +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemLinkTargetVisitor) error { + if d.Goto != nil { + return visitor.VisitGoto(d.Goto) } - if d.Nm != nil { - return visitor.VisitNm(d.Nm) + if d.URI != nil { + return visitor.VisitURI(d.URI) } - if d.Index != nil { - return visitor.VisitIndex(d.Index) + if d.GotoRemote != nil { + return visitor.VisitGotoRemote(d.GotoRemote) + } + if d.Launch != nil { + return visitor.VisitLaunch(d.Launch) + } + if d.Javascript != nil { + return visitor.VisitJavascript(d.Javascript) + } + if d.Named != nil { + return visitor.VisitNamed(d.Named) + } + if d.Unsupported != nil { + return visitor.VisitUnsupported(d.Unsupported) } return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRef) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } var fields []string - if d.ObjectNumber != nil { - fields = append(fields, "objectNumber") + if d.Goto != nil { + fields = append(fields, "goto") } - if d.Nm != nil { - fields = append(fields, "nm") + if d.URI != nil { + fields = append(fields, "uri") } - if d.Index != nil { - fields = append(fields, "index") + if d.GotoRemote != nil { + fields = append(fields, "goto-remote") + } + if d.Launch != nil { + fields = append(fields, "launch") + } + if d.Javascript != nil { + fields = append(fields, "javascript") + } + if d.Named != nil { + fields = append(fields, "named") + } + if d.Unsupported != nil { + fields = append(fields, "unsupported") } if len(fields) == 0 { if d.Kind != "" { @@ -18982,15 +26586,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkRef) validate() error { } var ( - docAnnotationsList200ResponseAnnotationsItemInkRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemInkRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemInkRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemLinkTargetGotoFieldDestination = big.NewInt(1 << 0) ) -type DocAnnotationsList200ResponseAnnotationsItemInkRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto struct { + Destination *PdfDestination `json:"destination" url:"destination"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -18999,69 +26599,41 @@ type DocAnnotationsList200ResponseAnnotationsItemInkRefIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) GetIndex() int { - if d == nil { - return 0 - } - return d.Index -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto) GetDestination() *PdfDestination { if d == nil { return nil } - return d.Revision + return d.Destination } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemInkRefIndexFieldPageObjectNumber) -} - -// SetIndex sets the Index field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) SetIndex(index int) { - d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemInkRefIndexFieldIndex) -} - -// SetRevision sets the Revision field and marks it as non-optional; +// SetDestination sets the Destination field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) { - d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemInkRefIndexFieldRevision) +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto) SetDestination(destination *PdfDestination) { + d.Destination = destination + d.require(docAnnotationsList200ResponseAnnotationsItemLinkTargetGotoFieldDestination) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemInkRefIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -19071,8 +26643,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) UnmarshalJSON( return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemInkRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto var marshaler = struct { embed }{ @@ -19082,7 +26654,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto) String() string { if d == nil { return "" } @@ -19098,15 +26670,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndex) String() strin } var ( - docAnnotationsList200ResponseAnnotationsItemInkRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemInkRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemInkRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemoteFieldFile = big.NewInt(1 << 0) ) -type DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision struct { - DocSessionID string `json:"docSessionId" url:"docSessionId"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Generation int `json:"generation" url:"generation"` +type DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote struct { + File string `json:"file" url:"file"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -19115,69 +26683,106 @@ type DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote) GetFile() string { if d == nil { return "" } - return d.DocSessionID + return d.File } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote) GetExtraProperties() map[string]interface{} { if d == nil { - return 0 + return nil } - return d.PageObjectNumber + return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetFile sets the File field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote) SetFile(file string) { + d.File = file + d.require(docAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemoteFieldFile) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote) String() string { if d == nil { - return 0 + return "" } - return d.Generation + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) GetExtraProperties() map[string]interface{} { +type DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript struct { + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetDocSessionID sets the DocSessionID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) SetDocSessionID(docSessionID string) { - d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemInkRefIndexRevisionFieldDocSessionID) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemInkRefIndexRevisionFieldPageObjectNumber) -} - -// SetGeneration sets the Generation field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) SetGeneration(generation int) { - d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemInkRefIndexRevisionFieldGeneration) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -19187,8 +26792,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) Unmars return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript var marshaler = struct { embed }{ @@ -19198,7 +26803,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript) String() string { if d == nil { return "" } @@ -19214,13 +26819,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefIndexRevision) String } var ( - docAnnotationsList200ResponseAnnotationsItemInkRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemInkRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLinkTargetLaunchFieldPath = big.NewInt(1 << 0) ) -type DocAnnotationsList200ResponseAnnotationsItemInkRefNm struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Nm string `json:"nm" url:"nm"` +type DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch struct { + Path string `json:"path" url:"path"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -19229,55 +26832,41 @@ type DocAnnotationsList200ResponseAnnotationsItemInkRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefNm) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch) GetPath() string { if d == nil { return "" } - return d.Nm + return d.Path } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefNm) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemInkRefNmFieldPageObjectNumber) -} - -// SetNm sets the Nm field and marks it as non-optional; +// SetPath sets the Path field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefNm) SetNm(nm string) { - d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemInkRefNmFieldNm) +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch) SetPath(path string) { + d.Path = path + d.require(docAnnotationsList200ResponseAnnotationsItemLinkTargetLaunchFieldPath) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemInkRefNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -19287,8 +26876,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefNm) UnmarshalJSON(dat return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemInkRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch var marshaler = struct { embed }{ @@ -19298,7 +26887,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefNm) MarshalJSON() ([] return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch) String() string { if d == nil { return "" } @@ -19314,13 +26903,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefNm) String() string { } var ( - docAnnotationsList200ResponseAnnotationsItemInkRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemInkRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemLinkTargetNamedFieldName = big.NewInt(1 << 0) ) -type DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` +type DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed struct { + Name string `json:"name" url:"name"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -19329,55 +26916,106 @@ type DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed) GetName() string { if d == nil { - return 0 + return "" } - return d.AnnotObjectNumber + return d.Name } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemInkRefObjectNumberFieldPageObjectNumber) +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed) SetName(name string) { + d.Name = name + d.require(docAnnotationsList200ResponseAnnotationsItemLinkTargetNamedFieldName) } -// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { - d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemInkRefObjectNumberFieldAnnotObjectNumber) +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported struct { + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -19387,8 +27025,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) Unmarsh return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported var marshaler = struct { embed }{ @@ -19398,7 +27036,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) Marshal return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported) String() string { if d == nil { return "" } @@ -19413,90 +27051,152 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemInkRefObjectNumber) String( return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemInkReplyType string - -const ( - DocAnnotationsList200ResponseAnnotationsItemInkReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemInkReplyType = "reply" - DocAnnotationsList200ResponseAnnotationsItemInkReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemInkReplyType = "group" +var ( + docAnnotationsList200ResponseAnnotationsItemLinkTargetURIFieldURI = big.NewInt(1 << 0) ) -func NewDocAnnotationsList200ResponseAnnotationsItemInkReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemInkReplyType, error) { - switch s { - case "reply": - return DocAnnotationsList200ResponseAnnotationsItemInkReplyTypeReply, nil - case "group": - return DocAnnotationsList200ResponseAnnotationsItemInkReplyTypeGroup, nil +type DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI struct { + URI string `json:"uri" url:"uri"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI) GetURI() string { + if d == nil { + return "" } - var t DocAnnotationsList200ResponseAnnotationsItemInkReplyType - return "", fmt.Errorf("%s is not a valid %T", s, t) + return d.URI } -func (d DocAnnotationsList200ResponseAnnotationsItemInkReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemInkReplyType { - return &d +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetURI sets the URI field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI) SetURI(uri string) { + d.URI = uri + d.require(docAnnotationsList200ResponseAnnotationsItemLinkTargetURIFieldURI) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } var ( - docAnnotationsList200ResponseAnnotationsItemLineFieldRef = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLineFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemLineFieldIndex = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemLineFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemLineFieldNm = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemLineFieldFlags = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemLineFieldRect = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemLineFieldContents = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemLineFieldSubject = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemLineFieldAuthor = big.NewInt(1 << 9) - docAnnotationsList200ResponseAnnotationsItemLineFieldCreated = big.NewInt(1 << 10) - docAnnotationsList200ResponseAnnotationsItemLineFieldModified = big.NewInt(1 << 11) - docAnnotationsList200ResponseAnnotationsItemLineFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsList200ResponseAnnotationsItemLineFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsList200ResponseAnnotationsItemLineFieldReplyType = big.NewInt(1 << 14) - docAnnotationsList200ResponseAnnotationsItemLineFieldUserID = big.NewInt(1 << 15) - docAnnotationsList200ResponseAnnotationsItemLineFieldGroupID = big.NewInt(1 << 16) - docAnnotationsList200ResponseAnnotationsItemLineFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsList200ResponseAnnotationsItemLineFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsList200ResponseAnnotationsItemLineFieldActions = big.NewInt(1 << 19) - docAnnotationsList200ResponseAnnotationsItemLineFieldColor = big.NewInt(1 << 20) - docAnnotationsList200ResponseAnnotationsItemLineFieldOpacity = big.NewInt(1 << 21) - docAnnotationsList200ResponseAnnotationsItemLineFieldStrokeWidth = big.NewInt(1 << 22) - docAnnotationsList200ResponseAnnotationsItemLineFieldBorderStyle = big.NewInt(1 << 23) - docAnnotationsList200ResponseAnnotationsItemLineFieldDashArray = big.NewInt(1 << 24) - docAnnotationsList200ResponseAnnotationsItemLineFieldInteriorColor = big.NewInt(1 << 25) - docAnnotationsList200ResponseAnnotationsItemLineFieldLinePoints = big.NewInt(1 << 26) - docAnnotationsList200ResponseAnnotationsItemLineFieldLineEndings = big.NewInt(1 << 27) - docAnnotationsList200ResponseAnnotationsItemLineFieldRotation = big.NewInt(1 << 28) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldRef = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldIndex = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldNm = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldFlags = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldRect = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldContents = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldSubject = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldAuthor = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldCreated = big.NewInt(1 << 10) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldModified = big.NewInt(1 << 11) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldReplyType = big.NewInt(1 << 14) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldUserID = big.NewInt(1 << 15) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldGroupID = big.NewInt(1 << 16) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldActions = big.NewInt(1 << 19) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldColor = big.NewInt(1 << 20) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldOpacity = big.NewInt(1 << 21) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldStrokeWidth = big.NewInt(1 << 22) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldBorderStyle = big.NewInt(1 << 23) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldDashArray = big.NewInt(1 << 24) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldInteriorColor = big.NewInt(1 << 25) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldVertices = big.NewInt(1 << 26) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldRotation = big.NewInt(1 << 27) + docAnnotationsList200ResponseAnnotationsItemPolygonFieldCloudyIntensity = big.NewInt(1 << 28) ) -type DocAnnotationsList200ResponseAnnotationsItemLine struct { - Ref *DocAnnotationsList200ResponseAnnotationsItemLineRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsList200ResponseAnnotationsItemLineIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsList200ResponseAnnotationsItemLineFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsList200ResponseAnnotationsItemLineRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsList200ResponseAnnotationsItemLineBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsList200ResponseAnnotationsItemLineReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsList200ResponseAnnotationsItemLineColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` - BorderStyle DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle `json:"borderStyle" url:"borderStyle"` - DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` - InteriorColor *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` - LinePoints *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints `json:"linePoints" url:"linePoints"` - LineEndings *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings `json:"lineEndings" url:"lineEndings"` - Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` +type DocAnnotationsList200ResponseAnnotationsItemPolygon struct { + Ref *DocAnnotationsList200ResponseAnnotationsItemPolygonRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsList200ResponseAnnotationsItemPolygonRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsList200ResponseAnnotationsItemPolygonReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsList200ResponseAnnotationsItemPolygonColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` + BorderStyle DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle `json:"borderStyle" url:"borderStyle"` + DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` + InteriorColor *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` + Vertices []*DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem `json:"vertices" url:"vertices"` + Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` + CloudyIntensity *float64 `json:"cloudyIntensity,omitempty" url:"cloudyIntensity,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -19505,217 +27205,217 @@ type DocAnnotationsList200ResponseAnnotationsItemLine struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetRef() *DocAnnotationsList200ResponseAnnotationsItemLineRef { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetRef() *DocAnnotationsList200ResponseAnnotationsItemPolygonRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemLineIdentityQuality { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetNm() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemLineFlags { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetRect() *DocAnnotationsList200ResponseAnnotationsItemLineRect { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetRect() *DocAnnotationsList200ResponseAnnotationsItemPolygonRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetContents() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetSubject() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetAuthor() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetCreated() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetModified() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemLineBlendMode { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemLineReplyType { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemPolygonReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetUserID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetGroupID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetCreatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetUpdatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetColor() *DocAnnotationsList200ResponseAnnotationsItemLineColor { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetColor() *DocAnnotationsList200ResponseAnnotationsItemPolygonColor { if d == nil { return nil } return d.Color } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetOpacity() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetOpacity() float64 { if d == nil { return 0 } return d.Opacity } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetStrokeWidth() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetStrokeWidth() float64 { if d == nil { return 0 } return d.StrokeWidth } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetBorderStyle() DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetBorderStyle() DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle { if d == nil { return "" } return d.BorderStyle } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetDashArray() []float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetDashArray() []float64 { if d == nil { return nil } return d.DashArray } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetInteriorColor() *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetInteriorColor() *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor { if d == nil { return nil } return d.InteriorColor } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetLinePoints() *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetVertices() []*DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem { if d == nil { return nil } - return d.LinePoints + return d.Vertices } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetLineEndings() *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetRotation() *float64 { if d == nil { return nil } - return d.LineEndings + return d.Rotation } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetRotation() *float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetCloudyIntensity() *float64 { if d == nil { return nil } - return d.Rotation + return d.CloudyIntensity } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -19724,209 +27424,209 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLine) require(field *big.In // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemLineRef) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemPolygonRef) { d.Ref = ref - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldRef) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemLineIdentityQuality) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldIdentityQuality) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetNm(nm *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemLineFlags) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) { d.Flags = flags - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldFlags) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemLineRect) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) { d.Rect = rect - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldRect) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetContents(contents *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldContents) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetSubject(subject *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldSubject) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetAuthor(author *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldAuthor) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetCreated(created *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldCreated) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetModified(modified *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldModified) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemLineBlendMode) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldBlendMode) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldInReplyTo) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemLineReplyType) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemPolygonReplyType) { d.ReplyType = replyType - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldReplyType) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetUserID(userID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldUserID) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetGroupID(groupID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldGroupID) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldCreatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldUpdatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldActions) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldActions) } // SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemLineColor) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) { d.Color = color - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldColor) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldColor) } // SetOpacity sets the Opacity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetOpacity(opacity float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetOpacity(opacity float64) { d.Opacity = opacity - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldOpacity) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldOpacity) } // SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetStrokeWidth(strokeWidth float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetStrokeWidth(strokeWidth float64) { d.StrokeWidth = strokeWidth - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldStrokeWidth) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldStrokeWidth) } // SetBorderStyle sets the BorderStyle field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetBorderStyle(borderStyle DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetBorderStyle(borderStyle DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle) { d.BorderStyle = borderStyle - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldBorderStyle) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldBorderStyle) } // SetDashArray sets the DashArray field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetDashArray(dashArray []float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetDashArray(dashArray []float64) { d.DashArray = dashArray - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldDashArray) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldDashArray) } // SetInteriorColor sets the InteriorColor field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetInteriorColor(interiorColor *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetInteriorColor(interiorColor *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) { d.InteriorColor = interiorColor - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldInteriorColor) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldInteriorColor) } -// SetLinePoints sets the LinePoints field and marks it as non-optional; +// SetVertices sets the Vertices field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetLinePoints(linePoints *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints) { - d.LinePoints = linePoints - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldLinePoints) +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetVertices(vertices []*DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem) { + d.Vertices = vertices + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldVertices) } -// SetLineEndings sets the LineEndings field and marks it as non-optional; +// SetRotation sets the Rotation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetLineEndings(lineEndings *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings) { - d.LineEndings = lineEndings - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldLineEndings) +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetRotation(rotation *float64) { + d.Rotation = rotation + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldRotation) } -// SetRotation sets the Rotation field and marks it as non-optional; +// SetCloudyIntensity sets the CloudyIntensity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) SetRotation(rotation *float64) { - d.Rotation = rotation - d.require(docAnnotationsList200ResponseAnnotationsItemLineFieldRotation) +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetCloudyIntensity(cloudyIntensity *float64) { + d.CloudyIntensity = cloudyIntensity + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldCloudyIntensity) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsList200ResponseAnnotationsItemLine +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsList200ResponseAnnotationsItemPolygon var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -19937,7 +27637,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLine) UnmarshalJSON(data [] if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLine(unmarshaler.embed) + *d = DocAnnotationsList200ResponseAnnotationsItemPolygon(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -19949,8 +27649,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLine) UnmarshalJSON(data [] return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLine +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolygon var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -19964,7 +27664,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLine) MarshalJSON() ([]byte return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLine) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) String() string { if d == nil { return "" } @@ -19979,105 +27679,105 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLine) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemLineBlendMode string +type DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode string const ( - DocAnnotationsList200ResponseAnnotationsItemLineBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "normal" - DocAnnotationsList200ResponseAnnotationsItemLineBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "multiply" - DocAnnotationsList200ResponseAnnotationsItemLineBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "screen" - DocAnnotationsList200ResponseAnnotationsItemLineBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "overlay" - DocAnnotationsList200ResponseAnnotationsItemLineBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "darken" - DocAnnotationsList200ResponseAnnotationsItemLineBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "lighten" - DocAnnotationsList200ResponseAnnotationsItemLineBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "color-dodge" - DocAnnotationsList200ResponseAnnotationsItemLineBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "color-burn" - DocAnnotationsList200ResponseAnnotationsItemLineBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "hard-light" - DocAnnotationsList200ResponseAnnotationsItemLineBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "soft-light" - DocAnnotationsList200ResponseAnnotationsItemLineBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "difference" - DocAnnotationsList200ResponseAnnotationsItemLineBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "exclusion" - DocAnnotationsList200ResponseAnnotationsItemLineBlendModeHue DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "hue" - DocAnnotationsList200ResponseAnnotationsItemLineBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "saturation" - DocAnnotationsList200ResponseAnnotationsItemLineBlendModeColor DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "color" - DocAnnotationsList200ResponseAnnotationsItemLineBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemLineBlendMode = "luminosity" + DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "normal" + DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "multiply" + DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "screen" + DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "overlay" + DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "darken" + DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "lighten" + DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "color-dodge" + DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "color-burn" + DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "hard-light" + DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "soft-light" + DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "difference" + DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "exclusion" + DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeHue DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "hue" + DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "saturation" + DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeColor DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "color" + DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "luminosity" ) -func NewDocAnnotationsList200ResponseAnnotationsItemLineBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemLineBlendMode, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode, error) { switch s { case "normal": - return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeNormal, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeNormal, nil case "multiply": - return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeMultiply, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeMultiply, nil case "screen": - return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeScreen, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeScreen, nil case "overlay": - return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeOverlay, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeOverlay, nil case "darken": - return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeDarken, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeDarken, nil case "lighten": - return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeLighten, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeLighten, nil case "color-dodge": - return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeColorDodge, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeColorBurn, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeHardLight, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeHardLight, nil case "soft-light": - return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeSoftLight, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeSoftLight, nil case "difference": - return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeDifference, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeDifference, nil case "exclusion": - return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeExclusion, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeExclusion, nil case "hue": - return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeHue, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeHue, nil case "saturation": - return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeSaturation, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeSaturation, nil case "color": - return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeColor, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeColor, nil case "luminosity": - return DocAnnotationsList200ResponseAnnotationsItemLineBlendModeLuminosity, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeLuminosity, nil } - var t DocAnnotationsList200ResponseAnnotationsItemLineBlendMode + var t DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemLineBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemLineBlendMode { +func (d DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode { return &d } -type DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle string +type DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle string const ( - DocAnnotationsList200ResponseAnnotationsItemLineBorderStyleSolid DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle = "solid" - DocAnnotationsList200ResponseAnnotationsItemLineBorderStyleDashed DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle = "dashed" - DocAnnotationsList200ResponseAnnotationsItemLineBorderStyleBeveled DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle = "beveled" - DocAnnotationsList200ResponseAnnotationsItemLineBorderStyleInset DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle = "inset" + DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyleSolid DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle = "solid" + DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyleDashed DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle = "dashed" + DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyleBeveled DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle = "beveled" + DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyleInset DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle = "inset" ) -func NewDocAnnotationsList200ResponseAnnotationsItemLineBorderStyleFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyleFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle, error) { switch s { case "solid": - return DocAnnotationsList200ResponseAnnotationsItemLineBorderStyleSolid, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyleSolid, nil case "dashed": - return DocAnnotationsList200ResponseAnnotationsItemLineBorderStyleDashed, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyleDashed, nil case "beveled": - return DocAnnotationsList200ResponseAnnotationsItemLineBorderStyleBeveled, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyleBeveled, nil case "inset": - return DocAnnotationsList200ResponseAnnotationsItemLineBorderStyleInset, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyleInset, nil } - var t DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle + var t DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle) Ptr() *DocAnnotationsList200ResponseAnnotationsItemLineBorderStyle { +func (d DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle) Ptr() *DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemLineColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLineColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemLineColorFieldB = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemPolygonColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolygonColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolygonColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemLineColor struct { +type DocAnnotationsList200ResponseAnnotationsItemPolygonColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -20089,35 +27789,35 @@ type DocAnnotationsList200ResponseAnnotationsItemLineColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) GetR() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) GetG() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) GetB() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -20126,32 +27826,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) require(field *b // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) SetR(r int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) SetR(r int) { d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemLineColorFieldR) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) SetG(g int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) SetG(g int) { d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemLineColorFieldG) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) SetB(b int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) SetB(b int) { d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemLineColorFieldB) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonColorFieldB) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineColor +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLineColor(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolygonColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -20161,8 +27861,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) UnmarshalJSON(da return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLineColor +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolygonColor var marshaler = struct { embed }{ @@ -20172,7 +27872,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) MarshalJSON() ([ return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) String() string { if d == nil { return "" } @@ -20188,19 +27888,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineColor) String() string } var ( - docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsList200ResponseAnnotationsItemLineFlags struct { +type DocAnnotationsList200ResponseAnnotationsItemPolygonFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -20219,84 +27919,84 @@ type DocAnnotationsList200ResponseAnnotationsItemLineFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) GetInvisible() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) GetHidden() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) GetPrint() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) GetNoZoom() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) GetNoRotate() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) GetNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) GetReadOnly() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) GetLocked() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) GetToggleNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) GetLockedContents() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -20305,81 +28005,81 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) require(field *b // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldInvisible) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldHidden) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) SetPrint(print bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldPrint) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldNoZoom) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldNoRotate) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) SetNoView(noView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldReadOnly) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) SetLocked(locked bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldLocked) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldToggleNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsList200ResponseAnnotationsItemLineFlagsFieldLockedContents) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldLockedContents) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLineFlags(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolygonFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -20389,8 +28089,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) UnmarshalJSON(da return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLineFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolygonFlags var marshaler = struct { embed }{ @@ -20400,7 +28100,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) MarshalJSON() ([ return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) String() string { if d == nil { return "" } @@ -20415,66 +28115,66 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineFlags) String() string return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemLineIdentityQuality string +type DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQuality string const ( - DocAnnotationsList200ResponseAnnotationsItemLineIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemLineIdentityQuality = "durable" - DocAnnotationsList200ResponseAnnotationsItemLineIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemLineIdentityQuality = "weak" + DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQuality = "durable" + DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQuality = "weak" ) -func NewDocAnnotationsList200ResponseAnnotationsItemLineIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemLineIdentityQuality, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsList200ResponseAnnotationsItemLineIdentityQualityDurable, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQualityDurable, nil case "weak": - return DocAnnotationsList200ResponseAnnotationsItemLineIdentityQualityWeak, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQualityWeak, nil } - var t DocAnnotationsList200ResponseAnnotationsItemLineIdentityQuality + var t DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemLineIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemLineIdentityQuality { +func (d DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQuality { return &d } -type DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo struct { +type DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm - Index *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm + Index *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -20487,19 +28187,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) UnmarshalJSO } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -20509,7 +28209,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) UnmarshalJSO return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -20528,13 +28228,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) MarshalJSON() return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemLineInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) error +type DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemLineInReplyToVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -20547,7 +28247,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) Accept(visit return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -20588,15 +28288,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyTo) validate() e } var ( - docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -20605,35 +28305,35 @@ type DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -20642,32 +28342,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) require // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -20677,8 +28377,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) Unmarsh return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex var marshaler = struct { embed }{ @@ -20688,7 +28388,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) Marshal return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) String() string { if d == nil { return "" } @@ -20704,12 +28404,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndex) String( } var ( - docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -20721,35 +28421,35 @@ type DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision stru rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -20758,32 +28458,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -20793,8 +28493,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision var marshaler = struct { embed }{ @@ -20804,7 +28504,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -20820,11 +28520,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToIndexRevision) } var ( - docAnnotationsList200ResponseAnnotationsItemLineInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLineInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm struct { +type DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -20835,28 +28535,28 @@ type DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -20865,25 +28565,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) require(fi // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemLineInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemLineInReplyToNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -20893,8 +28593,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) UnmarshalJ return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm var marshaler = struct { embed }{ @@ -20904,7 +28604,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) MarshalJSO return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) String() string { if d == nil { return "" } @@ -20920,11 +28620,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToNm) String() s } var ( - docAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -20935,28 +28635,28 @@ type DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber struc rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -20965,25 +28665,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -20993,8 +28693,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber var marshaler = struct { embed }{ @@ -21004,7 +28704,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -21020,12 +28720,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineInReplyToObjectNumber) } var ( - docAnnotationsList200ResponseAnnotationsItemLineInteriorColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLineInteriorColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemLineInteriorColorFieldB = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemPolygonInteriorColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolygonInteriorColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolygonInteriorColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor struct { +type DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -21037,35 +28737,35 @@ type DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) GetR() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) GetG() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) GetB() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -21074,524 +28774,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) require( // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) SetR(r int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) SetR(r int) { d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemLineInteriorColorFieldR) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInteriorColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) SetG(g int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) SetG(g int) { d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemLineInteriorColorFieldG) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInteriorColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) SetB(b int) { - d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemLineInteriorColorFieldB) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineInteriorColor) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsList200ResponseAnnotationsItemLineLineEndingsFieldStart = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLineLineEndingsFieldEnd = big.NewInt(1 << 1) -) - -type DocAnnotationsList200ResponseAnnotationsItemLineLineEndings struct { - Start DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart `json:"start" url:"start"` - End DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd `json:"end" url:"end"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings) GetStart() DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart { - if d == nil { - return "" - } - return d.Start -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings) GetEnd() DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd { - if d == nil { - return "" - } - return d.End -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetStart sets the Start field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings) SetStart(start DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart) { - d.Start = start - d.require(docAnnotationsList200ResponseAnnotationsItemLineLineEndingsFieldStart) -} - -// SetEnd sets the End field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings) SetEnd(end DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd) { - d.End = end - d.require(docAnnotationsList200ResponseAnnotationsItemLineLineEndingsFieldEnd) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineLineEndings - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemLineLineEndings(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLineLineEndings - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLineEndings) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -type DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd string - -const ( - DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndNone DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd = "none" - DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndSquare DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd = "square" - DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndCircle DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd = "circle" - DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndDiamond DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd = "diamond" - DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndOpenArrow DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd = "open-arrow" - DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndClosedArrow DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd = "closed-arrow" - DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndButt DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd = "butt" - DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndROpenArrow DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd = "r-open-arrow" - DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndRClosedArrow DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd = "r-closed-arrow" - DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndSlash DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd = "slash" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd, error) { - switch s { - case "none": - return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndNone, nil - case "square": - return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndSquare, nil - case "circle": - return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndCircle, nil - case "diamond": - return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndDiamond, nil - case "open-arrow": - return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndOpenArrow, nil - case "closed-arrow": - return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndClosedArrow, nil - case "butt": - return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndButt, nil - case "r-open-arrow": - return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndROpenArrow, nil - case "r-closed-arrow": - return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndRClosedArrow, nil - case "slash": - return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEndSlash, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd) Ptr() *DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsEnd { - return &d -} - -type DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart string - -const ( - DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartNone DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart = "none" - DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartSquare DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart = "square" - DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartCircle DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart = "circle" - DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartDiamond DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart = "diamond" - DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartOpenArrow DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart = "open-arrow" - DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartClosedArrow DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart = "closed-arrow" - DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartButt DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart = "butt" - DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartROpenArrow DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart = "r-open-arrow" - DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartRClosedArrow DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart = "r-closed-arrow" - DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartSlash DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart = "slash" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart, error) { - switch s { - case "none": - return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartNone, nil - case "square": - return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartSquare, nil - case "circle": - return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartCircle, nil - case "diamond": - return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartDiamond, nil - case "open-arrow": - return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartOpenArrow, nil - case "closed-arrow": - return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartClosedArrow, nil - case "butt": - return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartButt, nil - case "r-open-arrow": - return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartROpenArrow, nil - case "r-closed-arrow": - return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartRClosedArrow, nil - case "slash": - return DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStartSlash, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart) Ptr() *DocAnnotationsList200ResponseAnnotationsItemLineLineEndingsStart { - return &d -} - -var ( - docAnnotationsList200ResponseAnnotationsItemLineLinePointsFieldStart = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLineLinePointsFieldEnd = big.NewInt(1 << 1) -) - -type DocAnnotationsList200ResponseAnnotationsItemLineLinePoints struct { - Start *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart `json:"start" url:"start"` - End *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd `json:"end" url:"end"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints) GetStart() *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart { - if d == nil { - return nil - } - return d.Start -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints) GetEnd() *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd { - if d == nil { - return nil - } - return d.End -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetStart sets the Start field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints) SetStart(start *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) { - d.Start = start - d.require(docAnnotationsList200ResponseAnnotationsItemLineLinePointsFieldStart) -} - -// SetEnd sets the End field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints) SetEnd(end *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd) { - d.End = end - d.require(docAnnotationsList200ResponseAnnotationsItemLineLinePointsFieldEnd) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineLinePoints - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemLineLinePoints(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLineLinePoints - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePoints) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsList200ResponseAnnotationsItemLineLinePointsEndFieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLineLinePointsEndFieldY = big.NewInt(1 << 1) -) - -type DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd) GetX() float64 { - if d == nil { - return 0 - } - return d.X -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd) GetY() float64 { - if d == nil { - return 0 - } - return d.Y -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetX sets the X field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd) SetX(x float64) { - d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemLineLinePointsEndFieldX) -} - -// SetY sets the Y field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd) SetY(y float64) { - d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemLineLinePointsEndFieldY) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsEnd) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsList200ResponseAnnotationsItemLineLinePointsStartFieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLineLinePointsStartFieldY = big.NewInt(1 << 1) -) - -type DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) GetX() float64 { - if d == nil { - return 0 - } - return d.X -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) GetY() float64 { - if d == nil { - return 0 - } - return d.Y -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetX sets the X field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) SetX(x float64) { - d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemLineLinePointsStartFieldX) -} - -// SetY sets the Y field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) SetY(y float64) { - d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemLineLinePointsStartFieldY) +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) SetB(b int) { + d.B = b + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInteriorColorFieldB) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -21601,8 +28809,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) Unmars return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor var marshaler = struct { embed }{ @@ -21612,7 +28820,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) String() string { if d == nil { return "" } @@ -21628,13 +28836,13 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineLinePointsStart) String } var ( - docAnnotationsList200ResponseAnnotationsItemLineRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLineRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemLineRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemLineRectFieldTop = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemPolygonRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolygonRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolygonRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemPolygonRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemLineRect struct { +type DocAnnotationsList200ResponseAnnotationsItemPolygonRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -21647,42 +28855,42 @@ type DocAnnotationsList200ResponseAnnotationsItemLineRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) GetLeft() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) GetBottom() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) GetRight() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) GetTop() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -21691,39 +28899,39 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) require(field *bi // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) SetLeft(left float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemLineRectFieldLeft) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) SetBottom(bottom float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemLineRectFieldBottom) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) SetRight(right float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemLineRectFieldRight) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) SetTop(top float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemLineRectFieldTop) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRectFieldTop) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineRect +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLineRect(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolygonRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -21733,8 +28941,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) UnmarshalJSON(dat return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLineRect +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolygonRect var marshaler = struct { embed }{ @@ -21744,7 +28952,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) MarshalJSON() ([] return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) String() string { if d == nil { return "" } @@ -21759,44 +28967,44 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRect) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemLineRef struct { +type DocAnnotationsList200ResponseAnnotationsItemPolygonRef struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemLineRefNm - Index *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm + Index *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRef) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemLineRefNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -21809,19 +29017,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRef) UnmarshalJSON(data } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemLineRefNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -21831,7 +29039,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRef) UnmarshalJSON(data return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemLineRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemPolygonRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -21850,13 +29058,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemLineRef) MarshalJSON() ([]by return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemLineRefVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemLineRefNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) error +type DocAnnotationsList200ResponseAnnotationsItemPolygonRefVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemLineRefVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemPolygonRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -21869,7 +29077,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRef) Accept(visitor Doc return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRef) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -21910,15 +29118,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRef) validate() error { } var ( - docAnnotationsList200ResponseAnnotationsItemLineRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLineRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemLineRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemLineRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -21927,35 +29135,35 @@ type DocAnnotationsList200ResponseAnnotationsItemLineRefIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -21964,32 +29172,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) require(field // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemLineRefIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemLineRefIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemLineRefIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLineRefIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -21999,8 +29207,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) UnmarshalJSON return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLineRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex var marshaler = struct { embed }{ @@ -22010,7 +29218,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) String() string { if d == nil { return "" } @@ -22026,12 +29234,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndex) String() stri } var ( - docAnnotationsList200ResponseAnnotationsItemLineRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLineRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemLineRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -22043,35 +29251,35 @@ type DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -22080,32 +29288,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) requi // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemLineRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemLineRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemLineRefIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -22115,8 +29323,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) Unmar return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision var marshaler = struct { embed }{ @@ -22126,7 +29334,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) String() string { if d == nil { return "" } @@ -22142,11 +29350,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefIndexRevision) Strin } var ( - docAnnotationsList200ResponseAnnotationsItemLineRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLineRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolygonRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolygonRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemLineRefNm struct { +type DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -22157,28 +29365,28 @@ type DocAnnotationsList200ResponseAnnotationsItemLineRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -22187,25 +29395,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefNm) require(field *b // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemLineRefNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemLineRefNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRefNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLineRefNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -22215,8 +29423,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefNm) UnmarshalJSON(da return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLineRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm var marshaler = struct { embed }{ @@ -22226,7 +29434,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefNm) MarshalJSON() ([ return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) String() string { if d == nil { return "" } @@ -22242,11 +29450,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefNm) String() string } var ( - docAnnotationsList200ResponseAnnotationsItemLineRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLineRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -22257,28 +29465,28 @@ type DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -22287,25 +29495,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) requir // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemLineRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemLineRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -22315,8 +29523,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) Unmars return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber var marshaler = struct { embed }{ @@ -22326,7 +29534,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) String() string { if d == nil { return "" } @@ -22341,74 +29549,36 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLineRefObjectNumber) String return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemLineReplyType string +type DocAnnotationsList200ResponseAnnotationsItemPolygonReplyType string const ( - DocAnnotationsList200ResponseAnnotationsItemLineReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemLineReplyType = "reply" - DocAnnotationsList200ResponseAnnotationsItemLineReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemLineReplyType = "group" + DocAnnotationsList200ResponseAnnotationsItemPolygonReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemPolygonReplyType = "reply" + DocAnnotationsList200ResponseAnnotationsItemPolygonReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemPolygonReplyType = "group" ) -func NewDocAnnotationsList200ResponseAnnotationsItemLineReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemLineReplyType, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemPolygonReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemPolygonReplyType, error) { switch s { case "reply": - return DocAnnotationsList200ResponseAnnotationsItemLineReplyTypeReply, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonReplyTypeReply, nil case "group": - return DocAnnotationsList200ResponseAnnotationsItemLineReplyTypeGroup, nil + return DocAnnotationsList200ResponseAnnotationsItemPolygonReplyTypeGroup, nil } - var t DocAnnotationsList200ResponseAnnotationsItemLineReplyType + var t DocAnnotationsList200ResponseAnnotationsItemPolygonReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemLineReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemLineReplyType { +func (d DocAnnotationsList200ResponseAnnotationsItemPolygonReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemPolygonReplyType { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemLinkFieldRef = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLinkFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemLinkFieldIndex = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemLinkFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemLinkFieldNm = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemLinkFieldFlags = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemLinkFieldRect = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemLinkFieldContents = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemLinkFieldSubject = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemLinkFieldAuthor = big.NewInt(1 << 9) - docAnnotationsList200ResponseAnnotationsItemLinkFieldCreated = big.NewInt(1 << 10) - docAnnotationsList200ResponseAnnotationsItemLinkFieldModified = big.NewInt(1 << 11) - docAnnotationsList200ResponseAnnotationsItemLinkFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsList200ResponseAnnotationsItemLinkFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsList200ResponseAnnotationsItemLinkFieldReplyType = big.NewInt(1 << 14) - docAnnotationsList200ResponseAnnotationsItemLinkFieldUserID = big.NewInt(1 << 15) - docAnnotationsList200ResponseAnnotationsItemLinkFieldGroupID = big.NewInt(1 << 16) - docAnnotationsList200ResponseAnnotationsItemLinkFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsList200ResponseAnnotationsItemLinkFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsList200ResponseAnnotationsItemLinkFieldActions = big.NewInt(1 << 19) - docAnnotationsList200ResponseAnnotationsItemLinkFieldTarget = big.NewInt(1 << 20) + docAnnotationsList200ResponseAnnotationsItemPolygonVerticesItemFieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolygonVerticesItemFieldY = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemLink struct { - Ref *DocAnnotationsList200ResponseAnnotationsItemLinkRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsList200ResponseAnnotationsItemLinkFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsList200ResponseAnnotationsItemLinkRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsList200ResponseAnnotationsItemLinkReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Target *DocAnnotationsList200ResponseAnnotationsItemLinkTarget `json:"target,omitempty" url:"target,omitempty"` +type DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -22417,161 +29587,371 @@ type DocAnnotationsList200ResponseAnnotationsItemLink struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetRef() *DocAnnotationsList200ResponseAnnotationsItemLinkRef { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem) GetX() float64 { + if d == nil { + return 0 + } + return d.X +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem) GetY() float64 { + if d == nil { + return 0 + } + return d.Y +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetX sets the X field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem) SetX(x float64) { + d.X = x + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonVerticesItemFieldX) +} + +// SetY sets the Y field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem) SetY(y float64) { + d.Y = y + d.require(docAnnotationsList200ResponseAnnotationsItemPolygonVerticesItemFieldY) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemPolylineFieldRef = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldIndex = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldNm = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldFlags = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldRect = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldContents = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldSubject = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldAuthor = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldCreated = big.NewInt(1 << 10) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldModified = big.NewInt(1 << 11) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldReplyType = big.NewInt(1 << 14) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldUserID = big.NewInt(1 << 15) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldGroupID = big.NewInt(1 << 16) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldActions = big.NewInt(1 << 19) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldColor = big.NewInt(1 << 20) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldOpacity = big.NewInt(1 << 21) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldStrokeWidth = big.NewInt(1 << 22) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldBorderStyle = big.NewInt(1 << 23) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldDashArray = big.NewInt(1 << 24) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldInteriorColor = big.NewInt(1 << 25) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldVertices = big.NewInt(1 << 26) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldRotation = big.NewInt(1 << 27) + docAnnotationsList200ResponseAnnotationsItemPolylineFieldLineEndings = big.NewInt(1 << 28) +) + +type DocAnnotationsList200ResponseAnnotationsItemPolyline struct { + Ref *DocAnnotationsList200ResponseAnnotationsItemPolylineRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsList200ResponseAnnotationsItemPolylineRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsList200ResponseAnnotationsItemPolylineReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsList200ResponseAnnotationsItemPolylineColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` + BorderStyle DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle `json:"borderStyle" url:"borderStyle"` + DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` + InteriorColor *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` + Vertices []*DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem `json:"vertices" url:"vertices"` + Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` + LineEndings *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings `json:"lineEndings" url:"lineEndings"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetRef() *DocAnnotationsList200ResponseAnnotationsItemPolylineRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQuality { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetNm() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemLinkFlags { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetRect() *DocAnnotationsList200ResponseAnnotationsItemLinkRect { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetRect() *DocAnnotationsList200ResponseAnnotationsItemPolylineRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetContents() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetSubject() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetAuthor() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetCreated() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetModified() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemLinkReplyType { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemPolylineReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetUserID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetGroupID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetCreatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetUpdatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetTarget() *DocAnnotationsList200ResponseAnnotationsItemLinkTarget { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetColor() *DocAnnotationsList200ResponseAnnotationsItemPolylineColor { if d == nil { return nil } - return d.Target + return d.Color } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetOpacity() float64 { + if d == nil { + return 0 + } + return d.Opacity +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetStrokeWidth() float64 { + if d == nil { + return 0 + } + return d.StrokeWidth +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetBorderStyle() DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle { + if d == nil { + return "" + } + return d.BorderStyle +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetDashArray() []float64 { + if d == nil { + return nil + } + return d.DashArray +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetInteriorColor() *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor { + if d == nil { + return nil + } + return d.InteriorColor +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetVertices() []*DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem { + if d == nil { + return nil + } + return d.Vertices +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetRotation() *float64 { + if d == nil { + return nil + } + return d.Rotation +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetLineEndings() *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings { + if d == nil { + return nil + } + return d.LineEndings +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -22580,153 +29960,209 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLink) require(field *big.In // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemLinkRef) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemPolylineRef) { d.Ref = ref - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldRef) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQuality) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldIdentityQuality) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetNm(nm *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) { d.Flags = flags - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldFlags) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemLinkRect) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) { d.Rect = rect - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldRect) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetContents(contents *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldContents) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetSubject(subject *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldSubject) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetAuthor(author *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldAuthor) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetCreated(created *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldCreated) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetModified(modified *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldModified) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldBlendMode) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldInReplyTo) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemLinkReplyType) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemPolylineReplyType) { d.ReplyType = replyType - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldReplyType) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetUserID(userID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldUserID) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetGroupID(groupID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldGroupID) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldCreatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldUpdatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldActions) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldActions) } -// SetTarget sets the Target field and marks it as non-optional; +// SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) SetTarget(target *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) { - d.Target = target - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFieldTarget) +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) { + d.Color = color + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldColor) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsList200ResponseAnnotationsItemLink +// SetOpacity sets the Opacity field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetOpacity(opacity float64) { + d.Opacity = opacity + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldOpacity) +} + +// SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetStrokeWidth(strokeWidth float64) { + d.StrokeWidth = strokeWidth + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldStrokeWidth) +} + +// SetBorderStyle sets the BorderStyle field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetBorderStyle(borderStyle DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle) { + d.BorderStyle = borderStyle + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldBorderStyle) +} + +// SetDashArray sets the DashArray field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetDashArray(dashArray []float64) { + d.DashArray = dashArray + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldDashArray) +} + +// SetInteriorColor sets the InteriorColor field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetInteriorColor(interiorColor *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) { + d.InteriorColor = interiorColor + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldInteriorColor) +} + +// SetVertices sets the Vertices field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetVertices(vertices []*DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) { + d.Vertices = vertices + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldVertices) +} + +// SetRotation sets the Rotation field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetRotation(rotation *float64) { + d.Rotation = rotation + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldRotation) +} + +// SetLineEndings sets the LineEndings field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetLineEndings(lineEndings *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) { + d.LineEndings = lineEndings + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldLineEndings) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsList200ResponseAnnotationsItemPolyline var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -22737,7 +30173,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLink) UnmarshalJSON(data [] if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLink(unmarshaler.embed) + *d = DocAnnotationsList200ResponseAnnotationsItemPolyline(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -22749,8 +30185,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLink) UnmarshalJSON(data [] return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLink +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolyline var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -22764,7 +30200,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLink) MarshalJSON() ([]byte return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLink) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) String() string { if d == nil { return "" } @@ -22779,84 +30215,228 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLink) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode string +type DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode string const ( - DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "normal" - DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "multiply" - DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "screen" - DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "overlay" - DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "darken" - DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "lighten" - DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "color-dodge" - DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "color-burn" - DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "hard-light" - DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "soft-light" - DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "difference" - DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "exclusion" - DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeHue DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "hue" - DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "saturation" - DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeColor DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "color" - DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode = "luminosity" + DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "normal" + DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "multiply" + DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "screen" + DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "overlay" + DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "darken" + DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "lighten" + DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "color-dodge" + DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "color-burn" + DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "hard-light" + DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "soft-light" + DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "difference" + DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "exclusion" + DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeHue DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "hue" + DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "saturation" + DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeColor DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "color" + DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "luminosity" ) -func NewDocAnnotationsList200ResponseAnnotationsItemLinkBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode, error) { switch s { case "normal": - return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeNormal, nil + return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeNormal, nil case "multiply": - return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeMultiply, nil + return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeMultiply, nil case "screen": - return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeScreen, nil + return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeScreen, nil case "overlay": - return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeOverlay, nil + return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeOverlay, nil case "darken": - return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeDarken, nil + return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeDarken, nil case "lighten": - return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeLighten, nil + return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeLighten, nil case "color-dodge": - return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeColorDodge, nil + return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeColorBurn, nil + return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeHardLight, nil + return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeHardLight, nil case "soft-light": - return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeSoftLight, nil + return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeSoftLight, nil case "difference": - return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeDifference, nil + return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeDifference, nil case "exclusion": - return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeExclusion, nil + return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeExclusion, nil case "hue": - return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeHue, nil + return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeHue, nil case "saturation": - return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeSaturation, nil + return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeSaturation, nil case "color": - return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeColor, nil + return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeColor, nil case "luminosity": - return DocAnnotationsList200ResponseAnnotationsItemLinkBlendModeLuminosity, nil + return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeLuminosity, nil } - var t DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode + var t DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemLinkBlendMode { +func (d DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode { + return &d +} + +type DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle string + +const ( + DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyleSolid DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle = "solid" + DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyleDashed DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle = "dashed" + DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyleBeveled DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle = "beveled" + DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyleInset DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle = "inset" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyleFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle, error) { + switch s { + case "solid": + return DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyleSolid, nil + case "dashed": + return DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyleDashed, nil + case "beveled": + return DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyleBeveled, nil + case "inset": + return DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyleInset, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle) Ptr() *DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemPolylineColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolylineColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolylineColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemLinkFlags struct { +type DocAnnotationsList200ResponseAnnotationsItemPolylineColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) GetR() int { + if d == nil { + return 0 + } + return d.R +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) GetG() int { + if d == nil { + return 0 + } + return d.G +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) GetB() int { + if d == nil { + return 0 + } + return d.B +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetR sets the R field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) SetR(r int) { + d.R = r + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineColorFieldR) +} + +// SetG sets the G field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) SetG(g int) { + d.G = g + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineColorFieldG) +} + +// SetB sets the B field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) SetB(b int) { + d.B = b + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineColorFieldB) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineColor + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemPolylineColor(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolylineColor + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldLockedContents = big.NewInt(1 << 9) +) + +type DocAnnotationsList200ResponseAnnotationsItemPolylineFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -22875,84 +30455,84 @@ type DocAnnotationsList200ResponseAnnotationsItemLinkFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) GetInvisible() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) GetHidden() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) GetPrint() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) GetNoZoom() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) GetNoRotate() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) GetNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) GetReadOnly() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) GetLocked() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) GetToggleNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) GetLockedContents() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -22961,81 +30541,81 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) require(field *b // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldInvisible) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldHidden) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) SetPrint(print bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldPrint) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldNoZoom) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldNoRotate) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) SetNoView(noView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldReadOnly) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) SetLocked(locked bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldLocked) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldToggleNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsList200ResponseAnnotationsItemLinkFlagsFieldLockedContents) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldLockedContents) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLinkFlags(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolylineFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -23045,8 +30625,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) UnmarshalJSON(da return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLinkFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolylineFlags var marshaler = struct { embed }{ @@ -23056,7 +30636,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) MarshalJSON() ([ return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) String() string { if d == nil { return "" } @@ -23071,66 +30651,66 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkFlags) String() string return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQuality string +type DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQuality string const ( - DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQuality = "durable" - DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQuality = "weak" + DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQuality = "durable" + DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQuality = "weak" ) -func NewDocAnnotationsList200ResponseAnnotationsItemLinkIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQuality, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQualityDurable, nil + return DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQualityDurable, nil case "weak": - return DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQualityWeak, nil + return DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQualityWeak, nil } - var t DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQuality + var t DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemLinkIdentityQuality { +func (d DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQuality { return &d } -type DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo struct { +type DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm - Index *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm + Index *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -23143,19 +30723,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) UnmarshalJSO } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -23165,7 +30745,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) UnmarshalJSO return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -23184,13 +30764,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) MarshalJSON() return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) error +type DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -23203,7 +30783,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) Accept(visit return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -23244,15 +30824,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyTo) validate() e } var ( - docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -23261,35 +30841,35 @@ type DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -23298,32 +30878,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) require // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -23333,8 +30913,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) Unmarsh return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex var marshaler = struct { embed }{ @@ -23344,7 +30924,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) Marshal return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) String() string { if d == nil { return "" } @@ -23360,12 +30940,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndex) String( } var ( - docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -23377,35 +30957,35 @@ type DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision stru rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -23414,32 +30994,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -23449,8 +31029,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision var marshaler = struct { embed }{ @@ -23460,7 +31040,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -23476,11 +31056,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToIndexRevision) } var ( - docAnnotationsList200ResponseAnnotationsItemLinkInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLinkInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm struct { +type DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -23491,28 +31071,28 @@ type DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -23521,25 +31101,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) require(fi // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemLinkInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemLinkInReplyToNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -23549,8 +31129,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) UnmarshalJ return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm var marshaler = struct { embed }{ @@ -23560,7 +31140,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) MarshalJSO return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) String() string { if d == nil { return "" } @@ -23576,11 +31156,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToNm) String() s } var ( - docAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -23591,28 +31171,28 @@ type DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber struc rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -23621,25 +31201,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -23649,8 +31229,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber var marshaler = struct { embed }{ @@ -23660,7 +31240,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -23676,17 +31256,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkInReplyToObjectNumber) } var ( - docAnnotationsList200ResponseAnnotationsItemLinkRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLinkRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemLinkRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemLinkRectFieldTop = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemPolylineInteriorColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolylineInteriorColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolylineInteriorColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemLinkRect struct { - Left float64 `json:"left" url:"left"` - Bottom float64 `json:"bottom" url:"bottom"` - Right float64 `json:"right" url:"right"` - Top float64 `json:"top" url:"top"` +type DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -23695,83 +31273,69 @@ type DocAnnotationsList200ResponseAnnotationsItemLinkRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) GetLeft() float64 { - if d == nil { - return 0 - } - return d.Left -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) GetBottom() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) GetR() int { if d == nil { return 0 } - return d.Bottom + return d.R } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) GetRight() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) GetG() int { if d == nil { return 0 } - return d.Right + return d.G } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) GetTop() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) GetB() int { if d == nil { return 0 } - return d.Top + return d.B } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetLeft sets the Left field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemLinkRectFieldLeft) -} - -// SetBottom sets the Bottom field and marks it as non-optional; +// SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemLinkRectFieldBottom) +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) SetR(r int) { + d.R = r + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInteriorColorFieldR) } -// SetRight sets the Right field and marks it as non-optional; +// SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemLinkRectFieldRight) +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) SetG(g int) { + d.G = g + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInteriorColorFieldG) } -// SetTop sets the Top field and marks it as non-optional; +// SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemLinkRectFieldTop) +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) SetB(b int) { + d.B = b + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInteriorColorFieldB) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkRect +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLinkRect(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -23781,8 +31345,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) UnmarshalJSON(dat return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLinkRect +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor var marshaler = struct { embed }{ @@ -23792,7 +31356,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) MarshalJSON() ([] return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) String() string { if d == nil { return "" } @@ -23807,166 +31371,14 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRect) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemLinkRef struct { - Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemLinkRefNm - Index *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex - - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRef) GetKind() string { - if d == nil { - return "" - } - return d.Kind -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber { - if d == nil { - return nil - } - return d.ObjectNumber -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemLinkRefNm { - if d == nil { - return nil - } - return d.Nm -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex { - if d == nil { - return nil - } - return d.Index -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRef) UnmarshalJSON(data []byte) error { - var unmarshaler struct { - Kind string `json:"kind"` - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { - return err - } - d.Kind = unmarshaler.Kind - if unmarshaler.Kind == "" { - return fmt.Errorf("%T did not include discriminant kind", d) - } - switch unmarshaler.Kind { - case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.ObjectNumber = value - case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemLinkRefNm) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Nm = value - case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Index = value - } - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d DocAnnotationsList200ResponseAnnotationsItemLinkRef) MarshalJSON() ([]byte, error) { - if err := d.validate(); err != nil { - return nil, err - } - if d.ObjectNumber != nil { - return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") - } - if d.Nm != nil { - return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") - } - if d.Index != nil { - return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") - } - if len(d.rawJSON) > 0 { - return d.rawJSON, nil - } - return nil, fmt.Errorf("type %T does not define a non-empty union type", d) -} - -type DocAnnotationsList200ResponseAnnotationsItemLinkRefVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemLinkRefNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) error -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemLinkRefVisitor) error { - if d.ObjectNumber != nil { - return visitor.VisitObjectNumber(d.ObjectNumber) - } - if d.Nm != nil { - return visitor.VisitNm(d.Nm) - } - if d.Index != nil { - return visitor.VisitIndex(d.Index) - } - return fmt.Errorf("type %T does not define a non-empty union type", d) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRef) validate() error { - if d == nil { - return fmt.Errorf("type %T is nil", d) - } - var fields []string - if d.ObjectNumber != nil { - fields = append(fields, "objectNumber") - } - if d.Nm != nil { - fields = append(fields, "nm") - } - if d.Index != nil { - fields = append(fields, "index") - } - if len(fields) == 0 { - if d.Kind != "" { - if len(d.rawJSON) > 0 { - return nil - } - return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) - } - return fmt.Errorf("type %T is empty", d) - } - if len(fields) > 1 { - return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) - } - if d.Kind != "" { - field := fields[0] - if d.Kind != field { - return fmt.Errorf( - "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", - d, - d.Kind, - d, - ) - } - } - return nil -} - var ( - docAnnotationsList200ResponseAnnotationsItemLinkRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLinkRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemLinkRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsFieldStart = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsFieldEnd = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings struct { + Start DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart `json:"start" url:"start"` + End DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd `json:"end" url:"end"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -23975,69 +31387,55 @@ type DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) GetStart() DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart { if d == nil { - return 0 + return "" } - return d.Index + return d.Start } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) GetEnd() DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd { if d == nil { - return nil + return "" } - return d.Revision + return d.End } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemLinkRefIndexFieldPageObjectNumber) -} - -// SetIndex sets the Index field and marks it as non-optional; +// SetStart sets the Start field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) SetIndex(index int) { - d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemLinkRefIndexFieldIndex) +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) SetStart(start DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart) { + d.Start = start + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsFieldStart) } -// SetRevision sets the Revision field and marks it as non-optional; +// SetEnd sets the End field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) { - d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemLinkRefIndexFieldRevision) +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) SetEnd(end DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd) { + d.End = end + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsFieldEnd) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -24047,8 +31445,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) UnmarshalJSON return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings var marshaler = struct { embed }{ @@ -24058,7 +31456,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) String() string { if d == nil { return "" } @@ -24073,130 +31471,110 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndex) String() stri return fmt.Sprintf("%#v", d) } -var ( - docAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) -) - -type DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision struct { - DocSessionID string `json:"docSessionId" url:"docSessionId"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Generation int `json:"generation" url:"generation"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) GetDocSessionID() string { - if d == nil { - return "" - } - return d.DocSessionID -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) GetGeneration() int { - if d == nil { - return 0 - } - return d.Generation -} +type DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd string -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} +const ( + DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndNone DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd = "none" + DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndSquare DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd = "square" + DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndCircle DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd = "circle" + DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndDiamond DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd = "diamond" + DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndOpenArrow DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd = "open-arrow" + DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndClosedArrow DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd = "closed-arrow" + DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndButt DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd = "butt" + DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndROpenArrow DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd = "r-open-arrow" + DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndRClosedArrow DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd = "r-closed-arrow" + DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndSlash DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd = "slash" +) -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) +func NewDocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd, error) { + switch s { + case "none": + return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndNone, nil + case "square": + return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndSquare, nil + case "circle": + return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndCircle, nil + case "diamond": + return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndDiamond, nil + case "open-arrow": + return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndOpenArrow, nil + case "closed-arrow": + return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndClosedArrow, nil + case "butt": + return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndButt, nil + case "r-open-arrow": + return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndROpenArrow, nil + case "r-closed-arrow": + return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndRClosedArrow, nil + case "slash": + return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndSlash, nil } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetDocSessionID sets the DocSessionID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) SetDocSessionID(docSessionID string) { - d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevisionFieldDocSessionID) + var t DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd + return "", fmt.Errorf("%s is not a valid %T", s, t) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevisionFieldPageObjectNumber) +func (d DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd) Ptr() *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd { + return &d } -// SetGeneration sets the Generation field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) SetGeneration(generation int) { - d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevisionFieldGeneration) -} +type DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart string -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} +const ( + DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartNone DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart = "none" + DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartSquare DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart = "square" + DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartCircle DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart = "circle" + DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartDiamond DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart = "diamond" + DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartOpenArrow DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart = "open-arrow" + DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartClosedArrow DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart = "closed-arrow" + DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartButt DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart = "butt" + DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartROpenArrow DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart = "r-open-arrow" + DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartRClosedArrow DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart = "r-closed-arrow" + DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartSlash DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart = "slash" +) -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision - var marshaler = struct { - embed - }{ - embed: embed(*d), +func NewDocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart, error) { + switch s { + case "none": + return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartNone, nil + case "square": + return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartSquare, nil + case "circle": + return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartCircle, nil + case "diamond": + return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartDiamond, nil + case "open-arrow": + return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartOpenArrow, nil + case "closed-arrow": + return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartClosedArrow, nil + case "butt": + return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartButt, nil + case "r-open-arrow": + return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartROpenArrow, nil + case "r-closed-arrow": + return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartRClosedArrow, nil + case "slash": + return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartSlash, nil } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + var t DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart + return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefIndexRevision) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) +func (d DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart) Ptr() *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart { + return &d } var ( - docAnnotationsList200ResponseAnnotationsItemLinkRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLinkRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolylineRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolylineRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolylineRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemPolylineRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemLinkRefNm struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Nm string `json:"nm" url:"nm"` +type DocAnnotationsList200ResponseAnnotationsItemPolylineRect struct { + Left float64 `json:"left" url:"left"` + Bottom float64 `json:"bottom" url:"bottom"` + Right float64 `json:"right" url:"right"` + Top float64 `json:"top" url:"top"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -24205,155 +31583,83 @@ type DocAnnotationsList200ResponseAnnotationsItemLinkRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) GetLeft() float64 { if d == nil { return 0 } - return d.PageObjectNumber -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefNm) GetNm() string { - if d == nil { - return "" - } - return d.Nm -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefNm) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefNm) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefNm) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemLinkRefNmFieldPageObjectNumber) -} - -// SetNm sets the Nm field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefNm) SetNm(nm string) { - d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemLinkRefNmFieldNm) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkRefNm - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemLinkRefNm(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLinkRefNm - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) GetBottom() float64 { if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value + return 0 } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) -) - -type DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage + return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) GetRight() float64 { if d == nil { return 0 } - return d.PageObjectNumber + return d.Right } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) GetTop() float64 { if d == nil { return 0 } - return d.AnnotObjectNumber + return d.Top } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumberFieldPageObjectNumber) +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRectFieldLeft) } -// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { - d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumberFieldAnnotObjectNumber) +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRectFieldBottom) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber +// SetRight sets the Right field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRectFieldRight) +} + +// SetTop sets the Top field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRectFieldTop) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolylineRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -24363,8 +31669,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) Unmars return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolylineRect var marshaler = struct { embed }{ @@ -24374,7 +31680,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) String() string { if d == nil { return "" } @@ -24389,98 +31695,44 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkRefObjectNumber) String return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemLinkReplyType string - -const ( - DocAnnotationsList200ResponseAnnotationsItemLinkReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemLinkReplyType = "reply" - DocAnnotationsList200ResponseAnnotationsItemLinkReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemLinkReplyType = "group" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemLinkReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemLinkReplyType, error) { - switch s { - case "reply": - return DocAnnotationsList200ResponseAnnotationsItemLinkReplyTypeReply, nil - case "group": - return DocAnnotationsList200ResponseAnnotationsItemLinkReplyTypeGroup, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemLinkReplyType - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemLinkReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemLinkReplyType { - return &d -} - -type DocAnnotationsList200ResponseAnnotationsItemLinkTarget struct { - Kind string - Goto *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto - URI *DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI - GotoRemote *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote - Launch *DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch - Javascript *DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript - Named *DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed - Unsupported *DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported +type DocAnnotationsList200ResponseAnnotationsItemPolylineRef struct { + Kind string + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm + Index *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) GetGoto() *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto { - if d == nil { - return nil - } - return d.Goto -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) GetURI() *DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI { - if d == nil { - return nil - } - return d.URI -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) GetGotoRemote() *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote { - if d == nil { - return nil - } - return d.GotoRemote -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) GetLaunch() *DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch { - if d == nil { - return nil - } - return d.Launch -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) GetJavascript() *DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber { if d == nil { return nil } - return d.Javascript + return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) GetNamed() *DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm { if d == nil { return nil } - return d.Named + return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) GetUnsupported() *DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex { if d == nil { return nil } - return d.Unsupported + return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -24492,77 +31744,41 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) UnmarshalJSON(d return fmt.Errorf("%T did not include discriminant kind", d) } switch unmarshaler.Kind { - case "goto": - value := new(DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Goto = value - case "uri": - value := new(DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.URI = value - case "goto-remote": - value := new(DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.GotoRemote = value - case "launch": - value := new(DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Launch = value - case "javascript": - value := new(DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript) + case "objectNumber": + value := new(DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Javascript = value - case "named": - value := new(DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed) + d.ObjectNumber = value + case "nm": + value := new(DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Named = value - case "unsupported": - value := new(DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported) + d.Nm = value + case "index": + value := new(DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Unsupported = value + d.Index = value } d.rawJSON = json.RawMessage(data) return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemLinkTarget) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemPolylineRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { - return nil, err - } - if d.Goto != nil { - return internal.MarshalJSONWithExtraProperty(d.Goto, "kind", "goto") - } - if d.URI != nil { - return internal.MarshalJSONWithExtraProperty(d.URI, "kind", "uri") - } - if d.GotoRemote != nil { - return internal.MarshalJSONWithExtraProperty(d.GotoRemote, "kind", "goto-remote") - } - if d.Launch != nil { - return internal.MarshalJSONWithExtraProperty(d.Launch, "kind", "launch") + return nil, err } - if d.Javascript != nil { - return internal.MarshalJSONWithExtraProperty(d.Javascript, "kind", "javascript") + if d.ObjectNumber != nil { + return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") } - if d.Named != nil { - return internal.MarshalJSONWithExtraProperty(d.Named, "kind", "named") + if d.Nm != nil { + return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") } - if d.Unsupported != nil { - return internal.MarshalJSONWithExtraProperty(d.Unsupported, "kind", "unsupported") + if d.Index != nil { + return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") } if len(d.rawJSON) > 0 { return d.rawJSON, nil @@ -24570,66 +31786,38 @@ func (d DocAnnotationsList200ResponseAnnotationsItemLinkTarget) MarshalJSON() ([ return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemLinkTargetVisitor interface { - VisitGoto(*DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto) error - VisitURI(*DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI) error - VisitGotoRemote(*DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote) error - VisitLaunch(*DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch) error - VisitJavascript(*DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript) error - VisitNamed(*DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed) error - VisitUnsupported(*DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported) error +type DocAnnotationsList200ResponseAnnotationsItemPolylineRefVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemLinkTargetVisitor) error { - if d.Goto != nil { - return visitor.VisitGoto(d.Goto) - } - if d.URI != nil { - return visitor.VisitURI(d.URI) - } - if d.GotoRemote != nil { - return visitor.VisitGotoRemote(d.GotoRemote) - } - if d.Launch != nil { - return visitor.VisitLaunch(d.Launch) - } - if d.Javascript != nil { - return visitor.VisitJavascript(d.Javascript) +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemPolylineRefVisitor) error { + if d.ObjectNumber != nil { + return visitor.VisitObjectNumber(d.ObjectNumber) } - if d.Named != nil { - return visitor.VisitNamed(d.Named) + if d.Nm != nil { + return visitor.VisitNm(d.Nm) } - if d.Unsupported != nil { - return visitor.VisitUnsupported(d.Unsupported) + if d.Index != nil { + return visitor.VisitIndex(d.Index) } return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } var fields []string - if d.Goto != nil { - fields = append(fields, "goto") - } - if d.URI != nil { - fields = append(fields, "uri") - } - if d.GotoRemote != nil { - fields = append(fields, "goto-remote") - } - if d.Launch != nil { - fields = append(fields, "launch") - } - if d.Javascript != nil { - fields = append(fields, "javascript") + if d.ObjectNumber != nil { + fields = append(fields, "objectNumber") } - if d.Named != nil { - fields = append(fields, "named") + if d.Nm != nil { + fields = append(fields, "nm") } - if d.Unsupported != nil { - fields = append(fields, "unsupported") + if d.Index != nil { + fields = append(fields, "index") } if len(fields) == 0 { if d.Kind != "" { @@ -24658,11 +31846,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTarget) validate() erro } var ( - docAnnotationsList200ResponseAnnotationsItemLinkTargetGotoFieldDestination = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto struct { - Destination *PdfDestination `json:"destination" url:"destination"` +type DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -24671,41 +31863,69 @@ type DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto) GetDestination() *PdfDestination { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) GetIndex() int { + if d == nil { + return 0 + } + return d.Index +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision { if d == nil { return nil } - return d.Destination + return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetDestination sets the Destination field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto) SetDestination(destination *PdfDestination) { - d.Destination = destination - d.require(docAnnotationsList200ResponseAnnotationsItemLinkTargetGotoFieldDestination) +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexFieldPageObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto +// SetIndex sets the Index field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) SetIndex(index int) { + d.Index = index + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexFieldIndex) +} + +// SetRevision sets the Revision field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) { + d.Revision = revision + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexFieldRevision) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -24715,8 +31935,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto) UnmarshalJS return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex var marshaler = struct { embed }{ @@ -24726,7 +31946,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto) MarshalJSON return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) String() string { if d == nil { return "" } @@ -24742,11 +31962,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGoto) String() st } var ( - docAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemoteFieldFile = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote struct { - File string `json:"file" url:"file"` +type DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision struct { + DocSessionID string `json:"docSessionId" url:"docSessionId"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Generation int `json:"generation" url:"generation"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -24755,106 +31979,69 @@ type DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote) GetFile() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } - return d.File + return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) GetPageObjectNumber() int { if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetFile sets the File field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote) SetFile(file string) { - d.File = file - d.require(docAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemoteFieldFile) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote - var marshaler = struct { - embed - }{ - embed: embed(*d), + return 0 } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetGotoRemote) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) GetGeneration() int { if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value + return 0 } - return fmt.Sprintf("%#v", d) -} - -type DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript struct { - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage + return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevisionFieldDocSessionID) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevisionFieldPageObjectNumber) +} + +// SetGeneration sets the Generation field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevisionFieldGeneration) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -24864,8 +32051,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript) Unmar return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision var marshaler = struct { embed }{ @@ -24875,7 +32062,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) String() string { if d == nil { return "" } @@ -24891,11 +32078,13 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetJavascript) Strin } var ( - docAnnotationsList200ResponseAnnotationsItemLinkTargetLaunchFieldPath = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolylineRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolylineRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch struct { - Path string `json:"path" url:"path"` +type DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Nm string `json:"nm" url:"nm"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -24904,41 +32093,55 @@ type DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch) GetPath() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) GetNm() string { if d == nil { return "" } - return d.Path + return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPath sets the Path field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch) SetPath(path string) { - d.Path = path - d.require(docAnnotationsList200ResponseAnnotationsItemLinkTargetLaunchFieldPath) +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRefNmFieldPageObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch +// SetNm sets the Nm field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) SetNm(nm string) { + d.Nm = nm + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRefNmFieldNm) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -24948,8 +32151,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch) Unmarshal return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm var marshaler = struct { embed }{ @@ -24959,7 +32162,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch) MarshalJS return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) String() string { if d == nil { return "" } @@ -24975,11 +32178,13 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetLaunch) String() } var ( - docAnnotationsList200ResponseAnnotationsItemLinkTargetNamedFieldName = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed struct { - Name string `json:"name" url:"name"` +type DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -24988,41 +32193,55 @@ type DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed) GetName() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) GetPageObjectNumber() int { if d == nil { - return "" + return 0 } - return d.Name + return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) GetAnnotObjectNumber() int { + if d == nil { + return 0 + } + return d.AnnotObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetName sets the Name field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed) SetName(name string) { - d.Name = name - d.require(docAnnotationsList200ResponseAnnotationsItemLinkTargetNamedFieldName) +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumberFieldPageObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed +// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { + d.AnnotObjectNumber = annotObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumberFieldAnnotObjectNumber) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -25032,8 +32251,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed) UnmarshalJ return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber var marshaler = struct { embed }{ @@ -25043,7 +32262,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed) MarshalJSO return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) String() string { if d == nil { return "" } @@ -25058,77 +32277,36 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetNamed) String() s return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported struct { - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} +type DocAnnotationsList200ResponseAnnotationsItemPolylineReplyType string -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} +const ( + DocAnnotationsList200ResponseAnnotationsItemPolylineReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemPolylineReplyType = "reply" + DocAnnotationsList200ResponseAnnotationsItemPolylineReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemPolylineReplyType = "group" +) -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported - var marshaler = struct { - embed - }{ - embed: embed(*d), +func NewDocAnnotationsList200ResponseAnnotationsItemPolylineReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemPolylineReplyType, error) { + switch s { + case "reply": + return DocAnnotationsList200ResponseAnnotationsItemPolylineReplyTypeReply, nil + case "group": + return DocAnnotationsList200ResponseAnnotationsItemPolylineReplyTypeGroup, nil } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + var t DocAnnotationsList200ResponseAnnotationsItemPolylineReplyType + return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetUnsupported) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) +func (d DocAnnotationsList200ResponseAnnotationsItemPolylineReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemPolylineReplyType { + return &d } var ( - docAnnotationsList200ResponseAnnotationsItemLinkTargetURIFieldURI = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolylineVerticesItemFieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemPolylineVerticesItemFieldY = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI struct { - URI string `json:"uri" url:"uri"` +type DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -25137,41 +32315,55 @@ type DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI) GetURI() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) GetX() float64 { if d == nil { - return "" + return 0 } - return d.URI + return d.X } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) GetY() float64 { + if d == nil { + return 0 + } + return d.Y +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetURI sets the URI field and marks it as non-optional; +// SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI) SetURI(uri string) { - d.URI = uri - d.require(docAnnotationsList200ResponseAnnotationsItemLinkTargetURIFieldURI) +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) SetX(x float64) { + d.X = x + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineVerticesItemFieldX) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI +// SetY sets the Y field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) SetY(y float64) { + d.Y = y + d.require(docAnnotationsList200ResponseAnnotationsItemPolylineVerticesItemFieldY) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI(value) + *d = DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -25181,8 +32373,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI) UnmarshalJSO return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem var marshaler = struct { embed }{ @@ -25192,7 +32384,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI) MarshalJSON( return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) String() string { if d == nil { return "" } @@ -25208,67 +32400,69 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemLinkTargetURI) String() str } var ( - docAnnotationsList200ResponseAnnotationsItemPolygonFieldRef = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldIndex = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldNm = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldFlags = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldRect = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldContents = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldSubject = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldAuthor = big.NewInt(1 << 9) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldCreated = big.NewInt(1 << 10) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldModified = big.NewInt(1 << 11) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldReplyType = big.NewInt(1 << 14) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldUserID = big.NewInt(1 << 15) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldGroupID = big.NewInt(1 << 16) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldActions = big.NewInt(1 << 19) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldColor = big.NewInt(1 << 20) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldOpacity = big.NewInt(1 << 21) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldStrokeWidth = big.NewInt(1 << 22) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldBorderStyle = big.NewInt(1 << 23) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldDashArray = big.NewInt(1 << 24) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldInteriorColor = big.NewInt(1 << 25) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldVertices = big.NewInt(1 << 26) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldRotation = big.NewInt(1 << 27) - docAnnotationsList200ResponseAnnotationsItemPolygonFieldCloudyIntensity = big.NewInt(1 << 28) + docAnnotationsList200ResponseAnnotationsItemRedactFieldRef = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemRedactFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemRedactFieldIndex = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemRedactFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemRedactFieldNm = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemRedactFieldFlags = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemRedactFieldRect = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemRedactFieldContents = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemRedactFieldSubject = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemRedactFieldAuthor = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemRedactFieldCreated = big.NewInt(1 << 10) + docAnnotationsList200ResponseAnnotationsItemRedactFieldModified = big.NewInt(1 << 11) + docAnnotationsList200ResponseAnnotationsItemRedactFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsList200ResponseAnnotationsItemRedactFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsList200ResponseAnnotationsItemRedactFieldReplyType = big.NewInt(1 << 14) + docAnnotationsList200ResponseAnnotationsItemRedactFieldUserID = big.NewInt(1 << 15) + docAnnotationsList200ResponseAnnotationsItemRedactFieldGroupID = big.NewInt(1 << 16) + docAnnotationsList200ResponseAnnotationsItemRedactFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsList200ResponseAnnotationsItemRedactFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsList200ResponseAnnotationsItemRedactFieldActions = big.NewInt(1 << 19) + docAnnotationsList200ResponseAnnotationsItemRedactFieldQuadPoints = big.NewInt(1 << 20) + docAnnotationsList200ResponseAnnotationsItemRedactFieldColor = big.NewInt(1 << 21) + docAnnotationsList200ResponseAnnotationsItemRedactFieldOpacity = big.NewInt(1 << 22) + docAnnotationsList200ResponseAnnotationsItemRedactFieldInteriorColor = big.NewInt(1 << 23) + docAnnotationsList200ResponseAnnotationsItemRedactFieldOverlayText = big.NewInt(1 << 24) + docAnnotationsList200ResponseAnnotationsItemRedactFieldRepeat = big.NewInt(1 << 25) + docAnnotationsList200ResponseAnnotationsItemRedactFieldFontFamily = big.NewInt(1 << 26) + docAnnotationsList200ResponseAnnotationsItemRedactFieldFontSize = big.NewInt(1 << 27) + docAnnotationsList200ResponseAnnotationsItemRedactFieldFontColor = big.NewInt(1 << 28) + docAnnotationsList200ResponseAnnotationsItemRedactFieldTextAlign = big.NewInt(1 << 29) ) -type DocAnnotationsList200ResponseAnnotationsItemPolygon struct { - Ref *DocAnnotationsList200ResponseAnnotationsItemPolygonRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsList200ResponseAnnotationsItemPolygonRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsList200ResponseAnnotationsItemPolygonReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsList200ResponseAnnotationsItemPolygonColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` - BorderStyle DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle `json:"borderStyle" url:"borderStyle"` - DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` - InteriorColor *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` - Vertices []*DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem `json:"vertices" url:"vertices"` - Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` - CloudyIntensity *float64 `json:"cloudyIntensity,omitempty" url:"cloudyIntensity,omitempty"` +type DocAnnotationsList200ResponseAnnotationsItemRedact struct { + Ref *DocAnnotationsList200ResponseAnnotationsItemRedactRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsList200ResponseAnnotationsItemRedactFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsList200ResponseAnnotationsItemRedactRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsList200ResponseAnnotationsItemRedactReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + QuadPoints []*DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem `json:"quadPoints" url:"quadPoints"` + Color *DocAnnotationsList200ResponseAnnotationsItemRedactColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + InteriorColor *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` + OverlayText *string `json:"overlayText,omitempty" url:"overlayText,omitempty"` + Repeat bool `json:"repeat" url:"repeat"` + FontFamily DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily `json:"fontFamily" url:"fontFamily"` + FontSize float64 `json:"fontSize" url:"fontSize"` + FontColor *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor `json:"fontColor" url:"fontColor"` + TextAlign DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign `json:"textAlign" url:"textAlign"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -25277,217 +32471,224 @@ type DocAnnotationsList200ResponseAnnotationsItemPolygon struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetRef() *DocAnnotationsList200ResponseAnnotationsItemPolygonRef { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetRef() *DocAnnotationsList200ResponseAnnotationsItemRedactRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQuality { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetNm() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemRedactFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetRect() *DocAnnotationsList200ResponseAnnotationsItemPolygonRect { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetRect() *DocAnnotationsList200ResponseAnnotationsItemRedactRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetContents() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetSubject() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetAuthor() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetCreated() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetModified() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemPolygonReplyType { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemRedactReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetUserID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetGroupID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetCreatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetUpdatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetColor() *DocAnnotationsList200ResponseAnnotationsItemPolygonColor { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetQuadPoints() []*DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem { + if d == nil { + return nil + } + return d.QuadPoints +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetColor() *DocAnnotationsList200ResponseAnnotationsItemRedactColor { if d == nil { return nil } return d.Color } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetOpacity() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetOpacity() float64 { if d == nil { return 0 } return d.Opacity } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetStrokeWidth() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetInteriorColor() *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor { if d == nil { - return 0 + return nil } - return d.StrokeWidth + return d.InteriorColor } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetBorderStyle() DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetOverlayText() *string { if d == nil { - return "" + return nil } - return d.BorderStyle + return d.OverlayText } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetDashArray() []float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetRepeat() bool { if d == nil { - return nil + return false } - return d.DashArray + return d.Repeat } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetInteriorColor() *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetFontFamily() DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily { if d == nil { - return nil + return "" } - return d.InteriorColor + return d.FontFamily } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetVertices() []*DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetFontSize() float64 { if d == nil { - return nil + return 0 } - return d.Vertices + return d.FontSize } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetRotation() *float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetFontColor() *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor { if d == nil { return nil } - return d.Rotation + return d.FontColor } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetCloudyIntensity() *float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetTextAlign() DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign { if d == nil { - return nil + return "" } - return d.CloudyIntensity + return d.TextAlign } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -25496,209 +32697,216 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) require(field *big // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemPolygonRef) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemRedactRef) { d.Ref = ref - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldRef) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQuality) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldIdentityQuality) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetNm(nm *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) { d.Flags = flags - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldFlags) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemRedactRect) { d.Rect = rect - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldRect) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetContents(contents *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldContents) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetSubject(subject *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldSubject) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetAuthor(author *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldAuthor) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetCreated(created *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldCreated) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetModified(modified *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldModified) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldBlendMode) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldInReplyTo) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemPolygonReplyType) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemRedactReplyType) { d.ReplyType = replyType - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldReplyType) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetUserID(userID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldUserID) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetGroupID(groupID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldGroupID) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldCreatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldUpdatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldActions) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldActions) +} + +// SetQuadPoints sets the QuadPoints field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetQuadPoints(quadPoints []*DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) { + d.QuadPoints = quadPoints + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldQuadPoints) } // SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemRedactColor) { d.Color = color - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldColor) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldColor) } // SetOpacity sets the Opacity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetOpacity(opacity float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetOpacity(opacity float64) { d.Opacity = opacity - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldOpacity) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldOpacity) } -// SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; +// SetInteriorColor sets the InteriorColor field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetStrokeWidth(strokeWidth float64) { - d.StrokeWidth = strokeWidth - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldStrokeWidth) +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetInteriorColor(interiorColor *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) { + d.InteriorColor = interiorColor + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldInteriorColor) } -// SetBorderStyle sets the BorderStyle field and marks it as non-optional; +// SetOverlayText sets the OverlayText field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetBorderStyle(borderStyle DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle) { - d.BorderStyle = borderStyle - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldBorderStyle) +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetOverlayText(overlayText *string) { + d.OverlayText = overlayText + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldOverlayText) } -// SetDashArray sets the DashArray field and marks it as non-optional; +// SetRepeat sets the Repeat field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetDashArray(dashArray []float64) { - d.DashArray = dashArray - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldDashArray) +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetRepeat(repeat bool) { + d.Repeat = repeat + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldRepeat) } -// SetInteriorColor sets the InteriorColor field and marks it as non-optional; +// SetFontFamily sets the FontFamily field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetInteriorColor(interiorColor *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) { - d.InteriorColor = interiorColor - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldInteriorColor) +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetFontFamily(fontFamily DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily) { + d.FontFamily = fontFamily + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldFontFamily) } -// SetVertices sets the Vertices field and marks it as non-optional; +// SetFontSize sets the FontSize field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetVertices(vertices []*DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem) { - d.Vertices = vertices - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldVertices) +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetFontSize(fontSize float64) { + d.FontSize = fontSize + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldFontSize) } -// SetRotation sets the Rotation field and marks it as non-optional; +// SetFontColor sets the FontColor field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetRotation(rotation *float64) { - d.Rotation = rotation - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldRotation) +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetFontColor(fontColor *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) { + d.FontColor = fontColor + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldFontColor) } -// SetCloudyIntensity sets the CloudyIntensity field and marks it as non-optional; +// SetTextAlign sets the TextAlign field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) SetCloudyIntensity(cloudyIntensity *float64) { - d.CloudyIntensity = cloudyIntensity - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFieldCloudyIntensity) +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetTextAlign(textAlign DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign) { + d.TextAlign = textAlign + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldTextAlign) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsList200ResponseAnnotationsItemPolygon +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsList200ResponseAnnotationsItemRedact var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -25709,7 +32917,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) UnmarshalJSON(data if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolygon(unmarshaler.embed) + *d = DocAnnotationsList200ResponseAnnotationsItemRedact(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -25721,8 +32929,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) UnmarshalJSON(data return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolygon +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemRedact var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -25736,7 +32944,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) MarshalJSON() ([]b return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) String() string { if d == nil { return "" } @@ -25751,105 +32959,77 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygon) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode string +type DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode string const ( - DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "normal" - DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "multiply" - DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "screen" - DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "overlay" - DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "darken" - DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "lighten" - DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "color-dodge" - DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "color-burn" - DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "hard-light" - DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "soft-light" - DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "difference" - DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "exclusion" - DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeHue DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "hue" - DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "saturation" - DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeColor DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "color" - DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode = "luminosity" + DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "normal" + DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "multiply" + DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "screen" + DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "overlay" + DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "darken" + DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "lighten" + DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "color-dodge" + DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "color-burn" + DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "hard-light" + DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "soft-light" + DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "difference" + DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "exclusion" + DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeHue DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "hue" + DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "saturation" + DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeColor DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "color" + DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "luminosity" ) -func NewDocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemRedactBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode, error) { switch s { case "normal": - return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeNormal, nil + return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeNormal, nil case "multiply": - return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeMultiply, nil + return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeMultiply, nil case "screen": - return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeScreen, nil + return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeScreen, nil case "overlay": - return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeOverlay, nil + return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeOverlay, nil case "darken": - return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeDarken, nil + return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeDarken, nil case "lighten": - return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeLighten, nil + return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeLighten, nil case "color-dodge": - return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeColorDodge, nil + return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeColorBurn, nil + return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeHardLight, nil + return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeHardLight, nil case "soft-light": - return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeSoftLight, nil + return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeSoftLight, nil case "difference": - return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeDifference, nil + return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeDifference, nil case "exclusion": - return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeExclusion, nil + return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeExclusion, nil case "hue": - return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeHue, nil + return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeHue, nil case "saturation": - return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeSaturation, nil + return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeSaturation, nil case "color": - return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeColor, nil + return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeColor, nil case "luminosity": - return DocAnnotationsList200ResponseAnnotationsItemPolygonBlendModeLuminosity, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemPolygonBlendMode { - return &d -} - -type DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle string - -const ( - DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyleSolid DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle = "solid" - DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyleDashed DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle = "dashed" - DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyleBeveled DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle = "beveled" - DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyleInset DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle = "inset" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyleFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle, error) { - switch s { - case "solid": - return DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyleSolid, nil - case "dashed": - return DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyleDashed, nil - case "beveled": - return DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyleBeveled, nil - case "inset": - return DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyleInset, nil + return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeLuminosity, nil } - var t DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle + var t DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle) Ptr() *DocAnnotationsList200ResponseAnnotationsItemPolygonBorderStyle { +func (d DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemPolygonColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolygonColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemPolygonColorFieldB = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemRedactColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemRedactColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemRedactColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemPolygonColor struct { +type DocAnnotationsList200ResponseAnnotationsItemRedactColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -25861,35 +33041,35 @@ type DocAnnotationsList200ResponseAnnotationsItemPolygonColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) GetR() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) GetG() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) GetB() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -25898,32 +33078,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) require(field // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) SetR(r int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) SetR(r int) { d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonColorFieldR) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) SetG(g int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) SetG(g int) { d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonColorFieldG) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) SetB(b int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) SetB(b int) { d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonColorFieldB) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactColorFieldB) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonColor +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolygonColor(value) + *d = DocAnnotationsList200ResponseAnnotationsItemRedactColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -25933,8 +33113,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) UnmarshalJSON return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolygonColor +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemRedactColor var marshaler = struct { embed }{ @@ -25944,7 +33124,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) String() string { if d == nil { return "" } @@ -25960,19 +33140,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonColor) String() stri } var ( - docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsList200ResponseAnnotationsItemPolygonFlags struct { +type DocAnnotationsList200ResponseAnnotationsItemRedactFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -25991,84 +33171,84 @@ type DocAnnotationsList200ResponseAnnotationsItemPolygonFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) GetInvisible() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) GetHidden() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) GetPrint() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) GetNoZoom() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) GetNoRotate() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) GetNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) GetReadOnly() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) GetLocked() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) GetToggleNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) GetLockedContents() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -26077,81 +33257,81 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) require(field // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldInvisible) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldHidden) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) SetPrint(print bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldPrint) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldNoZoom) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldNoRotate) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) SetNoView(noView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldReadOnly) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) SetLocked(locked bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldLocked) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldToggleNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonFlagsFieldLockedContents) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldLockedContents) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolygonFlags(value) + *d = DocAnnotationsList200ResponseAnnotationsItemRedactFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -26161,8 +33341,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) UnmarshalJSON return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolygonFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemRedactFlags var marshaler = struct { embed }{ @@ -26172,7 +33352,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) String() string { if d == nil { return "" } @@ -26187,66 +33367,240 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonFlags) String() stri return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQuality string +var ( + docAnnotationsList200ResponseAnnotationsItemRedactFontColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemRedactFontColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemRedactFontColorFieldB = big.NewInt(1 << 2) +) + +type DocAnnotationsList200ResponseAnnotationsItemRedactFontColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) GetR() int { + if d == nil { + return 0 + } + return d.R +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) GetG() int { + if d == nil { + return 0 + } + return d.G +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) GetB() int { + if d == nil { + return 0 + } + return d.B +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetR sets the R field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) SetR(r int) { + d.R = r + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFontColorFieldR) +} + +// SetG sets the G field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) SetG(g int) { + d.G = g + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFontColorFieldG) +} + +// SetB sets the B field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) SetB(b int) { + d.B = b + d.require(docAnnotationsList200ResponseAnnotationsItemRedactFontColorFieldB) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactFontColor + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemRedactFontColor(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemRedactFontColor + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily string const ( - DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQuality = "durable" - DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQuality = "weak" + DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyCourier DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "courier" + DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyCourierBold DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "courier-bold" + DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyCourierBoldOblique DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "courier-bold-oblique" + DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyCourierOblique DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "courier-oblique" + DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyHelvetica DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "helvetica" + DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyHelveticaBold DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "helvetica-bold" + DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyHelveticaBoldOblique DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "helvetica-bold-oblique" + DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyHelveticaOblique DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "helvetica-oblique" + DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyTimesRoman DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "times-roman" + DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyTimesBold DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "times-bold" + DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyTimesBoldItalic DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "times-bold-italic" + DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyTimesItalic DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "times-italic" + DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilySymbol DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "symbol" + DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyZapfDingbats DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "zapf-dingbats" ) -func NewDocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQuality, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily, error) { + switch s { + case "courier": + return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyCourier, nil + case "courier-bold": + return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyCourierBold, nil + case "courier-bold-oblique": + return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyCourierBoldOblique, nil + case "courier-oblique": + return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyCourierOblique, nil + case "helvetica": + return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyHelvetica, nil + case "helvetica-bold": + return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyHelveticaBold, nil + case "helvetica-bold-oblique": + return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyHelveticaBoldOblique, nil + case "helvetica-oblique": + return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyHelveticaOblique, nil + case "times-roman": + return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyTimesRoman, nil + case "times-bold": + return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyTimesBold, nil + case "times-bold-italic": + return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyTimesBoldItalic, nil + case "times-italic": + return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyTimesItalic, nil + case "symbol": + return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilySymbol, nil + case "zapf-dingbats": + return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyZapfDingbats, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily) Ptr() *DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily { + return &d +} + +type DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQuality string + +const ( + DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQuality = "durable" + DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQuality = "weak" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemRedactIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQualityDurable, nil + return DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQualityDurable, nil case "weak": - return DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQualityWeak, nil + return DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQualityWeak, nil } - var t DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQuality + var t DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemPolygonIdentityQuality { +func (d DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQuality { return &d } -type DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo struct { +type DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm - Index *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm + Index *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -26259,19 +33613,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) Unmarshal } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -26281,7 +33635,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) Unmarshal return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -26300,13 +33654,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) MarshalJSO return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) error +type DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -26319,7 +33673,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) Accept(vi return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -26360,15 +33714,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyTo) validate( } var ( - docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -26377,35 +33731,35 @@ type DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -26414,32 +33768,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) requ // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -26449,8 +33803,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) Unma return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex var marshaler = struct { embed }{ @@ -26460,7 +33814,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) Mars return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) String() string { if d == nil { return "" } @@ -26476,12 +33830,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndex) Stri } var ( - docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -26493,35 +33847,35 @@ type DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision s rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -26530,32 +33884,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevisi // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -26565,8 +33919,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevisi return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision var marshaler = struct { embed }{ @@ -26576,7 +33930,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevisi return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -26592,11 +33946,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToIndexRevisi } var ( - docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemRedactInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemRedactInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm struct { +type DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -26607,28 +33961,28 @@ type DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -26637,25 +33991,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) require // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactInReplyToNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -26665,8 +34019,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) Unmarsh return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm var marshaler = struct { embed }{ @@ -26676,7 +34030,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) Marshal return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) String() string { if d == nil { return "" } @@ -26692,11 +34046,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToNm) String( } var ( - docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -26707,28 +34061,28 @@ type DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber st rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -26737,25 +34091,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumbe // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -26765,8 +34119,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumbe return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber var marshaler = struct { embed }{ @@ -26776,7 +34130,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumbe return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -26792,12 +34146,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInReplyToObjectNumbe } var ( - docAnnotationsList200ResponseAnnotationsItemPolygonInteriorColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolygonInteriorColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemPolygonInteriorColorFieldB = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemRedactInteriorColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemRedactInteriorColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemRedactInteriorColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor struct { +type DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -26809,35 +34163,35 @@ type DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) GetR() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) GetG() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) GetB() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -26846,32 +34200,564 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) requi // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) SetR(r int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) SetR(r int) { d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInteriorColorFieldR) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactInteriorColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) SetG(g int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) SetG(g int) { d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInteriorColorFieldG) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactInteriorColorFieldG) +} + +// SetB sets the B field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) SetB(b int) { + d.B = b + d.require(docAnnotationsList200ResponseAnnotationsItemRedactInteriorColorFieldB) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemFieldP1 = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemFieldP2 = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemFieldP3 = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemFieldP4 = big.NewInt(1 << 3) +) + +type DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem struct { + P1 *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1 `json:"p1" url:"p1"` + P2 *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2 `json:"p2" url:"p2"` + P3 *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3 `json:"p3" url:"p3"` + P4 *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4 `json:"p4" url:"p4"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) GetP1() *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1 { + if d == nil { + return nil + } + return d.P1 +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) GetP2() *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2 { + if d == nil { + return nil + } + return d.P2 +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) GetP3() *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3 { + if d == nil { + return nil + } + return d.P3 +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) GetP4() *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4 { + if d == nil { + return nil + } + return d.P4 +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetP1 sets the P1 field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) SetP1(p1 *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) { + d.P1 = p1 + d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemFieldP1) +} + +// SetP2 sets the P2 field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) SetP2(p2 *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) { + d.P2 = p2 + d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemFieldP2) +} + +// SetP3 sets the P3 field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) SetP3(p3 *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) { + d.P3 = p3 + d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemFieldP3) +} + +// SetP4 sets the P4 field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) SetP4(p4 *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) { + d.P4 = p4 + d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemFieldP4) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1FieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1FieldY = big.NewInt(1 << 1) +) + +type DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1 struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) GetX() float64 { + if d == nil { + return 0 + } + return d.X +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) GetY() float64 { + if d == nil { + return 0 + } + return d.Y +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetX sets the X field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) SetX(x float64) { + d.X = x + d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1FieldX) +} + +// SetY sets the Y field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) SetY(y float64) { + d.Y = y + d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1FieldY) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1 + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1 + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2FieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2FieldY = big.NewInt(1 << 1) +) + +type DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2 struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) GetX() float64 { + if d == nil { + return 0 + } + return d.X +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) GetY() float64 { + if d == nil { + return 0 + } + return d.Y +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetX sets the X field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) SetX(x float64) { + d.X = x + d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2FieldX) +} + +// SetY sets the Y field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) SetY(y float64) { + d.Y = y + d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2FieldY) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2 + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2 + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3FieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3FieldY = big.NewInt(1 << 1) +) + +type DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3 struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) GetX() float64 { + if d == nil { + return 0 + } + return d.X +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) GetY() float64 { + if d == nil { + return 0 + } + return d.Y +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetX sets the X field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) SetX(x float64) { + d.X = x + d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3FieldX) +} + +// SetY sets the Y field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) SetY(y float64) { + d.Y = y + d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3FieldY) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3 + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3 + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4FieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4FieldY = big.NewInt(1 << 1) +) + +type DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4 struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) GetX() float64 { + if d == nil { + return 0 + } + return d.X +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) GetY() float64 { + if d == nil { + return 0 + } + return d.Y +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetX sets the X field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) SetX(x float64) { + d.X = x + d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4FieldX) } -// SetB sets the B field and marks it as non-optional; +// SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) SetB(b int) { - d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonInteriorColorFieldB) +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) SetY(y float64) { + d.Y = y + d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4FieldY) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor(value) + *d = DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -26881,8 +34767,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) Unmar return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4 var marshaler = struct { embed }{ @@ -26892,7 +34778,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) String() string { if d == nil { return "" } @@ -26908,13 +34794,13 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonInteriorColor) Strin } var ( - docAnnotationsList200ResponseAnnotationsItemPolygonRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolygonRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemPolygonRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemPolygonRectFieldTop = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemRedactRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemRedactRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemRedactRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemRedactRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemPolygonRect struct { +type DocAnnotationsList200ResponseAnnotationsItemRedactRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -26927,42 +34813,42 @@ type DocAnnotationsList200ResponseAnnotationsItemPolygonRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) GetLeft() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) GetBottom() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) GetRight() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) GetTop() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -26971,39 +34857,39 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) require(field // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) SetLeft(left float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRectFieldLeft) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) SetBottom(bottom float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRectFieldBottom) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) SetRight(right float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRectFieldRight) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) SetTop(top float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRectFieldTop) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactRectFieldTop) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonRect +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolygonRect(value) + *d = DocAnnotationsList200ResponseAnnotationsItemRedactRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -27013,8 +34899,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) UnmarshalJSON( return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolygonRect +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemRedactRect var marshaler = struct { embed }{ @@ -27024,7 +34910,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) String() string { if d == nil { return "" } @@ -27039,44 +34925,44 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRect) String() strin return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemPolygonRef struct { +type DocAnnotationsList200ResponseAnnotationsItemRedactRef struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm - Index *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm + Index *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRef) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -27089,19 +34975,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRef) UnmarshalJSON(d } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -27111,7 +34997,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRef) UnmarshalJSON(d return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemPolygonRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemRedactRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -27130,13 +35016,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemPolygonRef) MarshalJSON() ([ return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemPolygonRefVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) error +type DocAnnotationsList200ResponseAnnotationsItemRedactRefVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemPolygonRefVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemRedactRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -27149,7 +35035,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRef) Accept(visitor return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRef) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -27190,15 +35076,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRef) validate() erro } var ( - docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemRedactRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemRedactRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemRedactRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -27207,35 +35093,35 @@ type DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -27244,32 +35130,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) require(fi // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactRefIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -27279,8 +35165,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) UnmarshalJ return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex var marshaler = struct { embed }{ @@ -27290,7 +35176,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) MarshalJSO return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) String() string { if d == nil { return "" } @@ -27306,12 +35192,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndex) String() s } var ( - docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -27323,35 +35209,35 @@ type DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision struct rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -27360,32 +35246,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) re // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -27395,8 +35281,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) Un return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision var marshaler = struct { embed }{ @@ -27406,7 +35292,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) Ma return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) String() string { if d == nil { return "" } @@ -27422,11 +35308,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefIndexRevision) St } var ( - docAnnotationsList200ResponseAnnotationsItemPolygonRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolygonRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemRedactRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemRedactRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm struct { +type DocAnnotationsList200ResponseAnnotationsItemRedactRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -27437,28 +35323,28 @@ type DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -27467,25 +35353,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) require(field // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRefNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRefNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactRefNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemRedactRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -27495,8 +35381,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) UnmarshalJSON return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemRedactRefNm var marshaler = struct { embed }{ @@ -27506,7 +35392,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) String() string { if d == nil { return "" } @@ -27522,11 +35408,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefNm) String() stri } var ( - docAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -27537,28 +35423,28 @@ type DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -27567,25 +35453,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) req // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -27595,8 +35481,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) Unm return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber var marshaler = struct { embed }{ @@ -27606,7 +35492,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) Mar return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) String() string { if d == nil { return "" } @@ -27621,190 +35507,117 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonRefObjectNumber) Str return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemPolygonReplyType string +type DocAnnotationsList200ResponseAnnotationsItemRedactReplyType string const ( - DocAnnotationsList200ResponseAnnotationsItemPolygonReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemPolygonReplyType = "reply" - DocAnnotationsList200ResponseAnnotationsItemPolygonReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemPolygonReplyType = "group" + DocAnnotationsList200ResponseAnnotationsItemRedactReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemRedactReplyType = "reply" + DocAnnotationsList200ResponseAnnotationsItemRedactReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemRedactReplyType = "group" ) -func NewDocAnnotationsList200ResponseAnnotationsItemPolygonReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemPolygonReplyType, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemRedactReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemRedactReplyType, error) { switch s { case "reply": - return DocAnnotationsList200ResponseAnnotationsItemPolygonReplyTypeReply, nil + return DocAnnotationsList200ResponseAnnotationsItemRedactReplyTypeReply, nil case "group": - return DocAnnotationsList200ResponseAnnotationsItemPolygonReplyTypeGroup, nil + return DocAnnotationsList200ResponseAnnotationsItemRedactReplyTypeGroup, nil } - var t DocAnnotationsList200ResponseAnnotationsItemPolygonReplyType + var t DocAnnotationsList200ResponseAnnotationsItemRedactReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemPolygonReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemPolygonReplyType { +func (d DocAnnotationsList200ResponseAnnotationsItemRedactReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemRedactReplyType { return &d } -var ( - docAnnotationsList200ResponseAnnotationsItemPolygonVerticesItemFieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolygonVerticesItemFieldY = big.NewInt(1 << 1) -) - -type DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem) GetX() float64 { - if d == nil { - return 0 - } - return d.X -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem) GetY() float64 { - if d == nil { - return 0 - } - return d.Y -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetX sets the X field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem) SetX(x float64) { - d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonVerticesItemFieldX) -} - -// SetY sets the Y field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem) SetY(y float64) { - d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemPolygonVerticesItemFieldY) -} +type DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign string -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} +const ( + DocAnnotationsList200ResponseAnnotationsItemRedactTextAlignLeft DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign = "left" + DocAnnotationsList200ResponseAnnotationsItemRedactTextAlignCenter DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign = "center" + DocAnnotationsList200ResponseAnnotationsItemRedactTextAlignRight DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign = "right" +) -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem - var marshaler = struct { - embed - }{ - embed: embed(*d), +func NewDocAnnotationsList200ResponseAnnotationsItemRedactTextAlignFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign, error) { + switch s { + case "left": + return DocAnnotationsList200ResponseAnnotationsItemRedactTextAlignLeft, nil + case "center": + return DocAnnotationsList200ResponseAnnotationsItemRedactTextAlignCenter, nil + case "right": + return DocAnnotationsList200ResponseAnnotationsItemRedactTextAlignRight, nil } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + var t DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign + return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolygonVerticesItem) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) +func (d DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign) Ptr() *DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign { + return &d } var ( - docAnnotationsList200ResponseAnnotationsItemPolylineFieldRef = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldIndex = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldNm = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldFlags = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldRect = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldContents = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldSubject = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldAuthor = big.NewInt(1 << 9) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldCreated = big.NewInt(1 << 10) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldModified = big.NewInt(1 << 11) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldReplyType = big.NewInt(1 << 14) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldUserID = big.NewInt(1 << 15) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldGroupID = big.NewInt(1 << 16) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldActions = big.NewInt(1 << 19) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldColor = big.NewInt(1 << 20) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldOpacity = big.NewInt(1 << 21) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldStrokeWidth = big.NewInt(1 << 22) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldBorderStyle = big.NewInt(1 << 23) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldDashArray = big.NewInt(1 << 24) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldInteriorColor = big.NewInt(1 << 25) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldVertices = big.NewInt(1 << 26) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldRotation = big.NewInt(1 << 27) - docAnnotationsList200ResponseAnnotationsItemPolylineFieldLineEndings = big.NewInt(1 << 28) + docAnnotationsList200ResponseAnnotationsItemSquareFieldRef = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquareFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquareFieldIndex = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemSquareFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemSquareFieldNm = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemSquareFieldFlags = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemSquareFieldRect = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemSquareFieldContents = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemSquareFieldSubject = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemSquareFieldAuthor = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemSquareFieldCreated = big.NewInt(1 << 10) + docAnnotationsList200ResponseAnnotationsItemSquareFieldModified = big.NewInt(1 << 11) + docAnnotationsList200ResponseAnnotationsItemSquareFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsList200ResponseAnnotationsItemSquareFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsList200ResponseAnnotationsItemSquareFieldReplyType = big.NewInt(1 << 14) + docAnnotationsList200ResponseAnnotationsItemSquareFieldUserID = big.NewInt(1 << 15) + docAnnotationsList200ResponseAnnotationsItemSquareFieldGroupID = big.NewInt(1 << 16) + docAnnotationsList200ResponseAnnotationsItemSquareFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsList200ResponseAnnotationsItemSquareFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsList200ResponseAnnotationsItemSquareFieldActions = big.NewInt(1 << 19) + docAnnotationsList200ResponseAnnotationsItemSquareFieldColor = big.NewInt(1 << 20) + docAnnotationsList200ResponseAnnotationsItemSquareFieldOpacity = big.NewInt(1 << 21) + docAnnotationsList200ResponseAnnotationsItemSquareFieldStrokeWidth = big.NewInt(1 << 22) + docAnnotationsList200ResponseAnnotationsItemSquareFieldBorderStyle = big.NewInt(1 << 23) + docAnnotationsList200ResponseAnnotationsItemSquareFieldDashArray = big.NewInt(1 << 24) + docAnnotationsList200ResponseAnnotationsItemSquareFieldInteriorColor = big.NewInt(1 << 25) + docAnnotationsList200ResponseAnnotationsItemSquareFieldCloudyIntensity = big.NewInt(1 << 26) + docAnnotationsList200ResponseAnnotationsItemSquareFieldRectDifferences = big.NewInt(1 << 27) + docAnnotationsList200ResponseAnnotationsItemSquareFieldRotation = big.NewInt(1 << 28) + docAnnotationsList200ResponseAnnotationsItemSquareFieldUnrotatedRect = big.NewInt(1 << 29) ) -type DocAnnotationsList200ResponseAnnotationsItemPolyline struct { - Ref *DocAnnotationsList200ResponseAnnotationsItemPolylineRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsList200ResponseAnnotationsItemPolylineRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsList200ResponseAnnotationsItemPolylineReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsList200ResponseAnnotationsItemPolylineColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` - BorderStyle DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle `json:"borderStyle" url:"borderStyle"` - DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` - InteriorColor *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` - Vertices []*DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem `json:"vertices" url:"vertices"` - Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` - LineEndings *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings `json:"lineEndings" url:"lineEndings"` +type DocAnnotationsList200ResponseAnnotationsItemSquare struct { + Ref *DocAnnotationsList200ResponseAnnotationsItemSquareRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsList200ResponseAnnotationsItemSquareFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsList200ResponseAnnotationsItemSquareRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsList200ResponseAnnotationsItemSquareReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsList200ResponseAnnotationsItemSquareColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` + BorderStyle DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle `json:"borderStyle" url:"borderStyle"` + DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` + InteriorColor *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` + CloudyIntensity *float64 `json:"cloudyIntensity,omitempty" url:"cloudyIntensity,omitempty"` + RectDifferences *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences `json:"rectDifferences,omitempty" url:"rectDifferences,omitempty"` + Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` + UnrotatedRect *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect `json:"unrotatedRect,omitempty" url:"unrotatedRect,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -27813,217 +35626,224 @@ type DocAnnotationsList200ResponseAnnotationsItemPolyline struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetRef() *DocAnnotationsList200ResponseAnnotationsItemPolylineRef { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetRef() *DocAnnotationsList200ResponseAnnotationsItemSquareRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQuality { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetNm() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemSquareFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetRect() *DocAnnotationsList200ResponseAnnotationsItemPolylineRect { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetRect() *DocAnnotationsList200ResponseAnnotationsItemSquareRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetContents() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetSubject() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetAuthor() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetCreated() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetModified() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemPolylineReplyType { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemSquareReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetUserID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetGroupID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetCreatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetUpdatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetColor() *DocAnnotationsList200ResponseAnnotationsItemPolylineColor { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetColor() *DocAnnotationsList200ResponseAnnotationsItemSquareColor { if d == nil { return nil } return d.Color } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetOpacity() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetOpacity() float64 { if d == nil { return 0 } return d.Opacity } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetStrokeWidth() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetStrokeWidth() float64 { if d == nil { return 0 } return d.StrokeWidth } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetBorderStyle() DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetBorderStyle() DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle { if d == nil { return "" } return d.BorderStyle } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetDashArray() []float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetDashArray() []float64 { if d == nil { return nil } return d.DashArray } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetInteriorColor() *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetInteriorColor() *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor { if d == nil { return nil } return d.InteriorColor } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetVertices() []*DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetCloudyIntensity() *float64 { if d == nil { return nil } - return d.Vertices + return d.CloudyIntensity } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetRotation() *float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetRectDifferences() *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences { + if d == nil { + return nil + } + return d.RectDifferences +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetRotation() *float64 { if d == nil { return nil } return d.Rotation } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetLineEndings() *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetUnrotatedRect() *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect { if d == nil { return nil } - return d.LineEndings + return d.UnrotatedRect } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -28032,209 +35852,216 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) require(field *bi // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemPolylineRef) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemSquareRef) { d.Ref = ref - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldRef) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQuality) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldIdentityQuality) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetNm(nm *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) { d.Flags = flags - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldFlags) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemSquareRect) { d.Rect = rect - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldRect) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetContents(contents *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldContents) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetSubject(subject *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldSubject) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetAuthor(author *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldAuthor) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetCreated(created *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldCreated) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetModified(modified *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldModified) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldBlendMode) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldInReplyTo) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemPolylineReplyType) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemSquareReplyType) { d.ReplyType = replyType - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldReplyType) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetUserID(userID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldUserID) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetGroupID(groupID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldGroupID) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldCreatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldUpdatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldActions) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldActions) } // SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemSquareColor) { d.Color = color - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldColor) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldColor) } // SetOpacity sets the Opacity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetOpacity(opacity float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetOpacity(opacity float64) { d.Opacity = opacity - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldOpacity) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldOpacity) } // SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetStrokeWidth(strokeWidth float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetStrokeWidth(strokeWidth float64) { d.StrokeWidth = strokeWidth - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldStrokeWidth) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldStrokeWidth) } // SetBorderStyle sets the BorderStyle field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetBorderStyle(borderStyle DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetBorderStyle(borderStyle DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle) { d.BorderStyle = borderStyle - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldBorderStyle) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldBorderStyle) } // SetDashArray sets the DashArray field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetDashArray(dashArray []float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetDashArray(dashArray []float64) { d.DashArray = dashArray - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldDashArray) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldDashArray) } // SetInteriorColor sets the InteriorColor field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetInteriorColor(interiorColor *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetInteriorColor(interiorColor *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) { d.InteriorColor = interiorColor - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldInteriorColor) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldInteriorColor) } -// SetVertices sets the Vertices field and marks it as non-optional; +// SetCloudyIntensity sets the CloudyIntensity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetVertices(vertices []*DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) { - d.Vertices = vertices - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldVertices) +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetCloudyIntensity(cloudyIntensity *float64) { + d.CloudyIntensity = cloudyIntensity + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldCloudyIntensity) +} + +// SetRectDifferences sets the RectDifferences field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetRectDifferences(rectDifferences *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) { + d.RectDifferences = rectDifferences + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldRectDifferences) } // SetRotation sets the Rotation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetRotation(rotation *float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetRotation(rotation *float64) { d.Rotation = rotation - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldRotation) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldRotation) } -// SetLineEndings sets the LineEndings field and marks it as non-optional; +// SetUnrotatedRect sets the UnrotatedRect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) SetLineEndings(lineEndings *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) { - d.LineEndings = lineEndings - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFieldLineEndings) +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetUnrotatedRect(unrotatedRect *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) { + d.UnrotatedRect = unrotatedRect + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldUnrotatedRect) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsList200ResponseAnnotationsItemPolyline +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsList200ResponseAnnotationsItemSquare var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -28245,7 +36072,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) UnmarshalJSON(dat if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolyline(unmarshaler.embed) + *d = DocAnnotationsList200ResponseAnnotationsItemSquare(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -28257,8 +36084,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) UnmarshalJSON(dat return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolyline +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquare var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -28272,7 +36099,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) MarshalJSON() ([] return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) String() string { if d == nil { return "" } @@ -28287,105 +36114,105 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolyline) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode string +type DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode string const ( - DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "normal" - DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "multiply" - DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "screen" - DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "overlay" - DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "darken" - DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "lighten" - DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "color-dodge" - DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "color-burn" - DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "hard-light" - DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "soft-light" - DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "difference" - DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "exclusion" - DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeHue DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "hue" - DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "saturation" - DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeColor DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "color" - DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode = "luminosity" + DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "normal" + DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "multiply" + DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "screen" + DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "overlay" + DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "darken" + DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "lighten" + DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "color-dodge" + DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "color-burn" + DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "hard-light" + DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "soft-light" + DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "difference" + DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "exclusion" + DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeHue DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "hue" + DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "saturation" + DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeColor DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "color" + DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "luminosity" ) -func NewDocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemSquareBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode, error) { switch s { case "normal": - return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeNormal, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeNormal, nil case "multiply": - return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeMultiply, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeMultiply, nil case "screen": - return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeScreen, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeScreen, nil case "overlay": - return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeOverlay, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeOverlay, nil case "darken": - return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeDarken, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeDarken, nil case "lighten": - return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeLighten, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeLighten, nil case "color-dodge": - return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeColorDodge, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeColorBurn, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeHardLight, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeHardLight, nil case "soft-light": - return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeSoftLight, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeSoftLight, nil case "difference": - return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeDifference, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeDifference, nil case "exclusion": - return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeExclusion, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeExclusion, nil case "hue": - return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeHue, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeHue, nil case "saturation": - return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeSaturation, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeSaturation, nil case "color": - return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeColor, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeColor, nil case "luminosity": - return DocAnnotationsList200ResponseAnnotationsItemPolylineBlendModeLuminosity, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeLuminosity, nil } - var t DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode + var t DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemPolylineBlendMode { +func (d DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode { return &d } -type DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle string +type DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle string const ( - DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyleSolid DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle = "solid" - DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyleDashed DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle = "dashed" - DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyleBeveled DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle = "beveled" - DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyleInset DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle = "inset" + DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyleSolid DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle = "solid" + DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyleDashed DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle = "dashed" + DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyleBeveled DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle = "beveled" + DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyleInset DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle = "inset" ) -func NewDocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyleFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemSquareBorderStyleFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle, error) { switch s { case "solid": - return DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyleSolid, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyleSolid, nil case "dashed": - return DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyleDashed, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyleDashed, nil case "beveled": - return DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyleBeveled, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyleBeveled, nil case "inset": - return DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyleInset, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyleInset, nil } - var t DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle + var t DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle) Ptr() *DocAnnotationsList200ResponseAnnotationsItemPolylineBorderStyle { +func (d DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle) Ptr() *DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemPolylineColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolylineColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemPolylineColorFieldB = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemSquareColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquareColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquareColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemPolylineColor struct { +type DocAnnotationsList200ResponseAnnotationsItemSquareColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -28397,35 +36224,35 @@ type DocAnnotationsList200ResponseAnnotationsItemPolylineColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) GetR() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) GetG() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) GetB() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -28434,32 +36261,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) require(fiel // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) SetR(r int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareColor) SetR(r int) { d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineColorFieldR) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) SetG(g int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareColor) SetG(g int) { d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineColorFieldG) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) SetB(b int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareColor) SetB(b int) { d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineColorFieldB) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareColorFieldB) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineColor +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolylineColor(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquareColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -28469,8 +36296,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) UnmarshalJSO return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolylineColor +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquareColor var marshaler = struct { embed }{ @@ -28480,7 +36307,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) MarshalJSON( return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareColor) String() string { if d == nil { return "" } @@ -28496,19 +36323,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineColor) String() str } var ( - docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsList200ResponseAnnotationsItemPolylineFlags struct { +type DocAnnotationsList200ResponseAnnotationsItemSquareFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -28527,84 +36354,84 @@ type DocAnnotationsList200ResponseAnnotationsItemPolylineFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) GetInvisible() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) GetHidden() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) GetPrint() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) GetNoZoom() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) GetNoRotate() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) GetNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) GetReadOnly() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) GetLocked() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) GetToggleNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) GetLockedContents() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -28613,81 +36440,81 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) require(fiel // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldInvisible) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldHidden) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) SetPrint(print bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldPrint) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldNoZoom) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldNoRotate) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) SetNoView(noView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldReadOnly) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) SetLocked(locked bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldLocked) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldToggleNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineFlagsFieldLockedContents) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldLockedContents) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolylineFlags(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquareFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -28697,8 +36524,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) UnmarshalJSO return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolylineFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquareFlags var marshaler = struct { embed }{ @@ -28708,7 +36535,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) MarshalJSON( return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) String() string { if d == nil { return "" } @@ -28723,66 +36550,66 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineFlags) String() str return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQuality string +type DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQuality string const ( - DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQuality = "durable" - DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQuality = "weak" + DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQuality = "durable" + DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQuality = "weak" ) -func NewDocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQuality, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemSquareIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQualityDurable, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQualityDurable, nil case "weak": - return DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQualityWeak, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQualityWeak, nil } - var t DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQuality + var t DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemPolylineIdentityQuality { +func (d DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQuality { return &d } -type DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo struct { +type DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm - Index *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm + Index *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -28795,19 +36622,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) Unmarsha } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -28817,7 +36644,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) Unmarsha return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -28836,13 +36663,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) MarshalJS return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) error +type DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -28855,7 +36682,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) Accept(v return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -28896,15 +36723,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyTo) validate } var ( - docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -28913,35 +36740,35 @@ type DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -28950,32 +36777,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) req // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -28985,8 +36812,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) Unm return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex var marshaler = struct { embed }{ @@ -28996,7 +36823,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) Mar return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) String() string { if d == nil { return "" } @@ -29012,12 +36839,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndex) Str } var ( - docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -29029,35 +36856,35 @@ type DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -29066,32 +36893,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevis // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -29101,8 +36928,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevis return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision var marshaler = struct { embed }{ @@ -29112,7 +36939,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevis return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -29128,11 +36955,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToIndexRevis } var ( - docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquareInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquareInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm struct { +type DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -29143,28 +36970,28 @@ type DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -29173,25 +37000,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) requir // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareInReplyToNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -29201,8 +37028,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) Unmars return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm var marshaler = struct { embed }{ @@ -29212,7 +37039,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) String() string { if d == nil { return "" } @@ -29228,11 +37055,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToNm) String } var ( - docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -29243,28 +37070,28 @@ type DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber s rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -29273,25 +37100,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumb // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -29301,8 +37128,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumb return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber var marshaler = struct { embed }{ @@ -29312,7 +37139,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumb return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -29328,12 +37155,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInReplyToObjectNumb } var ( - docAnnotationsList200ResponseAnnotationsItemPolylineInteriorColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolylineInteriorColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemPolylineInteriorColorFieldB = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemSquareInteriorColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquareInteriorColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquareInteriorColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor struct { +type DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -29345,35 +37172,35 @@ type DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) GetR() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) GetG() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) GetB() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -29382,32 +37209,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) requ // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) SetR(r int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) SetR(r int) { d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInteriorColorFieldR) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareInteriorColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) SetG(g int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) SetG(g int) { d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInteriorColorFieldG) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareInteriorColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) SetB(b int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) SetB(b int) { d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineInteriorColorFieldB) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareInteriorColorFieldB) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -29417,8 +37244,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) Unma return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor var marshaler = struct { embed }{ @@ -29428,7 +37255,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) Mars return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) String() string { if d == nil { return "" } @@ -29444,13 +37271,17 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineInteriorColor) Stri } var ( - docAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsFieldStart = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsFieldEnd = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquareRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquareRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquareRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemSquareRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings struct { - Start DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart `json:"start" url:"start"` - End DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd `json:"end" url:"end"` +type DocAnnotationsList200ResponseAnnotationsItemSquareRect struct { + Left float64 `json:"left" url:"left"` + Bottom float64 `json:"bottom" url:"bottom"` + Right float64 `json:"right" url:"right"` + Top float64 `json:"top" url:"top"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -29459,55 +37290,83 @@ type DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) GetStart() DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) GetLeft() float64 { if d == nil { - return "" + return 0 } - return d.Start + return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) GetEnd() DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) GetBottom() float64 { if d == nil { - return "" + return 0 } - return d.End + return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) GetRight() float64 { + if d == nil { + return 0 + } + return d.Right +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) GetTop() float64 { + if d == nil { + return 0 + } + return d.Top +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetStart sets the Start field and marks it as non-optional; +// SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) SetStart(start DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart) { - d.Start = start - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsFieldStart) +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsList200ResponseAnnotationsItemSquareRectFieldLeft) } -// SetEnd sets the End field and marks it as non-optional; +// SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) SetEnd(end DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd) { - d.End = end - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsFieldEnd) +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsList200ResponseAnnotationsItemSquareRectFieldBottom) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings +// SetRight sets the Right field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsList200ResponseAnnotationsItemSquareRectFieldRight) +} + +// SetTop sets the Top field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsList200ResponseAnnotationsItemSquareRectFieldTop) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquareRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -29517,8 +37376,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) Unmars return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquareRect var marshaler = struct { embed }{ @@ -29528,7 +37387,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) String() string { if d == nil { return "" } @@ -29543,110 +37402,18 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndings) String return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd string - -const ( - DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndNone DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd = "none" - DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndSquare DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd = "square" - DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndCircle DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd = "circle" - DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndDiamond DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd = "diamond" - DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndOpenArrow DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd = "open-arrow" - DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndClosedArrow DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd = "closed-arrow" - DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndButt DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd = "butt" - DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndROpenArrow DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd = "r-open-arrow" - DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndRClosedArrow DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd = "r-closed-arrow" - DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndSlash DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd = "slash" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd, error) { - switch s { - case "none": - return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndNone, nil - case "square": - return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndSquare, nil - case "circle": - return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndCircle, nil - case "diamond": - return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndDiamond, nil - case "open-arrow": - return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndOpenArrow, nil - case "closed-arrow": - return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndClosedArrow, nil - case "butt": - return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndButt, nil - case "r-open-arrow": - return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndROpenArrow, nil - case "r-closed-arrow": - return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndRClosedArrow, nil - case "slash": - return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEndSlash, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd) Ptr() *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsEnd { - return &d -} - -type DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart string - -const ( - DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartNone DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart = "none" - DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartSquare DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart = "square" - DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartCircle DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart = "circle" - DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartDiamond DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart = "diamond" - DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartOpenArrow DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart = "open-arrow" - DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartClosedArrow DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart = "closed-arrow" - DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartButt DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart = "butt" - DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartROpenArrow DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart = "r-open-arrow" - DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartRClosedArrow DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart = "r-closed-arrow" - DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartSlash DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart = "slash" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart, error) { - switch s { - case "none": - return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartNone, nil - case "square": - return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartSquare, nil - case "circle": - return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartCircle, nil - case "diamond": - return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartDiamond, nil - case "open-arrow": - return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartOpenArrow, nil - case "closed-arrow": - return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartClosedArrow, nil - case "butt": - return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartButt, nil - case "r-open-arrow": - return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartROpenArrow, nil - case "r-closed-arrow": - return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartRClosedArrow, nil - case "slash": - return DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStartSlash, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart) Ptr() *DocAnnotationsList200ResponseAnnotationsItemPolylineLineEndingsStart { - return &d -} - var ( - docAnnotationsList200ResponseAnnotationsItemPolylineRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolylineRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemPolylineRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemPolylineRectFieldTop = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemSquareRectDifferencesFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquareRectDifferencesFieldTop = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquareRectDifferencesFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemSquareRectDifferencesFieldBottom = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemPolylineRect struct { +type DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences struct { Left float64 `json:"left" url:"left"` - Bottom float64 `json:"bottom" url:"bottom"` - Right float64 `json:"right" url:"right"` Top float64 `json:"top" url:"top"` + Right float64 `json:"right" url:"right"` + Bottom float64 `json:"bottom" url:"bottom"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -29655,42 +37422,42 @@ type DocAnnotationsList200ResponseAnnotationsItemPolylineRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) GetLeft() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) GetBottom() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) GetTop() float64 { if d == nil { return 0 } - return d.Bottom + return d.Top } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) GetRight() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) GetTop() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) GetBottom() float64 { if d == nil { return 0 } - return d.Top + return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -29699,39 +37466,39 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) require(field // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) SetLeft(left float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRectFieldLeft) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareRectDifferencesFieldLeft) } -// SetBottom sets the Bottom field and marks it as non-optional; +// SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRectFieldBottom) +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsList200ResponseAnnotationsItemSquareRectDifferencesFieldTop) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) SetRight(right float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) SetRight(right float64) { d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRectFieldRight) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareRectDifferencesFieldRight) } -// SetTop sets the Top field and marks it as non-optional; +// SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRectFieldTop) +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsList200ResponseAnnotationsItemSquareRectDifferencesFieldBottom) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineRect +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolylineRect(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -29741,8 +37508,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) UnmarshalJSON return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolylineRect +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences var marshaler = struct { embed }{ @@ -29752,7 +37519,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) String() string { if d == nil { return "" } @@ -29767,44 +37534,44 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRect) String() stri return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemPolylineRef struct { +type DocAnnotationsList200ResponseAnnotationsItemSquareRef struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm - Index *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm + Index *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRef) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -29817,19 +37584,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRef) UnmarshalJSON( } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -29839,7 +37606,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRef) UnmarshalJSON( return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemPolylineRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemSquareRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -29858,13 +37625,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemPolylineRef) MarshalJSON() ( return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemPolylineRefVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) error +type DocAnnotationsList200ResponseAnnotationsItemSquareRefVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemPolylineRefVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemSquareRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -29877,7 +37644,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRef) Accept(visitor return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRef) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -29918,15 +37685,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRef) validate() err } var ( - docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemSquareRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquareRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquareRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -29935,35 +37702,35 @@ type DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -29972,32 +37739,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) require(f // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareRefIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -30007,8 +37774,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) Unmarshal return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex var marshaler = struct { embed }{ @@ -30018,7 +37785,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) MarshalJS return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) String() string { if d == nil { return "" } @@ -30034,12 +37801,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndex) String() } var ( - docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -30051,35 +37818,35 @@ type DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision struct rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -30088,32 +37855,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) r // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -30123,8 +37890,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) U return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision var marshaler = struct { embed }{ @@ -30134,7 +37901,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) M return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) String() string { if d == nil { return "" } @@ -30150,11 +37917,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefIndexRevision) S } var ( - docAnnotationsList200ResponseAnnotationsItemPolylineRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolylineRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquareRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquareRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm struct { +type DocAnnotationsList200ResponseAnnotationsItemSquareRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -30165,28 +37932,28 @@ type DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -30195,25 +37962,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) require(fiel // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRefNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRefNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareRefNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquareRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -30223,8 +37990,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) UnmarshalJSO return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquareRefNm var marshaler = struct { embed }{ @@ -30234,7 +38001,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) MarshalJSON( return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) String() string { if d == nil { return "" } @@ -30250,11 +38017,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefNm) String() str } var ( - docAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -30265,28 +38032,28 @@ type DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber struct rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -30295,25 +38062,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) re // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -30323,8 +38090,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) Un return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber var marshaler = struct { embed }{ @@ -30334,7 +38101,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) Ma return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) String() string { if d == nil { return "" } @@ -30349,36 +38116,40 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineRefObjectNumber) St return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemPolylineReplyType string +type DocAnnotationsList200ResponseAnnotationsItemSquareReplyType string const ( - DocAnnotationsList200ResponseAnnotationsItemPolylineReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemPolylineReplyType = "reply" - DocAnnotationsList200ResponseAnnotationsItemPolylineReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemPolylineReplyType = "group" + DocAnnotationsList200ResponseAnnotationsItemSquareReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemSquareReplyType = "reply" + DocAnnotationsList200ResponseAnnotationsItemSquareReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemSquareReplyType = "group" ) -func NewDocAnnotationsList200ResponseAnnotationsItemPolylineReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemPolylineReplyType, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemSquareReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemSquareReplyType, error) { switch s { case "reply": - return DocAnnotationsList200ResponseAnnotationsItemPolylineReplyTypeReply, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareReplyTypeReply, nil case "group": - return DocAnnotationsList200ResponseAnnotationsItemPolylineReplyTypeGroup, nil + return DocAnnotationsList200ResponseAnnotationsItemSquareReplyTypeGroup, nil } - var t DocAnnotationsList200ResponseAnnotationsItemPolylineReplyType + var t DocAnnotationsList200ResponseAnnotationsItemSquareReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemPolylineReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemPolylineReplyType { +func (d DocAnnotationsList200ResponseAnnotationsItemSquareReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemSquareReplyType { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemPolylineVerticesItemFieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemPolylineVerticesItemFieldY = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` +type DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect struct { + Left float64 `json:"left" url:"left"` + Bottom float64 `json:"bottom" url:"bottom"` + Right float64 `json:"right" url:"right"` + Top float64 `json:"top" url:"top"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -30387,55 +38158,83 @@ type DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) GetX() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) GetLeft() float64 { if d == nil { return 0 } - return d.X + return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) GetY() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) GetBottom() float64 { if d == nil { return 0 } - return d.Y + return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) GetRight() float64 { + if d == nil { + return 0 + } + return d.Right +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) GetTop() float64 { + if d == nil { + return 0 + } + return d.Top +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetX sets the X field and marks it as non-optional; +// SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) SetX(x float64) { - d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineVerticesItemFieldX) +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRectFieldLeft) } -// SetY sets the Y field and marks it as non-optional; +// SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) SetY(y float64) { - d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemPolylineVerticesItemFieldY) +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRectFieldBottom) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem +// SetRight sets the Right field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRectFieldRight) +} + +// SetTop sets the Top field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRectFieldTop) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -30445,8 +38244,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) Unmar return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect var marshaler = struct { embed }{ @@ -30456,7 +38255,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) String() string { if d == nil { return "" } @@ -30472,69 +38271,55 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemPolylineVerticesItem) Strin } var ( - docAnnotationsList200ResponseAnnotationsItemRedactFieldRef = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemRedactFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemRedactFieldIndex = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemRedactFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemRedactFieldNm = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemRedactFieldFlags = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemRedactFieldRect = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemRedactFieldContents = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemRedactFieldSubject = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemRedactFieldAuthor = big.NewInt(1 << 9) - docAnnotationsList200ResponseAnnotationsItemRedactFieldCreated = big.NewInt(1 << 10) - docAnnotationsList200ResponseAnnotationsItemRedactFieldModified = big.NewInt(1 << 11) - docAnnotationsList200ResponseAnnotationsItemRedactFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsList200ResponseAnnotationsItemRedactFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsList200ResponseAnnotationsItemRedactFieldReplyType = big.NewInt(1 << 14) - docAnnotationsList200ResponseAnnotationsItemRedactFieldUserID = big.NewInt(1 << 15) - docAnnotationsList200ResponseAnnotationsItemRedactFieldGroupID = big.NewInt(1 << 16) - docAnnotationsList200ResponseAnnotationsItemRedactFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsList200ResponseAnnotationsItemRedactFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsList200ResponseAnnotationsItemRedactFieldActions = big.NewInt(1 << 19) - docAnnotationsList200ResponseAnnotationsItemRedactFieldQuadPoints = big.NewInt(1 << 20) - docAnnotationsList200ResponseAnnotationsItemRedactFieldColor = big.NewInt(1 << 21) - docAnnotationsList200ResponseAnnotationsItemRedactFieldOpacity = big.NewInt(1 << 22) - docAnnotationsList200ResponseAnnotationsItemRedactFieldInteriorColor = big.NewInt(1 << 23) - docAnnotationsList200ResponseAnnotationsItemRedactFieldOverlayText = big.NewInt(1 << 24) - docAnnotationsList200ResponseAnnotationsItemRedactFieldRepeat = big.NewInt(1 << 25) - docAnnotationsList200ResponseAnnotationsItemRedactFieldFontFamily = big.NewInt(1 << 26) - docAnnotationsList200ResponseAnnotationsItemRedactFieldFontSize = big.NewInt(1 << 27) - docAnnotationsList200ResponseAnnotationsItemRedactFieldFontColor = big.NewInt(1 << 28) - docAnnotationsList200ResponseAnnotationsItemRedactFieldTextAlign = big.NewInt(1 << 29) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldRef = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldIndex = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldNm = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldFlags = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldRect = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldContents = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldSubject = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldAuthor = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldCreated = big.NewInt(1 << 10) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldModified = big.NewInt(1 << 11) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldReplyType = big.NewInt(1 << 14) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldUserID = big.NewInt(1 << 15) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldGroupID = big.NewInt(1 << 16) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldActions = big.NewInt(1 << 19) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldColor = big.NewInt(1 << 20) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldOpacity = big.NewInt(1 << 21) + docAnnotationsList200ResponseAnnotationsItemSquigglyFieldQuadPoints = big.NewInt(1 << 22) ) -type DocAnnotationsList200ResponseAnnotationsItemRedact struct { - Ref *DocAnnotationsList200ResponseAnnotationsItemRedactRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsList200ResponseAnnotationsItemRedactFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsList200ResponseAnnotationsItemRedactRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsList200ResponseAnnotationsItemRedactReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - QuadPoints []*DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem `json:"quadPoints" url:"quadPoints"` - Color *DocAnnotationsList200ResponseAnnotationsItemRedactColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - InteriorColor *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` - OverlayText *string `json:"overlayText,omitempty" url:"overlayText,omitempty"` - Repeat bool `json:"repeat" url:"repeat"` - FontFamily DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily `json:"fontFamily" url:"fontFamily"` - FontSize float64 `json:"fontSize" url:"fontSize"` - FontColor *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor `json:"fontColor" url:"fontColor"` - TextAlign DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign `json:"textAlign" url:"textAlign"` +type DocAnnotationsList200ResponseAnnotationsItemSquiggly struct { + Ref *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + QuadPoints []*DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem `json:"quadPoints" url:"quadPoints"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -30543,224 +38328,175 @@ type DocAnnotationsList200ResponseAnnotationsItemRedact struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetRef() *DocAnnotationsList200ResponseAnnotationsItemRedactRef { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetRef() *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQuality { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetNm() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemRedactFlags { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetRect() *DocAnnotationsList200ResponseAnnotationsItemRedactRect { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetRect() *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetContents() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetSubject() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetAuthor() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetCreated() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetModified() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemRedactReplyType { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetUserID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetGroupID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetCreatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetUpdatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetQuadPoints() []*DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem { - if d == nil { - return nil - } - return d.QuadPoints -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetColor() *DocAnnotationsList200ResponseAnnotationsItemRedactColor { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetColor() *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor { if d == nil { return nil } return d.Color } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetOpacity() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetOpacity() float64 { if d == nil { return 0 } return d.Opacity } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetInteriorColor() *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor { - if d == nil { - return nil - } - return d.InteriorColor -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetOverlayText() *string { - if d == nil { - return nil - } - return d.OverlayText -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetRepeat() bool { - if d == nil { - return false - } - return d.Repeat -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetFontFamily() DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily { - if d == nil { - return "" - } - return d.FontFamily -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetFontSize() float64 { - if d == nil { - return 0 - } - return d.FontSize -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetFontColor() *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetQuadPoints() []*DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem { if d == nil { return nil } - return d.FontColor -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetTextAlign() DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign { - if d == nil { - return "" - } - return d.TextAlign + return d.QuadPoints } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -30769,216 +38505,167 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) require(field *big. // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemRedactRef) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) { d.Ref = ref - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldRef) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQuality) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldIdentityQuality) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetNm(nm *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) { d.Flags = flags - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldFlags) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemRedactRect) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) { d.Rect = rect - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldRect) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetContents(contents *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldContents) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetSubject(subject *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldSubject) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetAuthor(author *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldAuthor) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetCreated(created *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldCreated) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetModified(modified *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldModified) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldBlendMode) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldInReplyTo) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemRedactReplyType) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyType) { d.ReplyType = replyType - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldReplyType) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetUserID(userID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldUserID) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetGroupID(groupID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldGroupID) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldCreatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldUpdatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldActions) -} - -// SetQuadPoints sets the QuadPoints field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetQuadPoints(quadPoints []*DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) { - d.QuadPoints = quadPoints - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldQuadPoints) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldActions) } // SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemRedactColor) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) { d.Color = color - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldColor) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldColor) } // SetOpacity sets the Opacity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetOpacity(opacity float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetOpacity(opacity float64) { d.Opacity = opacity - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldOpacity) -} - -// SetInteriorColor sets the InteriorColor field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetInteriorColor(interiorColor *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) { - d.InteriorColor = interiorColor - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldInteriorColor) -} - -// SetOverlayText sets the OverlayText field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetOverlayText(overlayText *string) { - d.OverlayText = overlayText - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldOverlayText) -} - -// SetRepeat sets the Repeat field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetRepeat(repeat bool) { - d.Repeat = repeat - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldRepeat) -} - -// SetFontFamily sets the FontFamily field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetFontFamily(fontFamily DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily) { - d.FontFamily = fontFamily - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldFontFamily) -} - -// SetFontSize sets the FontSize field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetFontSize(fontSize float64) { - d.FontSize = fontSize - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldFontSize) -} - -// SetFontColor sets the FontColor field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetFontColor(fontColor *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) { - d.FontColor = fontColor - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldFontColor) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldOpacity) } -// SetTextAlign sets the TextAlign field and marks it as non-optional; +// SetQuadPoints sets the QuadPoints field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) SetTextAlign(textAlign DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign) { - d.TextAlign = textAlign - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFieldTextAlign) +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetQuadPoints(quadPoints []*DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) { + d.QuadPoints = quadPoints + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldQuadPoints) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsList200ResponseAnnotationsItemRedact +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsList200ResponseAnnotationsItemSquiggly var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -30989,7 +38676,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) UnmarshalJSON(data if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemRedact(unmarshaler.embed) + *d = DocAnnotationsList200ResponseAnnotationsItemSquiggly(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -31001,8 +38688,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) UnmarshalJSON(data return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemRedact +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquiggly var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -31016,7 +38703,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) MarshalJSON() ([]by return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) String() string { if d == nil { return "" } @@ -31031,77 +38718,77 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedact) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode string +type DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode string const ( - DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "normal" - DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "multiply" - DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "screen" - DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "overlay" - DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "darken" - DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "lighten" - DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "color-dodge" - DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "color-burn" - DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "hard-light" - DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "soft-light" - DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "difference" - DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "exclusion" - DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeHue DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "hue" - DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "saturation" - DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeColor DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "color" - DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode = "luminosity" + DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "normal" + DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "multiply" + DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "screen" + DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "overlay" + DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "darken" + DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "lighten" + DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "color-dodge" + DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "color-burn" + DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "hard-light" + DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "soft-light" + DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "difference" + DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "exclusion" + DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeHue DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "hue" + DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "saturation" + DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeColor DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "color" + DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "luminosity" ) -func NewDocAnnotationsList200ResponseAnnotationsItemRedactBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode, error) { switch s { case "normal": - return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeNormal, nil + return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeNormal, nil case "multiply": - return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeMultiply, nil + return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeMultiply, nil case "screen": - return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeScreen, nil + return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeScreen, nil case "overlay": - return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeOverlay, nil + return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeOverlay, nil case "darken": - return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeDarken, nil + return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeDarken, nil case "lighten": - return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeLighten, nil + return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeLighten, nil case "color-dodge": - return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeColorDodge, nil + return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeColorBurn, nil + return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeHardLight, nil + return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeHardLight, nil case "soft-light": - return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeSoftLight, nil + return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeSoftLight, nil case "difference": - return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeDifference, nil + return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeDifference, nil case "exclusion": - return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeExclusion, nil + return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeExclusion, nil case "hue": - return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeHue, nil + return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeHue, nil case "saturation": - return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeSaturation, nil + return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeSaturation, nil case "color": - return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeColor, nil + return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeColor, nil case "luminosity": - return DocAnnotationsList200ResponseAnnotationsItemRedactBlendModeLuminosity, nil + return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeLuminosity, nil } - var t DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode + var t DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemRedactBlendMode { +func (d DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemRedactColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemRedactColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemRedactColorFieldB = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemSquigglyColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquigglyColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquigglyColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemRedactColor struct { +type DocAnnotationsList200ResponseAnnotationsItemSquigglyColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -31113,35 +38800,35 @@ type DocAnnotationsList200ResponseAnnotationsItemRedactColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) GetR() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) GetG() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) GetB() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -31150,32 +38837,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) require(field // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) SetR(r int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) SetR(r int) { d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemRedactColorFieldR) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) SetG(g int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) SetG(g int) { d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemRedactColorFieldG) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) SetB(b int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) SetB(b int) { d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemRedactColorFieldB) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyColorFieldB) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactColor +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemRedactColor(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -31185,8 +38872,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) UnmarshalJSON( return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemRedactColor +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyColor var marshaler = struct { embed }{ @@ -31196,7 +38883,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) String() string { if d == nil { return "" } @@ -31212,19 +38899,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactColor) String() strin } var ( - docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsList200ResponseAnnotationsItemRedactFlags struct { +type DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -31243,84 +38930,84 @@ type DocAnnotationsList200ResponseAnnotationsItemRedactFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) GetInvisible() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) GetHidden() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) GetPrint() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) GetNoZoom() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) GetNoRotate() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) GetNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) GetReadOnly() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) GetLocked() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) GetToggleNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) GetLockedContents() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -31329,197 +39016,81 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) require(field // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldInvisible) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldHidden) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) SetPrint(print bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldPrint) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldNoZoom) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldNoRotate) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) SetNoView(noView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldReadOnly) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) SetLocked(locked bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldLocked) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldToggleNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFlagsFieldLockedContents) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactFlags - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemRedactFlags(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemRedactFlags - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFlags) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsList200ResponseAnnotationsItemRedactFontColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemRedactFontColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemRedactFontColorFieldB = big.NewInt(1 << 2) -) - -type DocAnnotationsList200ResponseAnnotationsItemRedactFontColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) GetR() int { - if d == nil { - return 0 - } - return d.R -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) GetG() int { - if d == nil { - return 0 - } - return d.G -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) GetB() int { - if d == nil { - return 0 - } - return d.B -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetR sets the R field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) SetR(r int) { - d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFontColorFieldR) -} - -// SetG sets the G field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) SetG(g int) { - d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFontColorFieldG) -} - -// SetB sets the B field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) SetB(b int) { - d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemRedactFontColorFieldB) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldLockedContents) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactFontColor +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemRedactFontColor(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -31529,8 +39100,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) UnmarshalJ return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemRedactFontColor +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags var marshaler = struct { embed }{ @@ -31540,7 +39111,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) MarshalJSO return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) String() string { if d == nil { return "" } @@ -31555,124 +39126,66 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactFontColor) String() s return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily string - -const ( - DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyCourier DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "courier" - DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyCourierBold DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "courier-bold" - DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyCourierBoldOblique DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "courier-bold-oblique" - DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyCourierOblique DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "courier-oblique" - DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyHelvetica DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "helvetica" - DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyHelveticaBold DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "helvetica-bold" - DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyHelveticaBoldOblique DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "helvetica-bold-oblique" - DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyHelveticaOblique DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "helvetica-oblique" - DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyTimesRoman DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "times-roman" - DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyTimesBold DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "times-bold" - DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyTimesBoldItalic DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "times-bold-italic" - DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyTimesItalic DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "times-italic" - DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilySymbol DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "symbol" - DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyZapfDingbats DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily = "zapf-dingbats" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily, error) { - switch s { - case "courier": - return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyCourier, nil - case "courier-bold": - return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyCourierBold, nil - case "courier-bold-oblique": - return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyCourierBoldOblique, nil - case "courier-oblique": - return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyCourierOblique, nil - case "helvetica": - return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyHelvetica, nil - case "helvetica-bold": - return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyHelveticaBold, nil - case "helvetica-bold-oblique": - return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyHelveticaBoldOblique, nil - case "helvetica-oblique": - return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyHelveticaOblique, nil - case "times-roman": - return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyTimesRoman, nil - case "times-bold": - return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyTimesBold, nil - case "times-bold-italic": - return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyTimesBoldItalic, nil - case "times-italic": - return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyTimesItalic, nil - case "symbol": - return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilySymbol, nil - case "zapf-dingbats": - return DocAnnotationsList200ResponseAnnotationsItemRedactFontFamilyZapfDingbats, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily) Ptr() *DocAnnotationsList200ResponseAnnotationsItemRedactFontFamily { - return &d -} - -type DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQuality string +type DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQuality string const ( - DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQuality = "durable" - DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQuality = "weak" + DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQuality = "durable" + DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQuality = "weak" ) -func NewDocAnnotationsList200ResponseAnnotationsItemRedactIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQuality, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQualityDurable, nil + return DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQualityDurable, nil case "weak": - return DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQualityWeak, nil + return DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQualityWeak, nil } - var t DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQuality + var t DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemRedactIdentityQuality { +func (d DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQuality { return &d } -type DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo struct { +type DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm - Index *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm + Index *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -31685,19 +39198,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) UnmarshalJ } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -31707,7 +39220,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) UnmarshalJ return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -31726,13 +39239,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) MarshalJSON return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) error +type DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -31745,7 +39258,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) Accept(vis return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -31786,15 +39299,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyTo) validate() } var ( - docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -31803,35 +39316,35 @@ type DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -31840,32 +39353,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) requi // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -31875,8 +39388,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) Unmar return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex var marshaler = struct { embed }{ @@ -31886,7 +39399,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) String() string { if d == nil { return "" } @@ -31902,12 +39415,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndex) Strin } var ( - docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -31919,35 +39432,35 @@ type DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision st rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -31956,32 +39469,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevisio // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -31991,8 +39504,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevisio return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision var marshaler = struct { embed }{ @@ -32002,7 +39515,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevisio return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -32018,11 +39531,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToIndexRevisio } var ( - docAnnotationsList200ResponseAnnotationsItemRedactInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemRedactInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm struct { +type DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -32033,28 +39546,28 @@ type DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -32063,25 +39576,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) require( // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemRedactInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemRedactInReplyToNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -32091,8 +39604,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) Unmarsha return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm var marshaler = struct { embed }{ @@ -32102,7 +39615,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) MarshalJ return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) String() string { if d == nil { return "" } @@ -32118,11 +39631,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToNm) String() } var ( - docAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -32133,28 +39646,28 @@ type DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber str rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -32163,141 +39676,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumberFieldAnnotObjectNumber) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInReplyToObjectNumber) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsList200ResponseAnnotationsItemRedactInteriorColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemRedactInteriorColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemRedactInteriorColorFieldB = big.NewInt(1 << 2) -) - -type DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) GetR() int { - if d == nil { - return 0 - } - return d.R -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) GetG() int { - if d == nil { - return 0 - } - return d.G -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) GetB() int { - if d == nil { - return 0 - } - return d.B -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetR sets the R field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) SetR(r int) { - d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemRedactInteriorColorFieldR) -} - -// SetG sets the G field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) SetG(g int) { - d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemRedactInteriorColorFieldG) -} - -// SetB sets the B field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) SetB(b int) { - d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemRedactInteriorColorFieldB) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -32307,8 +39704,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) Unmars return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber var marshaler = struct { embed }{ @@ -32318,7 +39715,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -32334,17 +39731,17 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactInteriorColor) String } var ( - docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemFieldP1 = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemFieldP2 = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemFieldP3 = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemFieldP4 = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemFieldP1 = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemFieldP2 = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemFieldP3 = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemFieldP4 = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem struct { - P1 *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1 `json:"p1" url:"p1"` - P2 *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2 `json:"p2" url:"p2"` - P3 *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3 `json:"p3" url:"p3"` - P4 *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4 `json:"p4" url:"p4"` +type DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem struct { + P1 *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1 `json:"p1" url:"p1"` + P2 *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2 `json:"p2" url:"p2"` + P3 *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3 `json:"p3" url:"p3"` + P4 *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4 `json:"p4" url:"p4"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -32353,42 +39750,42 @@ type DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) GetP1() *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) GetP1() *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1 { if d == nil { return nil } return d.P1 } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) GetP2() *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) GetP2() *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2 { if d == nil { return nil } return d.P2 } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) GetP3() *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) GetP3() *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3 { if d == nil { return nil } return d.P3 } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) GetP4() *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) GetP4() *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4 { if d == nil { return nil } return d.P4 } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -32397,39 +39794,39 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) requi // SetP1 sets the P1 field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) SetP1(p1 *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) SetP1(p1 *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) { d.P1 = p1 - d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemFieldP1) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemFieldP1) } // SetP2 sets the P2 field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) SetP2(p2 *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) SetP2(p2 *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) { d.P2 = p2 - d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemFieldP2) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemFieldP2) } // SetP3 sets the P3 field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) SetP3(p3 *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) SetP3(p3 *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) { d.P3 = p3 - d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemFieldP3) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemFieldP3) } // SetP4 sets the P4 field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) SetP4(p4 *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) SetP4(p4 *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) { d.P4 = p4 - d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemFieldP4) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemFieldP4) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -32439,8 +39836,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) Unmar return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem var marshaler = struct { embed }{ @@ -32450,7 +39847,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) String() string { if d == nil { return "" } @@ -32466,11 +39863,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItem) Strin } var ( - docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1FieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1FieldY = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1FieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1 struct { +type DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1 struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -32481,28 +39878,28 @@ type DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1 struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) GetX() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) GetY() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -32511,25 +39908,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) req // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) SetX(x float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) SetX(x float64) { d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1FieldX) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1FieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) SetY(y float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) SetY(y float64) { d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1FieldY) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1FieldY) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1 +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -32539,8 +39936,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) Unm return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1 +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1 var marshaler = struct { embed }{ @@ -32550,7 +39947,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) Mar return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) String() string { if d == nil { return "" } @@ -32566,11 +39963,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP1) Str } var ( - docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2FieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2FieldY = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2FieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2 struct { +type DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2 struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -32581,28 +39978,28 @@ type DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2 struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) GetX() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) GetY() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -32611,25 +40008,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) req // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) SetX(x float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) SetX(x float64) { d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2FieldX) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2FieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) SetY(y float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) SetY(y float64) { d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2FieldY) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2FieldY) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2 +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -32639,8 +40036,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) Unm return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2 +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2 var marshaler = struct { embed }{ @@ -32650,7 +40047,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) Mar return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) String() string { if d == nil { return "" } @@ -32666,11 +40063,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP2) Str } var ( - docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3FieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3FieldY = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3FieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3 struct { +type DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3 struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -32681,28 +40078,28 @@ type DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3 struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) GetX() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) GetY() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -32711,25 +40108,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) req // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) SetX(x float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) SetX(x float64) { d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3FieldX) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3FieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) SetY(y float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) SetY(y float64) { d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3FieldY) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3FieldY) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3 +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -32739,8 +40136,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) Unm return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3 +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3 var marshaler = struct { embed }{ @@ -32750,7 +40147,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) Mar return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) String() string { if d == nil { return "" } @@ -32766,11 +40163,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP3) Str } var ( - docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4FieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4FieldY = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4FieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4 struct { +type DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4 struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -32781,28 +40178,28 @@ type DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4 struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) GetX() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) GetY() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -32811,25 +40208,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) req // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) SetX(x float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) SetX(x float64) { d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4FieldX) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4FieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) SetY(y float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) SetY(y float64) { d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4FieldY) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4FieldY) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4 +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -32839,8 +40236,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) Unm return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4 +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4 var marshaler = struct { embed }{ @@ -32850,7 +40247,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) Mar return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) String() string { if d == nil { return "" } @@ -32866,13 +40263,13 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactQuadPointsItemP4) Str } var ( - docAnnotationsList200ResponseAnnotationsItemRedactRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemRedactRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemRedactRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemRedactRectFieldTop = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemSquigglyRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquigglyRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquigglyRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemSquigglyRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemRedactRect struct { +type DocAnnotationsList200ResponseAnnotationsItemSquigglyRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -32885,42 +40282,42 @@ type DocAnnotationsList200ResponseAnnotationsItemRedactRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) GetLeft() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) GetBottom() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) GetRight() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) GetTop() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -32929,39 +40326,39 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) require(field * // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) SetLeft(left float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemRedactRectFieldLeft) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) SetBottom(bottom float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemRedactRectFieldBottom) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) SetRight(right float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemRedactRectFieldRight) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) SetTop(top float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemRedactRectFieldTop) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRectFieldTop) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactRect +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemRedactRect(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -32971,8 +40368,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) UnmarshalJSON(d return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemRedactRect +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyRect var marshaler = struct { embed }{ @@ -32982,7 +40379,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) MarshalJSON() ( return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) String() string { if d == nil { return "" } @@ -32997,44 +40394,44 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRect) String() string return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemRedactRef struct { +type DocAnnotationsList200ResponseAnnotationsItemSquigglyRef struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm - Index *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm + Index *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRef) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -33047,19 +40444,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRef) UnmarshalJSON(da } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -33069,7 +40466,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRef) UnmarshalJSON(da return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemRedactRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -33088,13 +40485,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemRedactRef) MarshalJSON() ([] return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemRedactRefVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) error +type DocAnnotationsList200ResponseAnnotationsItemSquigglyRefVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemRedactRefVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemSquigglyRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -33107,7 +40504,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRef) Accept(visitor D return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRef) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -33148,15 +40545,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRef) validate() error } var ( - docAnnotationsList200ResponseAnnotationsItemRedactRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemRedactRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemRedactRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -33165,35 +40562,35 @@ type DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -33202,32 +40599,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) require(fie // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemRedactRefIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemRedactRefIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemRedactRefIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -33237,8 +40634,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) UnmarshalJS return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex var marshaler = struct { embed }{ @@ -33248,7 +40645,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) MarshalJSON return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) String() string { if d == nil { return "" } @@ -33264,12 +40661,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndex) String() st } var ( - docAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -33281,35 +40678,35 @@ type DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -33318,32 +40715,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) req // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -33353,8 +40750,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) Unm return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision var marshaler = struct { embed }{ @@ -33364,7 +40761,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) Mar return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) String() string { if d == nil { return "" } @@ -33380,11 +40777,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefIndexRevision) Str } var ( - docAnnotationsList200ResponseAnnotationsItemRedactRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemRedactRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquigglyRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquigglyRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemRedactRefNm struct { +type DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -33395,28 +40792,28 @@ type DocAnnotationsList200ResponseAnnotationsItemRedactRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -33425,25 +40822,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) require(field // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemRedactRefNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemRedactRefNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRefNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemRedactRefNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -33453,8 +40850,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) UnmarshalJSON( return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemRedactRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm var marshaler = struct { embed }{ @@ -33464,7 +40861,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) String() string { if d == nil { return "" } @@ -33480,11 +40877,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefNm) String() strin } var ( - docAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -33495,28 +40892,28 @@ type DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -33525,25 +40922,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) requ // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -33553,8 +40950,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) Unma return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber var marshaler = struct { embed }{ @@ -33564,7 +40961,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) Mars return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) String() string { if d == nil { return "" } @@ -33579,117 +40976,78 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemRedactRefObjectNumber) Stri return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemRedactReplyType string +type DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyType string const ( - DocAnnotationsList200ResponseAnnotationsItemRedactReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemRedactReplyType = "reply" - DocAnnotationsList200ResponseAnnotationsItemRedactReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemRedactReplyType = "group" + DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyType = "reply" + DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyType = "group" ) -func NewDocAnnotationsList200ResponseAnnotationsItemRedactReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemRedactReplyType, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemSquigglyReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyType, error) { switch s { case "reply": - return DocAnnotationsList200ResponseAnnotationsItemRedactReplyTypeReply, nil + return DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyTypeReply, nil case "group": - return DocAnnotationsList200ResponseAnnotationsItemRedactReplyTypeGroup, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemRedactReplyType - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemRedactReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemRedactReplyType { - return &d -} - -type DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign string - -const ( - DocAnnotationsList200ResponseAnnotationsItemRedactTextAlignLeft DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign = "left" - DocAnnotationsList200ResponseAnnotationsItemRedactTextAlignCenter DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign = "center" - DocAnnotationsList200ResponseAnnotationsItemRedactTextAlignRight DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign = "right" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemRedactTextAlignFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign, error) { - switch s { - case "left": - return DocAnnotationsList200ResponseAnnotationsItemRedactTextAlignLeft, nil - case "center": - return DocAnnotationsList200ResponseAnnotationsItemRedactTextAlignCenter, nil - case "right": - return DocAnnotationsList200ResponseAnnotationsItemRedactTextAlignRight, nil + return DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyTypeGroup, nil } - var t DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign + var t DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign) Ptr() *DocAnnotationsList200ResponseAnnotationsItemRedactTextAlign { +func (d DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyType { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemSquareFieldRef = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquareFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemSquareFieldIndex = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemSquareFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemSquareFieldNm = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemSquareFieldFlags = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemSquareFieldRect = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemSquareFieldContents = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemSquareFieldSubject = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemSquareFieldAuthor = big.NewInt(1 << 9) - docAnnotationsList200ResponseAnnotationsItemSquareFieldCreated = big.NewInt(1 << 10) - docAnnotationsList200ResponseAnnotationsItemSquareFieldModified = big.NewInt(1 << 11) - docAnnotationsList200ResponseAnnotationsItemSquareFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsList200ResponseAnnotationsItemSquareFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsList200ResponseAnnotationsItemSquareFieldReplyType = big.NewInt(1 << 14) - docAnnotationsList200ResponseAnnotationsItemSquareFieldUserID = big.NewInt(1 << 15) - docAnnotationsList200ResponseAnnotationsItemSquareFieldGroupID = big.NewInt(1 << 16) - docAnnotationsList200ResponseAnnotationsItemSquareFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsList200ResponseAnnotationsItemSquareFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsList200ResponseAnnotationsItemSquareFieldActions = big.NewInt(1 << 19) - docAnnotationsList200ResponseAnnotationsItemSquareFieldColor = big.NewInt(1 << 20) - docAnnotationsList200ResponseAnnotationsItemSquareFieldOpacity = big.NewInt(1 << 21) - docAnnotationsList200ResponseAnnotationsItemSquareFieldStrokeWidth = big.NewInt(1 << 22) - docAnnotationsList200ResponseAnnotationsItemSquareFieldBorderStyle = big.NewInt(1 << 23) - docAnnotationsList200ResponseAnnotationsItemSquareFieldDashArray = big.NewInt(1 << 24) - docAnnotationsList200ResponseAnnotationsItemSquareFieldInteriorColor = big.NewInt(1 << 25) - docAnnotationsList200ResponseAnnotationsItemSquareFieldCloudyIntensity = big.NewInt(1 << 26) - docAnnotationsList200ResponseAnnotationsItemSquareFieldRectDifferences = big.NewInt(1 << 27) - docAnnotationsList200ResponseAnnotationsItemSquareFieldRotation = big.NewInt(1 << 28) - docAnnotationsList200ResponseAnnotationsItemSquareFieldUnrotatedRect = big.NewInt(1 << 29) + docAnnotationsList200ResponseAnnotationsItemStampFieldRef = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStampFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStampFieldIndex = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemStampFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemStampFieldNm = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemStampFieldFlags = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemStampFieldRect = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemStampFieldContents = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemStampFieldSubject = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemStampFieldAuthor = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemStampFieldCreated = big.NewInt(1 << 10) + docAnnotationsList200ResponseAnnotationsItemStampFieldModified = big.NewInt(1 << 11) + docAnnotationsList200ResponseAnnotationsItemStampFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsList200ResponseAnnotationsItemStampFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsList200ResponseAnnotationsItemStampFieldReplyType = big.NewInt(1 << 14) + docAnnotationsList200ResponseAnnotationsItemStampFieldUserID = big.NewInt(1 << 15) + docAnnotationsList200ResponseAnnotationsItemStampFieldGroupID = big.NewInt(1 << 16) + docAnnotationsList200ResponseAnnotationsItemStampFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsList200ResponseAnnotationsItemStampFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsList200ResponseAnnotationsItemStampFieldActions = big.NewInt(1 << 19) + docAnnotationsList200ResponseAnnotationsItemStampFieldName = big.NewInt(1 << 20) + docAnnotationsList200ResponseAnnotationsItemStampFieldRotation = big.NewInt(1 << 21) + docAnnotationsList200ResponseAnnotationsItemStampFieldUnrotatedRect = big.NewInt(1 << 22) ) -type DocAnnotationsList200ResponseAnnotationsItemSquare struct { - Ref *DocAnnotationsList200ResponseAnnotationsItemSquareRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsList200ResponseAnnotationsItemSquareFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsList200ResponseAnnotationsItemSquareRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsList200ResponseAnnotationsItemSquareReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsList200ResponseAnnotationsItemSquareColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` - BorderStyle DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle `json:"borderStyle" url:"borderStyle"` - DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` - InteriorColor *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` - CloudyIntensity *float64 `json:"cloudyIntensity,omitempty" url:"cloudyIntensity,omitempty"` - RectDifferences *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences `json:"rectDifferences,omitempty" url:"rectDifferences,omitempty"` - Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` - UnrotatedRect *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect `json:"unrotatedRect,omitempty" url:"unrotatedRect,omitempty"` +type DocAnnotationsList200ResponseAnnotationsItemStamp struct { + Ref *DocAnnotationsList200ResponseAnnotationsItemStampRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsList200ResponseAnnotationsItemStampIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsList200ResponseAnnotationsItemStampFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsList200ResponseAnnotationsItemStampRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsList200ResponseAnnotationsItemStampBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsList200ResponseAnnotationsItemStampReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Name *string `json:"name,omitempty" url:"name,omitempty"` + Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` + UnrotatedRect *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect `json:"unrotatedRect,omitempty" url:"unrotatedRect,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -33698,224 +41056,175 @@ type DocAnnotationsList200ResponseAnnotationsItemSquare struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetRef() *DocAnnotationsList200ResponseAnnotationsItemSquareRef { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetRef() *DocAnnotationsList200ResponseAnnotationsItemStampRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQuality { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemStampIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetNm() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemSquareFlags { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemStampFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetRect() *DocAnnotationsList200ResponseAnnotationsItemSquareRect { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetRect() *DocAnnotationsList200ResponseAnnotationsItemStampRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetContents() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetSubject() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetAuthor() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetCreated() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetModified() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemStampBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemSquareReplyType { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemStampReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetUserID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetGroupID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetCreatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetUpdatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetColor() *DocAnnotationsList200ResponseAnnotationsItemSquareColor { - if d == nil { - return nil - } - return d.Color -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetOpacity() float64 { - if d == nil { - return 0 - } - return d.Opacity -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetStrokeWidth() float64 { - if d == nil { - return 0 - } - return d.StrokeWidth -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetBorderStyle() DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle { - if d == nil { - return "" - } - return d.BorderStyle -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetDashArray() []float64 { - if d == nil { - return nil - } - return d.DashArray -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetInteriorColor() *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor { - if d == nil { - return nil - } - return d.InteriorColor -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetCloudyIntensity() *float64 { - if d == nil { - return nil - } - return d.CloudyIntensity -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetRectDifferences() *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetName() *string { if d == nil { return nil } - return d.RectDifferences + return d.Name } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetRotation() *float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetRotation() *float64 { if d == nil { return nil } return d.Rotation } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetUnrotatedRect() *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetUnrotatedRect() *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect { if d == nil { return nil } return d.UnrotatedRect } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -33924,216 +41233,167 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) require(field *big. // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemSquareRef) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemStampRef) { d.Ref = ref - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldRef) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQuality) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemStampIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldIdentityQuality) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetNm(nm *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemStampFlags) { d.Flags = flags - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldFlags) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemSquareRect) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemStampRect) { d.Rect = rect - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldRect) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetContents(contents *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldContents) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetSubject(subject *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldSubject) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetAuthor(author *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldAuthor) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetCreated(created *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldCreated) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetModified(modified *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldModified) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemStampBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldBlendMode) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldInReplyTo) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemSquareReplyType) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemStampReplyType) { d.ReplyType = replyType - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldReplyType) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetUserID(userID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldUserID) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetGroupID(groupID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldGroupID) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldCreatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldUpdatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldActions) -} - -// SetColor sets the Color field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemSquareColor) { - d.Color = color - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldColor) -} - -// SetOpacity sets the Opacity field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetOpacity(opacity float64) { - d.Opacity = opacity - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldOpacity) -} - -// SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetStrokeWidth(strokeWidth float64) { - d.StrokeWidth = strokeWidth - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldStrokeWidth) -} - -// SetBorderStyle sets the BorderStyle field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetBorderStyle(borderStyle DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle) { - d.BorderStyle = borderStyle - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldBorderStyle) -} - -// SetDashArray sets the DashArray field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetDashArray(dashArray []float64) { - d.DashArray = dashArray - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldDashArray) -} - -// SetInteriorColor sets the InteriorColor field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetInteriorColor(interiorColor *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) { - d.InteriorColor = interiorColor - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldInteriorColor) -} - -// SetCloudyIntensity sets the CloudyIntensity field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetCloudyIntensity(cloudyIntensity *float64) { - d.CloudyIntensity = cloudyIntensity - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldCloudyIntensity) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldActions) } -// SetRectDifferences sets the RectDifferences field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetRectDifferences(rectDifferences *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) { - d.RectDifferences = rectDifferences - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldRectDifferences) +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetName(name *string) { + d.Name = name + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldName) } // SetRotation sets the Rotation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetRotation(rotation *float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetRotation(rotation *float64) { d.Rotation = rotation - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldRotation) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldRotation) } // SetUnrotatedRect sets the UnrotatedRect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) SetUnrotatedRect(unrotatedRect *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetUnrotatedRect(unrotatedRect *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) { d.UnrotatedRect = unrotatedRect - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFieldUnrotatedRect) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldUnrotatedRect) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsList200ResponseAnnotationsItemSquare +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsList200ResponseAnnotationsItemStamp var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -34144,7 +41404,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) UnmarshalJSON(data if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquare(unmarshaler.embed) + *d = DocAnnotationsList200ResponseAnnotationsItemStamp(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -34156,8 +41416,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) UnmarshalJSON(data return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquare +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStamp var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -34171,7 +41431,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) MarshalJSON() ([]by return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) String() string { if d == nil { return "" } @@ -34186,228 +41446,84 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquare) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode string +type DocAnnotationsList200ResponseAnnotationsItemStampBlendMode string const ( - DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "normal" - DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "multiply" - DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "screen" - DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "overlay" - DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "darken" - DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "lighten" - DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "color-dodge" - DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "color-burn" - DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "hard-light" - DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "soft-light" - DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "difference" - DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "exclusion" - DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeHue DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "hue" - DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "saturation" - DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeColor DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "color" - DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode = "luminosity" + DocAnnotationsList200ResponseAnnotationsItemStampBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "normal" + DocAnnotationsList200ResponseAnnotationsItemStampBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "multiply" + DocAnnotationsList200ResponseAnnotationsItemStampBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "screen" + DocAnnotationsList200ResponseAnnotationsItemStampBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "overlay" + DocAnnotationsList200ResponseAnnotationsItemStampBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "darken" + DocAnnotationsList200ResponseAnnotationsItemStampBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "lighten" + DocAnnotationsList200ResponseAnnotationsItemStampBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "color-dodge" + DocAnnotationsList200ResponseAnnotationsItemStampBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "color-burn" + DocAnnotationsList200ResponseAnnotationsItemStampBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "hard-light" + DocAnnotationsList200ResponseAnnotationsItemStampBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "soft-light" + DocAnnotationsList200ResponseAnnotationsItemStampBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "difference" + DocAnnotationsList200ResponseAnnotationsItemStampBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "exclusion" + DocAnnotationsList200ResponseAnnotationsItemStampBlendModeHue DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "hue" + DocAnnotationsList200ResponseAnnotationsItemStampBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "saturation" + DocAnnotationsList200ResponseAnnotationsItemStampBlendModeColor DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "color" + DocAnnotationsList200ResponseAnnotationsItemStampBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "luminosity" ) -func NewDocAnnotationsList200ResponseAnnotationsItemSquareBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemStampBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemStampBlendMode, error) { switch s { case "normal": - return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeNormal, nil + return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeNormal, nil case "multiply": - return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeMultiply, nil + return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeMultiply, nil case "screen": - return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeScreen, nil + return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeScreen, nil case "overlay": - return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeOverlay, nil + return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeOverlay, nil case "darken": - return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeDarken, nil + return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeDarken, nil case "lighten": - return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeLighten, nil + return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeLighten, nil case "color-dodge": - return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeColorDodge, nil + return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeColorBurn, nil + return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeHardLight, nil + return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeHardLight, nil case "soft-light": - return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeSoftLight, nil + return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeSoftLight, nil case "difference": - return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeDifference, nil + return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeDifference, nil case "exclusion": - return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeExclusion, nil + return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeExclusion, nil case "hue": - return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeHue, nil + return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeHue, nil case "saturation": - return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeSaturation, nil + return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeSaturation, nil case "color": - return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeColor, nil + return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeColor, nil case "luminosity": - return DocAnnotationsList200ResponseAnnotationsItemSquareBlendModeLuminosity, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemSquareBlendMode { - return &d -} - -type DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle string - -const ( - DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyleSolid DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle = "solid" - DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyleDashed DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle = "dashed" - DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyleBeveled DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle = "beveled" - DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyleInset DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle = "inset" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemSquareBorderStyleFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle, error) { - switch s { - case "solid": - return DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyleSolid, nil - case "dashed": - return DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyleDashed, nil - case "beveled": - return DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyleBeveled, nil - case "inset": - return DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyleInset, nil + return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeLuminosity, nil } - var t DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle + var t DocAnnotationsList200ResponseAnnotationsItemStampBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle) Ptr() *DocAnnotationsList200ResponseAnnotationsItemSquareBorderStyle { +func (d DocAnnotationsList200ResponseAnnotationsItemStampBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemStampBlendMode { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemSquareColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquareColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemSquareColorFieldB = big.NewInt(1 << 2) -) - -type DocAnnotationsList200ResponseAnnotationsItemSquareColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareColor) GetR() int { - if d == nil { - return 0 - } - return d.R -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareColor) GetG() int { - if d == nil { - return 0 - } - return d.G -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareColor) GetB() int { - if d == nil { - return 0 - } - return d.B -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareColor) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareColor) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetR sets the R field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareColor) SetR(r int) { - d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemSquareColorFieldR) -} - -// SetG sets the G field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareColor) SetG(g int) { - d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemSquareColorFieldG) -} - -// SetB sets the B field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareColor) SetB(b int) { - d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemSquareColorFieldB) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareColor - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemSquareColor(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquareColor - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareColor) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsList200ResponseAnnotationsItemSquareFlags struct { +type DocAnnotationsList200ResponseAnnotationsItemStampFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -34426,84 +41542,84 @@ type DocAnnotationsList200ResponseAnnotationsItemSquareFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) GetInvisible() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) GetHidden() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) GetPrint() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) GetNoZoom() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) GetNoRotate() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) GetNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) GetReadOnly() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) GetLocked() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) GetToggleNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) GetLockedContents() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -34512,81 +41628,81 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) require(field // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldInvisible) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldHidden) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) SetPrint(print bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldPrint) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldNoZoom) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldNoRotate) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) SetNoView(noView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldReadOnly) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) SetLocked(locked bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldLocked) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldToggleNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsList200ResponseAnnotationsItemSquareFlagsFieldLockedContents) + d.require(docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldLockedContents) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStampFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquareFlags(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStampFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -34596,8 +41712,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) UnmarshalJSON( return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquareFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStampFlags var marshaler = struct { embed }{ @@ -34607,7 +41723,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) String() string { if d == nil { return "" } @@ -34622,66 +41738,66 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareFlags) String() strin return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQuality string +type DocAnnotationsList200ResponseAnnotationsItemStampIdentityQuality string const ( - DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQuality = "durable" - DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQuality = "weak" + DocAnnotationsList200ResponseAnnotationsItemStampIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemStampIdentityQuality = "durable" + DocAnnotationsList200ResponseAnnotationsItemStampIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemStampIdentityQuality = "weak" ) -func NewDocAnnotationsList200ResponseAnnotationsItemSquareIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQuality, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemStampIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemStampIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQualityDurable, nil + return DocAnnotationsList200ResponseAnnotationsItemStampIdentityQualityDurable, nil case "weak": - return DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQualityWeak, nil + return DocAnnotationsList200ResponseAnnotationsItemStampIdentityQualityWeak, nil } - var t DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQuality + var t DocAnnotationsList200ResponseAnnotationsItemStampIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemSquareIdentityQuality { +func (d DocAnnotationsList200ResponseAnnotationsItemStampIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemStampIdentityQuality { return &d } -type DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo struct { +type DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm - Index *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm + Index *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -34694,19 +41810,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) UnmarshalJ } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -34716,7 +41832,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) UnmarshalJ return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -34735,13 +41851,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) MarshalJSON return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) error +type DocAnnotationsList200ResponseAnnotationsItemStampInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemStampInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -34754,7 +41870,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) Accept(vis return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -34795,15 +41911,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyTo) validate() } var ( - docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -34812,35 +41928,35 @@ type DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -34849,32 +41965,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) requi // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -34884,8 +42000,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) Unmar return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex var marshaler = struct { embed }{ @@ -34895,7 +42011,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) String() string { if d == nil { return "" } @@ -34911,12 +42027,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndex) Strin } var ( - docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -34928,35 +42044,35 @@ type DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision st rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -34965,32 +42081,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevisio // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -35000,8 +42116,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevisio return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision var marshaler = struct { embed }{ @@ -35011,7 +42127,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevisio return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -35027,11 +42143,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToIndexRevisio } var ( - docAnnotationsList200ResponseAnnotationsItemSquareInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquareInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStampInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStampInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm struct { +type DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -35042,28 +42158,28 @@ type DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -35072,25 +42188,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) require( // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemSquareInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemStampInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemSquareInReplyToNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemStampInReplyToNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -35100,8 +42216,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) Unmarsha return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm var marshaler = struct { embed }{ @@ -35111,7 +42227,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) MarshalJ return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) String() string { if d == nil { return "" } @@ -35127,11 +42243,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToNm) String() } var ( - docAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -35142,28 +42258,28 @@ type DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber str rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -35172,141 +42288,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumberFieldAnnotObjectNumber) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInReplyToObjectNumber) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsList200ResponseAnnotationsItemSquareInteriorColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquareInteriorColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemSquareInteriorColorFieldB = big.NewInt(1 << 2) -) - -type DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) GetR() int { - if d == nil { - return 0 - } - return d.R -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) GetG() int { - if d == nil { - return 0 - } - return d.G -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) GetB() int { - if d == nil { - return 0 - } - return d.B -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetR sets the R field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) SetR(r int) { - d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemSquareInteriorColorFieldR) -} - -// SetG sets the G field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) SetG(g int) { - d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemSquareInteriorColorFieldG) -} - -// SetB sets the B field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) SetB(b int) { - d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemSquareInteriorColorFieldB) + d.require(docAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -35316,8 +42316,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) Unmars return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber var marshaler = struct { embed }{ @@ -35327,7 +42327,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -35343,13 +42343,13 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareInteriorColor) String } var ( - docAnnotationsList200ResponseAnnotationsItemSquareRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquareRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemSquareRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemSquareRectFieldTop = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemStampRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStampRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStampRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemStampRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemSquareRect struct { +type DocAnnotationsList200ResponseAnnotationsItemStampRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -35362,42 +42362,42 @@ type DocAnnotationsList200ResponseAnnotationsItemSquareRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) GetLeft() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) GetBottom() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) GetRight() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) GetTop() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -35406,171 +42406,39 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) require(field * // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) SetLeft(left float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemSquareRectFieldLeft) + d.require(docAnnotationsList200ResponseAnnotationsItemStampRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) SetBottom(bottom float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemSquareRectFieldBottom) + d.require(docAnnotationsList200ResponseAnnotationsItemStampRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) SetRight(right float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemSquareRectFieldRight) -} - -// SetTop sets the Top field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemSquareRectFieldTop) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareRect - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemSquareRect(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquareRect - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRect) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsList200ResponseAnnotationsItemSquareRectDifferencesFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquareRectDifferencesFieldTop = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemSquareRectDifferencesFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemSquareRectDifferencesFieldBottom = big.NewInt(1 << 3) -) - -type DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences struct { - Left float64 `json:"left" url:"left"` - Top float64 `json:"top" url:"top"` - Right float64 `json:"right" url:"right"` - Bottom float64 `json:"bottom" url:"bottom"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) GetLeft() float64 { - if d == nil { - return 0 - } - return d.Left -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) GetTop() float64 { - if d == nil { - return 0 - } - return d.Top -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) GetRight() float64 { - if d == nil { - return 0 - } - return d.Right -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) GetBottom() float64 { - if d == nil { - return 0 - } - return d.Bottom -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetLeft sets the Left field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemSquareRectDifferencesFieldLeft) + d.require(docAnnotationsList200ResponseAnnotationsItemStampRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) SetTop(top float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemSquareRectDifferencesFieldTop) -} - -// SetRight sets the Right field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemSquareRectDifferencesFieldRight) -} - -// SetBottom sets the Bottom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemSquareRectDifferencesFieldBottom) + d.require(docAnnotationsList200ResponseAnnotationsItemStampRectFieldTop) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStampRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStampRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -35580,8 +42448,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) Unma return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStampRect var marshaler = struct { embed }{ @@ -35591,7 +42459,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) Mars return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) String() string { if d == nil { return "" } @@ -35606,44 +42474,44 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRectDifferences) Stri return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemSquareRef struct { +type DocAnnotationsList200ResponseAnnotationsItemStampRef struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm - Index *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemStampRefNm + Index *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRef) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemStampRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -35656,19 +42524,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRef) UnmarshalJSON(da } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemStampRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -35678,7 +42546,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRef) UnmarshalJSON(da return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemSquareRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemStampRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -35697,13 +42565,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemSquareRef) MarshalJSON() ([] return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemSquareRefVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) error +type DocAnnotationsList200ResponseAnnotationsItemStampRefVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemStampRefNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemSquareRefVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemStampRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -35716,7 +42584,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRef) Accept(visitor D return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRef) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -35757,15 +42625,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRef) validate() error } var ( - docAnnotationsList200ResponseAnnotationsItemSquareRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquareRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemSquareRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemStampRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStampRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStampRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemStampRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -35774,35 +42642,35 @@ type DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -35811,32 +42679,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) require(fie // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemSquareRefIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemStampRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemSquareRefIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemStampRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemSquareRefIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemStampRefIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStampRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStampRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -35846,8 +42714,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) UnmarshalJS return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStampRefIndex var marshaler = struct { embed }{ @@ -35857,7 +42725,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) MarshalJSON return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) String() string { if d == nil { return "" } @@ -35873,12 +42741,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndex) String() st } var ( - docAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemStampRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStampRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStampRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -35890,35 +42758,35 @@ type DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -35927,32 +42795,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) req // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemStampRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemStampRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemStampRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -35962,8 +42830,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) Unm return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision var marshaler = struct { embed }{ @@ -35973,7 +42841,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) Mar return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) String() string { if d == nil { return "" } @@ -35989,11 +42857,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefIndexRevision) Str } var ( - docAnnotationsList200ResponseAnnotationsItemSquareRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquareRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStampRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStampRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemSquareRefNm struct { +type DocAnnotationsList200ResponseAnnotationsItemStampRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -36004,28 +42872,28 @@ type DocAnnotationsList200ResponseAnnotationsItemSquareRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -36034,25 +42902,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) require(field // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemSquareRefNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemStampRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemSquareRefNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemStampRefNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStampRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquareRefNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStampRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -36062,8 +42930,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) UnmarshalJSON( return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquareRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStampRefNm var marshaler = struct { embed }{ @@ -36073,7 +42941,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefNm) String() string { if d == nil { return "" } @@ -36089,11 +42957,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefNm) String() strin } var ( - docAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStampRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStampRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -36104,28 +42972,28 @@ type DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -36134,25 +43002,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) requ // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemStampRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemStampRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -36162,8 +43030,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) Unma return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber var marshaler = struct { embed }{ @@ -36173,7 +43041,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) Mars return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) String() string { if d == nil { return "" } @@ -36188,36 +43056,36 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareRefObjectNumber) Stri return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemSquareReplyType string +type DocAnnotationsList200ResponseAnnotationsItemStampReplyType string const ( - DocAnnotationsList200ResponseAnnotationsItemSquareReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemSquareReplyType = "reply" - DocAnnotationsList200ResponseAnnotationsItemSquareReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemSquareReplyType = "group" + DocAnnotationsList200ResponseAnnotationsItemStampReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemStampReplyType = "reply" + DocAnnotationsList200ResponseAnnotationsItemStampReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemStampReplyType = "group" ) -func NewDocAnnotationsList200ResponseAnnotationsItemSquareReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemSquareReplyType, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemStampReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemStampReplyType, error) { switch s { case "reply": - return DocAnnotationsList200ResponseAnnotationsItemSquareReplyTypeReply, nil + return DocAnnotationsList200ResponseAnnotationsItemStampReplyTypeReply, nil case "group": - return DocAnnotationsList200ResponseAnnotationsItemSquareReplyTypeGroup, nil + return DocAnnotationsList200ResponseAnnotationsItemStampReplyTypeGroup, nil } - var t DocAnnotationsList200ResponseAnnotationsItemSquareReplyType + var t DocAnnotationsList200ResponseAnnotationsItemStampReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemSquareReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemSquareReplyType { +func (d DocAnnotationsList200ResponseAnnotationsItemStampReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemStampReplyType { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRectFieldTop = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemStampUnrotatedRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStampUnrotatedRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStampUnrotatedRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemStampUnrotatedRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect struct { +type DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -36230,42 +43098,42 @@ type DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) GetLeft() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) GetBottom() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) GetRight() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) GetTop() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -36274,39 +43142,39 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) requir // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) SetLeft(left float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRectFieldLeft) + d.require(docAnnotationsList200ResponseAnnotationsItemStampUnrotatedRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) SetBottom(bottom float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRectFieldBottom) + d.require(docAnnotationsList200ResponseAnnotationsItemStampUnrotatedRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) SetRight(right float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRectFieldRight) + d.require(docAnnotationsList200ResponseAnnotationsItemStampUnrotatedRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) SetTop(top float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRectFieldTop) + d.require(docAnnotationsList200ResponseAnnotationsItemStampUnrotatedRectFieldTop) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect +func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -36316,8 +43184,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) Unmars return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect +func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect var marshaler = struct { embed }{ @@ -36327,7 +43195,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) String() string { if d == nil { return "" } @@ -36343,55 +43211,57 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquareUnrotatedRect) String } var ( - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldRef = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldIndex = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldNm = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldFlags = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldRect = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldContents = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldSubject = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldAuthor = big.NewInt(1 << 9) - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldCreated = big.NewInt(1 << 10) - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldModified = big.NewInt(1 << 11) - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldReplyType = big.NewInt(1 << 14) - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldUserID = big.NewInt(1 << 15) - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldGroupID = big.NewInt(1 << 16) - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldActions = big.NewInt(1 << 19) - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldColor = big.NewInt(1 << 20) - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldOpacity = big.NewInt(1 << 21) - docAnnotationsList200ResponseAnnotationsItemSquigglyFieldQuadPoints = big.NewInt(1 << 22) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldRef = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldIndex = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldNm = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldFlags = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldRect = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldContents = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldSubject = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldAuthor = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldCreated = big.NewInt(1 << 10) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldModified = big.NewInt(1 << 11) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldReplyType = big.NewInt(1 << 14) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldUserID = big.NewInt(1 << 15) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldGroupID = big.NewInt(1 << 16) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldActions = big.NewInt(1 << 19) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldColor = big.NewInt(1 << 20) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldOpacity = big.NewInt(1 << 21) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldQuadPoints = big.NewInt(1 << 22) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldIntent = big.NewInt(1 << 23) ) -type DocAnnotationsList200ResponseAnnotationsItemSquiggly struct { - Ref *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - QuadPoints []*DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem `json:"quadPoints" url:"quadPoints"` +type DocAnnotationsList200ResponseAnnotationsItemStrikeout struct { + Ref *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + QuadPoints []*DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem `json:"quadPoints" url:"quadPoints"` + Intent *DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntent `json:"intent,omitempty" url:"intent,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -36400,175 +43270,182 @@ type DocAnnotationsList200ResponseAnnotationsItemSquiggly struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetRef() *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetRef() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQuality { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetNm() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetRect() *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetRect() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetContents() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetSubject() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetAuthor() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetCreated() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetModified() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyType { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetUserID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetGroupID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetCreatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetUpdatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetColor() *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetColor() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor { if d == nil { return nil } return d.Color } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetOpacity() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetOpacity() float64 { if d == nil { return 0 } return d.Opacity } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetQuadPoints() []*DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetQuadPoints() []*DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem { if d == nil { return nil } return d.QuadPoints } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetIntent() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntent { + if d == nil { + return nil + } + return d.Intent +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -36577,167 +43454,174 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) require(field *bi // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) { d.Ref = ref - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldRef) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQuality) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldIdentityQuality) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetNm(nm *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) { d.Flags = flags - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldFlags) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) { d.Rect = rect - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldRect) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetContents(contents *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldContents) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetSubject(subject *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldSubject) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetAuthor(author *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldAuthor) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetCreated(created *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldCreated) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetModified(modified *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldModified) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldBlendMode) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldInReplyTo) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyType) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyType) { d.ReplyType = replyType - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldReplyType) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetUserID(userID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldUserID) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetGroupID(groupID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldGroupID) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldCreatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldUpdatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldActions) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldActions) } // SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) { d.Color = color - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldColor) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldColor) } // SetOpacity sets the Opacity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetOpacity(opacity float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetOpacity(opacity float64) { d.Opacity = opacity - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldOpacity) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldOpacity) } // SetQuadPoints sets the QuadPoints field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) SetQuadPoints(quadPoints []*DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetQuadPoints(quadPoints []*DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) { d.QuadPoints = quadPoints - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFieldQuadPoints) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldQuadPoints) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsList200ResponseAnnotationsItemSquiggly +// SetIntent sets the Intent field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetIntent(intent *DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntent) { + d.Intent = intent + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldIntent) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsList200ResponseAnnotationsItemStrikeout var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -36748,7 +43632,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) UnmarshalJSON(dat if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquiggly(unmarshaler.embed) + *d = DocAnnotationsList200ResponseAnnotationsItemStrikeout(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -36760,8 +43644,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) UnmarshalJSON(dat return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquiggly +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStrikeout var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -36775,7 +43659,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) MarshalJSON() ([] return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) String() string { if d == nil { return "" } @@ -36790,77 +43674,77 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquiggly) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode string +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode string const ( - DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "normal" - DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "multiply" - DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "screen" - DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "overlay" - DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "darken" - DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "lighten" - DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "color-dodge" - DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "color-burn" - DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "hard-light" - DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "soft-light" - DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "difference" - DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "exclusion" - DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeHue DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "hue" - DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "saturation" - DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeColor DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "color" - DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode = "luminosity" + DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "normal" + DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "multiply" + DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "screen" + DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "overlay" + DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "darken" + DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "lighten" + DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "color-dodge" + DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "color-burn" + DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "hard-light" + DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "soft-light" + DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "difference" + DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "exclusion" + DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeHue DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "hue" + DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "saturation" + DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeColor DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "color" + DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "luminosity" ) -func NewDocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode, error) { switch s { case "normal": - return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeNormal, nil + return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeNormal, nil case "multiply": - return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeMultiply, nil + return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeMultiply, nil case "screen": - return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeScreen, nil + return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeScreen, nil case "overlay": - return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeOverlay, nil + return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeOverlay, nil case "darken": - return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeDarken, nil + return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeDarken, nil case "lighten": - return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeLighten, nil + return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeLighten, nil case "color-dodge": - return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeColorDodge, nil + return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeColorBurn, nil + return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeHardLight, nil + return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeHardLight, nil case "soft-light": - return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeSoftLight, nil + return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeSoftLight, nil case "difference": - return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeDifference, nil + return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeDifference, nil case "exclusion": - return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeExclusion, nil + return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeExclusion, nil case "hue": - return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeHue, nil + return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeHue, nil case "saturation": - return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeSaturation, nil + return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeSaturation, nil case "color": - return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeColor, nil + return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeColor, nil case "luminosity": - return DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendModeLuminosity, nil + return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeLuminosity, nil } - var t DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode + var t DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemSquigglyBlendMode { +func (d DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemSquigglyColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquigglyColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemSquigglyColorFieldB = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemStrikeoutColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStrikeoutColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStrikeoutColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemSquigglyColor struct { +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -36872,35 +43756,35 @@ type DocAnnotationsList200ResponseAnnotationsItemSquigglyColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) GetR() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) GetG() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) GetB() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -36909,32 +43793,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) require(fiel // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) SetR(r int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) SetR(r int) { d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyColorFieldR) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) SetG(g int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) SetG(g int) { d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyColorFieldG) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) SetB(b int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) SetB(b int) { d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyColorFieldB) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutColorFieldB) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyColor +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyColor(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -36944,8 +43828,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) UnmarshalJSO return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyColor +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor var marshaler = struct { embed }{ @@ -36955,7 +43839,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) MarshalJSON( return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) String() string { if d == nil { return "" } @@ -36971,19 +43855,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyColor) String() str } var ( - docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags struct { +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -37002,84 +43886,84 @@ type DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) GetInvisible() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) GetHidden() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) GetPrint() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) GetNoZoom() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) GetNoRotate() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) GetNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) GetReadOnly() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) GetLocked() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) GetToggleNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) GetLockedContents() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -37088,81 +43972,81 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) require(fiel // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldInvisible) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldHidden) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) SetPrint(print bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldPrint) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldNoZoom) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldNoRotate) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) SetNoView(noView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldReadOnly) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) SetLocked(locked bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldLocked) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldToggleNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyFlagsFieldLockedContents) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldLockedContents) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -37172,8 +44056,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) UnmarshalJSO return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags var marshaler = struct { embed }{ @@ -37183,7 +44067,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) MarshalJSON( return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) String() string { if d == nil { return "" } @@ -37198,66 +44082,66 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyFlags) String() str return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQuality string +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQuality string const ( - DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQuality = "durable" - DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQuality = "weak" + DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQuality = "durable" + DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQuality = "weak" ) -func NewDocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQuality, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQualityDurable, nil + return DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQualityDurable, nil case "weak": - return DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQualityWeak, nil + return DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQualityWeak, nil } - var t DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQuality + var t DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemSquigglyIdentityQuality { +func (d DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQuality { return &d } -type DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo struct { +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm - Index *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm + Index *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -37270,19 +44154,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) Unmarsha } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -37292,7 +44176,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) Unmarsha return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -37311,13 +44195,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) MarshalJS return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) error +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -37330,7 +44214,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) Accept(v return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -37371,15 +44255,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyTo) validate } var ( - docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -37388,35 +44272,35 @@ type DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -37425,32 +44309,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) req // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -37460,8 +44344,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) Unm return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex var marshaler = struct { embed }{ @@ -37471,7 +44355,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) Mar return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) String() string { if d == nil { return "" } @@ -37487,12 +44371,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndex) Str } var ( - docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -37504,35 +44388,35 @@ type DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -37541,32 +44425,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevis // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -37576,8 +44460,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevis return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision var marshaler = struct { embed }{ @@ -37587,7 +44471,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevis return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -37603,11 +44487,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToIndexRevis } var ( - docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm struct { +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -37618,28 +44502,28 @@ type DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -37648,25 +44532,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) requir // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -37676,8 +44560,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) Unmars return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm var marshaler = struct { embed }{ @@ -37687,7 +44571,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) String() string { if d == nil { return "" } @@ -37703,11 +44587,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToNm) String } var ( - docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -37718,28 +44602,28 @@ type DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber s rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -37748,25 +44632,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumb // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -37776,8 +44660,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumb return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber var marshaler = struct { embed }{ @@ -37787,7 +44671,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumb return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -37802,18 +44686,37 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyInReplyToObjectNumb return fmt.Sprintf("%#v", d) } +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntent string + +const ( + DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntentStrikeoutTextEdit DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntent = "strikeout-text-edit" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemStrikeoutIntentFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntent, error) { + switch s { + case "strikeout-text-edit": + return DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntentStrikeoutTextEdit, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntent + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntent) Ptr() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntent { + return &d +} + var ( - docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemFieldP1 = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemFieldP2 = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemFieldP3 = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemFieldP4 = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemFieldP1 = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemFieldP2 = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemFieldP3 = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemFieldP4 = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem struct { - P1 *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1 `json:"p1" url:"p1"` - P2 *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2 `json:"p2" url:"p2"` - P3 *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3 `json:"p3" url:"p3"` - P4 *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4 `json:"p4" url:"p4"` +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem struct { + P1 *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1 `json:"p1" url:"p1"` + P2 *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2 `json:"p2" url:"p2"` + P3 *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3 `json:"p3" url:"p3"` + P4 *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4 `json:"p4" url:"p4"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -37822,42 +44725,42 @@ type DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) GetP1() *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) GetP1() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1 { if d == nil { return nil } return d.P1 } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) GetP2() *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) GetP2() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2 { if d == nil { return nil } return d.P2 } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) GetP3() *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) GetP3() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3 { if d == nil { return nil } return d.P3 } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) GetP4() *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) GetP4() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4 { if d == nil { return nil } return d.P4 } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -37866,39 +44769,39 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) req // SetP1 sets the P1 field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) SetP1(p1 *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) SetP1(p1 *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) { d.P1 = p1 - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemFieldP1) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemFieldP1) } // SetP2 sets the P2 field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) SetP2(p2 *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) SetP2(p2 *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) { d.P2 = p2 - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemFieldP2) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemFieldP2) } // SetP3 sets the P3 field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) SetP3(p3 *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) SetP3(p3 *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) { d.P3 = p3 - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemFieldP3) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemFieldP3) } // SetP4 sets the P4 field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) SetP4(p4 *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) SetP4(p4 *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) { d.P4 = p4 - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemFieldP4) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemFieldP4) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -37908,8 +44811,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) Unm return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem var marshaler = struct { embed }{ @@ -37919,7 +44822,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) Mar return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) String() string { if d == nil { return "" } @@ -37935,11 +44838,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItem) Str } var ( - docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1FieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1FieldY = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1FieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1 struct { +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1 struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -37950,28 +44853,28 @@ type DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1 struct rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) GetX() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) GetY() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -37980,25 +44883,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) r // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) SetX(x float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) SetX(x float64) { d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1FieldX) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1FieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) SetY(y float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) SetY(y float64) { d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1FieldY) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1FieldY) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1 +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -38008,8 +44911,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) U return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1 +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1 var marshaler = struct { embed }{ @@ -38019,7 +44922,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) M return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) String() string { if d == nil { return "" } @@ -38035,11 +44938,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP1) S } var ( - docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2FieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2FieldY = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2FieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2 struct { +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2 struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -38050,28 +44953,28 @@ type DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2 struct rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) GetX() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) GetY() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -38080,25 +44983,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) r // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) SetX(x float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) SetX(x float64) { d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2FieldX) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2FieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) SetY(y float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) SetY(y float64) { d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2FieldY) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2FieldY) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2 +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -38108,8 +45011,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) U return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2 +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2 var marshaler = struct { embed }{ @@ -38119,7 +45022,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) M return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) String() string { if d == nil { return "" } @@ -38135,11 +45038,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP2) S } var ( - docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3FieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3FieldY = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3FieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3 struct { +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3 struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -38150,28 +45053,28 @@ type DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3 struct rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) GetX() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) GetY() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -38180,25 +45083,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) r // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) SetX(x float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) SetX(x float64) { d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3FieldX) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3FieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) SetY(y float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) SetY(y float64) { d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3FieldY) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3FieldY) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3 +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -38208,8 +45111,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) U return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3 +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3 var marshaler = struct { embed }{ @@ -38219,7 +45122,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) M return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) String() string { if d == nil { return "" } @@ -38235,11 +45138,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP3) S } var ( - docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4FieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4FieldY = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4FieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4 struct { +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4 struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -38250,28 +45153,28 @@ type DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4 struct rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) GetX() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) GetY() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -38280,25 +45183,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) r // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) SetX(x float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) SetX(x float64) { d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4FieldX) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4FieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) SetY(y float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) SetY(y float64) { d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4FieldY) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4FieldY) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4 +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -38308,8 +45211,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) U return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4 +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4 var marshaler = struct { embed }{ @@ -38319,7 +45222,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) M return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) String() string { if d == nil { return "" } @@ -38335,13 +45238,13 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyQuadPointsItemP4) S } var ( - docAnnotationsList200ResponseAnnotationsItemSquigglyRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquigglyRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemSquigglyRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemSquigglyRectFieldTop = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemStrikeoutRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStrikeoutRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStrikeoutRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemStrikeoutRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemSquigglyRect struct { +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -38354,42 +45257,42 @@ type DocAnnotationsList200ResponseAnnotationsItemSquigglyRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) GetLeft() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) GetBottom() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) GetRight() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) GetTop() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -38398,39 +45301,39 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) require(field // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) SetLeft(left float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRectFieldLeft) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) SetBottom(bottom float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRectFieldBottom) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) SetRight(right float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRectFieldRight) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) SetTop(top float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRectFieldTop) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRectFieldTop) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyRect +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyRect(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -38440,8 +45343,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) UnmarshalJSON return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyRect +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect var marshaler = struct { embed }{ @@ -38451,7 +45354,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) String() string { if d == nil { return "" } @@ -38466,44 +45369,44 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRect) String() stri return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemSquigglyRef struct { +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm - Index *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm + Index *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -38516,19 +45419,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) UnmarshalJSON( } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -38538,7 +45441,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) UnmarshalJSON( return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -38557,13 +45460,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) MarshalJSON() ( return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemSquigglyRefVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) error +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemSquigglyRefVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -38576,7 +45479,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) Accept(visitor return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -38617,15 +45520,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRef) validate() err } var ( - docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -38634,35 +45537,35 @@ type DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -38671,32 +45574,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) require(f // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -38706,8 +45609,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) Unmarshal return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex var marshaler = struct { embed }{ @@ -38717,7 +45620,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) MarshalJS return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) String() string { if d == nil { return "" } @@ -38733,12 +45636,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndex) String() } var ( - docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -38750,35 +45653,35 @@ type DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision struct rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -38787,32 +45690,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) r // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -38822,8 +45725,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) U return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision var marshaler = struct { embed }{ @@ -38833,7 +45736,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) M return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) String() string { if d == nil { return "" } @@ -38849,11 +45752,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefIndexRevision) S } var ( - docAnnotationsList200ResponseAnnotationsItemSquigglyRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquigglyRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStrikeoutRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStrikeoutRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm struct { +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -38864,28 +45767,28 @@ type DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -38894,25 +45797,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) require(fiel // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRefNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRefNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRefNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -38922,8 +45825,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) UnmarshalJSO return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm var marshaler = struct { embed }{ @@ -38933,7 +45836,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) MarshalJSON( return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) String() string { if d == nil { return "" } @@ -38949,11 +45852,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefNm) String() str } var ( - docAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -38964,28 +45867,28 @@ type DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber struct rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -38994,25 +45897,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) re // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -39022,8 +45925,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) Un return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber var marshaler = struct { embed }{ @@ -39033,7 +45936,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) Ma return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) String() string { if d == nil { return "" } @@ -39048,78 +45951,82 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemSquigglyRefObjectNumber) St return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyType string +type DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyType string const ( - DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyType = "reply" - DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyType = "group" + DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyType = "reply" + DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyType = "group" ) -func NewDocAnnotationsList200ResponseAnnotationsItemSquigglyReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyType, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyType, error) { switch s { case "reply": - return DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyTypeReply, nil + return DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyTypeReply, nil case "group": - return DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyTypeGroup, nil + return DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyTypeGroup, nil } - var t DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyType + var t DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemSquigglyReplyType { +func (d DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyType { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemStampFieldRef = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStampFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemStampFieldIndex = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemStampFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemStampFieldNm = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemStampFieldFlags = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemStampFieldRect = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemStampFieldContents = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemStampFieldSubject = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemStampFieldAuthor = big.NewInt(1 << 9) - docAnnotationsList200ResponseAnnotationsItemStampFieldCreated = big.NewInt(1 << 10) - docAnnotationsList200ResponseAnnotationsItemStampFieldModified = big.NewInt(1 << 11) - docAnnotationsList200ResponseAnnotationsItemStampFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsList200ResponseAnnotationsItemStampFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsList200ResponseAnnotationsItemStampFieldReplyType = big.NewInt(1 << 14) - docAnnotationsList200ResponseAnnotationsItemStampFieldUserID = big.NewInt(1 << 15) - docAnnotationsList200ResponseAnnotationsItemStampFieldGroupID = big.NewInt(1 << 16) - docAnnotationsList200ResponseAnnotationsItemStampFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsList200ResponseAnnotationsItemStampFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsList200ResponseAnnotationsItemStampFieldActions = big.NewInt(1 << 19) - docAnnotationsList200ResponseAnnotationsItemStampFieldName = big.NewInt(1 << 20) - docAnnotationsList200ResponseAnnotationsItemStampFieldRotation = big.NewInt(1 << 21) - docAnnotationsList200ResponseAnnotationsItemStampFieldUnrotatedRect = big.NewInt(1 << 22) + docAnnotationsList200ResponseAnnotationsItemTextFieldRef = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemTextFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemTextFieldIndex = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemTextFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemTextFieldNm = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemTextFieldFlags = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemTextFieldRect = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemTextFieldContents = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemTextFieldSubject = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemTextFieldAuthor = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemTextFieldCreated = big.NewInt(1 << 10) + docAnnotationsList200ResponseAnnotationsItemTextFieldModified = big.NewInt(1 << 11) + docAnnotationsList200ResponseAnnotationsItemTextFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsList200ResponseAnnotationsItemTextFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsList200ResponseAnnotationsItemTextFieldReplyType = big.NewInt(1 << 14) + docAnnotationsList200ResponseAnnotationsItemTextFieldUserID = big.NewInt(1 << 15) + docAnnotationsList200ResponseAnnotationsItemTextFieldGroupID = big.NewInt(1 << 16) + docAnnotationsList200ResponseAnnotationsItemTextFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsList200ResponseAnnotationsItemTextFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsList200ResponseAnnotationsItemTextFieldActions = big.NewInt(1 << 19) + docAnnotationsList200ResponseAnnotationsItemTextFieldColor = big.NewInt(1 << 20) + docAnnotationsList200ResponseAnnotationsItemTextFieldOpacity = big.NewInt(1 << 21) + docAnnotationsList200ResponseAnnotationsItemTextFieldIcon = big.NewInt(1 << 22) + docAnnotationsList200ResponseAnnotationsItemTextFieldState = big.NewInt(1 << 23) + docAnnotationsList200ResponseAnnotationsItemTextFieldStateModel = big.NewInt(1 << 24) ) -type DocAnnotationsList200ResponseAnnotationsItemStamp struct { - Ref *DocAnnotationsList200ResponseAnnotationsItemStampRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsList200ResponseAnnotationsItemStampIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsList200ResponseAnnotationsItemStampFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsList200ResponseAnnotationsItemStampRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsList200ResponseAnnotationsItemStampBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsList200ResponseAnnotationsItemStampReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Name *string `json:"name,omitempty" url:"name,omitempty"` - Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` - UnrotatedRect *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect `json:"unrotatedRect,omitempty" url:"unrotatedRect,omitempty"` +type DocAnnotationsList200ResponseAnnotationsItemText struct { + Ref *DocAnnotationsList200ResponseAnnotationsItemTextRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsList200ResponseAnnotationsItemTextIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsList200ResponseAnnotationsItemTextFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsList200ResponseAnnotationsItemTextRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsList200ResponseAnnotationsItemTextBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsList200ResponseAnnotationsItemTextReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsList200ResponseAnnotationsItemTextColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + Icon DocAnnotationsList200ResponseAnnotationsItemTextIcon `json:"icon" url:"icon"` + State *string `json:"state,omitempty" url:"state,omitempty"` + StateModel *string `json:"stateModel,omitempty" url:"stateModel,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -39128,175 +46035,189 @@ type DocAnnotationsList200ResponseAnnotationsItemStamp struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetRef() *DocAnnotationsList200ResponseAnnotationsItemStampRef { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetRef() *DocAnnotationsList200ResponseAnnotationsItemTextRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemStampIdentityQuality { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemTextIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetNm() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemStampFlags { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemTextFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetRect() *DocAnnotationsList200ResponseAnnotationsItemStampRect { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetRect() *DocAnnotationsList200ResponseAnnotationsItemTextRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetContents() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetSubject() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetAuthor() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetCreated() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetModified() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemStampBlendMode { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemTextBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemStampReplyType { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemTextReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetUserID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetGroupID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetCreatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetUpdatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetName() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetColor() *DocAnnotationsList200ResponseAnnotationsItemTextColor { if d == nil { return nil } - return d.Name + return d.Color } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetRotation() *float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetOpacity() float64 { + if d == nil { + return 0 + } + return d.Opacity +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetIcon() DocAnnotationsList200ResponseAnnotationsItemTextIcon { + if d == nil { + return "" + } + return d.Icon +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetState() *string { if d == nil { return nil } - return d.Rotation + return d.State } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetUnrotatedRect() *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetStateModel() *string { if d == nil { return nil } - return d.UnrotatedRect + return d.StateModel } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -39305,167 +46226,181 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) require(field *big.I // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemStampRef) { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemTextRef) { d.Ref = ref - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldRef) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemStampIdentityQuality) { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemTextIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldIdentityQuality) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetNm(nm *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemStampFlags) { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemTextFlags) { d.Flags = flags - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldFlags) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemStampRect) { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemTextRect) { d.Rect = rect - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldRect) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetContents(contents *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldContents) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetSubject(subject *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldSubject) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetAuthor(author *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldAuthor) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetCreated(created *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldCreated) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetModified(modified *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldModified) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemStampBlendMode) { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemTextBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldBlendMode) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldInReplyTo) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemStampReplyType) { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemTextReplyType) { d.ReplyType = replyType - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldReplyType) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetUserID(userID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldUserID) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetGroupID(groupID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldGroupID) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldCreatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldUpdatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldActions) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldActions) } -// SetName sets the Name field and marks it as non-optional; +// SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetName(name *string) { - d.Name = name - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldName) +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemTextColor) { + d.Color = color + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldColor) } -// SetRotation sets the Rotation field and marks it as non-optional; +// SetOpacity sets the Opacity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetRotation(rotation *float64) { - d.Rotation = rotation - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldRotation) +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetOpacity(opacity float64) { + d.Opacity = opacity + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldOpacity) } -// SetUnrotatedRect sets the UnrotatedRect field and marks it as non-optional; +// SetIcon sets the Icon field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) SetUnrotatedRect(unrotatedRect *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) { - d.UnrotatedRect = unrotatedRect - d.require(docAnnotationsList200ResponseAnnotationsItemStampFieldUnrotatedRect) +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetIcon(icon DocAnnotationsList200ResponseAnnotationsItemTextIcon) { + d.Icon = icon + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldIcon) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsList200ResponseAnnotationsItemStamp +// SetState sets the State field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetState(state *string) { + d.State = state + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldState) +} + +// SetStateModel sets the StateModel field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetStateModel(stateModel *string) { + d.StateModel = stateModel + d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldStateModel) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemText) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsList200ResponseAnnotationsItemText var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -39476,7 +46411,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) UnmarshalJSON(data [ if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStamp(unmarshaler.embed) + *d = DocAnnotationsList200ResponseAnnotationsItemText(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -39488,8 +46423,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) UnmarshalJSON(data [ return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStamp +func (d *DocAnnotationsList200ResponseAnnotationsItemText) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemText var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -39503,7 +46438,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) MarshalJSON() ([]byt return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemText) String() string { if d == nil { return "" } @@ -39518,84 +46453,200 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStamp) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemStampBlendMode string +type DocAnnotationsList200ResponseAnnotationsItemTextBlendMode string const ( - DocAnnotationsList200ResponseAnnotationsItemStampBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "normal" - DocAnnotationsList200ResponseAnnotationsItemStampBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "multiply" - DocAnnotationsList200ResponseAnnotationsItemStampBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "screen" - DocAnnotationsList200ResponseAnnotationsItemStampBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "overlay" - DocAnnotationsList200ResponseAnnotationsItemStampBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "darken" - DocAnnotationsList200ResponseAnnotationsItemStampBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "lighten" - DocAnnotationsList200ResponseAnnotationsItemStampBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "color-dodge" - DocAnnotationsList200ResponseAnnotationsItemStampBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "color-burn" - DocAnnotationsList200ResponseAnnotationsItemStampBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "hard-light" - DocAnnotationsList200ResponseAnnotationsItemStampBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "soft-light" - DocAnnotationsList200ResponseAnnotationsItemStampBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "difference" - DocAnnotationsList200ResponseAnnotationsItemStampBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "exclusion" - DocAnnotationsList200ResponseAnnotationsItemStampBlendModeHue DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "hue" - DocAnnotationsList200ResponseAnnotationsItemStampBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "saturation" - DocAnnotationsList200ResponseAnnotationsItemStampBlendModeColor DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "color" - DocAnnotationsList200ResponseAnnotationsItemStampBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemStampBlendMode = "luminosity" + DocAnnotationsList200ResponseAnnotationsItemTextBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "normal" + DocAnnotationsList200ResponseAnnotationsItemTextBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "multiply" + DocAnnotationsList200ResponseAnnotationsItemTextBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "screen" + DocAnnotationsList200ResponseAnnotationsItemTextBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "overlay" + DocAnnotationsList200ResponseAnnotationsItemTextBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "darken" + DocAnnotationsList200ResponseAnnotationsItemTextBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "lighten" + DocAnnotationsList200ResponseAnnotationsItemTextBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "color-dodge" + DocAnnotationsList200ResponseAnnotationsItemTextBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "color-burn" + DocAnnotationsList200ResponseAnnotationsItemTextBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "hard-light" + DocAnnotationsList200ResponseAnnotationsItemTextBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "soft-light" + DocAnnotationsList200ResponseAnnotationsItemTextBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "difference" + DocAnnotationsList200ResponseAnnotationsItemTextBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "exclusion" + DocAnnotationsList200ResponseAnnotationsItemTextBlendModeHue DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "hue" + DocAnnotationsList200ResponseAnnotationsItemTextBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "saturation" + DocAnnotationsList200ResponseAnnotationsItemTextBlendModeColor DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "color" + DocAnnotationsList200ResponseAnnotationsItemTextBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "luminosity" ) -func NewDocAnnotationsList200ResponseAnnotationsItemStampBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemStampBlendMode, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemTextBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemTextBlendMode, error) { switch s { case "normal": - return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeNormal, nil + return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeNormal, nil case "multiply": - return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeMultiply, nil + return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeMultiply, nil case "screen": - return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeScreen, nil + return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeScreen, nil case "overlay": - return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeOverlay, nil + return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeOverlay, nil case "darken": - return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeDarken, nil + return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeDarken, nil case "lighten": - return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeLighten, nil + return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeLighten, nil case "color-dodge": - return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeColorDodge, nil + return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeColorBurn, nil + return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeHardLight, nil + return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeHardLight, nil case "soft-light": - return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeSoftLight, nil + return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeSoftLight, nil case "difference": - return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeDifference, nil + return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeDifference, nil case "exclusion": - return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeExclusion, nil + return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeExclusion, nil case "hue": - return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeHue, nil + return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeHue, nil case "saturation": - return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeSaturation, nil + return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeSaturation, nil case "color": - return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeColor, nil + return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeColor, nil case "luminosity": - return DocAnnotationsList200ResponseAnnotationsItemStampBlendModeLuminosity, nil + return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeLuminosity, nil } - var t DocAnnotationsList200ResponseAnnotationsItemStampBlendMode + var t DocAnnotationsList200ResponseAnnotationsItemTextBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemStampBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemStampBlendMode { +func (d DocAnnotationsList200ResponseAnnotationsItemTextBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemTextBlendMode { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemTextColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemTextColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemTextColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemStampFlags struct { +type DocAnnotationsList200ResponseAnnotationsItemTextColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemTextColor) GetR() int { + if d == nil { + return 0 + } + return d.R +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemTextColor) GetG() int { + if d == nil { + return 0 + } + return d.G +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemTextColor) GetB() int { + if d == nil { + return 0 + } + return d.B +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemTextColor) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemTextColor) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetR sets the R field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemTextColor) SetR(r int) { + d.R = r + d.require(docAnnotationsList200ResponseAnnotationsItemTextColorFieldR) +} + +// SetG sets the G field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemTextColor) SetG(g int) { + d.G = g + d.require(docAnnotationsList200ResponseAnnotationsItemTextColorFieldG) +} + +// SetB sets the B field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemTextColor) SetB(b int) { + d.B = b + d.require(docAnnotationsList200ResponseAnnotationsItemTextColorFieldB) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemTextColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemTextColor + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemTextColor(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemTextColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemTextColor + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemTextColor) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldLockedContents = big.NewInt(1 << 9) +) + +type DocAnnotationsList200ResponseAnnotationsItemTextFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -39614,84 +46665,84 @@ type DocAnnotationsList200ResponseAnnotationsItemStampFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) GetInvisible() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) GetHidden() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) GetPrint() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) GetNoZoom() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) GetNoRotate() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) GetNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) GetReadOnly() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) GetLocked() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) GetToggleNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) GetLockedContents() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -39700,81 +46751,81 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) require(field * // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldInvisible) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldHidden) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) SetPrint(print bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldPrint) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldNoZoom) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldNoRotate) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) SetNoView(noView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldReadOnly) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) SetLocked(locked bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldLocked) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldToggleNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsList200ResponseAnnotationsItemStampFlagsFieldLockedContents) + d.require(docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldLockedContents) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStampFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemTextFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStampFlags(value) + *d = DocAnnotationsList200ResponseAnnotationsItemTextFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -39784,8 +46835,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) UnmarshalJSON(d return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStampFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemTextFlags var marshaler = struct { embed }{ @@ -39795,7 +46846,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) MarshalJSON() ( return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) String() string { if d == nil { return "" } @@ -39810,66 +46861,103 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampFlags) String() string return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemStampIdentityQuality string +type DocAnnotationsList200ResponseAnnotationsItemTextIcon string const ( - DocAnnotationsList200ResponseAnnotationsItemStampIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemStampIdentityQuality = "durable" - DocAnnotationsList200ResponseAnnotationsItemStampIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemStampIdentityQuality = "weak" + DocAnnotationsList200ResponseAnnotationsItemTextIconComment DocAnnotationsList200ResponseAnnotationsItemTextIcon = "comment" + DocAnnotationsList200ResponseAnnotationsItemTextIconKey DocAnnotationsList200ResponseAnnotationsItemTextIcon = "key" + DocAnnotationsList200ResponseAnnotationsItemTextIconNote DocAnnotationsList200ResponseAnnotationsItemTextIcon = "note" + DocAnnotationsList200ResponseAnnotationsItemTextIconHelp DocAnnotationsList200ResponseAnnotationsItemTextIcon = "help" + DocAnnotationsList200ResponseAnnotationsItemTextIconNewParagraph DocAnnotationsList200ResponseAnnotationsItemTextIcon = "new-paragraph" + DocAnnotationsList200ResponseAnnotationsItemTextIconParagraph DocAnnotationsList200ResponseAnnotationsItemTextIcon = "paragraph" + DocAnnotationsList200ResponseAnnotationsItemTextIconInsert DocAnnotationsList200ResponseAnnotationsItemTextIcon = "insert" ) -func NewDocAnnotationsList200ResponseAnnotationsItemStampIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemStampIdentityQuality, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemTextIconFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemTextIcon, error) { + switch s { + case "comment": + return DocAnnotationsList200ResponseAnnotationsItemTextIconComment, nil + case "key": + return DocAnnotationsList200ResponseAnnotationsItemTextIconKey, nil + case "note": + return DocAnnotationsList200ResponseAnnotationsItemTextIconNote, nil + case "help": + return DocAnnotationsList200ResponseAnnotationsItemTextIconHelp, nil + case "new-paragraph": + return DocAnnotationsList200ResponseAnnotationsItemTextIconNewParagraph, nil + case "paragraph": + return DocAnnotationsList200ResponseAnnotationsItemTextIconParagraph, nil + case "insert": + return DocAnnotationsList200ResponseAnnotationsItemTextIconInsert, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemTextIcon + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemTextIcon) Ptr() *DocAnnotationsList200ResponseAnnotationsItemTextIcon { + return &d +} + +type DocAnnotationsList200ResponseAnnotationsItemTextIdentityQuality string + +const ( + DocAnnotationsList200ResponseAnnotationsItemTextIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemTextIdentityQuality = "durable" + DocAnnotationsList200ResponseAnnotationsItemTextIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemTextIdentityQuality = "weak" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemTextIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemTextIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsList200ResponseAnnotationsItemStampIdentityQualityDurable, nil + return DocAnnotationsList200ResponseAnnotationsItemTextIdentityQualityDurable, nil case "weak": - return DocAnnotationsList200ResponseAnnotationsItemStampIdentityQualityWeak, nil + return DocAnnotationsList200ResponseAnnotationsItemTextIdentityQualityWeak, nil } - var t DocAnnotationsList200ResponseAnnotationsItemStampIdentityQuality + var t DocAnnotationsList200ResponseAnnotationsItemTextIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemStampIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemStampIdentityQuality { +func (d DocAnnotationsList200ResponseAnnotationsItemTextIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemTextIdentityQuality { return &d } -type DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo struct { +type DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm - Index *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm + Index *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -39882,19 +46970,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) UnmarshalJS } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -39904,7 +46992,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) UnmarshalJS return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -39923,13 +47011,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) MarshalJSON( return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemStampInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) error +type DocAnnotationsList200ResponseAnnotationsItemTextInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemStampInReplyToVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemTextInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -39942,7 +47030,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) Accept(visi return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -39983,15 +47071,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyTo) validate() } var ( - docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -40000,35 +47088,35 @@ type DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -40037,32 +47125,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) requir // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -40072,8 +47160,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) Unmars return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex var marshaler = struct { embed }{ @@ -40083,7 +47171,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) String() string { if d == nil { return "" } @@ -40099,12 +47187,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndex) String } var ( - docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -40116,35 +47204,35 @@ type DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision str rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -40153,32 +47241,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -40188,8 +47276,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision var marshaler = struct { embed }{ @@ -40199,7 +47287,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -40215,11 +47303,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToIndexRevision } var ( - docAnnotationsList200ResponseAnnotationsItemStampInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStampInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemTextInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemTextInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm struct { +type DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -40230,28 +47318,28 @@ type DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -40260,25 +47348,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) require(f // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemStampInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemTextInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemStampInReplyToNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemTextInReplyToNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -40288,8 +47376,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) Unmarshal return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm var marshaler = struct { embed }{ @@ -40299,7 +47387,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) MarshalJS return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) String() string { if d == nil { return "" } @@ -40315,11 +47403,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToNm) String() } var ( - docAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -40330,28 +47418,28 @@ type DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber stru rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -40360,25 +47448,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -40388,8 +47476,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber var marshaler = struct { embed }{ @@ -40399,7 +47487,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -40415,13 +47503,13 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampInReplyToObjectNumber) } var ( - docAnnotationsList200ResponseAnnotationsItemStampRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStampRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemStampRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemStampRectFieldTop = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemTextRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemTextRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemTextRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemTextRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemStampRect struct { +type DocAnnotationsList200ResponseAnnotationsItemTextRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -40434,42 +47522,42 @@ type DocAnnotationsList200ResponseAnnotationsItemStampRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) GetLeft() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) GetBottom() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) GetRight() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) GetTop() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -40478,39 +47566,39 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) require(field *b // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) SetLeft(left float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemStampRectFieldLeft) + d.require(docAnnotationsList200ResponseAnnotationsItemTextRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) SetBottom(bottom float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemStampRectFieldBottom) + d.require(docAnnotationsList200ResponseAnnotationsItemTextRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) SetRight(right float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemStampRectFieldRight) + d.require(docAnnotationsList200ResponseAnnotationsItemTextRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) SetTop(top float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemStampRectFieldTop) + d.require(docAnnotationsList200ResponseAnnotationsItemTextRectFieldTop) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStampRect +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemTextRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStampRect(value) + *d = DocAnnotationsList200ResponseAnnotationsItemTextRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -40520,8 +47608,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) UnmarshalJSON(da return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStampRect +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemTextRect var marshaler = struct { embed }{ @@ -40531,7 +47619,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) MarshalJSON() ([ return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) String() string { if d == nil { return "" } @@ -40546,44 +47634,44 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRect) String() string return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemStampRef struct { +type DocAnnotationsList200ResponseAnnotationsItemTextRef struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemStampRefNm - Index *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemTextRefNm + Index *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRef) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemStampRefNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemTextRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -40596,19 +47684,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRef) UnmarshalJSON(dat } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemStampRefNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemTextRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -40618,7 +47706,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRef) UnmarshalJSON(dat return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemStampRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemTextRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -40637,13 +47725,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemStampRef) MarshalJSON() ([]b return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemStampRefVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemStampRefNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) error +type DocAnnotationsList200ResponseAnnotationsItemTextRefVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemTextRefNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemStampRefVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemTextRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -40656,7 +47744,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRef) Accept(visitor Do return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRef) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -40697,15 +47785,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRef) validate() error } var ( - docAnnotationsList200ResponseAnnotationsItemStampRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStampRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemStampRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemTextRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemTextRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemTextRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemStampRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemTextRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -40714,35 +47802,35 @@ type DocAnnotationsList200ResponseAnnotationsItemStampRefIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -40751,32 +47839,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) require(fiel // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemStampRefIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemTextRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemStampRefIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemTextRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemStampRefIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemTextRefIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStampRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemTextRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStampRefIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemTextRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -40786,8 +47874,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) UnmarshalJSO return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStampRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemTextRefIndex var marshaler = struct { embed }{ @@ -40797,7 +47885,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) MarshalJSON( return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) String() string { if d == nil { return "" } @@ -40813,12 +47901,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndex) String() str } var ( - docAnnotationsList200ResponseAnnotationsItemStampRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStampRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemStampRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemTextRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemTextRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemTextRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -40830,35 +47918,35 @@ type DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -40867,32 +47955,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) requ // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemStampRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemTextRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemStampRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemTextRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemStampRefIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemTextRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -40902,8 +47990,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) Unma return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision var marshaler = struct { embed }{ @@ -40913,7 +48001,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) Mars return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) String() string { if d == nil { return "" } @@ -40929,11 +48017,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefIndexRevision) Stri } var ( - docAnnotationsList200ResponseAnnotationsItemStampRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStampRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemTextRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemTextRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemStampRefNm struct { +type DocAnnotationsList200ResponseAnnotationsItemTextRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -40944,28 +48032,28 @@ type DocAnnotationsList200ResponseAnnotationsItemStampRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -40974,25 +48062,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefNm) require(field * // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemStampRefNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemTextRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemStampRefNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemTextRefNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStampRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemTextRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStampRefNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemTextRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -41002,8 +48090,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefNm) UnmarshalJSON(d return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStampRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemTextRefNm var marshaler = struct { embed }{ @@ -41013,7 +48101,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefNm) MarshalJSON() ( return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefNm) String() string { if d == nil { return "" } @@ -41029,11 +48117,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefNm) String() string } var ( - docAnnotationsList200ResponseAnnotationsItemStampRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStampRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemTextRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemTextRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -41044,28 +48132,28 @@ type DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -41074,25 +48162,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) requi // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemStampRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemTextRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemStampRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemTextRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -41102,8 +48190,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) Unmar return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber var marshaler = struct { embed }{ @@ -41113,7 +48201,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) String() string { if d == nil { return "" } @@ -41128,212 +48216,78 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStampRefObjectNumber) Strin return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemStampReplyType string +type DocAnnotationsList200ResponseAnnotationsItemTextReplyType string const ( - DocAnnotationsList200ResponseAnnotationsItemStampReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemStampReplyType = "reply" - DocAnnotationsList200ResponseAnnotationsItemStampReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemStampReplyType = "group" + DocAnnotationsList200ResponseAnnotationsItemTextReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemTextReplyType = "reply" + DocAnnotationsList200ResponseAnnotationsItemTextReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemTextReplyType = "group" ) -func NewDocAnnotationsList200ResponseAnnotationsItemStampReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemStampReplyType, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemTextReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemTextReplyType, error) { switch s { case "reply": - return DocAnnotationsList200ResponseAnnotationsItemStampReplyTypeReply, nil + return DocAnnotationsList200ResponseAnnotationsItemTextReplyTypeReply, nil case "group": - return DocAnnotationsList200ResponseAnnotationsItemStampReplyTypeGroup, nil + return DocAnnotationsList200ResponseAnnotationsItemTextReplyTypeGroup, nil } - var t DocAnnotationsList200ResponseAnnotationsItemStampReplyType + var t DocAnnotationsList200ResponseAnnotationsItemTextReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemStampReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemStampReplyType { +func (d DocAnnotationsList200ResponseAnnotationsItemTextReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemTextReplyType { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemStampUnrotatedRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStampUnrotatedRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemStampUnrotatedRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemStampUnrotatedRectFieldTop = big.NewInt(1 << 3) -) - -type DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect struct { - Left float64 `json:"left" url:"left"` - Bottom float64 `json:"bottom" url:"bottom"` - Right float64 `json:"right" url:"right"` - Top float64 `json:"top" url:"top"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) GetLeft() float64 { - if d == nil { - return 0 - } - return d.Left -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) GetBottom() float64 { - if d == nil { - return 0 - } - return d.Bottom -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) GetRight() float64 { - if d == nil { - return 0 - } - return d.Right -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) GetTop() float64 { - if d == nil { - return 0 - } - return d.Top -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetLeft sets the Left field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemStampUnrotatedRectFieldLeft) -} - -// SetBottom sets the Bottom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemStampUnrotatedRectFieldBottom) -} - -// SetRight sets the Right field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemStampUnrotatedRectFieldRight) -} - -// SetTop sets the Top field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemStampUnrotatedRectFieldTop) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemStampUnrotatedRect) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldRef = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldIndex = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldNm = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldFlags = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldRect = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldContents = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldSubject = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldAuthor = big.NewInt(1 << 9) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldCreated = big.NewInt(1 << 10) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldModified = big.NewInt(1 << 11) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldReplyType = big.NewInt(1 << 14) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldUserID = big.NewInt(1 << 15) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldGroupID = big.NewInt(1 << 16) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldActions = big.NewInt(1 << 19) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldColor = big.NewInt(1 << 20) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldOpacity = big.NewInt(1 << 21) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldQuadPoints = big.NewInt(1 << 22) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldIntent = big.NewInt(1 << 23) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldRef = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldIndex = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldNm = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldFlags = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldRect = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldContents = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldSubject = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldAuthor = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldCreated = big.NewInt(1 << 10) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldModified = big.NewInt(1 << 11) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldReplyType = big.NewInt(1 << 14) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldUserID = big.NewInt(1 << 15) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldGroupID = big.NewInt(1 << 16) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldActions = big.NewInt(1 << 19) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldColor = big.NewInt(1 << 20) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldOpacity = big.NewInt(1 << 21) + docAnnotationsList200ResponseAnnotationsItemUnderlineFieldQuadPoints = big.NewInt(1 << 22) ) -type DocAnnotationsList200ResponseAnnotationsItemStrikeout struct { - Ref *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef `json:"ref" url:"ref"` +type DocAnnotationsList200ResponseAnnotationsItemUnderline struct { + Ref *DocAnnotationsList200ResponseAnnotationsItemUnderlineRef `json:"ref" url:"ref"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQuality `json:"identityQuality" url:"identityQuality"` + IdentityQuality DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQuality `json:"identityQuality" url:"identityQuality"` Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect `json:"rect" url:"rect"` + Flags *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect `json:"rect" url:"rect"` Contents *string `json:"contents,omitempty" url:"contents,omitempty"` Subject *string `json:"subject,omitempty" url:"subject,omitempty"` Author *string `json:"author,omitempty" url:"author,omitempty"` Created *time.Time `json:"created,omitempty" url:"created,omitempty"` Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + BlendMode DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` UserID *string `json:"userId,omitempty" url:"userId,omitempty"` GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor `json:"color" url:"color"` + Color *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor `json:"color" url:"color"` Opacity float64 `json:"opacity" url:"opacity"` - QuadPoints []*DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem `json:"quadPoints" url:"quadPoints"` - Intent *DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntent `json:"intent,omitempty" url:"intent,omitempty"` + QuadPoints []*DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem `json:"quadPoints" url:"quadPoints"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -41342,182 +48296,175 @@ type DocAnnotationsList200ResponseAnnotationsItemStrikeout struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetRef() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetRef() *DocAnnotationsList200ResponseAnnotationsItemUnderlineRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQuality { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetNm() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetRect() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetRect() *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetContents() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetSubject() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetAuthor() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetCreated() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetModified() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyType { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetUserID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetGroupID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetCreatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetUpdatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetColor() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetColor() *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor { if d == nil { return nil } return d.Color } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetOpacity() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetOpacity() float64 { if d == nil { return 0 } return d.Opacity } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetQuadPoints() []*DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetQuadPoints() []*DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem { if d == nil { return nil } return d.QuadPoints } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetIntent() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntent { - if d == nil { - return nil - } - return d.Intent -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -41526,174 +48473,167 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) require(field *b // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemUnderlineRef) { d.Ref = ref - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldRef) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQuality) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldIdentityQuality) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetNm(nm *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) { d.Flags = flags - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldFlags) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) { d.Rect = rect - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldRect) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetContents(contents *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldContents) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetSubject(subject *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldSubject) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetAuthor(author *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldAuthor) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetCreated(created *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldCreated) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetModified(modified *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldModified) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldBlendMode) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldInReplyTo) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyType) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyType) { d.ReplyType = replyType - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldReplyType) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetUserID(userID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldUserID) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetGroupID(groupID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldGroupID) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldCreatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldUpdatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldActions) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldActions) } // SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) { d.Color = color - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldColor) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldColor) } // SetOpacity sets the Opacity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetOpacity(opacity float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetOpacity(opacity float64) { d.Opacity = opacity - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldOpacity) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldOpacity) } // SetQuadPoints sets the QuadPoints field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetQuadPoints(quadPoints []*DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetQuadPoints(quadPoints []*DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) { d.QuadPoints = quadPoints - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldQuadPoints) -} - -// SetIntent sets the Intent field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) SetIntent(intent *DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntent) { - d.Intent = intent - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFieldIntent) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldQuadPoints) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsList200ResponseAnnotationsItemStrikeout +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsList200ResponseAnnotationsItemUnderline var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -41704,7 +48644,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) UnmarshalJSON(da if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStrikeout(unmarshaler.embed) + *d = DocAnnotationsList200ResponseAnnotationsItemUnderline(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -41716,8 +48656,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) UnmarshalJSON(da return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStrikeout +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnderline var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -41731,7 +48671,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) MarshalJSON() ([ return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) String() string { if d == nil { return "" } @@ -41746,77 +48686,77 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeout) String() string return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode string +type DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode string const ( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "normal" - DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "multiply" - DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "screen" - DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "overlay" - DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "darken" - DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "lighten" - DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "color-dodge" - DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "color-burn" - DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "hard-light" - DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "soft-light" - DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "difference" - DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "exclusion" - DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeHue DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "hue" - DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "saturation" - DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeColor DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "color" - DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode = "luminosity" + DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "normal" + DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "multiply" + DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "screen" + DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "overlay" + DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "darken" + DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "lighten" + DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "color-dodge" + DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "color-burn" + DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "hard-light" + DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "soft-light" + DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "difference" + DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "exclusion" + DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeHue DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "hue" + DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "saturation" + DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeColor DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "color" + DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "luminosity" ) -func NewDocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode, error) { switch s { case "normal": - return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeNormal, nil + return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeNormal, nil case "multiply": - return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeMultiply, nil + return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeMultiply, nil case "screen": - return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeScreen, nil + return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeScreen, nil case "overlay": - return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeOverlay, nil + return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeOverlay, nil case "darken": - return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeDarken, nil + return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeDarken, nil case "lighten": - return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeLighten, nil + return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeLighten, nil case "color-dodge": - return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeColorDodge, nil + return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeColorBurn, nil + return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeHardLight, nil + return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeHardLight, nil case "soft-light": - return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeSoftLight, nil + return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeSoftLight, nil case "difference": - return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeDifference, nil + return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeDifference, nil case "exclusion": - return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeExclusion, nil + return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeExclusion, nil case "hue": - return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeHue, nil + return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeHue, nil case "saturation": - return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeSaturation, nil + return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeSaturation, nil case "color": - return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeColor, nil + return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeColor, nil case "luminosity": - return DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendModeLuminosity, nil + return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeLuminosity, nil } - var t DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode + var t DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutBlendMode { +func (d DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemStrikeoutColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStrikeoutColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemStrikeoutColorFieldB = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemUnderlineColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnderlineColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnderlineColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor struct { +type DocAnnotationsList200ResponseAnnotationsItemUnderlineColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -41828,35 +48768,35 @@ type DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) GetR() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) GetG() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) GetB() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -41865,32 +48805,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) require(fie // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) SetR(r int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) SetR(r int) { d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutColorFieldR) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) SetG(g int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) SetG(g int) { d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutColorFieldG) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) SetB(b int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) SetB(b int) { d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutColorFieldB) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineColorFieldB) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -41900,8 +48840,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) UnmarshalJS return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineColor var marshaler = struct { embed }{ @@ -41911,7 +48851,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) MarshalJSON return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) String() string { if d == nil { return "" } @@ -41927,19 +48867,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutColor) String() st } var ( - docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags struct { +type DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -41958,84 +48898,84 @@ type DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) GetInvisible() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) GetHidden() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) GetPrint() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) GetNoZoom() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) GetNoRotate() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) GetNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) GetReadOnly() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) GetLocked() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) GetToggleNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) GetLockedContents() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -42044,81 +48984,81 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) require(fie // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldInvisible) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldHidden) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) SetPrint(print bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldPrint) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldNoZoom) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldNoRotate) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) SetNoView(noView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldReadOnly) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) SetLocked(locked bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldLocked) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldToggleNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutFlagsFieldLockedContents) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldLockedContents) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -42128,8 +49068,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) UnmarshalJS return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags var marshaler = struct { embed }{ @@ -42139,7 +49079,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) MarshalJSON return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) String() string { if d == nil { return "" } @@ -42154,66 +49094,66 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutFlags) String() st return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQuality string +type DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQuality string const ( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQuality = "durable" - DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQuality = "weak" + DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQuality = "durable" + DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQuality = "weak" ) -func NewDocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQuality, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQualityDurable, nil + return DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQualityDurable, nil case "weak": - return DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQualityWeak, nil + return DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQualityWeak, nil } - var t DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQuality + var t DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutIdentityQuality { +func (d DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQuality { return &d } -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo struct { +type DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm - Index *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm + Index *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -42226,19 +49166,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) Unmarsh } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -42248,7 +49188,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) Unmarsh return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -42267,13 +49207,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) MarshalJ return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) error +type DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -42286,7 +49226,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) Accept( return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -42327,15 +49267,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyTo) validat } var ( - docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex struct { +type DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision `json:"revision" url:"revision"` + Revision *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -42344,35 +49284,35 @@ type DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex struct rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -42381,32 +49321,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) re // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -42416,8 +49356,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) Un return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex var marshaler = struct { embed }{ @@ -42427,7 +49367,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) Ma return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) String() string { if d == nil { return "" } @@ -42443,12 +49383,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndex) St } var ( - docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -42460,35 +49400,35 @@ type DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -42497,32 +49437,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevi // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -42532,8 +49472,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevi return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision var marshaler = struct { embed }{ @@ -42543,7 +49483,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevi return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -42559,11 +49499,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToIndexRevi } var ( - docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm struct { +type DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -42574,28 +49514,28 @@ type DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -42604,25 +49544,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) requi // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -42632,8 +49572,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) Unmar return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm var marshaler = struct { embed }{ @@ -42643,7 +49583,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) String() string { if d == nil { return "" } @@ -42659,11 +49599,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToNm) Strin } var ( - docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -42674,28 +49614,28 @@ type DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -42704,25 +49644,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNum // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -42732,8 +49672,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNum return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber var marshaler = struct { embed }{ @@ -42743,7 +49683,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNum return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -42758,37 +49698,18 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutInReplyToObjectNum return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntent string - -const ( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntentStrikeoutTextEdit DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntent = "strikeout-text-edit" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemStrikeoutIntentFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntent, error) { - switch s { - case "strikeout-text-edit": - return DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntentStrikeoutTextEdit, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntent - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntent) Ptr() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutIntent { - return &d -} - var ( - docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemFieldP1 = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemFieldP2 = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemFieldP3 = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemFieldP4 = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemFieldP1 = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemFieldP2 = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemFieldP3 = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemFieldP4 = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem struct { - P1 *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1 `json:"p1" url:"p1"` - P2 *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2 `json:"p2" url:"p2"` - P3 *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3 `json:"p3" url:"p3"` - P4 *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4 `json:"p4" url:"p4"` +type DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem struct { + P1 *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1 `json:"p1" url:"p1"` + P2 *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2 `json:"p2" url:"p2"` + P3 *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3 `json:"p3" url:"p3"` + P4 *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4 `json:"p4" url:"p4"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -42797,42 +49718,42 @@ type DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem struct rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) GetP1() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1 { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) GetP1() *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1 { if d == nil { return nil } return d.P1 } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) GetP2() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2 { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) GetP2() *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2 { if d == nil { return nil } return d.P2 } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) GetP3() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3 { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) GetP3() *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3 { if d == nil { return nil } return d.P3 } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) GetP4() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4 { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) GetP4() *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4 { if d == nil { return nil } return d.P4 } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -42841,39 +49762,39 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) re // SetP1 sets the P1 field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) SetP1(p1 *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) SetP1(p1 *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) { d.P1 = p1 - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemFieldP1) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemFieldP1) } // SetP2 sets the P2 field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) SetP2(p2 *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) SetP2(p2 *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) { d.P2 = p2 - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemFieldP2) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemFieldP2) } // SetP3 sets the P3 field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) SetP3(p3 *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) SetP3(p3 *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) { d.P3 = p3 - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemFieldP3) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemFieldP3) } // SetP4 sets the P4 field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) SetP4(p4 *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) SetP4(p4 *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) { d.P4 = p4 - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemFieldP4) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemFieldP4) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -42883,8 +49804,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) Un return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem var marshaler = struct { embed }{ @@ -42894,7 +49815,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) Ma return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) String() string { if d == nil { return "" } @@ -42910,11 +49831,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItem) St } var ( - docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1FieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1FieldY = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1FieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1 struct { +type DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1 struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -42925,28 +49846,28 @@ type DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1 struc rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) GetX() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) GetY() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -42955,25 +49876,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) SetX(x float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) SetX(x float64) { d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1FieldX) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1FieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) SetY(y float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) SetY(y float64) { d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1FieldY) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1FieldY) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1 +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -42983,8 +49904,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1 +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1 var marshaler = struct { embed }{ @@ -42994,7 +49915,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) String() string { if d == nil { return "" } @@ -43010,11 +49931,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP1) } var ( - docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2FieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2FieldY = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2FieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2 struct { +type DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2 struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -43025,28 +49946,28 @@ type DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2 struc rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) GetX() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) GetY() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -43055,25 +49976,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) SetX(x float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) SetX(x float64) { d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2FieldX) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2FieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) SetY(y float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) SetY(y float64) { d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2FieldY) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2FieldY) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2 +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -43083,8 +50004,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2 +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2 var marshaler = struct { embed }{ @@ -43094,7 +50015,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) String() string { if d == nil { return "" } @@ -43110,11 +50031,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP2) } var ( - docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3FieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3FieldY = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3FieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3 struct { +type DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3 struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -43125,28 +50046,28 @@ type DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3 struc rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) GetX() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) GetY() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -43155,25 +50076,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) SetX(x float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) SetX(x float64) { d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3FieldX) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3FieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) SetY(y float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) SetY(y float64) { d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3FieldY) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3FieldY) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3 +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -43183,8 +50104,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3 +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3 var marshaler = struct { embed }{ @@ -43194,7 +50115,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) String() string { if d == nil { return "" } @@ -43210,11 +50131,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP3) } var ( - docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4FieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4FieldY = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4FieldX = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4 struct { +type DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4 struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -43225,28 +50146,28 @@ type DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4 struc rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) GetX() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) GetY() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -43255,25 +50176,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) SetX(x float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) SetX(x float64) { d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4FieldX) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4FieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) SetY(y float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) SetY(y float64) { d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4FieldY) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4FieldY) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4 +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -43283,8 +50204,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4 +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4 var marshaler = struct { embed }{ @@ -43294,7 +50215,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) String() string { if d == nil { return "" } @@ -43310,13 +50231,13 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutQuadPointsItemP4) } var ( - docAnnotationsList200ResponseAnnotationsItemStrikeoutRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStrikeoutRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemStrikeoutRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemStrikeoutRectFieldTop = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemUnderlineRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnderlineRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnderlineRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemUnderlineRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect struct { +type DocAnnotationsList200ResponseAnnotationsItemUnderlineRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -43329,42 +50250,42 @@ type DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) GetLeft() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) GetBottom() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) GetRight() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) GetTop() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -43373,39 +50294,39 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) require(fiel // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) SetLeft(left float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRectFieldLeft) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) SetBottom(bottom float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRectFieldBottom) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) SetRight(right float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRectFieldRight) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) SetTop(top float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRectFieldTop) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRectFieldTop) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -43415,8 +50336,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) UnmarshalJSO return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineRect var marshaler = struct { embed }{ @@ -43426,7 +50347,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) MarshalJSON( return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) String() string { if d == nil { return "" } @@ -43441,44 +50362,44 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRect) String() str return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef struct { +type DocAnnotationsList200ResponseAnnotationsItemUnderlineRef struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm - Index *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm + Index *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -43491,19 +50412,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) UnmarshalJSON } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -43513,7 +50434,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) UnmarshalJSON return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemUnderlineRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -43532,13 +50453,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) MarshalJSON() return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) error +type DocAnnotationsList200ResponseAnnotationsItemUnderlineRefVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemUnderlineRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -43551,7 +50472,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) Accept(visito return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -43592,15 +50513,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRef) validate() er } var ( - docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex struct { +type DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision `json:"revision" url:"revision"` + Revision *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -43609,35 +50530,35 @@ type DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -43646,32 +50567,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) require( // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -43681,8 +50602,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) Unmarsha return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex var marshaler = struct { embed }{ @@ -43692,7 +50613,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) MarshalJ return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) String() string { if d == nil { return "" } @@ -43708,12 +50629,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndex) String() } var ( - docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -43725,35 +50646,35 @@ type DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision struc rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -43762,32 +50683,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -43797,8 +50718,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision var marshaler = struct { embed }{ @@ -43808,7 +50729,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) String() string { if d == nil { return "" } @@ -43824,11 +50745,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefIndexRevision) } var ( - docAnnotationsList200ResponseAnnotationsItemStrikeoutRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStrikeoutRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnderlineRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnderlineRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm struct { +type DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -43839,28 +50760,28 @@ type DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -43869,25 +50790,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) require(fie // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRefNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRefNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRefNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -43897,8 +50818,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) UnmarshalJS return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm var marshaler = struct { embed }{ @@ -43908,7 +50829,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) MarshalJSON return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) String() string { if d == nil { return "" } @@ -43924,11 +50845,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefNm) String() st } var ( - docAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -43939,28 +50860,28 @@ type DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber struct rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -43969,25 +50890,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) r // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -43997,8 +50918,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) U return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber var marshaler = struct { embed }{ @@ -44008,7 +50929,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) M return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) String() string { if d == nil { return "" } @@ -44023,82 +50944,76 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemStrikeoutRefObjectNumber) S return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyType string +type DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyType string const ( - DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyType = "reply" - DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyType = "group" + DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyType = "reply" + DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyType = "group" ) -func NewDocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyType, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemUnderlineReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyType, error) { switch s { case "reply": - return DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyTypeReply, nil + return DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyTypeReply, nil case "group": - return DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyTypeGroup, nil + return DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyTypeGroup, nil } - var t DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyType + var t DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemStrikeoutReplyType { +func (d DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyType { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemTextFieldRef = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemTextFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemTextFieldIndex = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemTextFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemTextFieldNm = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemTextFieldFlags = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemTextFieldRect = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemTextFieldContents = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemTextFieldSubject = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemTextFieldAuthor = big.NewInt(1 << 9) - docAnnotationsList200ResponseAnnotationsItemTextFieldCreated = big.NewInt(1 << 10) - docAnnotationsList200ResponseAnnotationsItemTextFieldModified = big.NewInt(1 << 11) - docAnnotationsList200ResponseAnnotationsItemTextFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsList200ResponseAnnotationsItemTextFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsList200ResponseAnnotationsItemTextFieldReplyType = big.NewInt(1 << 14) - docAnnotationsList200ResponseAnnotationsItemTextFieldUserID = big.NewInt(1 << 15) - docAnnotationsList200ResponseAnnotationsItemTextFieldGroupID = big.NewInt(1 << 16) - docAnnotationsList200ResponseAnnotationsItemTextFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsList200ResponseAnnotationsItemTextFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsList200ResponseAnnotationsItemTextFieldActions = big.NewInt(1 << 19) - docAnnotationsList200ResponseAnnotationsItemTextFieldColor = big.NewInt(1 << 20) - docAnnotationsList200ResponseAnnotationsItemTextFieldOpacity = big.NewInt(1 << 21) - docAnnotationsList200ResponseAnnotationsItemTextFieldIcon = big.NewInt(1 << 22) - docAnnotationsList200ResponseAnnotationsItemTextFieldState = big.NewInt(1 << 23) - docAnnotationsList200ResponseAnnotationsItemTextFieldStateModel = big.NewInt(1 << 24) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldRef = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldIndex = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldNm = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldFlags = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldRect = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldContents = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldSubject = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldAuthor = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldCreated = big.NewInt(1 << 10) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldModified = big.NewInt(1 << 11) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldReplyType = big.NewInt(1 << 14) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldUserID = big.NewInt(1 << 15) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldGroupID = big.NewInt(1 << 16) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldActions = big.NewInt(1 << 19) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldRawSubtypeCode = big.NewInt(1 << 20) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldRawSubtypeName = big.NewInt(1 << 21) ) -type DocAnnotationsList200ResponseAnnotationsItemText struct { - Ref *DocAnnotationsList200ResponseAnnotationsItemTextRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsList200ResponseAnnotationsItemTextIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsList200ResponseAnnotationsItemTextFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsList200ResponseAnnotationsItemTextRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsList200ResponseAnnotationsItemTextBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsList200ResponseAnnotationsItemTextReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsList200ResponseAnnotationsItemTextColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - Icon DocAnnotationsList200ResponseAnnotationsItemTextIcon `json:"icon" url:"icon"` - State *string `json:"state,omitempty" url:"state,omitempty"` - StateModel *string `json:"stateModel,omitempty" url:"stateModel,omitempty"` +type DocAnnotationsList200ResponseAnnotationsItemUnsupported struct { + Ref *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + RawSubtypeCode int `json:"rawSubtypeCode" url:"rawSubtypeCode"` + RawSubtypeName *string `json:"rawSubtypeName,omitempty" url:"rawSubtypeName,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -44107,189 +51022,168 @@ type DocAnnotationsList200ResponseAnnotationsItemText struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetRef() *DocAnnotationsList200ResponseAnnotationsItemTextRef { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetRef() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemTextIdentityQuality { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetNm() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemTextFlags { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetRect() *DocAnnotationsList200ResponseAnnotationsItemTextRect { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetRect() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetContents() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetSubject() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetAuthor() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetCreated() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetModified() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemTextBlendMode { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemTextReplyType { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetUserID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetGroupID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetCreatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetUpdatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetColor() *DocAnnotationsList200ResponseAnnotationsItemTextColor { - if d == nil { - return nil - } - return d.Color -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetOpacity() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetRawSubtypeCode() int { if d == nil { return 0 } - return d.Opacity -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetIcon() DocAnnotationsList200ResponseAnnotationsItemTextIcon { - if d == nil { - return "" - } - return d.Icon -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetState() *string { - if d == nil { - return nil - } - return d.State + return d.RawSubtypeCode } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetStateModel() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetRawSubtypeName() *string { if d == nil { return nil } - return d.StateModel + return d.RawSubtypeName } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -44298,181 +51192,160 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemText) require(field *big.In // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemTextRef) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) { d.Ref = ref - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldRef) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemTextIdentityQuality) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldIdentityQuality) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetNm(nm *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemTextFlags) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) { d.Flags = flags - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldFlags) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemTextRect) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) { d.Rect = rect - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldRect) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetContents(contents *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldContents) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetSubject(subject *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldSubject) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetAuthor(author *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldAuthor) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetCreated(created *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldCreated) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetModified(modified *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldModified) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemTextBlendMode) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldBlendMode) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldInReplyTo) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemTextReplyType) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyType) { d.ReplyType = replyType - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldReplyType) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetUserID(userID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldUserID) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetGroupID(groupID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldGroupID) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldCreatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldUpdatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldActions) -} - -// SetColor sets the Color field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemTextColor) { - d.Color = color - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldColor) -} - -// SetOpacity sets the Opacity field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetOpacity(opacity float64) { - d.Opacity = opacity - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldOpacity) -} - -// SetIcon sets the Icon field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetIcon(icon DocAnnotationsList200ResponseAnnotationsItemTextIcon) { - d.Icon = icon - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldIcon) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldActions) } -// SetState sets the State field and marks it as non-optional; +// SetRawSubtypeCode sets the RawSubtypeCode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetState(state *string) { - d.State = state - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldState) +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetRawSubtypeCode(rawSubtypeCode int) { + d.RawSubtypeCode = rawSubtypeCode + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldRawSubtypeCode) } -// SetStateModel sets the StateModel field and marks it as non-optional; +// SetRawSubtypeName sets the RawSubtypeName field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemText) SetStateModel(stateModel *string) { - d.StateModel = stateModel - d.require(docAnnotationsList200ResponseAnnotationsItemTextFieldStateModel) +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetRawSubtypeName(rawSubtypeName *string) { + d.RawSubtypeName = rawSubtypeName + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldRawSubtypeName) } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsList200ResponseAnnotationsItemText +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsList200ResponseAnnotationsItemUnsupported var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -44483,7 +51356,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemText) UnmarshalJSON(data [] if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemText(unmarshaler.embed) + *d = DocAnnotationsList200ResponseAnnotationsItemUnsupported(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -44495,8 +51368,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemText) UnmarshalJSON(data [] return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemText +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnsupported var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -44510,7 +51383,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemText) MarshalJSON() ([]byte return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemText) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) String() string { if d == nil { return "" } @@ -44525,200 +51398,84 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemText) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemTextBlendMode string +type DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode string const ( - DocAnnotationsList200ResponseAnnotationsItemTextBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "normal" - DocAnnotationsList200ResponseAnnotationsItemTextBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "multiply" - DocAnnotationsList200ResponseAnnotationsItemTextBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "screen" - DocAnnotationsList200ResponseAnnotationsItemTextBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "overlay" - DocAnnotationsList200ResponseAnnotationsItemTextBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "darken" - DocAnnotationsList200ResponseAnnotationsItemTextBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "lighten" - DocAnnotationsList200ResponseAnnotationsItemTextBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "color-dodge" - DocAnnotationsList200ResponseAnnotationsItemTextBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "color-burn" - DocAnnotationsList200ResponseAnnotationsItemTextBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "hard-light" - DocAnnotationsList200ResponseAnnotationsItemTextBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "soft-light" - DocAnnotationsList200ResponseAnnotationsItemTextBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "difference" - DocAnnotationsList200ResponseAnnotationsItemTextBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "exclusion" - DocAnnotationsList200ResponseAnnotationsItemTextBlendModeHue DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "hue" - DocAnnotationsList200ResponseAnnotationsItemTextBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "saturation" - DocAnnotationsList200ResponseAnnotationsItemTextBlendModeColor DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "color" - DocAnnotationsList200ResponseAnnotationsItemTextBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemTextBlendMode = "luminosity" + DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "normal" + DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "multiply" + DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "screen" + DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "overlay" + DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "darken" + DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "lighten" + DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "color-dodge" + DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "color-burn" + DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "hard-light" + DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "soft-light" + DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "difference" + DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "exclusion" + DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeHue DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "hue" + DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "saturation" + DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeColor DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "color" + DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "luminosity" ) -func NewDocAnnotationsList200ResponseAnnotationsItemTextBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemTextBlendMode, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode, error) { switch s { case "normal": - return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeNormal, nil + return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeNormal, nil case "multiply": - return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeMultiply, nil + return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeMultiply, nil case "screen": - return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeScreen, nil + return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeScreen, nil case "overlay": - return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeOverlay, nil + return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeOverlay, nil case "darken": - return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeDarken, nil + return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeDarken, nil case "lighten": - return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeLighten, nil + return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeLighten, nil case "color-dodge": - return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeColorDodge, nil + return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeColorBurn, nil + return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeHardLight, nil + return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeHardLight, nil case "soft-light": - return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeSoftLight, nil + return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeSoftLight, nil case "difference": - return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeDifference, nil + return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeDifference, nil case "exclusion": - return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeExclusion, nil + return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeExclusion, nil case "hue": - return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeHue, nil + return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeHue, nil case "saturation": - return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeSaturation, nil + return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeSaturation, nil case "color": - return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeColor, nil + return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeColor, nil case "luminosity": - return DocAnnotationsList200ResponseAnnotationsItemTextBlendModeLuminosity, nil + return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeLuminosity, nil } - var t DocAnnotationsList200ResponseAnnotationsItemTextBlendMode + var t DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemTextBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemTextBlendMode { +func (d DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemTextColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemTextColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemTextColorFieldB = big.NewInt(1 << 2) -) - -type DocAnnotationsList200ResponseAnnotationsItemTextColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemTextColor) GetR() int { - if d == nil { - return 0 - } - return d.R -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemTextColor) GetG() int { - if d == nil { - return 0 - } - return d.G -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemTextColor) GetB() int { - if d == nil { - return 0 - } - return d.B -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemTextColor) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemTextColor) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetR sets the R field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextColor) SetR(r int) { - d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemTextColorFieldR) -} - -// SetG sets the G field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextColor) SetG(g int) { - d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemTextColorFieldG) -} - -// SetB sets the B field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextColor) SetB(b int) { - d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemTextColorFieldB) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemTextColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemTextColor - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemTextColor(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemTextColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemTextColor - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemTextColor) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsList200ResponseAnnotationsItemTextFlags struct { +type DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -44737,84 +51494,84 @@ type DocAnnotationsList200ResponseAnnotationsItemTextFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) GetInvisible() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) GetHidden() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) GetPrint() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) GetNoZoom() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) GetNoRotate() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) GetNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) GetReadOnly() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) GetLocked() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) GetToggleNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) GetLockedContents() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -44823,81 +51580,81 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) require(field *b // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldInvisible) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldHidden) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) SetPrint(print bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldPrint) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldNoZoom) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldNoRotate) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) SetNoView(noView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldReadOnly) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) SetLocked(locked bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldLocked) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldToggleNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsList200ResponseAnnotationsItemTextFlagsFieldLockedContents) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldLockedContents) } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemTextFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemTextFlags(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -44907,8 +51664,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) UnmarshalJSON(da return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemTextFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags var marshaler = struct { embed }{ @@ -44918,7 +51675,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) MarshalJSON() ([ return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) String() string { if d == nil { return "" } @@ -44933,103 +51690,66 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextFlags) String() string return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemTextIcon string - -const ( - DocAnnotationsList200ResponseAnnotationsItemTextIconComment DocAnnotationsList200ResponseAnnotationsItemTextIcon = "comment" - DocAnnotationsList200ResponseAnnotationsItemTextIconKey DocAnnotationsList200ResponseAnnotationsItemTextIcon = "key" - DocAnnotationsList200ResponseAnnotationsItemTextIconNote DocAnnotationsList200ResponseAnnotationsItemTextIcon = "note" - DocAnnotationsList200ResponseAnnotationsItemTextIconHelp DocAnnotationsList200ResponseAnnotationsItemTextIcon = "help" - DocAnnotationsList200ResponseAnnotationsItemTextIconNewParagraph DocAnnotationsList200ResponseAnnotationsItemTextIcon = "new-paragraph" - DocAnnotationsList200ResponseAnnotationsItemTextIconParagraph DocAnnotationsList200ResponseAnnotationsItemTextIcon = "paragraph" - DocAnnotationsList200ResponseAnnotationsItemTextIconInsert DocAnnotationsList200ResponseAnnotationsItemTextIcon = "insert" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemTextIconFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemTextIcon, error) { - switch s { - case "comment": - return DocAnnotationsList200ResponseAnnotationsItemTextIconComment, nil - case "key": - return DocAnnotationsList200ResponseAnnotationsItemTextIconKey, nil - case "note": - return DocAnnotationsList200ResponseAnnotationsItemTextIconNote, nil - case "help": - return DocAnnotationsList200ResponseAnnotationsItemTextIconHelp, nil - case "new-paragraph": - return DocAnnotationsList200ResponseAnnotationsItemTextIconNewParagraph, nil - case "paragraph": - return DocAnnotationsList200ResponseAnnotationsItemTextIconParagraph, nil - case "insert": - return DocAnnotationsList200ResponseAnnotationsItemTextIconInsert, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemTextIcon - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemTextIcon) Ptr() *DocAnnotationsList200ResponseAnnotationsItemTextIcon { - return &d -} - -type DocAnnotationsList200ResponseAnnotationsItemTextIdentityQuality string +type DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQuality string const ( - DocAnnotationsList200ResponseAnnotationsItemTextIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemTextIdentityQuality = "durable" - DocAnnotationsList200ResponseAnnotationsItemTextIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemTextIdentityQuality = "weak" + DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQuality = "durable" + DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQuality = "weak" ) -func NewDocAnnotationsList200ResponseAnnotationsItemTextIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemTextIdentityQuality, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsList200ResponseAnnotationsItemTextIdentityQualityDurable, nil + return DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQualityDurable, nil case "weak": - return DocAnnotationsList200ResponseAnnotationsItemTextIdentityQualityWeak, nil + return DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQualityWeak, nil } - var t DocAnnotationsList200ResponseAnnotationsItemTextIdentityQuality + var t DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemTextIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemTextIdentityQuality { +func (d DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQuality { return &d } -type DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo struct { +type DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm - Index *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm + Index *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -45042,19 +51762,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) UnmarshalJSO } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -45064,7 +51784,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) UnmarshalJSO return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -45083,13 +51803,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) MarshalJSON() return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemTextInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) error +type DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemTextInReplyToVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -45102,7 +51822,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) Accept(visit return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -45143,15 +51863,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyTo) validate() e } var ( - docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -45160,35 +51880,35 @@ type DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -45197,32 +51917,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) require // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -45232,8 +51952,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) Unmarsh return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex var marshaler = struct { embed }{ @@ -45243,7 +51963,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) Marshal return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) String() string { if d == nil { return "" } @@ -45259,12 +51979,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndex) String( } var ( - docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -45276,35 +51996,35 @@ type DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision stru rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -45313,32 +52033,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -45348,8 +52068,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision var marshaler = struct { embed }{ @@ -45359,7 +52079,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -45375,11 +52095,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToIndexRevision) } var ( - docAnnotationsList200ResponseAnnotationsItemTextInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemTextInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm struct { +type DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -45390,28 +52110,28 @@ type DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -45420,25 +52140,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) require(fi // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemTextInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemTextInReplyToNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -45448,8 +52168,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) UnmarshalJ return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm var marshaler = struct { embed }{ @@ -45459,7 +52179,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) MarshalJSO return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) String() string { if d == nil { return "" } @@ -45475,11 +52195,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToNm) String() s } var ( - docAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -45490,28 +52210,28 @@ type DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber struc rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -45520,25 +52240,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -45548,8 +52268,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber var marshaler = struct { embed }{ @@ -45559,7 +52279,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -45575,13 +52295,13 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextInReplyToObjectNumber) } var ( - docAnnotationsList200ResponseAnnotationsItemTextRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemTextRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemTextRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemTextRectFieldTop = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemUnsupportedRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnsupportedRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnsupportedRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemUnsupportedRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemTextRect struct { +type DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -45594,42 +52314,42 @@ type DocAnnotationsList200ResponseAnnotationsItemTextRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) GetLeft() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) GetBottom() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) GetRight() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) GetTop() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -45638,39 +52358,39 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) require(field *bi // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) SetLeft(left float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemTextRectFieldLeft) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) SetBottom(bottom float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemTextRectFieldBottom) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) SetRight(right float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemTextRectFieldRight) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) SetTop(top float64) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemTextRectFieldTop) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRectFieldTop) } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemTextRect +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemTextRect(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -45680,8 +52400,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) UnmarshalJSON(dat return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemTextRect +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect var marshaler = struct { embed }{ @@ -45691,7 +52411,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) MarshalJSON() ([] return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) String() string { if d == nil { return "" } @@ -45706,44 +52426,44 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRect) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemTextRef struct { +type DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemTextRefNm - Index *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm + Index *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRef) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemTextRefNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -45756,19 +52476,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRef) UnmarshalJSON(data } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemTextRefNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -45778,7 +52498,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRef) UnmarshalJSON(data return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemTextRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -45797,13 +52517,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemTextRef) MarshalJSON() ([]by return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemTextRefVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemTextRefNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) error +type DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemTextRefVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -45816,7 +52536,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRef) Accept(visitor Doc return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRef) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -45857,15 +52577,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRef) validate() error { } var ( - docAnnotationsList200ResponseAnnotationsItemTextRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemTextRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemTextRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemTextRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -45874,35 +52594,35 @@ type DocAnnotationsList200ResponseAnnotationsItemTextRefIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -45911,32 +52631,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) require(field // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemTextRefIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemTextRefIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemTextRefIndexFieldRevision) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemTextRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemTextRefIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -45946,8 +52666,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) UnmarshalJSON return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemTextRefIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex var marshaler = struct { embed }{ @@ -45957,7 +52677,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) String() string { if d == nil { return "" } @@ -45973,12 +52693,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndex) String() stri } var ( - docAnnotationsList200ResponseAnnotationsItemTextRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemTextRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemTextRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision struct { +type DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -45990,35 +52710,35 @@ type DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -46027,32 +52747,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) requi // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemTextRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemTextRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemTextRefIndexRevisionFieldGeneration) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -46062,8 +52782,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) Unmar return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision var marshaler = struct { embed }{ @@ -46073,7 +52793,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) String() string { if d == nil { return "" } @@ -46089,11 +52809,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefIndexRevision) Strin } var ( - docAnnotationsList200ResponseAnnotationsItemTextRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemTextRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnsupportedRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnsupportedRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemTextRefNm struct { +type DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -46104,28 +52824,28 @@ type DocAnnotationsList200ResponseAnnotationsItemTextRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -46134,25 +52854,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefNm) require(field *b // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemTextRefNmFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefNm) SetNm(nm string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemTextRefNmFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRefNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemTextRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemTextRefNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -46162,8 +52882,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefNm) UnmarshalJSON(da return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemTextRefNm +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm var marshaler = struct { embed }{ @@ -46173,7 +52893,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefNm) MarshalJSON() ([ return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm) String() string { if d == nil { return "" } @@ -46189,11 +52909,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefNm) String() string } var ( - docAnnotationsList200ResponseAnnotationsItemTextRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemTextRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber struct { +type DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -46204,28 +52924,28 @@ type DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -46234,25 +52954,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) requir // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemTextRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemTextRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber(value) + *d = DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -46262,8 +52982,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) Unmars return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber var marshaler = struct { embed }{ @@ -46273,7 +52993,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber) String() string { if d == nil { return "" } @@ -46288,78 +53008,92 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemTextRefObjectNumber) String return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemTextReplyType string +type DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyType string const ( - DocAnnotationsList200ResponseAnnotationsItemTextReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemTextReplyType = "reply" - DocAnnotationsList200ResponseAnnotationsItemTextReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemTextReplyType = "group" + DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyType = "reply" + DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyType = "group" ) -func NewDocAnnotationsList200ResponseAnnotationsItemTextReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemTextReplyType, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyType, error) { switch s { case "reply": - return DocAnnotationsList200ResponseAnnotationsItemTextReplyTypeReply, nil + return DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyTypeReply, nil case "group": - return DocAnnotationsList200ResponseAnnotationsItemTextReplyTypeGroup, nil + return DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyTypeGroup, nil } - var t DocAnnotationsList200ResponseAnnotationsItemTextReplyType + var t DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemTextReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemTextReplyType { +func (d DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyType { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldRef = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldIndex = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldNm = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldFlags = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldRect = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldContents = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldSubject = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldAuthor = big.NewInt(1 << 9) - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldCreated = big.NewInt(1 << 10) - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldModified = big.NewInt(1 << 11) - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldReplyType = big.NewInt(1 << 14) - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldUserID = big.NewInt(1 << 15) - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldGroupID = big.NewInt(1 << 16) - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldActions = big.NewInt(1 << 19) - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldColor = big.NewInt(1 << 20) - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldOpacity = big.NewInt(1 << 21) - docAnnotationsList200ResponseAnnotationsItemUnderlineFieldQuadPoints = big.NewInt(1 << 22) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldRef = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldIndex = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldNm = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldFlags = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldRect = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldContents = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldSubject = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldAuthor = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldCreated = big.NewInt(1 << 10) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldModified = big.NewInt(1 << 11) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldReplyType = big.NewInt(1 << 14) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldUserID = big.NewInt(1 << 15) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldGroupID = big.NewInt(1 << 16) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldActions = big.NewInt(1 << 19) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldColor = big.NewInt(1 << 20) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldInteriorColor = big.NewInt(1 << 21) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldStrokeWidth = big.NewInt(1 << 22) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldBorderStyle = big.NewInt(1 << 23) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldFontFamily = big.NewInt(1 << 24) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldFontSize = big.NewInt(1 << 25) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldFontColor = big.NewInt(1 << 26) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldTextAlign = big.NewInt(1 << 27) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldFieldObjectNumber = big.NewInt(1 << 28) + docAnnotationsList200ResponseAnnotationsItemWidgetFieldFieldFamily = big.NewInt(1 << 29) ) -type DocAnnotationsList200ResponseAnnotationsItemUnderline struct { - Ref *DocAnnotationsList200ResponseAnnotationsItemUnderlineRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - QuadPoints []*DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem `json:"quadPoints" url:"quadPoints"` +type DocAnnotationsList200ResponseAnnotationsItemWidget struct { + Ref *DocAnnotationsList200ResponseAnnotationsItemWidgetRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsList200ResponseAnnotationsItemWidgetRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsList200ResponseAnnotationsItemWidgetReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsList200ResponseAnnotationsItemWidgetColor `json:"color,omitempty" url:"color,omitempty"` + InteriorColor *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` + StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` + BorderStyle DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle `json:"borderStyle" url:"borderStyle"` + FontFamily *DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily `json:"fontFamily,omitempty" url:"fontFamily,omitempty"` + FontSize *float64 `json:"fontSize,omitempty" url:"fontSize,omitempty"` + FontColor *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor `json:"fontColor,omitempty" url:"fontColor,omitempty"` + TextAlign DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign `json:"textAlign" url:"textAlign"` + FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` + FieldFamily DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily `json:"fieldFamily" url:"fieldFamily"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -46368,175 +53102,224 @@ type DocAnnotationsList200ResponseAnnotationsItemUnderline struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetRef() *DocAnnotationsList200ResponseAnnotationsItemUnderlineRef { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetRef() *DocAnnotationsList200ResponseAnnotationsItemWidgetRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQuality { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetNm() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetRect() *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetRect() *DocAnnotationsList200ResponseAnnotationsItemWidgetRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetContents() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetSubject() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetAuthor() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetCreated() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetModified() *time.Time { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyType { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemWidgetReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetUserID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetGroupID() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetCreatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetUpdatedBy() *string { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetColor() *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetColor() *DocAnnotationsList200ResponseAnnotationsItemWidgetColor { if d == nil { return nil } return d.Color } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetOpacity() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetInteriorColor() *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor { + if d == nil { + return nil + } + return d.InteriorColor +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetStrokeWidth() float64 { if d == nil { return 0 } - return d.Opacity + return d.StrokeWidth +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetBorderStyle() DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle { + if d == nil { + return "" + } + return d.BorderStyle +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetFontFamily() *DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily { + if d == nil { + return nil + } + return d.FontFamily +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetFontSize() *float64 { + if d == nil { + return nil + } + return d.FontSize +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetFontColor() *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor { + if d == nil { + return nil + } + return d.FontColor +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetTextAlign() DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign { + if d == nil { + return "" + } + return d.TextAlign +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetFieldObjectNumber() int { + if d == nil { + return 0 + } + return d.FieldObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetQuadPoints() []*DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetFieldFamily() DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily { if d == nil { - return nil + return "" } - return d.QuadPoints + return d.FieldFamily } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -46545,167 +53328,216 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) require(field *b // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemUnderlineRef) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemWidgetRef) { d.Ref = ref - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldRef) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQuality) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldIdentityQuality) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetNm(nm *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldNm) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) { d.Flags = flags - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldFlags) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) { d.Rect = rect - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldRect) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetContents(contents *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldContents) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetSubject(subject *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldSubject) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetAuthor(author *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldAuthor) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetCreated(created *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldCreated) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetModified(modified *time.Time) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldModified) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldBlendMode) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldInReplyTo) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyType) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemWidgetReplyType) { d.ReplyType = replyType - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldReplyType) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetUserID(userID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldUserID) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetGroupID(groupID *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldGroupID) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldCreatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldUpdatedBy) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldActions) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldActions) } // SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) { d.Color = color - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldColor) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldColor) } -// SetOpacity sets the Opacity field and marks it as non-optional; +// SetInteriorColor sets the InteriorColor field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetOpacity(opacity float64) { - d.Opacity = opacity - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldOpacity) +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetInteriorColor(interiorColor *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) { + d.InteriorColor = interiorColor + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldInteriorColor) } -// SetQuadPoints sets the QuadPoints field and marks it as non-optional; +// SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) SetQuadPoints(quadPoints []*DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) { - d.QuadPoints = quadPoints - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFieldQuadPoints) +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetStrokeWidth(strokeWidth float64) { + d.StrokeWidth = strokeWidth + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldStrokeWidth) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsList200ResponseAnnotationsItemUnderline +// SetBorderStyle sets the BorderStyle field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetBorderStyle(borderStyle DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle) { + d.BorderStyle = borderStyle + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldBorderStyle) +} + +// SetFontFamily sets the FontFamily field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetFontFamily(fontFamily *DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily) { + d.FontFamily = fontFamily + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldFontFamily) +} + +// SetFontSize sets the FontSize field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetFontSize(fontSize *float64) { + d.FontSize = fontSize + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldFontSize) +} + +// SetFontColor sets the FontColor field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetFontColor(fontColor *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) { + d.FontColor = fontColor + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldFontColor) +} + +// SetTextAlign sets the TextAlign field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetTextAlign(textAlign DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign) { + d.TextAlign = textAlign + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldTextAlign) +} + +// SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetFieldObjectNumber(fieldObjectNumber int) { + d.FieldObjectNumber = fieldObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldFieldObjectNumber) +} + +// SetFieldFamily sets the FieldFamily field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetFieldFamily(fieldFamily DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily) { + d.FieldFamily = fieldFamily + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldFieldFamily) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsList200ResponseAnnotationsItemWidget var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -46716,7 +53548,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) UnmarshalJSON(da if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemUnderline(unmarshaler.embed) + *d = DocAnnotationsList200ResponseAnnotationsItemWidget(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -46728,8 +53560,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) UnmarshalJSON(da return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnderline +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemWidget var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -46743,7 +53575,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) MarshalJSON() ([ return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) String() string { if d == nil { return "" } @@ -46758,77 +53590,105 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderline) String() string return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode string +type DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode string const ( - DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "normal" - DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "multiply" - DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "screen" - DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "overlay" - DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "darken" - DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "lighten" - DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "color-dodge" - DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "color-burn" - DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "hard-light" - DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "soft-light" - DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "difference" - DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "exclusion" - DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeHue DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "hue" - DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "saturation" - DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeColor DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "color" - DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode = "luminosity" + DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "normal" + DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "multiply" + DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "screen" + DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "overlay" + DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "darken" + DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "lighten" + DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "color-dodge" + DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "color-burn" + DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "hard-light" + DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "soft-light" + DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "difference" + DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "exclusion" + DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeHue DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "hue" + DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "saturation" + DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeColor DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "color" + DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "luminosity" ) -func NewDocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode, error) { switch s { case "normal": - return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeNormal, nil + return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeNormal, nil case "multiply": - return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeMultiply, nil + return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeMultiply, nil case "screen": - return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeScreen, nil + return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeScreen, nil case "overlay": - return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeOverlay, nil + return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeOverlay, nil case "darken": - return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeDarken, nil + return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeDarken, nil case "lighten": - return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeLighten, nil + return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeLighten, nil case "color-dodge": - return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeColorDodge, nil + return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeColorBurn, nil + return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeHardLight, nil + return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeHardLight, nil case "soft-light": - return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeSoftLight, nil + return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeSoftLight, nil case "difference": - return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeDifference, nil + return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeDifference, nil case "exclusion": - return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeExclusion, nil + return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeExclusion, nil case "hue": - return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeHue, nil + return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeHue, nil case "saturation": - return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeSaturation, nil + return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeSaturation, nil case "color": - return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeColor, nil + return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeColor, nil case "luminosity": - return DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendModeLuminosity, nil + return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeLuminosity, nil } - var t DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode + var t DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemUnderlineBlendMode { +func (d DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode { + return &d +} + +type DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle string + +const ( + DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyleSolid DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle = "solid" + DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyleDashed DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle = "dashed" + DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyleBeveled DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle = "beveled" + DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyleInset DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle = "inset" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyleFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle, error) { + switch s { + case "solid": + return DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyleSolid, nil + case "dashed": + return DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyleDashed, nil + case "beveled": + return DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyleBeveled, nil + case "inset": + return DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyleInset, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle) Ptr() *DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemUnderlineColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnderlineColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemUnderlineColorFieldB = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemWidgetColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemWidgetColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemWidgetColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemUnderlineColor struct { +type DocAnnotationsList200ResponseAnnotationsItemWidgetColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -46840,35 +53700,35 @@ type DocAnnotationsList200ResponseAnnotationsItemUnderlineColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) GetR() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) GetG() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) GetB() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -46877,32 +53737,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) require(fie // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) SetR(r int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) SetR(r int) { d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineColorFieldR) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) SetG(g int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) SetG(g int) { d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineColorFieldG) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) SetB(b int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) SetB(b int) { d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineColorFieldB) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetColorFieldB) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineColor +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineColor(value) + *d = DocAnnotationsList200ResponseAnnotationsItemWidgetColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -46912,8 +53772,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) UnmarshalJS return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineColor +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemWidgetColor var marshaler = struct { embed }{ @@ -46923,7 +53783,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) MarshalJSON return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) String() string { if d == nil { return "" } @@ -46938,20 +53798,60 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineColor) String() st return fmt.Sprintf("%#v", d) } +type DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily string + +const ( + DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyText DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily = "text" + DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyCheckbox DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily = "checkbox" + DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyRadio DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily = "radio" + DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyCombobox DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily = "combobox" + DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyListbox DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily = "listbox" + DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyPushbutton DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily = "pushbutton" + DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilySignature DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily = "signature" + DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyUnknown DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily = "unknown" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily, error) { + switch s { + case "text": + return DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyText, nil + case "checkbox": + return DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyCheckbox, nil + case "radio": + return DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyRadio, nil + case "combobox": + return DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyCombobox, nil + case "listbox": + return DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyListbox, nil + case "pushbutton": + return DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyPushbutton, nil + case "signature": + return DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilySignature, nil + case "unknown": + return DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyUnknown, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily) Ptr() *DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily { + return &d +} + var ( - docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags struct { +type DocAnnotationsList200ResponseAnnotationsItemWidgetFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -46970,84 +53870,84 @@ type DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) GetInvisible() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) GetHidden() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) GetPrint() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) GetNoZoom() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) GetNoRotate() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) GetNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) GetReadOnly() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) GetLocked() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) GetToggleNoView() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) GetLockedContents() bool { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -47056,81 +53956,81 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) require(fie // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldInvisible) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldHidden) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) SetPrint(print bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldPrint) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldNoZoom) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldNoRotate) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) SetNoView(noView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldReadOnly) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) SetLocked(locked bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldLocked) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldToggleNoView) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineFlagsFieldLockedContents) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldLockedContents) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags(value) + *d = DocAnnotationsList200ResponseAnnotationsItemWidgetFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -47140,8 +54040,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) UnmarshalJS return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemWidgetFlags var marshaler = struct { embed }{ @@ -47151,7 +54051,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) MarshalJSON return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) String() string { if d == nil { return "" } @@ -47166,66 +54066,240 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineFlags) String() st return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQuality string +var ( + docAnnotationsList200ResponseAnnotationsItemWidgetFontColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemWidgetFontColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemWidgetFontColorFieldB = big.NewInt(1 << 2) +) + +type DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) GetR() int { + if d == nil { + return 0 + } + return d.R +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) GetG() int { + if d == nil { + return 0 + } + return d.G +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) GetB() int { + if d == nil { + return 0 + } + return d.B +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetR sets the R field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) SetR(r int) { + d.R = r + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFontColorFieldR) +} + +// SetG sets the G field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) SetG(g int) { + d.G = g + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFontColorFieldG) +} + +// SetB sets the B field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) SetB(b int) { + d.B = b + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFontColorFieldB) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily string const ( - DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQuality = "durable" - DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQuality = "weak" + DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyCourier DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "courier" + DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyCourierBold DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "courier-bold" + DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyCourierBoldOblique DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "courier-bold-oblique" + DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyCourierOblique DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "courier-oblique" + DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyHelvetica DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "helvetica" + DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyHelveticaBold DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "helvetica-bold" + DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyHelveticaBoldOblique DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "helvetica-bold-oblique" + DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyHelveticaOblique DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "helvetica-oblique" + DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyTimesRoman DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "times-roman" + DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyTimesBold DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "times-bold" + DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyTimesBoldItalic DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "times-bold-italic" + DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyTimesItalic DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "times-italic" + DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilySymbol DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "symbol" + DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyZapfDingbats DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "zapf-dingbats" ) -func NewDocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQuality, error) { +func NewDocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily, error) { + switch s { + case "courier": + return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyCourier, nil + case "courier-bold": + return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyCourierBold, nil + case "courier-bold-oblique": + return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyCourierBoldOblique, nil + case "courier-oblique": + return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyCourierOblique, nil + case "helvetica": + return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyHelvetica, nil + case "helvetica-bold": + return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyHelveticaBold, nil + case "helvetica-bold-oblique": + return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyHelveticaBoldOblique, nil + case "helvetica-oblique": + return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyHelveticaOblique, nil + case "times-roman": + return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyTimesRoman, nil + case "times-bold": + return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyTimesBold, nil + case "times-bold-italic": + return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyTimesBoldItalic, nil + case "times-italic": + return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyTimesItalic, nil + case "symbol": + return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilySymbol, nil + case "zapf-dingbats": + return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyZapfDingbats, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily) Ptr() *DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily { + return &d +} + +type DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQuality string + +const ( + DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQuality = "durable" + DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQuality = "weak" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQualityDurable, nil + return DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQualityDurable, nil case "weak": - return DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQualityWeak, nil + return DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQualityWeak, nil } - var t DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQuality + var t DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemUnderlineIdentityQuality { +func (d DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQuality { return &d } -type DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo struct { +type DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm - Index *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm + Index *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) GetKind() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -47238,19 +54312,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) Unmarsh } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber) + value := new(DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) + value := new(DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) + value := new(DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -47260,7 +54334,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) Unmarsh return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -47279,13 +54353,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) MarshalJ return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) error +type DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToVisitor) error { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -47298,7 +54372,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) Accept( return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) validate() error { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -47339,15 +54413,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyTo) validat } var ( - docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -47356,35 +54430,35 @@ type DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex struct rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -47393,32 +54467,348 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) re // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexFieldIndex) + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexFieldIndex) +} + +// SetRevision sets the Revision field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) { + d.Revision = revision + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexFieldRevision) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) +) + +type DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision struct { + DocSessionID string `json:"docSessionId" url:"docSessionId"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Generation int `json:"generation" url:"generation"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) GetDocSessionID() string { + if d == nil { + return "" + } + return d.DocSessionID +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) GetGeneration() int { + if d == nil { + return 0 + } + return d.Generation +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevisionFieldDocSessionID) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevisionFieldPageObjectNumber) +} + +// SetGeneration sets the Generation field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevisionFieldGeneration) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNmFieldNm = big.NewInt(1 << 1) +) + +type DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Nm string `json:"nm" url:"nm"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm) GetNm() string { + if d == nil { + return "" + } + return d.Nm +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNmFieldPageObjectNumber) +} + +// SetNm sets the Nm field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm) SetNm(nm string) { + d.Nm = nm + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNmFieldNm) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) +) + +type DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber) GetAnnotObjectNumber() int { + if d == nil { + return 0 + } + return d.AnnotObjectNumber +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumberFieldPageObjectNumber) } -// SetRevision sets the Revision field and marks it as non-optional; +// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) { - d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexFieldRevision) +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { + d.AnnotObjectNumber = annotObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex(value) + *d = DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -47428,8 +54818,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) Un return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber var marshaler = struct { embed }{ @@ -47439,7 +54829,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) Ma return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -47455,15 +54845,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndex) St } var ( - docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemWidgetInteriorColorFieldR = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemWidgetInteriorColorFieldG = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemWidgetInteriorColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision struct { - DocSessionID string `json:"docSessionId" url:"docSessionId"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Generation int `json:"generation" url:"generation"` +type DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -47472,69 +54862,69 @@ type DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) GetR() int { if d == nil { - return "" + return 0 } - return d.DocSessionID + return d.R } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) GetG() int { if d == nil { return 0 } - return d.PageObjectNumber + return d.G } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) GetB() int { if d == nil { return 0 } - return d.Generation + return d.B } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetDocSessionID sets the DocSessionID field and marks it as non-optional; +// SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) SetDocSessionID(docSessionID string) { - d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevisionFieldDocSessionID) +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) SetR(r int) { + d.R = r + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInteriorColorFieldR) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevisionFieldPageObjectNumber) +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) SetG(g int) { + d.G = g + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInteriorColorFieldG) } -// SetGeneration sets the Generation field and marks it as non-optional; +// SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) SetGeneration(generation int) { - d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevisionFieldGeneration) +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) SetB(b int) { + d.B = b + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInteriorColorFieldB) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision(value) + *d = DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -47544,8 +54934,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevi return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor var marshaler = struct { embed }{ @@ -47555,7 +54945,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevi return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevision) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) String() string { if d == nil { return "" } @@ -47571,13 +54961,17 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToIndexRevi } var ( - docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemWidgetRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemWidgetRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemWidgetRectFieldRight = big.NewInt(1 << 2) + docAnnotationsList200ResponseAnnotationsItemWidgetRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Nm string `json:"nm" url:"nm"` +type DocAnnotationsList200ResponseAnnotationsItemWidgetRect struct { + Left float64 `json:"left" url:"left"` + Bottom float64 `json:"bottom" url:"bottom"` + Right float64 `json:"right" url:"right"` + Top float64 `json:"top" url:"top"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -47586,55 +54980,83 @@ type DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) GetLeft() float64 { if d == nil { return 0 } - return d.PageObjectNumber + return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) GetNm() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) GetBottom() float64 { if d == nil { - return "" + return 0 } - return d.Nm + return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) GetRight() float64 { + if d == nil { + return 0 + } + return d.Right +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) GetTop() float64 { + if d == nil { + return 0 + } + return d.Top +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNmFieldPageObjectNumber) +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRectFieldLeft) } -// SetNm sets the Nm field and marks it as non-optional; +// SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) SetNm(nm string) { - d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNmFieldNm) +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRectFieldBottom) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm +// SetRight sets the Right field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRectFieldRight) +} + +// SetTop sets the Top field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRectFieldTop) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm(value) + *d = DocAnnotationsList200ResponseAnnotationsItemWidgetRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -47644,8 +55066,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) Unmar return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemWidgetRect var marshaler = struct { embed }{ @@ -47655,7 +55077,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) String() string { if d == nil { return "" } @@ -47670,118 +55092,166 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToNm) Strin return fmt.Sprintf("%#v", d) } -var ( - docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) -) - -type DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` +type DocAnnotationsList200ResponseAnnotationsItemWidgetRef struct { + Kind string + ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber + Nm *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm + Index *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex - extraProperties map[string]interface{} - rawJSON json.RawMessage + rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRef) GetKind() string { if d == nil { - return 0 + return "" } - return d.PageObjectNumber + return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber { if d == nil { - return 0 + return nil } - return d.AnnotObjectNumber + return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm { if d == nil { return nil } - return d.extraProperties + return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex { + if d == nil { + return nil } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumberFieldPageObjectNumber) -} - -// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { - d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumberFieldAnnotObjectNumber) + return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRef) UnmarshalJSON(data []byte) error { + var unmarshaler struct { + Kind string `json:"kind"` } - *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { + if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - d.extraProperties = extraProperties + d.Kind = unmarshaler.Kind + if unmarshaler.Kind == "" { + return fmt.Errorf("%T did not include discriminant kind", d) + } + switch unmarshaler.Kind { + case "objectNumber": + value := new(DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.ObjectNumber = value + case "nm": + value := new(DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Nm = value + case "index": + value := new(DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Index = value + } d.rawJSON = json.RawMessage(data) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber - var marshaler = struct { - embed - }{ - embed: embed(*d), +func (d DocAnnotationsList200ResponseAnnotationsItemWidgetRef) MarshalJSON() ([]byte, error) { + if err := d.validate(); err != nil { + return nil, err } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + if d.ObjectNumber != nil { + return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") + } + if d.Nm != nil { + return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") + } + if d.Index != nil { + return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") + } + if len(d.rawJSON) > 0 { + return d.rawJSON, nil + } + return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineInReplyToObjectNumber) String() string { +type DocAnnotationsList200ResponseAnnotationsItemWidgetRefVisitor interface { + VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) error + VisitNm(*DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) error + VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) error +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemWidgetRefVisitor) error { + if d.ObjectNumber != nil { + return visitor.VisitObjectNumber(d.ObjectNumber) + } + if d.Nm != nil { + return visitor.VisitNm(d.Nm) + } + if d.Index != nil { + return visitor.VisitIndex(d.Index) + } + return fmt.Errorf("type %T does not define a non-empty union type", d) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRef) validate() error { if d == nil { - return "" + return fmt.Errorf("type %T is nil", d) } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value + var fields []string + if d.ObjectNumber != nil { + fields = append(fields, "objectNumber") + } + if d.Nm != nil { + fields = append(fields, "nm") + } + if d.Index != nil { + fields = append(fields, "index") + } + if len(fields) == 0 { + if d.Kind != "" { + if len(d.rawJSON) > 0 { + return nil + } + return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) } + return fmt.Errorf("type %T is empty", d) } - if value, err := internal.StringifyJSON(d); err == nil { - return value + if len(fields) > 1 { + return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) } - return fmt.Sprintf("%#v", d) + if d.Kind != "" { + field := fields[0] + if d.Kind != field { + return fmt.Errorf( + "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", + d, + d.Kind, + d, + ) + } + } + return nil } var ( - docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemFieldP1 = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemFieldP2 = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemFieldP3 = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemFieldP4 = big.NewInt(1 << 3) + docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem struct { - P1 *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1 `json:"p1" url:"p1"` - P2 *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2 `json:"p2" url:"p2"` - P3 *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3 `json:"p3" url:"p3"` - P4 *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4 `json:"p4" url:"p4"` +type DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -47790,83 +55260,69 @@ type DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem struct rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) GetP1() *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1 { - if d == nil { - return nil - } - return d.P1 -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) GetP2() *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2 { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) GetPageObjectNumber() int { if d == nil { - return nil + return 0 } - return d.P2 + return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) GetP3() *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3 { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) GetIndex() int { if d == nil { - return nil + return 0 } - return d.P3 + return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) GetP4() *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4 { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision { if d == nil { return nil } - return d.P4 + return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetP1 sets the P1 field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) SetP1(p1 *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) { - d.P1 = p1 - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemFieldP1) -} - -// SetP2 sets the P2 field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) SetP2(p2 *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) { - d.P2 = p2 - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemFieldP2) +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexFieldPageObjectNumber) } -// SetP3 sets the P3 field and marks it as non-optional; +// SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) SetP3(p3 *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) { - d.P3 = p3 - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemFieldP3) +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) SetIndex(index int) { + d.Index = index + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexFieldIndex) } -// SetP4 sets the P4 field and marks it as non-optional; +// SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) SetP4(p4 *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) { - d.P4 = p4 - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemFieldP4) +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) { + d.Revision = revision + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem(value) + *d = DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -47876,8 +55332,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) Un return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex var marshaler = struct { embed }{ @@ -47887,7 +55343,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) Ma return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) String() string { if d == nil { return "" } @@ -47903,13 +55359,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItem) St } var ( - docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1FieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1FieldY = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1 struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` +type DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision struct { + DocSessionID string `json:"docSessionId" url:"docSessionId"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Generation int `json:"generation" url:"generation"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -47918,55 +55376,69 @@ type DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1 struc rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) GetX() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) GetDocSessionID() string { + if d == nil { + return "" + } + return d.DocSessionID +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } - return d.X + return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) GetY() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) GetGeneration() int { if d == nil { return 0 } - return d.Y + return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetX sets the X field and marks it as non-optional; +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) SetX(x float64) { - d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1FieldX) +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevisionFieldDocSessionID) } -// SetY sets the Y field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) SetY(y float64) { - d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1FieldY) +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevisionFieldPageObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1 +// SetGeneration sets the Generation field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevisionFieldGeneration) +} + +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1(value) + *d = DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -47976,8 +55448,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1 +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision var marshaler = struct { embed }{ @@ -47987,7 +55459,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) String() string { if d == nil { return "" } @@ -48003,13 +55475,13 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP1) } var ( - docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2FieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2FieldY = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemWidgetRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemWidgetRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2 struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` +type DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Nm string `json:"nm" url:"nm"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -48018,55 +55490,55 @@ type DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2 struc rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) GetX() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) GetPageObjectNumber() int { if d == nil { return 0 } - return d.X + return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) GetY() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) GetNm() string { if d == nil { - return 0 + return "" } - return d.Y + return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetX sets the X field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) SetX(x float64) { - d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2FieldX) +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRefNmFieldPageObjectNumber) } -// SetY sets the Y field and marks it as non-optional; +// SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) SetY(y float64) { - d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2FieldY) +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) SetNm(nm string) { + d.Nm = nm + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRefNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2 +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2(value) + *d = DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -48076,8 +55548,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2 +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm var marshaler = struct { embed }{ @@ -48087,7 +55559,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) String() string { if d == nil { return "" } @@ -48103,13 +55575,13 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP2) } var ( - docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3FieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3FieldY = big.NewInt(1 << 1) + docAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3 struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` +type DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -48118,55 +55590,55 @@ type DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3 struc rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) GetX() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } - return d.X + return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) GetY() float64 { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } - return d.Y + return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) require(field *big.Int) { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetX sets the X field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) SetX(x float64) { - d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3FieldX) +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumberFieldPageObjectNumber) } -// SetY sets the Y field and marks it as non-optional; +// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) SetY(y float64) { - d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3FieldY) +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { + d.AnnotObjectNumber = annotObjectNumber + d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3 +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3(value) + *d = DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -48176,8 +55648,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3 +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber var marshaler = struct { embed }{ @@ -48187,7 +55659,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) String() string { +func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) String() string { if d == nil { return "" } @@ -48202,14 +55674,63 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP3) return fmt.Sprintf("%#v", d) } +type DocAnnotationsList200ResponseAnnotationsItemWidgetReplyType string + +const ( + DocAnnotationsList200ResponseAnnotationsItemWidgetReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemWidgetReplyType = "reply" + DocAnnotationsList200ResponseAnnotationsItemWidgetReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemWidgetReplyType = "group" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemWidgetReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemWidgetReplyType, error) { + switch s { + case "reply": + return DocAnnotationsList200ResponseAnnotationsItemWidgetReplyTypeReply, nil + case "group": + return DocAnnotationsList200ResponseAnnotationsItemWidgetReplyTypeGroup, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemWidgetReplyType + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemWidgetReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemWidgetReplyType { + return &d +} + +type DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign string + +const ( + DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlignLeft DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign = "left" + DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlignCenter DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign = "center" + DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlignRight DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign = "right" +) + +func NewDocAnnotationsList200ResponseAnnotationsItemWidgetTextAlignFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign, error) { + switch s { + case "left": + return DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlignLeft, nil + case "center": + return DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlignCenter, nil + case "right": + return DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlignRight, nil + } + var t DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign) Ptr() *DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign { + return &d +} + var ( - docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4FieldX = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4FieldY = big.NewInt(1 << 1) + docAnnotationsList200ResponsePageStateFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsList200ResponsePageStateFieldRevision = big.NewInt(1 << 1) + docAnnotationsList200ResponsePageStateFieldWeakAnnotationState = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4 struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` +type DocAnnotationsList200ResponsePageState struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Revision *DocAnnotationsList200ResponsePageStateRevision `json:"revision" url:"revision"` + WeakAnnotationState *DocAnnotationsList200ResponsePageStateWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -48218,55 +55739,69 @@ type DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4 struc rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) GetX() float64 { +func (d *DocAnnotationsList200ResponsePageState) GetPageObjectNumber() int { if d == nil { return 0 } - return d.X + return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) GetY() float64 { +func (d *DocAnnotationsList200ResponsePageState) GetRevision() *DocAnnotationsList200ResponsePageStateRevision { if d == nil { - return 0 + return nil } - return d.Y + return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponsePageState) GetWeakAnnotationState() *DocAnnotationsList200ResponsePageStateWeakAnnotationState { + if d == nil { + return nil + } + return d.WeakAnnotationState +} + +func (d *DocAnnotationsList200ResponsePageState) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) require(field *big.Int) { +func (d *DocAnnotationsList200ResponsePageState) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetX sets the X field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) SetX(x float64) { - d.X = x - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4FieldX) +func (d *DocAnnotationsList200ResponsePageState) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponsePageStateFieldPageObjectNumber) } -// SetY sets the Y field and marks it as non-optional; +// SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) SetY(y float64) { - d.Y = y - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4FieldY) +func (d *DocAnnotationsList200ResponsePageState) SetRevision(revision *DocAnnotationsList200ResponsePageStateRevision) { + d.Revision = revision + d.require(docAnnotationsList200ResponsePageStateFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4 +// SetWeakAnnotationState sets the WeakAnnotationState field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList200ResponsePageState) SetWeakAnnotationState(weakAnnotationState *DocAnnotationsList200ResponsePageStateWeakAnnotationState) { + d.WeakAnnotationState = weakAnnotationState + d.require(docAnnotationsList200ResponsePageStateFieldWeakAnnotationState) +} + +func (d *DocAnnotationsList200ResponsePageState) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponsePageState var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4(value) + *d = DocAnnotationsList200ResponsePageState(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -48276,8 +55811,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4 +func (d *DocAnnotationsList200ResponsePageState) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponsePageState var marshaler = struct { embed }{ @@ -48287,7 +55822,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) String() string { +func (d *DocAnnotationsList200ResponsePageState) String() string { if d == nil { return "" } @@ -48303,17 +55838,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineQuadPointsItemP4) } var ( - docAnnotationsList200ResponseAnnotationsItemUnderlineRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnderlineRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemUnderlineRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemUnderlineRectFieldTop = big.NewInt(1 << 3) + docAnnotationsList200ResponsePageStateRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsList200ResponsePageStateRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsList200ResponsePageStateRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemUnderlineRect struct { - Left float64 `json:"left" url:"left"` - Bottom float64 `json:"bottom" url:"bottom"` - Right float64 `json:"right" url:"right"` - Top float64 `json:"top" url:"top"` +type DocAnnotationsList200ResponsePageStateRevision struct { + DocSessionID string `json:"docSessionId" url:"docSessionId"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Generation int `json:"generation" url:"generation"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -48322,83 +55855,69 @@ type DocAnnotationsList200ResponseAnnotationsItemUnderlineRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) GetLeft() float64 { - if d == nil { - return 0 - } - return d.Left -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) GetBottom() float64 { +func (d *DocAnnotationsList200ResponsePageStateRevision) GetDocSessionID() string { if d == nil { - return 0 + return "" } - return d.Bottom + return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) GetRight() float64 { +func (d *DocAnnotationsList200ResponsePageStateRevision) GetPageObjectNumber() int { if d == nil { return 0 } - return d.Right + return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) GetTop() float64 { +func (d *DocAnnotationsList200ResponsePageStateRevision) GetGeneration() int { if d == nil { return 0 } - return d.Top + return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponsePageStateRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) require(field *big.Int) { +func (d *DocAnnotationsList200ResponsePageStateRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetLeft sets the Left field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRectFieldLeft) -} - -// SetBottom sets the Bottom field and marks it as non-optional; +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRectFieldBottom) +func (d *DocAnnotationsList200ResponsePageStateRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docAnnotationsList200ResponsePageStateRevisionFieldDocSessionID) } -// SetRight sets the Right field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRectFieldRight) +func (d *DocAnnotationsList200ResponsePageStateRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsList200ResponsePageStateRevisionFieldPageObjectNumber) } -// SetTop sets the Top field and marks it as non-optional; +// SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRectFieldTop) +func (d *DocAnnotationsList200ResponsePageStateRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docAnnotationsList200ResponsePageStateRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineRect +func (d *DocAnnotationsList200ResponsePageStateRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponsePageStateRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineRect(value) + *d = DocAnnotationsList200ResponsePageStateRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -48408,8 +55927,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) UnmarshalJSO return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineRect +func (d *DocAnnotationsList200ResponsePageStateRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponsePageStateRevision var marshaler = struct { embed }{ @@ -48419,7 +55938,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) MarshalJSON( return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) String() string { +func (d *DocAnnotationsList200ResponsePageStateRevision) String() string { if d == nil { return "" } @@ -48434,44 +55953,36 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRect) String() str return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemUnderlineRef struct { - Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm - Index *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex +type DocAnnotationsList200ResponsePageStateWeakAnnotationState struct { + Kind string + Unknown *DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown + Known *DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRef) GetKind() string { +func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationState) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber { - if d == nil { - return nil - } - return d.ObjectNumber -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm { +func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationState) GetUnknown() *DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown { if d == nil { return nil } - return d.Nm + return d.Unknown } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex { +func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationState) GetKnown() *DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown { if d == nil { return nil } - return d.Index + return d.Known } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationState) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -48483,41 +55994,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRef) UnmarshalJSON return fmt.Errorf("%T did not include discriminant kind", d) } switch unmarshaler.Kind { - case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.ObjectNumber = value - case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) + case "unknown": + value := new(DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Nm = value - case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) + d.Unknown = value + case "known": + value := new(DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Index = value + d.Known = value } d.rawJSON = json.RawMessage(data) return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemUnderlineRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsList200ResponsePageStateWeakAnnotationState) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } - if d.ObjectNumber != nil { - return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") - } - if d.Nm != nil { - return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") + if d.Unknown != nil { + return internal.MarshalJSONWithExtraProperty(d.Unknown, "kind", "unknown") } - if d.Index != nil { - return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") + if d.Known != nil { + return internal.MarshalJSONWithExtraProperty(d.Known, "kind", "known") } if len(d.rawJSON) > 0 { return d.rawJSON, nil @@ -48525,38 +56027,31 @@ func (d DocAnnotationsList200ResponseAnnotationsItemUnderlineRef) MarshalJSON() return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemUnderlineRefVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) error +type DocAnnotationsList200ResponsePageStateWeakAnnotationStateVisitor interface { + VisitUnknown(*DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown) error + VisitKnown(*DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemUnderlineRefVisitor) error { - if d.ObjectNumber != nil { - return visitor.VisitObjectNumber(d.ObjectNumber) - } - if d.Nm != nil { - return visitor.VisitNm(d.Nm) +func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationState) Accept(visitor DocAnnotationsList200ResponsePageStateWeakAnnotationStateVisitor) error { + if d.Unknown != nil { + return visitor.VisitUnknown(d.Unknown) } - if d.Index != nil { - return visitor.VisitIndex(d.Index) + if d.Known != nil { + return visitor.VisitKnown(d.Known) } return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRef) validate() error { +func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationState) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } var fields []string - if d.ObjectNumber != nil { - fields = append(fields, "objectNumber") - } - if d.Nm != nil { - fields = append(fields, "nm") + if d.Unknown != nil { + fields = append(fields, "unknown") } - if d.Index != nil { - fields = append(fields, "index") + if d.Known != nil { + fields = append(fields, "known") } if len(fields) == 0 { if d.Kind != "" { @@ -48585,131 +56080,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRef) validate() er } var ( - docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexFieldRevision = big.NewInt(1 << 2) -) - -type DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision `json:"revision" url:"revision"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) GetIndex() int { - if d == nil { - return 0 - } - return d.Index -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision { - if d == nil { - return nil - } - return d.Revision -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexFieldPageObjectNumber) -} - -// SetIndex sets the Index field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) SetIndex(index int) { - d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexFieldIndex) -} - -// SetRevision sets the Revision field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) { - d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexFieldRevision) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndex) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsList200ResponsePageStateWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) ) -type DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision struct { - DocSessionID string `json:"docSessionId" url:"docSessionId"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Generation int `json:"generation" url:"generation"` +type DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown struct { + HasAnyWeakAnnotations bool `json:"hasAnyWeakAnnotations" url:"hasAnyWeakAnnotations"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -48718,69 +56093,41 @@ type DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision struc rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) GetDocSessionID() string { - if d == nil { - return "" - } - return d.DocSessionID -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { if d == nil { - return 0 + return false } - return d.Generation + return d.HasAnyWeakAnnotations } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetDocSessionID sets the DocSessionID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) SetDocSessionID(docSessionID string) { - d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevisionFieldDocSessionID) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevisionFieldPageObjectNumber) -} - -// SetGeneration sets the Generation field and marks it as non-optional; +// SetHasAnyWeakAnnotations sets the HasAnyWeakAnnotations field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) SetGeneration(generation int) { - d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevisionFieldGeneration) +func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { + d.HasAnyWeakAnnotations = hasAnyWeakAnnotations + d.require(docAnnotationsList200ResponsePageStateWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision +func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision(value) + *d = DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -48790,8 +56137,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision +func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown var marshaler = struct { embed }{ @@ -48801,7 +56148,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) String() string { +func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown) String() string { if d == nil { return "" } @@ -48816,14 +56163,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefIndexRevision) return fmt.Sprintf("%#v", d) } -var ( - docAnnotationsList200ResponseAnnotationsItemUnderlineRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnderlineRefNmFieldNm = big.NewInt(1 << 1) -) - -type DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Nm string `json:"nm" url:"nm"` +type DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -48832,55 +56172,27 @@ type DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) GetNm() string { - if d == nil { - return "" - } - return d.Nm -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) require(field *big.Int) { +func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRefNmFieldPageObjectNumber) -} - -// SetNm sets the Nm field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) SetNm(nm string) { - d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRefNmFieldNm) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm +func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm(value) + *d = DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -48890,8 +56202,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) UnmarshalJS return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm +func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown var marshaler = struct { embed }{ @@ -48901,7 +56213,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) MarshalJSON return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) String() string { +func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown) String() string { if d == nil { return "" } @@ -48917,13 +56229,17 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefNm) String() st } var ( - docAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsList404ResponseFieldName = big.NewInt(1 << 0) + docAnnotationsList404ResponseFieldCode = big.NewInt(1 << 1) + docAnnotationsList404ResponseFieldMessage = big.NewInt(1 << 2) + docAnnotationsList404ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` +type DocAnnotationsList404Response struct { + Name DocAnnotationsList404ResponseName `json:"name" url:"name"` + Code DocAnnotationsList404ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -48932,55 +56248,83 @@ type DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber struct rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsList404Response) GetName() DocAnnotationsList404ResponseName { if d == nil { - return 0 + return "" } - return d.PageObjectNumber + return d.Name } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsList404Response) GetCode() DocAnnotationsList404ResponseCode { if d == nil { - return 0 + return "" } - return d.AnnotObjectNumber + return d.Code } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsList404Response) GetMessage() string { + if d == nil { + return "" + } + return d.Message +} + +func (d *DocAnnotationsList404Response) GetDetails() map[string]any { + if d == nil { + return nil + } + return d.Details +} + +func (d *DocAnnotationsList404Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsList404Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumberFieldPageObjectNumber) +func (d *DocAnnotationsList404Response) SetName(name DocAnnotationsList404ResponseName) { + d.Name = name + d.require(docAnnotationsList404ResponseFieldName) } -// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { - d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumberFieldAnnotObjectNumber) +func (d *DocAnnotationsList404Response) SetCode(code DocAnnotationsList404ResponseCode) { + d.Code = code + d.require(docAnnotationsList404ResponseFieldCode) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber +// SetMessage sets the Message field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList404Response) SetMessage(message string) { + d.Message = message + d.require(docAnnotationsList404ResponseFieldMessage) +} + +// SetDetails sets the Details field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsList404Response) SetDetails(details map[string]any) { + d.Details = details + d.require(docAnnotationsList404ResponseFieldDetails) +} + +func (d *DocAnnotationsList404Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsList404Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber(value) + *d = DocAnnotationsList404Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -48990,8 +56334,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) U return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber +func (d *DocAnnotationsList404Response) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsList404Response var marshaler = struct { embed }{ @@ -49001,7 +56345,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) M return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) String() string { +func (d *DocAnnotationsList404Response) String() string { if d == nil { return "" } @@ -49016,76 +56360,106 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnderlineRefObjectNumber) S return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyType string +type DocAnnotationsList404ResponseCode string const ( - DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyType = "reply" - DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyType = "group" + DocAnnotationsList404ResponseCodeUnknown DocAnnotationsList404ResponseCode = "Unknown" + DocAnnotationsList404ResponseCodeInvalidArg DocAnnotationsList404ResponseCode = "InvalidArg" + DocAnnotationsList404ResponseCodeDocNotOpen DocAnnotationsList404ResponseCode = "DocNotOpen" + DocAnnotationsList404ResponseCodeDocOpenFailed DocAnnotationsList404ResponseCode = "DocOpenFailed" + DocAnnotationsList404ResponseCodeDocPasswordRequired DocAnnotationsList404ResponseCode = "DocPasswordRequired" + DocAnnotationsList404ResponseCodeDocPasswordIncorrect DocAnnotationsList404ResponseCode = "DocPasswordIncorrect" + DocAnnotationsList404ResponseCodeSharePasswordRequired DocAnnotationsList404ResponseCode = "SharePasswordRequired" + DocAnnotationsList404ResponseCodeAborted DocAnnotationsList404ResponseCode = "Aborted" + DocAnnotationsList404ResponseCodeNetwork DocAnnotationsList404ResponseCode = "Network" + DocAnnotationsList404ResponseCodeUnauthenticated DocAnnotationsList404ResponseCode = "Unauthenticated" + DocAnnotationsList404ResponseCodeForbidden DocAnnotationsList404ResponseCode = "Forbidden" + DocAnnotationsList404ResponseCodeNotFound DocAnnotationsList404ResponseCode = "NotFound" + DocAnnotationsList404ResponseCodeWireFormat DocAnnotationsList404ResponseCode = "WireFormat" + DocAnnotationsList404ResponseCodeRuntimeUnavailable DocAnnotationsList404ResponseCode = "RuntimeUnavailable" + DocAnnotationsList404ResponseCodeInvalidReference DocAnnotationsList404ResponseCode = "InvalidReference" + DocAnnotationsList404ResponseCodeWeakAnnotationSessionConflict DocAnnotationsList404ResponseCode = "WeakAnnotationSessionConflict" + DocAnnotationsList404ResponseCodeLayerVersionConflict DocAnnotationsList404ResponseCode = "LayerVersionConflict" + DocAnnotationsList404ResponseCodeNotImplemented DocAnnotationsList404ResponseCode = "NotImplemented" + DocAnnotationsList404ResponseCodeMalformedPdf DocAnnotationsList404ResponseCode = "MalformedPdf" ) -func NewDocAnnotationsList200ResponseAnnotationsItemUnderlineReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyType, error) { +func NewDocAnnotationsList404ResponseCodeFromString(s string) (DocAnnotationsList404ResponseCode, error) { switch s { - case "reply": - return DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyTypeReply, nil - case "group": - return DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyTypeGroup, nil + case "Unknown": + return DocAnnotationsList404ResponseCodeUnknown, nil + case "InvalidArg": + return DocAnnotationsList404ResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocAnnotationsList404ResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocAnnotationsList404ResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocAnnotationsList404ResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocAnnotationsList404ResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocAnnotationsList404ResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocAnnotationsList404ResponseCodeAborted, nil + case "Network": + return DocAnnotationsList404ResponseCodeNetwork, nil + case "Unauthenticated": + return DocAnnotationsList404ResponseCodeUnauthenticated, nil + case "Forbidden": + return DocAnnotationsList404ResponseCodeForbidden, nil + case "NotFound": + return DocAnnotationsList404ResponseCodeNotFound, nil + case "WireFormat": + return DocAnnotationsList404ResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocAnnotationsList404ResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocAnnotationsList404ResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocAnnotationsList404ResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocAnnotationsList404ResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocAnnotationsList404ResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocAnnotationsList404ResponseCodeMalformedPdf, nil } - var t DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyType + var t DocAnnotationsList404ResponseCode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemUnderlineReplyType { +func (d DocAnnotationsList404ResponseCode) Ptr() *DocAnnotationsList404ResponseCode { + return &d +} + +type DocAnnotationsList404ResponseName string + +const ( + DocAnnotationsList404ResponseNameEngineError DocAnnotationsList404ResponseName = "EngineError" +) + +func NewDocAnnotationsList404ResponseNameFromString(s string) (DocAnnotationsList404ResponseName, error) { + switch s { + case "EngineError": + return DocAnnotationsList404ResponseNameEngineError, nil + } + var t DocAnnotationsList404ResponseName + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsList404ResponseName) Ptr() *DocAnnotationsList404ResponseName { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldRef = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldIndex = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldNm = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldFlags = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldRect = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldContents = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldSubject = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldAuthor = big.NewInt(1 << 9) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldCreated = big.NewInt(1 << 10) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldModified = big.NewInt(1 << 11) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldReplyType = big.NewInt(1 << 14) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldUserID = big.NewInt(1 << 15) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldGroupID = big.NewInt(1 << 16) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldActions = big.NewInt(1 << 19) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldRawSubtypeCode = big.NewInt(1 << 20) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldRawSubtypeName = big.NewInt(1 << 21) + docAnnotationsListAll200ResponseFieldPages = big.NewInt(1 << 0) + docAnnotationsListAll200ResponseFieldAuditHead = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemUnsupported struct { - Ref *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - RawSubtypeCode int `json:"rawSubtypeCode" url:"rawSubtypeCode"` - RawSubtypeName *string `json:"rawSubtypeName,omitempty" url:"rawSubtypeName,omitempty"` +type DocAnnotationsListAll200Response struct { + Pages []*DocAnnotationsListAll200ResponsePagesItem `json:"pages" url:"pages"` + AuditHead *int `json:"auditHead,omitempty" url:"auditHead,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -49094,343 +56468,155 @@ type DocAnnotationsList200ResponseAnnotationsItemUnsupported struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetRef() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef { +func (d *DocAnnotationsListAll200Response) GetPages() []*DocAnnotationsListAll200ResponsePagesItem { if d == nil { return nil } - return d.Ref -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetIndex() int { - if d == nil { - return 0 - } - return d.Index -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQuality { - if d == nil { - return "" - } - return d.IdentityQuality + return d.Pages } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetNm() *string { +func (d *DocAnnotationsListAll200Response) GetAuditHead() *int { if d == nil { return nil } - return d.Nm + return d.AuditHead } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags { +func (d *DocAnnotationsListAll200Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } - return d.Flags + return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetRect() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect { - if d == nil { - return nil +func (d *DocAnnotationsListAll200Response) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) } - return d.Rect + d.explicitFields.Or(d.explicitFields, field) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetContents() *string { - if d == nil { - return nil - } - return d.Contents +// SetPages sets the Pages field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200Response) SetPages(pages []*DocAnnotationsListAll200ResponsePagesItem) { + d.Pages = pages + d.require(docAnnotationsListAll200ResponseFieldPages) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetSubject() *string { - if d == nil { - return nil - } - return d.Subject +// SetAuditHead sets the AuditHead field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200Response) SetAuditHead(auditHead *int) { + d.AuditHead = auditHead + d.require(docAnnotationsListAll200ResponseFieldAuditHead) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetAuthor() *string { - if d == nil { - return nil +func (d *DocAnnotationsListAll200Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200Response + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err } - return d.Author -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetCreated() *time.Time { - if d == nil { - return nil + *d = DocAnnotationsListAll200Response(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err } - return d.Created + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetModified() *time.Time { - if d == nil { - return nil +func (d *DocAnnotationsListAll200Response) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200Response + var marshaler = struct { + embed + }{ + embed: embed(*d), } - return d.Modified + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode { +func (d *DocAnnotationsListAll200Response) String() string { if d == nil { - return "" + return "" } - return d.BlendMode -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo { - if d == nil { - return nil + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } } - return d.InReplyTo -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyType { - if d == nil { - return nil + if value, err := internal.StringifyJSON(d); err == nil { + return value } - return d.ReplyType + return fmt.Sprintf("%#v", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetUserID() *string { - if d == nil { - return nil - } - return d.UserID -} +var ( + docAnnotationsListAll200ResponsePagesItemFieldPageState = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemFieldAnnotations = big.NewInt(1 << 1) +) -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetGroupID() *string { - if d == nil { - return nil - } - return d.GroupID -} +type DocAnnotationsListAll200ResponsePagesItem struct { + PageState *DocAnnotationsListAll200ResponsePagesItemPageState `json:"pageState" url:"pageState"` + Annotations []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItem `json:"annotations" url:"annotations"` -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetCreatedBy() *string { - if d == nil { - return nil - } - return d.CreatedBy -} + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetUpdatedBy() *string { - if d == nil { - return nil - } - return d.UpdatedBy + extraProperties map[string]interface{} + rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsListAll200ResponsePagesItem) GetPageState() *DocAnnotationsListAll200ResponsePagesItemPageState { if d == nil { return nil } - return d.Actions -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetRawSubtypeCode() int { - if d == nil { - return 0 - } - return d.RawSubtypeCode + return d.PageState } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetRawSubtypeName() *string { +func (d *DocAnnotationsListAll200ResponsePagesItem) GetAnnotations() []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItem { if d == nil { return nil } - return d.RawSubtypeName + return d.Annotations } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetRef sets the Ref field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) { - d.Ref = ref - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldRef) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldPageObjectNumber) -} - -// SetIndex sets the Index field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetIndex(index int) { - d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldIndex) -} - -// SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQuality) { - d.IdentityQuality = identityQuality - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldIdentityQuality) -} - -// SetNm sets the Nm field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetNm(nm *string) { - d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldNm) -} - -// SetFlags sets the Flags field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) { - d.Flags = flags - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldFlags) -} - -// SetRect sets the Rect field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) { - d.Rect = rect - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldRect) -} - -// SetContents sets the Contents field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetContents(contents *string) { - d.Contents = contents - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldContents) -} - -// SetSubject sets the Subject field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetSubject(subject *string) { - d.Subject = subject - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldSubject) -} - -// SetAuthor sets the Author field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetAuthor(author *string) { - d.Author = author - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldAuthor) -} - -// SetCreated sets the Created field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetCreated(created *time.Time) { - d.Created = created - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldCreated) -} - -// SetModified sets the Modified field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetModified(modified *time.Time) { - d.Modified = modified - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldModified) -} - -// SetBlendMode sets the BlendMode field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode) { - d.BlendMode = blendMode - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldBlendMode) -} - -// SetInReplyTo sets the InReplyTo field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo) { - d.InReplyTo = inReplyTo - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldInReplyTo) -} - -// SetReplyType sets the ReplyType field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyType) { - d.ReplyType = replyType - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldReplyType) -} - -// SetUserID sets the UserID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetUserID(userID *string) { - d.UserID = userID - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldUserID) -} - -// SetGroupID sets the GroupID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetGroupID(groupID *string) { - d.GroupID = groupID - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldGroupID) -} - -// SetCreatedBy sets the CreatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetCreatedBy(createdBy *string) { - d.CreatedBy = createdBy - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldCreatedBy) -} - -// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetUpdatedBy(updatedBy *string) { - d.UpdatedBy = updatedBy - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldUpdatedBy) -} - -// SetActions sets the Actions field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetActions(actions *PdfAnnotationActions) { - d.Actions = actions - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldActions) -} - -// SetRawSubtypeCode sets the RawSubtypeCode field and marks it as non-optional; +// SetPageState sets the PageState field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetRawSubtypeCode(rawSubtypeCode int) { - d.RawSubtypeCode = rawSubtypeCode - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldRawSubtypeCode) +func (d *DocAnnotationsListAll200ResponsePagesItem) SetPageState(pageState *DocAnnotationsListAll200ResponsePagesItemPageState) { + d.PageState = pageState + d.require(docAnnotationsListAll200ResponsePagesItemFieldPageState) } -// SetRawSubtypeName sets the RawSubtypeName field and marks it as non-optional; +// SetAnnotations sets the Annotations field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) SetRawSubtypeName(rawSubtypeName *string) { - d.RawSubtypeName = rawSubtypeName - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFieldRawSubtypeName) +func (d *DocAnnotationsListAll200ResponsePagesItem) SetAnnotations(annotations []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) { + d.Annotations = annotations + d.require(docAnnotationsListAll200ResponsePagesItemFieldAnnotations) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsList200ResponseAnnotationsItemUnsupported - var unmarshaler = struct { - embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` - }{ - embed: embed(*d), - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { +func (d *DocAnnotationsListAll200ResponsePagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItem + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemUnsupported(unmarshaler.embed) - d.Created = unmarshaler.Created.TimePtr() - d.Modified = unmarshaler.Modified.TimePtr() + *d = DocAnnotationsListAll200ResponsePagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -49440,22 +56626,18 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) UnmarshalJSON( return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnsupported +func (d *DocAnnotationsListAll200ResponsePagesItem) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItem var marshaler = struct { embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` }{ - embed: embed(*d), - Created: internal.NewOptionalDateTime(d.Created), - Modified: internal.NewOptionalDateTime(d.Modified), + embed: embed(*d), } explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItem) String() string { if d == nil { return "" } @@ -49470,404 +56652,362 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupported) String() strin return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode string - -const ( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "normal" - DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "multiply" - DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "screen" - DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "overlay" - DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "darken" - DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "lighten" - DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "color-dodge" - DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "color-burn" - DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "hard-light" - DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "soft-light" - DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "difference" - DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "exclusion" - DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeHue DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "hue" - DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "saturation" - DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeColor DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "color" - DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode = "luminosity" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode, error) { - switch s { - case "normal": - return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeNormal, nil - case "multiply": - return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeMultiply, nil - case "screen": - return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeScreen, nil - case "overlay": - return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeOverlay, nil - case "darken": - return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeDarken, nil - case "lighten": - return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeLighten, nil - case "color-dodge": - return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeColorDodge, nil - case "color-burn": - return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeColorBurn, nil - case "hard-light": - return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeHardLight, nil - case "soft-light": - return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeSoftLight, nil - case "difference": - return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeDifference, nil - case "exclusion": - return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeExclusion, nil - case "hue": - return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeHue, nil - case "saturation": - return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeSaturation, nil - case "color": - return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeColor, nil - case "luminosity": - return DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendModeLuminosity, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedBlendMode { - return &d -} - -var ( - docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldLockedContents = big.NewInt(1 << 9) -) - -type DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags struct { - Invisible bool `json:"invisible" url:"invisible"` - Hidden bool `json:"hidden" url:"hidden"` - Print bool `json:"print" url:"print"` - NoZoom bool `json:"noZoom" url:"noZoom"` - NoRotate bool `json:"noRotate" url:"noRotate"` - NoView bool `json:"noView" url:"noView"` - ReadOnly bool `json:"readOnly" url:"readOnly"` - Locked bool `json:"locked" url:"locked"` - ToggleNoView bool `json:"toggleNoView" url:"toggleNoView"` - LockedContents bool `json:"lockedContents" url:"lockedContents"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItem struct { + Subtype string + Highlight *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight + Underline *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline + Squiggly *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly + Strikeout *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout + Circle *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle + Square *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare + Polygon *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon + Polyline *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline + Line *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine + Link *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink + Ink *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk + FreeText *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText + Caret *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret + Text *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText + Stamp *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp + FileAttachment *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment + Widget *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget + Redact *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact + Unsupported *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported - extraProperties map[string]interface{} - rawJSON json.RawMessage + rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) GetInvisible() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetSubtype() string { if d == nil { - return false + return "" } - return d.Invisible + return d.Subtype } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) GetHidden() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetHighlight() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight { if d == nil { - return false + return nil } - return d.Hidden + return d.Highlight } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) GetPrint() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetUnderline() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline { if d == nil { - return false + return nil } - return d.Print + return d.Underline } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) GetNoZoom() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetSquiggly() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly { if d == nil { - return false + return nil } - return d.NoZoom + return d.Squiggly } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) GetNoRotate() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetStrikeout() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout { if d == nil { - return false + return nil } - return d.NoRotate + return d.Strikeout } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) GetNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetCircle() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle { if d == nil { - return false + return nil } - return d.NoView + return d.Circle } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) GetReadOnly() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetSquare() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare { if d == nil { - return false + return nil } - return d.ReadOnly + return d.Square } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) GetLocked() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetPolygon() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon { if d == nil { - return false + return nil } - return d.Locked + return d.Polygon } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) GetToggleNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetPolyline() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline { if d == nil { - return false + return nil } - return d.ToggleNoView + return d.Polyline } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) GetLockedContents() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetLine() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine { if d == nil { - return false + return nil } - return d.LockedContents + return d.Line } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetLink() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink { if d == nil { return nil } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetInvisible sets the Invisible field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) SetInvisible(invisible bool) { - d.Invisible = invisible - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldInvisible) -} - -// SetHidden sets the Hidden field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) SetHidden(hidden bool) { - d.Hidden = hidden - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldHidden) -} - -// SetPrint sets the Print field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) SetPrint(print bool) { - d.Print = print - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldPrint) -} - -// SetNoZoom sets the NoZoom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) SetNoZoom(noZoom bool) { - d.NoZoom = noZoom - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldNoZoom) -} - -// SetNoRotate sets the NoRotate field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) SetNoRotate(noRotate bool) { - d.NoRotate = noRotate - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldNoRotate) -} - -// SetNoView sets the NoView field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) SetNoView(noView bool) { - d.NoView = noView - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldNoView) -} - -// SetReadOnly sets the ReadOnly field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) SetReadOnly(readOnly bool) { - d.ReadOnly = readOnly - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldReadOnly) -} - -// SetLocked sets the Locked field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) SetLocked(locked bool) { - d.Locked = locked - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldLocked) -} - -// SetToggleNoView sets the ToggleNoView field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) SetToggleNoView(toggleNoView bool) { - d.ToggleNoView = toggleNoView - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldToggleNoView) -} - -// SetLockedContents sets the LockedContents field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) SetLockedContents(lockedContents bool) { - d.LockedContents = lockedContents - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedFlagsFieldLockedContents) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil + return d.Link } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags - var marshaler = struct { - embed - }{ - embed: embed(*d), +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetInk() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk { + if d == nil { + return nil } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + return d.Ink } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedFlags) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetFreeText() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText { if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value + return nil } - return fmt.Sprintf("%#v", d) + return d.FreeText } -type DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQuality string - -const ( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQuality = "durable" - DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQuality = "weak" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQuality, error) { - switch s { - case "durable": - return DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQualityDurable, nil - case "weak": - return DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQualityWeak, nil +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetCaret() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret { + if d == nil { + return nil } - var t DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQuality - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedIdentityQuality { - return &d + return d.Caret } -type DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo struct { - Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm - Index *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetText() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText { + if d == nil { + return nil + } + return d.Text +} - rawJSON json.RawMessage +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetStamp() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp { + if d == nil { + return nil + } + return d.Stamp } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetFileAttachment() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment { if d == nil { - return "" + return nil } - return d.Kind + return d.FileAttachment } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetWidget() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget { if d == nil { return nil } - return d.ObjectNumber + return d.Widget } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetRedact() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact { if d == nil { return nil } - return d.Nm + return d.Redact } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetUnsupported() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported { if d == nil { return nil } - return d.Index + return d.Unsupported } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) UnmarshalJSON(data []byte) error { var unmarshaler struct { - Kind string `json:"kind"` + Subtype string `json:"subtype"` } if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - d.Kind = unmarshaler.Kind - if unmarshaler.Kind == "" { - return fmt.Errorf("%T did not include discriminant kind", d) + d.Subtype = unmarshaler.Subtype + if unmarshaler.Subtype == "" { + return fmt.Errorf("%T did not include discriminant subtype", d) } - switch unmarshaler.Kind { - case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber) + switch unmarshaler.Subtype { + case "highlight": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) if err := json.Unmarshal(data, &value); err != nil { return err } - d.ObjectNumber = value - case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) + d.Highlight = value + case "underline": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Nm = value - case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) + d.Underline = value + case "squiggly": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Index = value + d.Squiggly = value + case "strikeout": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Strikeout = value + case "circle": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Circle = value + case "square": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Square = value + case "polygon": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Polygon = value + case "polyline": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Polyline = value + case "line": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Line = value + case "link": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Link = value + case "ink": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Ink = value + case "free-text": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.FreeText = value + case "caret": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Caret = value + case "text": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Text = value + case "stamp": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Stamp = value + case "file-attachment": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.FileAttachment = value + case "widget": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Widget = value + case "redact": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Redact = value + case "unsupported": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Unsupported = value } d.rawJSON = json.RawMessage(data) return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } - if d.ObjectNumber != nil { - return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") + if d.Highlight != nil { + return internal.MarshalJSONWithExtraProperty(d.Highlight, "subtype", "highlight") } - if d.Nm != nil { - return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") + if d.Underline != nil { + return internal.MarshalJSONWithExtraProperty(d.Underline, "subtype", "underline") } - if d.Index != nil { - return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") + if d.Squiggly != nil { + return internal.MarshalJSONWithExtraProperty(d.Squiggly, "subtype", "squiggly") + } + if d.Strikeout != nil { + return internal.MarshalJSONWithExtraProperty(d.Strikeout, "subtype", "strikeout") + } + if d.Circle != nil { + return internal.MarshalJSONWithExtraProperty(d.Circle, "subtype", "circle") + } + if d.Square != nil { + return internal.MarshalJSONWithExtraProperty(d.Square, "subtype", "square") + } + if d.Polygon != nil { + return internal.MarshalJSONWithExtraProperty(d.Polygon, "subtype", "polygon") + } + if d.Polyline != nil { + return internal.MarshalJSONWithExtraProperty(d.Polyline, "subtype", "polyline") + } + if d.Line != nil { + return internal.MarshalJSONWithExtraProperty(d.Line, "subtype", "line") + } + if d.Link != nil { + return internal.MarshalJSONWithExtraProperty(d.Link, "subtype", "link") + } + if d.Ink != nil { + return internal.MarshalJSONWithExtraProperty(d.Ink, "subtype", "ink") + } + if d.FreeText != nil { + return internal.MarshalJSONWithExtraProperty(d.FreeText, "subtype", "free-text") + } + if d.Caret != nil { + return internal.MarshalJSONWithExtraProperty(d.Caret, "subtype", "caret") + } + if d.Text != nil { + return internal.MarshalJSONWithExtraProperty(d.Text, "subtype", "text") + } + if d.Stamp != nil { + return internal.MarshalJSONWithExtraProperty(d.Stamp, "subtype", "stamp") + } + if d.FileAttachment != nil { + return internal.MarshalJSONWithExtraProperty(d.FileAttachment, "subtype", "file-attachment") + } + if d.Widget != nil { + return internal.MarshalJSONWithExtraProperty(d.Widget, "subtype", "widget") + } + if d.Redact != nil { + return internal.MarshalJSONWithExtraProperty(d.Redact, "subtype", "redact") + } + if d.Unsupported != nil { + return internal.MarshalJSONWithExtraProperty(d.Unsupported, "subtype", "unsupported") } if len(d.rawJSON) > 0 { return d.rawJSON, nil @@ -49875,58 +57015,170 @@ func (d DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo) Marsha return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemVisitor interface { + VisitHighlight(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) error + VisitUnderline(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) error + VisitSquiggly(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) error + VisitStrikeout(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) error + VisitCircle(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) error + VisitSquare(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) error + VisitPolygon(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) error + VisitPolyline(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) error + VisitLine(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) error + VisitLink(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) error + VisitInk(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) error + VisitFreeText(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) error + VisitCaret(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) error + VisitText(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) error + VisitStamp(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) error + VisitFileAttachment(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) error + VisitWidget(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) error + VisitRedact(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) error + VisitUnsupported(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToVisitor) error { - if d.ObjectNumber != nil { - return visitor.VisitObjectNumber(d.ObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemVisitor) error { + if d.Highlight != nil { + return visitor.VisitHighlight(d.Highlight) } - if d.Nm != nil { - return visitor.VisitNm(d.Nm) + if d.Underline != nil { + return visitor.VisitUnderline(d.Underline) } - if d.Index != nil { - return visitor.VisitIndex(d.Index) + if d.Squiggly != nil { + return visitor.VisitSquiggly(d.Squiggly) + } + if d.Strikeout != nil { + return visitor.VisitStrikeout(d.Strikeout) + } + if d.Circle != nil { + return visitor.VisitCircle(d.Circle) + } + if d.Square != nil { + return visitor.VisitSquare(d.Square) + } + if d.Polygon != nil { + return visitor.VisitPolygon(d.Polygon) + } + if d.Polyline != nil { + return visitor.VisitPolyline(d.Polyline) + } + if d.Line != nil { + return visitor.VisitLine(d.Line) + } + if d.Link != nil { + return visitor.VisitLink(d.Link) + } + if d.Ink != nil { + return visitor.VisitInk(d.Ink) + } + if d.FreeText != nil { + return visitor.VisitFreeText(d.FreeText) + } + if d.Caret != nil { + return visitor.VisitCaret(d.Caret) + } + if d.Text != nil { + return visitor.VisitText(d.Text) + } + if d.Stamp != nil { + return visitor.VisitStamp(d.Stamp) + } + if d.FileAttachment != nil { + return visitor.VisitFileAttachment(d.FileAttachment) + } + if d.Widget != nil { + return visitor.VisitWidget(d.Widget) + } + if d.Redact != nil { + return visitor.VisitRedact(d.Redact) + } + if d.Unsupported != nil { + return visitor.VisitUnsupported(d.Unsupported) } return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } var fields []string - if d.ObjectNumber != nil { - fields = append(fields, "objectNumber") + if d.Highlight != nil { + fields = append(fields, "highlight") } - if d.Nm != nil { - fields = append(fields, "nm") + if d.Underline != nil { + fields = append(fields, "underline") } - if d.Index != nil { - fields = append(fields, "index") + if d.Squiggly != nil { + fields = append(fields, "squiggly") + } + if d.Strikeout != nil { + fields = append(fields, "strikeout") + } + if d.Circle != nil { + fields = append(fields, "circle") + } + if d.Square != nil { + fields = append(fields, "square") + } + if d.Polygon != nil { + fields = append(fields, "polygon") + } + if d.Polyline != nil { + fields = append(fields, "polyline") + } + if d.Line != nil { + fields = append(fields, "line") + } + if d.Link != nil { + fields = append(fields, "link") + } + if d.Ink != nil { + fields = append(fields, "ink") + } + if d.FreeText != nil { + fields = append(fields, "free-text") + } + if d.Caret != nil { + fields = append(fields, "caret") + } + if d.Text != nil { + fields = append(fields, "text") + } + if d.Stamp != nil { + fields = append(fields, "stamp") + } + if d.FileAttachment != nil { + fields = append(fields, "file-attachment") + } + if d.Widget != nil { + fields = append(fields, "widget") + } + if d.Redact != nil { + fields = append(fields, "redact") + } + if d.Unsupported != nil { + fields = append(fields, "unsupported") } if len(fields) == 0 { - if d.Kind != "" { + if d.Subtype != "" { if len(d.rawJSON) > 0 { return nil } - return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) + return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Subtype) } return fmt.Errorf("type %T is empty", d) } if len(fields) > 1 { return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) } - if d.Kind != "" { + if d.Subtype != "" { field := fields[0] - if d.Kind != field { + if d.Subtype != field { return fmt.Errorf( "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", d, - d.Kind, + d.Subtype, d, ) } @@ -49935,15 +57187,61 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyTo) valid } var ( - docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldRef = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldIndex = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldNm = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldFlags = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldRect = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldContents = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldSubject = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldAuthor = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldCreated = big.NewInt(1 << 10) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldModified = big.NewInt(1 << 11) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldReplyType = big.NewInt(1 << 14) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldUserID = big.NewInt(1 << 15) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldGroupID = big.NewInt(1 << 16) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldActions = big.NewInt(1 << 19) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldColor = big.NewInt(1 << 20) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldOpacity = big.NewInt(1 << 21) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldIntent = big.NewInt(1 << 22) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldRectDifferences = big.NewInt(1 << 23) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldRotation = big.NewInt(1 << 24) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldUnrotatedRect = big.NewInt(1 << 25) ) -type DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret struct { + Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + Intent *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntent `json:"intent,omitempty" url:"intent,omitempty"` + RectDifferences *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences `json:"rectDifferences,omitempty" url:"rectDifferences,omitempty"` + Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` + UnrotatedRect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect `json:"unrotatedRect,omitempty" url:"unrotatedRect,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -49952,285 +57250,399 @@ type DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex struc rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef { + if d == nil { + return nil + } + return d.Ref +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQuality { + if d == nil { + return "" + } + return d.IdentityQuality +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetNm() *string { if d == nil { return nil } - return d.Revision + return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags { if d == nil { return nil } - return d.extraProperties + return d.Flags } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect { + if d == nil { + return nil } - d.explicitFields.Or(d.explicitFields, field) + return d.Rect } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexFieldPageObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetContents() *string { + if d == nil { + return nil + } + return d.Contents } -// SetIndex sets the Index field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) SetIndex(index int) { - d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexFieldIndex) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetSubject() *string { + if d == nil { + return nil + } + return d.Subject } -// SetRevision sets the Revision field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) { - d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexFieldRevision) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetAuthor() *string { + if d == nil { + return nil + } + return d.Author } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetCreated() *time.Time { + if d == nil { + return nil } - *d = DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err + return d.Created +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetModified() *time.Time { + if d == nil { + return nil } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil + return d.Modified } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex - var marshaler = struct { - embed - }{ - embed: embed(*d), +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode { + if d == nil { + return "" } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + return d.BlendMode } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo { if d == nil { - return "" + return nil } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } + return d.InReplyTo +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyType { + if d == nil { + return nil } - if value, err := internal.StringifyJSON(d); err == nil { - return value + return d.ReplyType +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetUserID() *string { + if d == nil { + return nil } - return fmt.Sprintf("%#v", d) + return d.UserID } -var ( - docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) -) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetGroupID() *string { + if d == nil { + return nil + } + return d.GroupID +} -type DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision struct { - DocSessionID string `json:"docSessionId" url:"docSessionId"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Generation int `json:"generation" url:"generation"` +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetCreatedBy() *string { + if d == nil { + return nil + } + return d.CreatedBy +} - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetUpdatedBy() *string { + if d == nil { + return nil + } + return d.UpdatedBy +} - extraProperties map[string]interface{} - rawJSON json.RawMessage +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetActions() *PdfAnnotationActions { + if d == nil { + return nil + } + return d.Actions } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor { if d == nil { - return "" + return nil } - return d.DocSessionID + return d.Color } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetOpacity() float64 { if d == nil { return 0 } - return d.PageObjectNumber + return d.Opacity } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetIntent() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntent { if d == nil { - return 0 + return nil } - return d.Generation + return d.Intent } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetRectDifferences() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences { + if d == nil { + return nil + } + return d.RectDifferences +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetRotation() *float64 { + if d == nil { + return nil + } + return d.Rotation +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetUnrotatedRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect { + if d == nil { + return nil + } + return d.UnrotatedRect +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetDocSessionID sets the DocSessionID field and marks it as non-optional; +// SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) SetDocSessionID(docSessionID string) { - d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevisionFieldDocSessionID) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) { + d.Ref = ref + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldPageObjectNumber) } -// SetGeneration sets the Generation field and marks it as non-optional; +// SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) SetGeneration(generation int) { - d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevisionFieldGeneration) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetIndex(index int) { + d.Index = index + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldIndex) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil +// SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQuality) { + d.IdentityQuality = identityQuality + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldIdentityQuality) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) +// SetNm sets the Nm field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetNm(nm *string) { + d.Nm = nm + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToIndexRevision) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) +// SetFlags sets the Flags field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) { + d.Flags = flags + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldFlags) } -var ( - docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNmFieldNm = big.NewInt(1 << 1) -) +// SetRect sets the Rect field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) { + d.Rect = rect + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldRect) +} -type DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Nm string `json:"nm" url:"nm"` +// SetContents sets the Contents field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetContents(contents *string) { + d.Contents = contents + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldContents) +} - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` +// SetSubject sets the Subject field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetSubject(subject *string) { + d.Subject = subject + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldSubject) +} - extraProperties map[string]interface{} - rawJSON json.RawMessage +// SetAuthor sets the Author field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetAuthor(author *string) { + d.Author = author + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldAuthor) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber +// SetCreated sets the Created field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetCreated(created *time.Time) { + d.Created = created + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldCreated) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) GetNm() string { - if d == nil { - return "" - } - return d.Nm +// SetModified sets the Modified field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetModified(modified *time.Time) { + d.Modified = modified + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldModified) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties +// SetBlendMode sets the BlendMode field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode) { + d.BlendMode = blendMode + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldBlendMode) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) +// SetInReplyTo sets the InReplyTo field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) { + d.InReplyTo = inReplyTo + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldInReplyTo) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNmFieldPageObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyType) { + d.ReplyType = replyType + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldReplyType) } -// SetNm sets the Nm field and marks it as non-optional; +// SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) SetNm(nm string) { - d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNmFieldNm) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetUserID(userID *string) { + d.UserID = userID + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldUserID) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { +// SetGroupID sets the GroupID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetGroupID(groupID *string) { + d.GroupID = groupID + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldGroupID) +} + +// SetCreatedBy sets the CreatedBy field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetCreatedBy(createdBy *string) { + d.CreatedBy = createdBy + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldCreatedBy) +} + +// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetUpdatedBy(updatedBy *string) { + d.UpdatedBy = updatedBy + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldUpdatedBy) +} + +// SetActions sets the Actions field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetActions(actions *PdfAnnotationActions) { + d.Actions = actions + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldActions) +} + +// SetColor sets the Color field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) { + d.Color = color + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldColor) +} + +// SetOpacity sets the Opacity field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetOpacity(opacity float64) { + d.Opacity = opacity + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldOpacity) +} + +// SetIntent sets the Intent field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetIntent(intent *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntent) { + d.Intent = intent + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldIntent) +} + +// SetRectDifferences sets the RectDifferences field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetRectDifferences(rectDifferences *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) { + d.RectDifferences = rectDifferences + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldRectDifferences) +} + +// SetRotation sets the Rotation field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetRotation(rotation *float64) { + d.Rotation = rotation + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldRotation) +} + +// SetUnrotatedRect sets the UnrotatedRect field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetUnrotatedRect(unrotatedRect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) { + d.UnrotatedRect = unrotatedRect + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldUnrotatedRect) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret + var unmarshaler = struct { + embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` + }{ + embed: embed(*d), + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret(unmarshaler.embed) + d.Created = unmarshaler.Created.TimePtr() + d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -50240,18 +57652,22 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) Unm return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret var marshaler = struct { embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` }{ - embed: embed(*d), + embed: embed(*d), + Created: internal.NewOptionalDateTime(d.Created), + Modified: internal.NewOptionalDateTime(d.Modified), } explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) String() string { if d == nil { return "" } @@ -50266,14 +57682,80 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToNm) Str return fmt.Sprintf("%#v", d) } +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "normal" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "multiply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "screen" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "overlay" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "darken" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "lighten" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "color-dodge" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "color-burn" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "hard-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "soft-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "difference" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "exclusion" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "hue" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "saturation" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "color" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "luminosity" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode, error) { + switch s { + case "normal": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeNormal, nil + case "multiply": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeMultiply, nil + case "screen": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeScreen, nil + case "overlay": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeOverlay, nil + case "darken": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeDarken, nil + case "lighten": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeLighten, nil + case "color-dodge": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeColorDodge, nil + case "color-burn": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeColorBurn, nil + case "hard-light": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeHardLight, nil + case "soft-light": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeSoftLight, nil + case "difference": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeDifference, nil + case "exclusion": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeExclusion, nil + case "hue": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeHue, nil + case "saturation": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeSaturation, nil + case "color": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeColor, nil + case "luminosity": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeLuminosity, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode { + return &d +} + var ( - docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -50282,55 +57764,69 @@ type DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumbe rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) GetR() int { if d == nil { return 0 } - return d.PageObjectNumber + return d.R } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) GetG() int { if d == nil { return 0 } - return d.AnnotObjectNumber + return d.G } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) GetB() int { + if d == nil { + return 0 + } + return d.B +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumberFieldPageObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) SetR(r int) { + d.R = r + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColorFieldR) } -// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { - d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumberFieldAnnotObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) SetG(g int) { + d.G = g + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColorFieldG) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber +// SetB sets the B field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) SetB(b int) { + d.B = b + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColorFieldB) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -50340,8 +57836,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectN return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor var marshaler = struct { embed }{ @@ -50351,7 +57847,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectN return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) String() string { if d == nil { return "" } @@ -50367,17 +57863,29 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedInReplyToObjectN } var ( - docAnnotationsList200ResponseAnnotationsItemUnsupportedRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnsupportedRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemUnsupportedRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemUnsupportedRectFieldTop = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect struct { - Left float64 `json:"left" url:"left"` - Bottom float64 `json:"bottom" url:"bottom"` - Right float64 `json:"right" url:"right"` - Top float64 `json:"top" url:"top"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags struct { + Invisible bool `json:"invisible" url:"invisible"` + Hidden bool `json:"hidden" url:"hidden"` + Print bool `json:"print" url:"print"` + NoZoom bool `json:"noZoom" url:"noZoom"` + NoRotate bool `json:"noRotate" url:"noRotate"` + NoView bool `json:"noView" url:"noView"` + ReadOnly bool `json:"readOnly" url:"readOnly"` + Locked bool `json:"locked" url:"locked"` + ToggleNoView bool `json:"toggleNoView" url:"toggleNoView"` + LockedContents bool `json:"lockedContents" url:"lockedContents"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -50386,83 +57894,167 @@ type DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) GetLeft() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) GetInvisible() bool { if d == nil { - return 0 + return false } - return d.Left + return d.Invisible } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) GetBottom() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) GetHidden() bool { if d == nil { - return 0 + return false } - return d.Bottom + return d.Hidden } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) GetPrint() bool { if d == nil { - return 0 + return false } - return d.Right + return d.Print } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) GetNoZoom() bool { if d == nil { - return 0 + return false } - return d.Top + return d.NoZoom } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) GetNoRotate() bool { + if d == nil { + return false + } + return d.NoRotate +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) GetNoView() bool { + if d == nil { + return false + } + return d.NoView +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) GetReadOnly() bool { + if d == nil { + return false + } + return d.ReadOnly +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) GetLocked() bool { + if d == nil { + return false + } + return d.Locked +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) GetToggleNoView() bool { + if d == nil { + return false + } + return d.ToggleNoView +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) GetLockedContents() bool { + if d == nil { + return false + } + return d.LockedContents +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetLeft sets the Left field and marks it as non-optional; +// SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRectFieldLeft) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) SetInvisible(invisible bool) { + d.Invisible = invisible + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldInvisible) } -// SetBottom sets the Bottom field and marks it as non-optional; +// SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRectFieldBottom) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) SetHidden(hidden bool) { + d.Hidden = hidden + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldHidden) } -// SetRight sets the Right field and marks it as non-optional; +// SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRectFieldRight) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) SetPrint(print bool) { + d.Print = print + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldPrint) } -// SetTop sets the Top field and marks it as non-optional; +// SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRectFieldTop) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) SetNoZoom(noZoom bool) { + d.NoZoom = noZoom + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldNoZoom) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect +// SetNoRotate sets the NoRotate field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) SetNoRotate(noRotate bool) { + d.NoRotate = noRotate + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldNoRotate) +} + +// SetNoView sets the NoView field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) SetNoView(noView bool) { + d.NoView = noView + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldNoView) +} + +// SetReadOnly sets the ReadOnly field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) SetReadOnly(readOnly bool) { + d.ReadOnly = readOnly + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldReadOnly) +} + +// SetLocked sets the Locked field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) SetLocked(locked bool) { + d.Locked = locked + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldLocked) +} + +// SetToggleNoView sets the ToggleNoView field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) SetToggleNoView(toggleNoView bool) { + d.ToggleNoView = toggleNoView + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldToggleNoView) +} + +// SetLockedContents sets the LockedContents field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) SetLockedContents(lockedContents bool) { + d.LockedContents = lockedContents + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldLockedContents) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -50472,8 +58064,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) UnmarshalJ return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags var marshaler = struct { embed }{ @@ -50483,7 +58075,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) MarshalJSO return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) String() string { if d == nil { return "" } @@ -50498,44 +58090,66 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRect) String() s return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQuality string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQuality = "durable" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQuality = "weak" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQuality, error) { + switch s { + case "durable": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQualityDurable, nil + case "weak": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQualityWeak, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQuality + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQuality { + return &d +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm - Index *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -50548,19 +58162,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) UnmarshalJS } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -50570,7 +58184,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) UnmarshalJS return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -50589,13 +58203,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) MarshalJSON( return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -50608,7 +58222,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) Accept(visi return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -50649,15 +58263,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRef) validate() } var ( - docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -50666,35 +58280,35 @@ type DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -50703,32 +58317,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) requir // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -50738,8 +58352,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) Unmars return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex var marshaler = struct { embed }{ @@ -50749,7 +58363,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) String() string { if d == nil { return "" } @@ -50765,12 +58379,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndex) String } var ( - docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -50782,35 +58396,35 @@ type DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision str rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -50819,32 +58433,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -50854,8 +58468,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision var marshaler = struct { embed }{ @@ -50865,7 +58479,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -50881,11 +58495,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefIndexRevision } var ( - docAnnotationsList200ResponseAnnotationsItemUnsupportedRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnsupportedRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -50896,733 +58510,55 @@ type DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm) GetNm() string { - if d == nil { - return "" - } - return d.Nm -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRefNmFieldPageObjectNumber) -} - -// SetNm sets the Nm field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm) SetNm(nm string) { - d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRefNmFieldNm) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefNm) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) -) - -type DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber) GetAnnotObjectNumber() int { - if d == nil { - return 0 - } - return d.AnnotObjectNumber -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumberFieldPageObjectNumber) -} - -// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { - d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumberFieldAnnotObjectNumber) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemUnsupportedRefObjectNumber) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -type DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyType string - -const ( - DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyType = "reply" - DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyType = "group" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyType, error) { - switch s { - case "reply": - return DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyTypeReply, nil - case "group": - return DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyTypeGroup, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyType - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemUnsupportedReplyType { - return &d -} - -var ( - docAnnotationsList200ResponseAnnotationsItemWidgetFieldRef = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldIndex = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldNm = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldFlags = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldRect = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldContents = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldSubject = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldAuthor = big.NewInt(1 << 9) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldCreated = big.NewInt(1 << 10) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldModified = big.NewInt(1 << 11) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldReplyType = big.NewInt(1 << 14) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldUserID = big.NewInt(1 << 15) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldGroupID = big.NewInt(1 << 16) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldActions = big.NewInt(1 << 19) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldColor = big.NewInt(1 << 20) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldInteriorColor = big.NewInt(1 << 21) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldStrokeWidth = big.NewInt(1 << 22) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldBorderStyle = big.NewInt(1 << 23) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldFontFamily = big.NewInt(1 << 24) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldFontSize = big.NewInt(1 << 25) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldFontColor = big.NewInt(1 << 26) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldTextAlign = big.NewInt(1 << 27) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldFieldObjectNumber = big.NewInt(1 << 28) - docAnnotationsList200ResponseAnnotationsItemWidgetFieldFieldFamily = big.NewInt(1 << 29) -) - -type DocAnnotationsList200ResponseAnnotationsItemWidget struct { - Ref *DocAnnotationsList200ResponseAnnotationsItemWidgetRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsList200ResponseAnnotationsItemWidgetRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsList200ResponseAnnotationsItemWidgetReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsList200ResponseAnnotationsItemWidgetColor `json:"color,omitempty" url:"color,omitempty"` - InteriorColor *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` - StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` - BorderStyle DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle `json:"borderStyle" url:"borderStyle"` - FontFamily *DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily `json:"fontFamily,omitempty" url:"fontFamily,omitempty"` - FontSize *float64 `json:"fontSize,omitempty" url:"fontSize,omitempty"` - FontColor *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor `json:"fontColor,omitempty" url:"fontColor,omitempty"` - TextAlign DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign `json:"textAlign" url:"textAlign"` - FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` - FieldFamily DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily `json:"fieldFamily" url:"fieldFamily"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetRef() *DocAnnotationsList200ResponseAnnotationsItemWidgetRef { - if d == nil { - return nil - } - return d.Ref -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetIndex() int { - if d == nil { - return 0 - } - return d.Index -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetIdentityQuality() DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQuality { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm) GetNm() string { if d == nil { return "" } - return d.IdentityQuality -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetNm() *string { - if d == nil { - return nil - } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetFlags() *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags { - if d == nil { - return nil - } - return d.Flags -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetRect() *DocAnnotationsList200ResponseAnnotationsItemWidgetRect { - if d == nil { - return nil - } - return d.Rect -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetContents() *string { - if d == nil { - return nil - } - return d.Contents -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetSubject() *string { - if d == nil { - return nil - } - return d.Subject -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetAuthor() *string { - if d == nil { - return nil - } - return d.Author -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetCreated() *time.Time { - if d == nil { - return nil - } - return d.Created -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetModified() *time.Time { - if d == nil { - return nil - } - return d.Modified -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetBlendMode() DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode { - if d == nil { - return "" - } - return d.BlendMode -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetInReplyTo() *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo { - if d == nil { - return nil - } - return d.InReplyTo -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetReplyType() *DocAnnotationsList200ResponseAnnotationsItemWidgetReplyType { - if d == nil { - return nil - } - return d.ReplyType -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetUserID() *string { - if d == nil { - return nil - } - return d.UserID -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetGroupID() *string { - if d == nil { - return nil - } - return d.GroupID -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetCreatedBy() *string { - if d == nil { - return nil - } - return d.CreatedBy -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetUpdatedBy() *string { - if d == nil { - return nil - } - return d.UpdatedBy -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetActions() *PdfAnnotationActions { - if d == nil { - return nil - } - return d.Actions -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetColor() *DocAnnotationsList200ResponseAnnotationsItemWidgetColor { - if d == nil { - return nil - } - return d.Color -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetInteriorColor() *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor { - if d == nil { - return nil - } - return d.InteriorColor -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetStrokeWidth() float64 { - if d == nil { - return 0 - } - return d.StrokeWidth -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetBorderStyle() DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle { - if d == nil { - return "" - } - return d.BorderStyle -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetFontFamily() *DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily { - if d == nil { - return nil - } - return d.FontFamily -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetFontSize() *float64 { - if d == nil { - return nil - } - return d.FontSize -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetFontColor() *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor { - if d == nil { - return nil - } - return d.FontColor -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetTextAlign() DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign { - if d == nil { - return "" - } - return d.TextAlign -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetFieldObjectNumber() int { - if d == nil { - return 0 - } - return d.FieldObjectNumber -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetFieldFamily() DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily { - if d == nil { - return "" - } - return d.FieldFamily -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetRef sets the Ref field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetRef(ref *DocAnnotationsList200ResponseAnnotationsItemWidgetRef) { - d.Ref = ref - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldRef) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldPageObjectNumber) -} - -// SetIndex sets the Index field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetIndex(index int) { - d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldIndex) -} - -// SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetIdentityQuality(identityQuality DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQuality) { - d.IdentityQuality = identityQuality - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldIdentityQuality) -} - -// SetNm sets the Nm field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetNm(nm *string) { - d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldNm) -} - -// SetFlags sets the Flags field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetFlags(flags *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) { - d.Flags = flags - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldFlags) -} - -// SetRect sets the Rect field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetRect(rect *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) { - d.Rect = rect - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldRect) -} - -// SetContents sets the Contents field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetContents(contents *string) { - d.Contents = contents - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldContents) -} - -// SetSubject sets the Subject field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetSubject(subject *string) { - d.Subject = subject - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldSubject) -} - -// SetAuthor sets the Author field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetAuthor(author *string) { - d.Author = author - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldAuthor) -} - -// SetCreated sets the Created field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetCreated(created *time.Time) { - d.Created = created - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldCreated) -} - -// SetModified sets the Modified field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetModified(modified *time.Time) { - d.Modified = modified - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldModified) -} - -// SetBlendMode sets the BlendMode field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetBlendMode(blendMode DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode) { - d.BlendMode = blendMode - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldBlendMode) -} - -// SetInReplyTo sets the InReplyTo field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetInReplyTo(inReplyTo *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) { - d.InReplyTo = inReplyTo - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldInReplyTo) -} - -// SetReplyType sets the ReplyType field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetReplyType(replyType *DocAnnotationsList200ResponseAnnotationsItemWidgetReplyType) { - d.ReplyType = replyType - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldReplyType) -} - -// SetUserID sets the UserID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetUserID(userID *string) { - d.UserID = userID - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldUserID) -} - -// SetGroupID sets the GroupID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetGroupID(groupID *string) { - d.GroupID = groupID - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldGroupID) -} - -// SetCreatedBy sets the CreatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetCreatedBy(createdBy *string) { - d.CreatedBy = createdBy - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldCreatedBy) -} - -// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetUpdatedBy(updatedBy *string) { - d.UpdatedBy = updatedBy - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldUpdatedBy) -} - -// SetActions sets the Actions field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetActions(actions *PdfAnnotationActions) { - d.Actions = actions - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldActions) -} - -// SetColor sets the Color field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetColor(color *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) { - d.Color = color - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldColor) -} - -// SetInteriorColor sets the InteriorColor field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetInteriorColor(interiorColor *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) { - d.InteriorColor = interiorColor - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldInteriorColor) -} - -// SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetStrokeWidth(strokeWidth float64) { - d.StrokeWidth = strokeWidth - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldStrokeWidth) -} - -// SetBorderStyle sets the BorderStyle field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetBorderStyle(borderStyle DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle) { - d.BorderStyle = borderStyle - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldBorderStyle) -} - -// SetFontFamily sets the FontFamily field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetFontFamily(fontFamily *DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily) { - d.FontFamily = fontFamily - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldFontFamily) -} - -// SetFontSize sets the FontSize field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetFontSize(fontSize *float64) { - d.FontSize = fontSize - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldFontSize) -} - -// SetFontColor sets the FontColor field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetFontColor(fontColor *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) { - d.FontColor = fontColor - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldFontColor) -} - -// SetTextAlign sets the TextAlign field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetTextAlign(textAlign DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign) { - d.TextAlign = textAlign - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldTextAlign) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) } -// SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetFieldObjectNumber(fieldObjectNumber int) { - d.FieldObjectNumber = fieldObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldFieldObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNmFieldPageObjectNumber) } -// SetFieldFamily sets the FieldFamily field and marks it as non-optional; +// SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) SetFieldFamily(fieldFamily DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily) { - d.FieldFamily = fieldFamily - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFieldFieldFamily) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm) SetNm(nm string) { + d.Nm = nm + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsList200ResponseAnnotationsItemWidget - var unmarshaler = struct { - embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` - }{ - embed: embed(*d), - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemWidget(unmarshaler.embed) - d.Created = unmarshaler.Created.TimePtr() - d.Modified = unmarshaler.Modified.TimePtr() + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -51632,22 +58568,18 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) UnmarshalJSON(data return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemWidget +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm var marshaler = struct { embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` }{ - embed: embed(*d), - Created: internal.NewOptionalDateTime(d.Created), - Modified: internal.NewOptionalDateTime(d.Modified), + embed: embed(*d), } explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm) String() string { if d == nil { return "" } @@ -51662,108 +58594,14 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidget) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode string - -const ( - DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeNormal DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "normal" - DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeMultiply DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "multiply" - DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeScreen DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "screen" - DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeOverlay DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "overlay" - DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeDarken DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "darken" - DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeLighten DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "lighten" - DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeColorDodge DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "color-dodge" - DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeColorBurn DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "color-burn" - DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeHardLight DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "hard-light" - DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeSoftLight DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "soft-light" - DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeDifference DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "difference" - DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeExclusion DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "exclusion" - DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeHue DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "hue" - DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeSaturation DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "saturation" - DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeColor DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "color" - DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeLuminosity DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode = "luminosity" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode, error) { - switch s { - case "normal": - return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeNormal, nil - case "multiply": - return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeMultiply, nil - case "screen": - return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeScreen, nil - case "overlay": - return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeOverlay, nil - case "darken": - return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeDarken, nil - case "lighten": - return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeLighten, nil - case "color-dodge": - return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeColorDodge, nil - case "color-burn": - return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeColorBurn, nil - case "hard-light": - return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeHardLight, nil - case "soft-light": - return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeSoftLight, nil - case "difference": - return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeDifference, nil - case "exclusion": - return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeExclusion, nil - case "hue": - return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeHue, nil - case "saturation": - return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeSaturation, nil - case "color": - return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeColor, nil - case "luminosity": - return DocAnnotationsList200ResponseAnnotationsItemWidgetBlendModeLuminosity, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode) Ptr() *DocAnnotationsList200ResponseAnnotationsItemWidgetBlendMode { - return &d -} - -type DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle string - -const ( - DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyleSolid DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle = "solid" - DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyleDashed DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle = "dashed" - DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyleBeveled DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle = "beveled" - DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyleInset DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle = "inset" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyleFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle, error) { - switch s { - case "solid": - return DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyleSolid, nil - case "dashed": - return DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyleDashed, nil - case "beveled": - return DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyleBeveled, nil - case "inset": - return DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyleInset, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle) Ptr() *DocAnnotationsList200ResponseAnnotationsItemWidgetBorderStyle { - return &d -} - var ( - docAnnotationsList200ResponseAnnotationsItemWidgetColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemWidgetColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemWidgetColorFieldB = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemWidgetColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -51772,69 +58610,55 @@ type DocAnnotationsList200ResponseAnnotationsItemWidgetColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) GetR() int { - if d == nil { - return 0 - } - return d.R -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) GetG() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } - return d.G + return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) GetB() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } - return d.B + return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetR sets the R field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) SetR(r int) { - d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetColorFieldR) -} - -// SetG sets the G field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) SetG(g int) { - d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetColorFieldG) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumberFieldPageObjectNumber) } -// SetB sets the B field and marks it as non-optional; +// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) SetB(b int) { - d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetColorFieldB) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { + d.AnnotObjectNumber = annotObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemWidgetColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -51844,8 +58668,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) UnmarshalJSON( return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemWidgetColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber var marshaler = struct { embed }{ @@ -51855,7 +58679,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -51870,70 +58694,37 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetColor) String() strin return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntent string const ( - DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyText DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily = "text" - DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyCheckbox DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily = "checkbox" - DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyRadio DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily = "radio" - DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyCombobox DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily = "combobox" - DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyListbox DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily = "listbox" - DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyPushbutton DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily = "pushbutton" - DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilySignature DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily = "signature" - DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyUnknown DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily = "unknown" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntentReplace DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntent = "replace" ) -func NewDocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntentFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntent, error) { switch s { - case "text": - return DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyText, nil - case "checkbox": - return DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyCheckbox, nil - case "radio": - return DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyRadio, nil - case "combobox": - return DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyCombobox, nil - case "listbox": - return DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyListbox, nil - case "pushbutton": - return DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyPushbutton, nil - case "signature": - return DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilySignature, nil - case "unknown": - return DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamilyUnknown, nil + case "replace": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntentReplace, nil } - var t DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntent return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily) Ptr() *DocAnnotationsList200ResponseAnnotationsItemWidgetFieldFamily { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntent) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntent { return &d } var ( - docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemWidgetFlags struct { - Invisible bool `json:"invisible" url:"invisible"` - Hidden bool `json:"hidden" url:"hidden"` - Print bool `json:"print" url:"print"` - NoZoom bool `json:"noZoom" url:"noZoom"` - NoRotate bool `json:"noRotate" url:"noRotate"` - NoView bool `json:"noView" url:"noView"` - ReadOnly bool `json:"readOnly" url:"readOnly"` - Locked bool `json:"locked" url:"locked"` - ToggleNoView bool `json:"toggleNoView" url:"toggleNoView"` - LockedContents bool `json:"lockedContents" url:"lockedContents"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect struct { + Left float64 `json:"left" url:"left"` + Bottom float64 `json:"bottom" url:"bottom"` + Right float64 `json:"right" url:"right"` + Top float64 `json:"top" url:"top"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -51942,167 +58733,83 @@ type DocAnnotationsList200ResponseAnnotationsItemWidgetFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) GetInvisible() bool { - if d == nil { - return false - } - return d.Invisible -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) GetHidden() bool { - if d == nil { - return false - } - return d.Hidden -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) GetPrint() bool { - if d == nil { - return false - } - return d.Print -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) GetNoZoom() bool { - if d == nil { - return false - } - return d.NoZoom -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) GetNoRotate() bool { - if d == nil { - return false - } - return d.NoRotate -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) GetNoView() bool { - if d == nil { - return false - } - return d.NoView -} - -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) GetReadOnly() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) GetLeft() float64 { if d == nil { - return false + return 0 } - return d.ReadOnly + return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) GetLocked() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) GetBottom() float64 { if d == nil { - return false + return 0 } - return d.Locked + return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) GetToggleNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) GetRight() float64 { if d == nil { - return false + return 0 } - return d.ToggleNoView + return d.Right } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) GetLockedContents() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) GetTop() float64 { if d == nil { - return false + return 0 } - return d.LockedContents + return d.Top } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetInvisible sets the Invisible field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) SetInvisible(invisible bool) { - d.Invisible = invisible - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldInvisible) -} - -// SetHidden sets the Hidden field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) SetHidden(hidden bool) { - d.Hidden = hidden - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldHidden) -} - -// SetPrint sets the Print field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) SetPrint(print bool) { - d.Print = print - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldPrint) -} - -// SetNoZoom sets the NoZoom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) SetNoZoom(noZoom bool) { - d.NoZoom = noZoom - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldNoZoom) -} - -// SetNoRotate sets the NoRotate field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) SetNoRotate(noRotate bool) { - d.NoRotate = noRotate - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldNoRotate) -} - -// SetNoView sets the NoView field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) SetNoView(noView bool) { - d.NoView = noView - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldNoView) -} - -// SetReadOnly sets the ReadOnly field and marks it as non-optional; +// SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) SetReadOnly(readOnly bool) { - d.ReadOnly = readOnly - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldReadOnly) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectFieldLeft) } -// SetLocked sets the Locked field and marks it as non-optional; +// SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) SetLocked(locked bool) { - d.Locked = locked - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldLocked) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectFieldBottom) } -// SetToggleNoView sets the ToggleNoView field and marks it as non-optional; +// SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) SetToggleNoView(toggleNoView bool) { - d.ToggleNoView = toggleNoView - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldToggleNoView) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectFieldRight) } -// SetLockedContents sets the LockedContents field and marks it as non-optional; +// SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) SetLockedContents(lockedContents bool) { - d.LockedContents = lockedContents - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFlagsFieldLockedContents) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectFieldTop) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemWidgetFlags(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -52112,8 +58819,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) UnmarshalJSON( return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemWidgetFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect var marshaler = struct { embed }{ @@ -52123,7 +58830,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) String() string { if d == nil { return "" } @@ -52139,15 +58846,17 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFlags) String() strin } var ( - docAnnotationsList200ResponseAnnotationsItemWidgetFontColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemWidgetFontColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemWidgetFontColorFieldB = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferencesFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferencesFieldTop = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferencesFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferencesFieldBottom = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences struct { + Left float64 `json:"left" url:"left"` + Top float64 `json:"top" url:"top"` + Right float64 `json:"right" url:"right"` + Bottom float64 `json:"bottom" url:"bottom"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -52156,69 +58865,83 @@ type DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) GetR() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) GetLeft() float64 { if d == nil { return 0 } - return d.R + return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) GetG() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) GetTop() float64 { if d == nil { return 0 } - return d.G + return d.Top } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) GetB() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) GetRight() float64 { if d == nil { return 0 } - return d.B + return d.Right } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) GetBottom() float64 { + if d == nil { + return 0 + } + return d.Bottom +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetR sets the R field and marks it as non-optional; +// SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) SetR(r int) { - d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFontColorFieldR) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferencesFieldLeft) } -// SetG sets the G field and marks it as non-optional; +// SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) SetG(g int) { - d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFontColorFieldG) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferencesFieldTop) } -// SetB sets the B field and marks it as non-optional; +// SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) SetB(b int) { - d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetFontColorFieldB) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferencesFieldRight) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor +// SetBottom sets the Bottom field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferencesFieldBottom) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -52228,8 +58951,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) UnmarshalJ return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences var marshaler = struct { embed }{ @@ -52239,7 +58962,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) MarshalJSO return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) String() string { if d == nil { return "" } @@ -52254,124 +58977,44 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetFontColor) String() s return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily string - -const ( - DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyCourier DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "courier" - DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyCourierBold DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "courier-bold" - DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyCourierBoldOblique DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "courier-bold-oblique" - DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyCourierOblique DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "courier-oblique" - DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyHelvetica DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "helvetica" - DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyHelveticaBold DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "helvetica-bold" - DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyHelveticaBoldOblique DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "helvetica-bold-oblique" - DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyHelveticaOblique DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "helvetica-oblique" - DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyTimesRoman DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "times-roman" - DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyTimesBold DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "times-bold" - DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyTimesBoldItalic DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "times-bold-italic" - DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyTimesItalic DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "times-italic" - DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilySymbol DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "symbol" - DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyZapfDingbats DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily = "zapf-dingbats" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily, error) { - switch s { - case "courier": - return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyCourier, nil - case "courier-bold": - return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyCourierBold, nil - case "courier-bold-oblique": - return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyCourierBoldOblique, nil - case "courier-oblique": - return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyCourierOblique, nil - case "helvetica": - return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyHelvetica, nil - case "helvetica-bold": - return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyHelveticaBold, nil - case "helvetica-bold-oblique": - return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyHelveticaBoldOblique, nil - case "helvetica-oblique": - return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyHelveticaOblique, nil - case "times-roman": - return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyTimesRoman, nil - case "times-bold": - return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyTimesBold, nil - case "times-bold-italic": - return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyTimesBoldItalic, nil - case "times-italic": - return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyTimesItalic, nil - case "symbol": - return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilySymbol, nil - case "zapf-dingbats": - return DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamilyZapfDingbats, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily) Ptr() *DocAnnotationsList200ResponseAnnotationsItemWidgetFontFamily { - return &d -} - -type DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQuality string - -const ( - DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQualityDurable DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQuality = "durable" - DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQualityWeak DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQuality = "weak" -) - -func NewDocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQualityFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQuality, error) { - switch s { - case "durable": - return DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQualityDurable, nil - case "weak": - return DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQualityWeak, nil - } - var t DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQuality - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQuality) Ptr() *DocAnnotationsList200ResponseAnnotationsItemWidgetIdentityQuality { - return &d -} - -type DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm - Index *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) GetNm() *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -52384,19 +59027,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) UnmarshalJ } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -52406,7 +59049,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) UnmarshalJ return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -52425,13 +59068,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) MarshalJSON return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -52444,7 +59087,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) Accept(vis return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -52485,15 +59128,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyTo) validate() } var ( - docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -52502,35 +59145,35 @@ type DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -52539,32 +59182,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) requi // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -52574,8 +59217,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) Unmar return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex var marshaler = struct { embed }{ @@ -52585,7 +59228,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) String() string { if d == nil { return "" } @@ -52601,12 +59244,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndex) Strin } var ( - docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -52618,69 +59261,423 @@ type DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision st rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) GetDocSessionID() string { + if d == nil { + return "" + } + return d.DocSessionID +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) GetGeneration() int { + if d == nil { + return 0 + } + return d.Generation +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevisionFieldDocSessionID) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevisionFieldPageObjectNumber) +} + +// SetGeneration sets the Generation field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevisionFieldGeneration) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNmFieldNm = big.NewInt(1 << 1) +) + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Nm string `json:"nm" url:"nm"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) GetNm() string { + if d == nil { + return "" + } + return d.Nm +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNmFieldPageObjectNumber) +} + +// SetNm sets the Nm field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) SetNm(nm string) { + d.Nm = nm + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNmFieldNm) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) +) + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber) GetAnnotObjectNumber() int { + if d == nil { + return 0 + } + return d.AnnotObjectNumber +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumberFieldPageObjectNumber) +} + +// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { + d.AnnotObjectNumber = annotObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumberFieldAnnotObjectNumber) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyType string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyType = "reply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyType = "group" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyType, error) { + switch s { + case "reply": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyTypeReply, nil + case "group": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyTypeGroup, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyType + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyType { + return &d +} + +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRectFieldTop = big.NewInt(1 << 3) +) + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect struct { + Left float64 `json:"left" url:"left"` + Bottom float64 `json:"bottom" url:"bottom"` + Right float64 `json:"right" url:"right"` + Top float64 `json:"top" url:"top"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) GetLeft() float64 { if d == nil { - return "" + return 0 } - return d.DocSessionID + return d.Left } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) GetBottom() float64 { if d == nil { return 0 } - return d.PageObjectNumber + return d.Bottom } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) GetRight() float64 { if d == nil { return 0 } - return d.Generation + return d.Right } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) GetTop() float64 { + if d == nil { + return 0 + } + return d.Top +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetDocSessionID sets the DocSessionID field and marks it as non-optional; +// SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) SetDocSessionID(docSessionID string) { - d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevisionFieldDocSessionID) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRectFieldLeft) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevisionFieldPageObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRectFieldBottom) } -// SetGeneration sets the Generation field and marks it as non-optional; +// SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) SetGeneration(generation int) { - d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevisionFieldGeneration) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRectFieldRight) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision +// SetTop sets the Top field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRectFieldTop) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -52690,8 +59687,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevisio return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect var marshaler = struct { embed }{ @@ -52701,7 +59698,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevisio return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) String() string { if d == nil { return "" } @@ -52717,13 +59714,69 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToIndexRevisio } var ( - docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldRef = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldIndex = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldNm = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldFlags = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldRect = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldContents = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldSubject = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldAuthor = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldCreated = big.NewInt(1 << 10) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldModified = big.NewInt(1 << 11) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldReplyType = big.NewInt(1 << 14) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldUserID = big.NewInt(1 << 15) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldGroupID = big.NewInt(1 << 16) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldActions = big.NewInt(1 << 19) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldColor = big.NewInt(1 << 20) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldOpacity = big.NewInt(1 << 21) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldStrokeWidth = big.NewInt(1 << 22) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldBorderStyle = big.NewInt(1 << 23) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldDashArray = big.NewInt(1 << 24) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldInteriorColor = big.NewInt(1 << 25) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldCloudyIntensity = big.NewInt(1 << 26) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldRectDifferences = big.NewInt(1 << 27) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldRotation = big.NewInt(1 << 28) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldUnrotatedRect = big.NewInt(1 << 29) ) -type DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Nm string `json:"nm" url:"nm"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle struct { + Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` + BorderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle `json:"borderStyle" url:"borderStyle"` + DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` + InteriorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` + CloudyIntensity *float64 `json:"cloudyIntensity,omitempty" url:"cloudyIntensity,omitempty"` + RectDifferences *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences `json:"rectDifferences,omitempty" url:"rectDifferences,omitempty"` + Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` + UnrotatedRect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect `json:"unrotatedRect,omitempty" url:"unrotatedRect,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -52732,155 +59785,455 @@ type DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef { + if d == nil { + return nil + } + return d.Ref +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetIndex() int { + if d == nil { + return 0 + } + return d.Index +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQuality { if d == nil { return "" } + return d.IdentityQuality +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetNm() *string { + if d == nil { + return nil + } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags { if d == nil { return nil } - return d.extraProperties + return d.Flags } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect { + if d == nil { + return nil } - d.explicitFields.Or(d.explicitFields, field) + return d.Rect } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNmFieldPageObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetContents() *string { + if d == nil { + return nil + } + return d.Contents } -// SetNm sets the Nm field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm) SetNm(nm string) { - d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNmFieldNm) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetSubject() *string { + if d == nil { + return nil + } + return d.Subject } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetAuthor() *string { + if d == nil { + return nil } - *d = DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err + return d.Author +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetCreated() *time.Time { + if d == nil { + return nil } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil + return d.Created } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm - var marshaler = struct { - embed - }{ - embed: embed(*d), +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetModified() *time.Time { + if d == nil { + return nil } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + return d.Modified } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode { if d == nil { - return "" + return "" } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } + return d.BlendMode +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo { + if d == nil { + return nil } - if value, err := internal.StringifyJSON(d); err == nil { - return value + return d.InReplyTo +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyType { + if d == nil { + return nil } - return fmt.Sprintf("%#v", d) + return d.ReplyType } -var ( - docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) -) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetUserID() *string { + if d == nil { + return nil + } + return d.UserID +} -type DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetGroupID() *string { + if d == nil { + return nil + } + return d.GroupID +} - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetCreatedBy() *string { + if d == nil { + return nil + } + return d.CreatedBy +} - extraProperties map[string]interface{} - rawJSON json.RawMessage +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetUpdatedBy() *string { + if d == nil { + return nil + } + return d.UpdatedBy } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetActions() *PdfAnnotationActions { + if d == nil { + return nil + } + return d.Actions +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor { + if d == nil { + return nil + } + return d.Color +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetOpacity() float64 { if d == nil { return 0 } - return d.PageObjectNumber + return d.Opacity } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetStrokeWidth() float64 { if d == nil { return 0 } - return d.AnnotObjectNumber + return d.StrokeWidth } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetBorderStyle() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle { + if d == nil { + return "" + } + return d.BorderStyle +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetDashArray() []float64 { + if d == nil { + return nil + } + return d.DashArray +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetInteriorColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor { + if d == nil { + return nil + } + return d.InteriorColor +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetCloudyIntensity() *float64 { + if d == nil { + return nil + } + return d.CloudyIntensity +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetRectDifferences() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences { + if d == nil { + return nil + } + return d.RectDifferences +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetRotation() *float64 { + if d == nil { + return nil + } + return d.Rotation +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetUnrotatedRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect { + if d == nil { + return nil + } + return d.UnrotatedRect +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } +// SetRef sets the Ref field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) { + d.Ref = ref + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldRef) +} + // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldPageObjectNumber) } -// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { - d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumberFieldAnnotObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetIndex(index int) { + d.Index = index + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldIndex) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { +// SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQuality) { + d.IdentityQuality = identityQuality + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldIdentityQuality) +} + +// SetNm sets the Nm field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetNm(nm *string) { + d.Nm = nm + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldNm) +} + +// SetFlags sets the Flags field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) { + d.Flags = flags + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldFlags) +} + +// SetRect sets the Rect field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) { + d.Rect = rect + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldRect) +} + +// SetContents sets the Contents field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetContents(contents *string) { + d.Contents = contents + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldContents) +} + +// SetSubject sets the Subject field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetSubject(subject *string) { + d.Subject = subject + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldSubject) +} + +// SetAuthor sets the Author field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetAuthor(author *string) { + d.Author = author + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldAuthor) +} + +// SetCreated sets the Created field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetCreated(created *time.Time) { + d.Created = created + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldCreated) +} + +// SetModified sets the Modified field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetModified(modified *time.Time) { + d.Modified = modified + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldModified) +} + +// SetBlendMode sets the BlendMode field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode) { + d.BlendMode = blendMode + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldBlendMode) +} + +// SetInReplyTo sets the InReplyTo field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo) { + d.InReplyTo = inReplyTo + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldInReplyTo) +} + +// SetReplyType sets the ReplyType field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyType) { + d.ReplyType = replyType + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldReplyType) +} + +// SetUserID sets the UserID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetUserID(userID *string) { + d.UserID = userID + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldUserID) +} + +// SetGroupID sets the GroupID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetGroupID(groupID *string) { + d.GroupID = groupID + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldGroupID) +} + +// SetCreatedBy sets the CreatedBy field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetCreatedBy(createdBy *string) { + d.CreatedBy = createdBy + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldCreatedBy) +} + +// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetUpdatedBy(updatedBy *string) { + d.UpdatedBy = updatedBy + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldUpdatedBy) +} + +// SetActions sets the Actions field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetActions(actions *PdfAnnotationActions) { + d.Actions = actions + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldActions) +} + +// SetColor sets the Color field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) { + d.Color = color + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldColor) +} + +// SetOpacity sets the Opacity field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetOpacity(opacity float64) { + d.Opacity = opacity + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldOpacity) +} + +// SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetStrokeWidth(strokeWidth float64) { + d.StrokeWidth = strokeWidth + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldStrokeWidth) +} + +// SetBorderStyle sets the BorderStyle field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetBorderStyle(borderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle) { + d.BorderStyle = borderStyle + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldBorderStyle) +} + +// SetDashArray sets the DashArray field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetDashArray(dashArray []float64) { + d.DashArray = dashArray + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldDashArray) +} + +// SetInteriorColor sets the InteriorColor field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetInteriorColor(interiorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) { + d.InteriorColor = interiorColor + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldInteriorColor) +} + +// SetCloudyIntensity sets the CloudyIntensity field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetCloudyIntensity(cloudyIntensity *float64) { + d.CloudyIntensity = cloudyIntensity + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldCloudyIntensity) +} + +// SetRectDifferences sets the RectDifferences field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetRectDifferences(rectDifferences *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) { + d.RectDifferences = rectDifferences + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldRectDifferences) +} + +// SetRotation sets the Rotation field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetRotation(rotation *float64) { + d.Rotation = rotation + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldRotation) +} + +// SetUnrotatedRect sets the UnrotatedRect field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetUnrotatedRect(unrotatedRect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) { + d.UnrotatedRect = unrotatedRect + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldUnrotatedRect) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle + var unmarshaler = struct { + embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` + }{ + embed: embed(*d), + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle(unmarshaler.embed) + d.Created = unmarshaler.Created.TimePtr() + d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -52890,18 +60243,22 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle var marshaler = struct { embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` }{ - embed: embed(*d), + embed: embed(*d), + Created: internal.NewOptionalDateTime(d.Created), + Modified: internal.NewOptionalDateTime(d.Modified), } explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) String() string { if d == nil { return "" } @@ -52916,13 +60273,105 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInReplyToObjectNumber return fmt.Sprintf("%#v", d) } +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "normal" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "multiply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "screen" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "overlay" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "darken" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "lighten" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "color-dodge" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "color-burn" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "hard-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "soft-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "difference" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "exclusion" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "hue" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "saturation" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "color" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "luminosity" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode, error) { + switch s { + case "normal": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeNormal, nil + case "multiply": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeMultiply, nil + case "screen": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeScreen, nil + case "overlay": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeOverlay, nil + case "darken": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeDarken, nil + case "lighten": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeLighten, nil + case "color-dodge": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeColorDodge, nil + case "color-burn": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeColorBurn, nil + case "hard-light": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeHardLight, nil + case "soft-light": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeSoftLight, nil + case "difference": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeDifference, nil + case "exclusion": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeExclusion, nil + case "hue": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeHue, nil + case "saturation": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeSaturation, nil + case "color": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeColor, nil + case "luminosity": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeLuminosity, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode { + return &d +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyleSolid DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle = "solid" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyleDashed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle = "dashed" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyleBeveled DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle = "beveled" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyleInset DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle = "inset" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyleFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle, error) { + switch s { + case "solid": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyleSolid, nil + case "dashed": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyleDashed, nil + case "beveled": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyleBeveled, nil + case "inset": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyleInset, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle { + return &d +} + var ( - docAnnotationsList200ResponseAnnotationsItemWidgetInteriorColorFieldR = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemWidgetInteriorColorFieldG = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemWidgetInteriorColorFieldB = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -52934,35 +60383,35 @@ type DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) GetR() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) GetG() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) GetB() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -52971,32 +60420,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) requir // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) SetR(r int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) SetR(r int) { d.R = r - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInteriorColorFieldR) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) SetG(g int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) SetG(g int) { d.G = g - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInteriorColorFieldG) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) SetB(b int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) SetB(b int) { d.B = b - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetInteriorColorFieldB) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColorFieldB) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -53006,8 +60455,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) Unmars return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor var marshaler = struct { embed }{ @@ -53017,7 +60466,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) String() string { if d == nil { return "" } @@ -53033,17 +60482,29 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetInteriorColor) String } var ( - docAnnotationsList200ResponseAnnotationsItemWidgetRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemWidgetRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemWidgetRectFieldRight = big.NewInt(1 << 2) - docAnnotationsList200ResponseAnnotationsItemWidgetRectFieldTop = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsList200ResponseAnnotationsItemWidgetRect struct { - Left float64 `json:"left" url:"left"` - Bottom float64 `json:"bottom" url:"bottom"` - Right float64 `json:"right" url:"right"` - Top float64 `json:"top" url:"top"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags struct { + Invisible bool `json:"invisible" url:"invisible"` + Hidden bool `json:"hidden" url:"hidden"` + Print bool `json:"print" url:"print"` + NoZoom bool `json:"noZoom" url:"noZoom"` + NoRotate bool `json:"noRotate" url:"noRotate"` + NoView bool `json:"noView" url:"noView"` + ReadOnly bool `json:"readOnly" url:"readOnly"` + Locked bool `json:"locked" url:"locked"` + ToggleNoView bool `json:"toggleNoView" url:"toggleNoView"` + LockedContents bool `json:"lockedContents" url:"lockedContents"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -53052,83 +60513,167 @@ type DocAnnotationsList200ResponseAnnotationsItemWidgetRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) GetLeft() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) GetInvisible() bool { if d == nil { - return 0 + return false } - return d.Left + return d.Invisible } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) GetBottom() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) GetHidden() bool { if d == nil { - return 0 + return false } - return d.Bottom + return d.Hidden } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) GetPrint() bool { if d == nil { - return 0 + return false } - return d.Right + return d.Print } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) GetNoZoom() bool { if d == nil { - return 0 + return false } - return d.Top + return d.NoZoom } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) GetNoRotate() bool { + if d == nil { + return false + } + return d.NoRotate +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) GetNoView() bool { + if d == nil { + return false + } + return d.NoView +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) GetReadOnly() bool { + if d == nil { + return false + } + return d.ReadOnly +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) GetLocked() bool { + if d == nil { + return false + } + return d.Locked +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) GetToggleNoView() bool { + if d == nil { + return false + } + return d.ToggleNoView +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) GetLockedContents() bool { + if d == nil { + return false + } + return d.LockedContents +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetLeft sets the Left field and marks it as non-optional; +// SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRectFieldLeft) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) SetInvisible(invisible bool) { + d.Invisible = invisible + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldInvisible) } -// SetBottom sets the Bottom field and marks it as non-optional; +// SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRectFieldBottom) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) SetHidden(hidden bool) { + d.Hidden = hidden + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldHidden) } -// SetRight sets the Right field and marks it as non-optional; +// SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRectFieldRight) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) SetPrint(print bool) { + d.Print = print + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldPrint) } -// SetTop sets the Top field and marks it as non-optional; +// SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRectFieldTop) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) SetNoZoom(noZoom bool) { + d.NoZoom = noZoom + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldNoZoom) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetRect +// SetNoRotate sets the NoRotate field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) SetNoRotate(noRotate bool) { + d.NoRotate = noRotate + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldNoRotate) +} + +// SetNoView sets the NoView field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) SetNoView(noView bool) { + d.NoView = noView + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldNoView) +} + +// SetReadOnly sets the ReadOnly field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) SetReadOnly(readOnly bool) { + d.ReadOnly = readOnly + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldReadOnly) +} + +// SetLocked sets the Locked field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) SetLocked(locked bool) { + d.Locked = locked + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldLocked) +} + +// SetToggleNoView sets the ToggleNoView field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) SetToggleNoView(toggleNoView bool) { + d.ToggleNoView = toggleNoView + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldToggleNoView) +} + +// SetLockedContents sets the LockedContents field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) SetLockedContents(lockedContents bool) { + d.LockedContents = lockedContents + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldLockedContents) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemWidgetRect(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -53138,8 +60683,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) UnmarshalJSON(d return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemWidgetRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags var marshaler = struct { embed }{ @@ -53149,7 +60694,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) MarshalJSON() ( return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) String() string { if d == nil { return "" } @@ -53164,44 +60709,66 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRect) String() string return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemWidgetRef struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQuality string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQuality = "durable" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQuality = "weak" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQuality, error) { + switch s { + case "durable": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQualityDurable, nil + case "weak": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQualityWeak, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQuality + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQuality { + return &d +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber - Nm *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm - Index *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRef) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRef) GetObjectNumber() *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRef) GetNm() *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRef) GetIndex() *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -53214,19 +60781,19 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRef) UnmarshalJSON(da } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -53236,7 +60803,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRef) UnmarshalJSON(da return nil } -func (d DocAnnotationsList200ResponseAnnotationsItemWidgetRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -53255,13 +60822,13 @@ func (d DocAnnotationsList200ResponseAnnotationsItemWidgetRef) MarshalJSON() ([] return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponseAnnotationsItemWidgetRefVisitor interface { - VisitObjectNumber(*DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) error - VisitNm(*DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) error - VisitIndex(*DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) error } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRef) Accept(visitor DocAnnotationsList200ResponseAnnotationsItemWidgetRefVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -53274,7 +60841,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRef) Accept(visitor D return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRef) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -53315,15 +60882,15 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRef) validate() error } var ( - docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -53332,35 +60899,35 @@ type DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) GetRevision() *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -53369,32 +60936,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) require(fie // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) SetRevision(revision *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexFieldRevision) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -53404,8 +60971,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) UnmarshalJS return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex var marshaler = struct { embed }{ @@ -53415,7 +60982,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) MarshalJSON return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) String() string { if d == nil { return "" } @@ -53431,12 +60998,12 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndex) String() st } var ( - docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -53448,35 +61015,35 @@ type DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -53485,32 +61052,32 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) req // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -53520,8 +61087,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) Unm return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision var marshaler = struct { embed }{ @@ -53531,7 +61098,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) Mar return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -53547,11 +61114,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefIndexRevision) Str } var ( - docAnnotationsList200ResponseAnnotationsItemWidgetRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemWidgetRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -53562,28 +61129,28 @@ type DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -53592,25 +61159,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) require(field // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRefNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRefNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNmFieldNm) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -53620,8 +61187,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) UnmarshalJSON( return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm var marshaler = struct { embed }{ @@ -53631,7 +61198,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm) String() string { if d == nil { return "" } @@ -53647,11 +61214,11 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefNm) String() strin } var ( - docAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -53662,28 +61229,28 @@ type DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -53692,25 +61259,25 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) requ // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -53720,8 +61287,8 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) Unma return nil } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber var marshaler = struct { embed }{ @@ -53731,7 +61298,7 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) Mars return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -53746,63 +61313,134 @@ func (d *DocAnnotationsList200ResponseAnnotationsItemWidgetRefObjectNumber) Stri return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponseAnnotationsItemWidgetReplyType string - -const ( - DocAnnotationsList200ResponseAnnotationsItemWidgetReplyTypeReply DocAnnotationsList200ResponseAnnotationsItemWidgetReplyType = "reply" - DocAnnotationsList200ResponseAnnotationsItemWidgetReplyTypeGroup DocAnnotationsList200ResponseAnnotationsItemWidgetReplyType = "group" +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColorFieldB = big.NewInt(1 << 2) ) -func NewDocAnnotationsList200ResponseAnnotationsItemWidgetReplyTypeFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemWidgetReplyType, error) { - switch s { - case "reply": - return DocAnnotationsList200ResponseAnnotationsItemWidgetReplyTypeReply, nil - case "group": - return DocAnnotationsList200ResponseAnnotationsItemWidgetReplyTypeGroup, nil +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) GetR() int { + if d == nil { + return 0 } - var t DocAnnotationsList200ResponseAnnotationsItemWidgetReplyType - return "", fmt.Errorf("%s is not a valid %T", s, t) + return d.R } -func (d DocAnnotationsList200ResponseAnnotationsItemWidgetReplyType) Ptr() *DocAnnotationsList200ResponseAnnotationsItemWidgetReplyType { - return &d +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) GetG() int { + if d == nil { + return 0 + } + return d.G } -type DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign string +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) GetB() int { + if d == nil { + return 0 + } + return d.B +} -const ( - DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlignLeft DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign = "left" - DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlignCenter DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign = "center" - DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlignRight DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign = "right" -) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} -func NewDocAnnotationsList200ResponseAnnotationsItemWidgetTextAlignFromString(s string) (DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign, error) { - switch s { - case "left": - return DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlignLeft, nil - case "center": - return DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlignCenter, nil - case "right": - return DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlignRight, nil +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) } - var t DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign - return "", fmt.Errorf("%s is not a valid %T", s, t) + d.explicitFields.Or(d.explicitFields, field) } -func (d DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign) Ptr() *DocAnnotationsList200ResponseAnnotationsItemWidgetTextAlign { - return &d +// SetR sets the R field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) SetR(r int) { + d.R = r + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColorFieldR) +} + +// SetG sets the G field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) SetG(g int) { + d.G = g + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColorFieldG) +} + +// SetB sets the B field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) SetB(b int) { + d.B = b + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColorFieldB) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } var ( - docAnnotationsList200ResponsePageStateFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsList200ResponsePageStateFieldRevision = big.NewInt(1 << 1) - docAnnotationsList200ResponsePageStateFieldWeakAnnotationState = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponsePageState struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Revision *DocAnnotationsList200ResponsePageStateRevision `json:"revision" url:"revision"` - WeakAnnotationState *DocAnnotationsList200ResponsePageStateWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect struct { + Left float64 `json:"left" url:"left"` + Bottom float64 `json:"bottom" url:"bottom"` + Right float64 `json:"right" url:"right"` + Top float64 `json:"top" url:"top"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -53811,69 +61449,83 @@ type DocAnnotationsList200ResponsePageState struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponsePageState) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) GetLeft() float64 { if d == nil { return 0 } - return d.PageObjectNumber + return d.Left } -func (d *DocAnnotationsList200ResponsePageState) GetRevision() *DocAnnotationsList200ResponsePageStateRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) GetBottom() float64 { if d == nil { - return nil + return 0 } - return d.Revision + return d.Bottom } -func (d *DocAnnotationsList200ResponsePageState) GetWeakAnnotationState() *DocAnnotationsList200ResponsePageStateWeakAnnotationState { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) GetRight() float64 { if d == nil { - return nil + return 0 } - return d.WeakAnnotationState + return d.Right } -func (d *DocAnnotationsList200ResponsePageState) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) GetTop() float64 { + if d == nil { + return 0 + } + return d.Top +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponsePageState) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponsePageState) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponsePageStateFieldPageObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectFieldLeft) } -// SetRevision sets the Revision field and marks it as non-optional; +// SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponsePageState) SetRevision(revision *DocAnnotationsList200ResponsePageStateRevision) { - d.Revision = revision - d.require(docAnnotationsList200ResponsePageStateFieldRevision) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectFieldBottom) } -// SetWeakAnnotationState sets the WeakAnnotationState field and marks it as non-optional; +// SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponsePageState) SetWeakAnnotationState(weakAnnotationState *DocAnnotationsList200ResponsePageStateWeakAnnotationState) { - d.WeakAnnotationState = weakAnnotationState - d.require(docAnnotationsList200ResponsePageStateFieldWeakAnnotationState) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectFieldRight) } -func (d *DocAnnotationsList200ResponsePageState) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponsePageState +// SetTop sets the Top field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectFieldTop) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponsePageState(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -53883,8 +61535,8 @@ func (d *DocAnnotationsList200ResponsePageState) UnmarshalJSON(data []byte) erro return nil } -func (d *DocAnnotationsList200ResponsePageState) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponsePageState +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect var marshaler = struct { embed }{ @@ -53894,7 +61546,7 @@ func (d *DocAnnotationsList200ResponsePageState) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponsePageState) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) String() string { if d == nil { return "" } @@ -53910,15 +61562,17 @@ func (d *DocAnnotationsList200ResponsePageState) String() string { } var ( - docAnnotationsList200ResponsePageStateRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsList200ResponsePageStateRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsList200ResponsePageStateRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferencesFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferencesFieldTop = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferencesFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferencesFieldBottom = big.NewInt(1 << 3) ) -type DocAnnotationsList200ResponsePageStateRevision struct { - DocSessionID string `json:"docSessionId" url:"docSessionId"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Generation int `json:"generation" url:"generation"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences struct { + Left float64 `json:"left" url:"left"` + Top float64 `json:"top" url:"top"` + Right float64 `json:"right" url:"right"` + Bottom float64 `json:"bottom" url:"bottom"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -53927,69 +61581,83 @@ type DocAnnotationsList200ResponsePageStateRevision struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponsePageStateRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) GetLeft() float64 { if d == nil { - return "" + return 0 } - return d.DocSessionID + return d.Left } -func (d *DocAnnotationsList200ResponsePageStateRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) GetTop() float64 { if d == nil { return 0 } - return d.PageObjectNumber + return d.Top } -func (d *DocAnnotationsList200ResponsePageStateRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) GetRight() float64 { if d == nil { return 0 } - return d.Generation + return d.Right } -func (d *DocAnnotationsList200ResponsePageStateRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) GetBottom() float64 { + if d == nil { + return 0 + } + return d.Bottom +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponsePageStateRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetDocSessionID sets the DocSessionID field and marks it as non-optional; +// SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponsePageStateRevision) SetDocSessionID(docSessionID string) { - d.DocSessionID = docSessionID - d.require(docAnnotationsList200ResponsePageStateRevisionFieldDocSessionID) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferencesFieldLeft) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponsePageStateRevision) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsList200ResponsePageStateRevisionFieldPageObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferencesFieldTop) } -// SetGeneration sets the Generation field and marks it as non-optional; +// SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponsePageStateRevision) SetGeneration(generation int) { - d.Generation = generation - d.require(docAnnotationsList200ResponsePageStateRevisionFieldGeneration) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferencesFieldRight) } -func (d *DocAnnotationsList200ResponsePageStateRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponsePageStateRevision +// SetBottom sets the Bottom field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferencesFieldBottom) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponsePageStateRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -53999,8 +61667,8 @@ func (d *DocAnnotationsList200ResponsePageStateRevision) UnmarshalJSON(data []by return nil } -func (d *DocAnnotationsList200ResponsePageStateRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponsePageStateRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences var marshaler = struct { embed }{ @@ -54010,7 +61678,7 @@ func (d *DocAnnotationsList200ResponsePageStateRevision) MarshalJSON() ([]byte, return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponsePageStateRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) String() string { if d == nil { return "" } @@ -54025,36 +61693,44 @@ func (d *DocAnnotationsList200ResponsePageStateRevision) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsList200ResponsePageStateWeakAnnotationState struct { - Kind string - Unknown *DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown - Known *DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef struct { + Kind string + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationState) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationState) GetUnknown() *DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber { if d == nil { return nil } - return d.Unknown + return d.ObjectNumber } -func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationState) GetKnown() *DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm { if d == nil { return nil } - return d.Known + return d.Nm } -func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationState) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex { + if d == nil { + return nil + } + return d.Index +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -54066,32 +61742,41 @@ func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationState) UnmarshalJSO return fmt.Errorf("%T did not include discriminant kind", d) } switch unmarshaler.Kind { - case "unknown": - value := new(DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown) + case "objectNumber": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Unknown = value - case "known": - value := new(DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown) + d.ObjectNumber = value + case "nm": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Known = value + d.Nm = value + case "index": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Index = value } d.rawJSON = json.RawMessage(data) return nil } -func (d DocAnnotationsList200ResponsePageStateWeakAnnotationState) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } - if d.Unknown != nil { - return internal.MarshalJSONWithExtraProperty(d.Unknown, "kind", "unknown") + if d.ObjectNumber != nil { + return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") } - if d.Known != nil { - return internal.MarshalJSONWithExtraProperty(d.Known, "kind", "known") + if d.Nm != nil { + return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") + } + if d.Index != nil { + return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") } if len(d.rawJSON) > 0 { return d.rawJSON, nil @@ -54099,31 +61784,38 @@ func (d DocAnnotationsList200ResponsePageStateWeakAnnotationState) MarshalJSON() return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsList200ResponsePageStateWeakAnnotationStateVisitor interface { - VisitUnknown(*DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown) error - VisitKnown(*DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) error } -func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationState) Accept(visitor DocAnnotationsList200ResponsePageStateWeakAnnotationStateVisitor) error { - if d.Unknown != nil { - return visitor.VisitUnknown(d.Unknown) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefVisitor) error { + if d.ObjectNumber != nil { + return visitor.VisitObjectNumber(d.ObjectNumber) } - if d.Known != nil { - return visitor.VisitKnown(d.Known) + if d.Nm != nil { + return visitor.VisitNm(d.Nm) + } + if d.Index != nil { + return visitor.VisitIndex(d.Index) } return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationState) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } var fields []string - if d.Unknown != nil { - fields = append(fields, "unknown") + if d.ObjectNumber != nil { + fields = append(fields, "objectNumber") } - if d.Known != nil { - fields = append(fields, "known") + if d.Nm != nil { + fields = append(fields, "nm") + } + if d.Index != nil { + fields = append(fields, "index") } if len(fields) == 0 { if d.Kind != "" { @@ -54152,11 +61844,15 @@ func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationState) validate() e } var ( - docAnnotationsList200ResponsePageStateWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown struct { - HasAnyWeakAnnotations bool `json:"hasAnyWeakAnnotations" url:"hasAnyWeakAnnotations"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -54165,106 +61861,69 @@ type DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) GetPageObjectNumber() int { if d == nil { - return false + return 0 } - return d.HasAnyWeakAnnotations + return d.PageObjectNumber } -func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) GetIndex() int { if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetHasAnyWeakAnnotations sets the HasAnyWeakAnnotations field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { - d.HasAnyWeakAnnotations = hasAnyWeakAnnotations - d.require(docAnnotationsList200ResponsePageStateWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) -} - -func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown - var marshaler = struct { - embed - }{ - embed: embed(*d), + return 0 } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + return d.Index } -func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateKnown) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision { if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value + return nil } - return fmt.Sprintf("%#v", d) -} - -type DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown struct { - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage + return d.Revision } -func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexFieldPageObjectNumber) +} + +// SetIndex sets the Index field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) SetIndex(index int) { + d.Index = index + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexFieldIndex) +} + +// SetRevision sets the Revision field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) { + d.Revision = revision + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexFieldRevision) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -54274,8 +61933,8 @@ func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown) Unmar return nil } -func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex var marshaler = struct { embed }{ @@ -54285,7 +61944,7 @@ func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) String() string { if d == nil { return "" } @@ -54301,17 +61960,15 @@ func (d *DocAnnotationsList200ResponsePageStateWeakAnnotationStateUnknown) Strin } var ( - docAnnotationsList404ResponseFieldName = big.NewInt(1 << 0) - docAnnotationsList404ResponseFieldCode = big.NewInt(1 << 1) - docAnnotationsList404ResponseFieldMessage = big.NewInt(1 << 2) - docAnnotationsList404ResponseFieldDetails = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsList404Response struct { - Name DocAnnotationsList404ResponseName `json:"name" url:"name"` - Code DocAnnotationsList404ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision struct { + DocSessionID string `json:"docSessionId" url:"docSessionId"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Generation int `json:"generation" url:"generation"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -54320,83 +61977,69 @@ type DocAnnotationsList404Response struct { rawJSON json.RawMessage } -func (d *DocAnnotationsList404Response) GetName() DocAnnotationsList404ResponseName { - if d == nil { - return "" - } - return d.Name -} - -func (d *DocAnnotationsList404Response) GetCode() DocAnnotationsList404ResponseCode { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } - return d.Code + return d.DocSessionID } -func (d *DocAnnotationsList404Response) GetMessage() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) GetPageObjectNumber() int { if d == nil { - return "" + return 0 } - return d.Message + return d.PageObjectNumber } -func (d *DocAnnotationsList404Response) GetDetails() map[string]any { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) GetGeneration() int { if d == nil { - return nil + return 0 } - return d.Details + return d.Generation } -func (d *DocAnnotationsList404Response) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsList404Response) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetName sets the Name field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList404Response) SetName(name DocAnnotationsList404ResponseName) { - d.Name = name - d.require(docAnnotationsList404ResponseFieldName) -} - -// SetCode sets the Code field and marks it as non-optional; +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList404Response) SetCode(code DocAnnotationsList404ResponseCode) { - d.Code = code - d.require(docAnnotationsList404ResponseFieldCode) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevisionFieldDocSessionID) } -// SetMessage sets the Message field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList404Response) SetMessage(message string) { - d.Message = message - d.require(docAnnotationsList404ResponseFieldMessage) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevisionFieldPageObjectNumber) } -// SetDetails sets the Details field and marks it as non-optional; +// SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsList404Response) SetDetails(details map[string]any) { - d.Details = details - d.require(docAnnotationsList404ResponseFieldDetails) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsList404Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsList404Response +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsList404Response(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -54406,8 +62049,8 @@ func (d *DocAnnotationsList404Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocAnnotationsList404Response) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsList404Response +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision var marshaler = struct { embed }{ @@ -54417,7 +62060,7 @@ func (d *DocAnnotationsList404Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsList404Response) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) String() string { if d == nil { return "" } @@ -54432,106 +62075,14 @@ func (d *DocAnnotationsList404Response) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsList404ResponseCode string - -const ( - DocAnnotationsList404ResponseCodeUnknown DocAnnotationsList404ResponseCode = "Unknown" - DocAnnotationsList404ResponseCodeInvalidArg DocAnnotationsList404ResponseCode = "InvalidArg" - DocAnnotationsList404ResponseCodeDocNotOpen DocAnnotationsList404ResponseCode = "DocNotOpen" - DocAnnotationsList404ResponseCodeDocOpenFailed DocAnnotationsList404ResponseCode = "DocOpenFailed" - DocAnnotationsList404ResponseCodeDocPasswordRequired DocAnnotationsList404ResponseCode = "DocPasswordRequired" - DocAnnotationsList404ResponseCodeDocPasswordIncorrect DocAnnotationsList404ResponseCode = "DocPasswordIncorrect" - DocAnnotationsList404ResponseCodeSharePasswordRequired DocAnnotationsList404ResponseCode = "SharePasswordRequired" - DocAnnotationsList404ResponseCodeAborted DocAnnotationsList404ResponseCode = "Aborted" - DocAnnotationsList404ResponseCodeNetwork DocAnnotationsList404ResponseCode = "Network" - DocAnnotationsList404ResponseCodeUnauthenticated DocAnnotationsList404ResponseCode = "Unauthenticated" - DocAnnotationsList404ResponseCodeForbidden DocAnnotationsList404ResponseCode = "Forbidden" - DocAnnotationsList404ResponseCodeNotFound DocAnnotationsList404ResponseCode = "NotFound" - DocAnnotationsList404ResponseCodeWireFormat DocAnnotationsList404ResponseCode = "WireFormat" - DocAnnotationsList404ResponseCodeRuntimeUnavailable DocAnnotationsList404ResponseCode = "RuntimeUnavailable" - DocAnnotationsList404ResponseCodeInvalidReference DocAnnotationsList404ResponseCode = "InvalidReference" - DocAnnotationsList404ResponseCodeWeakAnnotationSessionConflict DocAnnotationsList404ResponseCode = "WeakAnnotationSessionConflict" - DocAnnotationsList404ResponseCodeLayerVersionConflict DocAnnotationsList404ResponseCode = "LayerVersionConflict" - DocAnnotationsList404ResponseCodeNotImplemented DocAnnotationsList404ResponseCode = "NotImplemented" - DocAnnotationsList404ResponseCodeMalformedPdf DocAnnotationsList404ResponseCode = "MalformedPdf" -) - -func NewDocAnnotationsList404ResponseCodeFromString(s string) (DocAnnotationsList404ResponseCode, error) { - switch s { - case "Unknown": - return DocAnnotationsList404ResponseCodeUnknown, nil - case "InvalidArg": - return DocAnnotationsList404ResponseCodeInvalidArg, nil - case "DocNotOpen": - return DocAnnotationsList404ResponseCodeDocNotOpen, nil - case "DocOpenFailed": - return DocAnnotationsList404ResponseCodeDocOpenFailed, nil - case "DocPasswordRequired": - return DocAnnotationsList404ResponseCodeDocPasswordRequired, nil - case "DocPasswordIncorrect": - return DocAnnotationsList404ResponseCodeDocPasswordIncorrect, nil - case "SharePasswordRequired": - return DocAnnotationsList404ResponseCodeSharePasswordRequired, nil - case "Aborted": - return DocAnnotationsList404ResponseCodeAborted, nil - case "Network": - return DocAnnotationsList404ResponseCodeNetwork, nil - case "Unauthenticated": - return DocAnnotationsList404ResponseCodeUnauthenticated, nil - case "Forbidden": - return DocAnnotationsList404ResponseCodeForbidden, nil - case "NotFound": - return DocAnnotationsList404ResponseCodeNotFound, nil - case "WireFormat": - return DocAnnotationsList404ResponseCodeWireFormat, nil - case "RuntimeUnavailable": - return DocAnnotationsList404ResponseCodeRuntimeUnavailable, nil - case "InvalidReference": - return DocAnnotationsList404ResponseCodeInvalidReference, nil - case "WeakAnnotationSessionConflict": - return DocAnnotationsList404ResponseCodeWeakAnnotationSessionConflict, nil - case "LayerVersionConflict": - return DocAnnotationsList404ResponseCodeLayerVersionConflict, nil - case "NotImplemented": - return DocAnnotationsList404ResponseCodeNotImplemented, nil - case "MalformedPdf": - return DocAnnotationsList404ResponseCodeMalformedPdf, nil - } - var t DocAnnotationsList404ResponseCode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList404ResponseCode) Ptr() *DocAnnotationsList404ResponseCode { - return &d -} - -type DocAnnotationsList404ResponseName string - -const ( - DocAnnotationsList404ResponseNameEngineError DocAnnotationsList404ResponseName = "EngineError" -) - -func NewDocAnnotationsList404ResponseNameFromString(s string) (DocAnnotationsList404ResponseName, error) { - switch s { - case "EngineError": - return DocAnnotationsList404ResponseNameEngineError, nil - } - var t DocAnnotationsList404ResponseName - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsList404ResponseName) Ptr() *DocAnnotationsList404ResponseName { - return &d -} - var ( - docAnnotationsListAll200ResponseFieldPages = big.NewInt(1 << 0) - docAnnotationsListAll200ResponseFieldAuditHead = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200Response struct { - Pages []*DocAnnotationsListAll200ResponsePagesItem `json:"pages" url:"pages"` - AuditHead *int `json:"auditHead,omitempty" url:"auditHead,omitempty"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Nm string `json:"nm" url:"nm"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -54540,55 +62091,55 @@ type DocAnnotationsListAll200Response struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200Response) GetPages() []*DocAnnotationsListAll200ResponsePagesItem { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) GetPageObjectNumber() int { if d == nil { - return nil + return 0 } - return d.Pages + return d.PageObjectNumber } -func (d *DocAnnotationsListAll200Response) GetAuditHead() *int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) GetNm() string { if d == nil { - return nil + return "" } - return d.AuditHead + return d.Nm } -func (d *DocAnnotationsListAll200Response) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200Response) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPages sets the Pages field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200Response) SetPages(pages []*DocAnnotationsListAll200ResponsePagesItem) { - d.Pages = pages - d.require(docAnnotationsListAll200ResponseFieldPages) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNmFieldPageObjectNumber) } -// SetAuditHead sets the AuditHead field and marks it as non-optional; +// SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200Response) SetAuditHead(auditHead *int) { - d.AuditHead = auditHead - d.require(docAnnotationsListAll200ResponseFieldAuditHead) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) SetNm(nm string) { + d.Nm = nm + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNmFieldNm) } -func (d *DocAnnotationsListAll200Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200Response +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200Response(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -54598,8 +62149,8 @@ func (d *DocAnnotationsListAll200Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocAnnotationsListAll200Response) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200Response +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm var marshaler = struct { embed }{ @@ -54609,7 +62160,7 @@ func (d *DocAnnotationsListAll200Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200Response) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) String() string { if d == nil { return "" } @@ -54625,13 +62176,13 @@ func (d *DocAnnotationsListAll200Response) String() string { } var ( - docAnnotationsListAll200ResponsePagesItemFieldPageState = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemFieldAnnotations = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItem struct { - PageState *DocAnnotationsListAll200ResponsePagesItemPageState `json:"pageState" url:"pageState"` - Annotations []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItem `json:"annotations" url:"annotations"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -54640,680 +62191,296 @@ type DocAnnotationsListAll200ResponsePagesItem struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItem) GetPageState() *DocAnnotationsListAll200ResponsePagesItemPageState { - if d == nil { - return nil - } - return d.PageState -} - -func (d *DocAnnotationsListAll200ResponsePagesItem) GetAnnotations() []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItem { - if d == nil { - return nil - } - return d.Annotations -} - -func (d *DocAnnotationsListAll200ResponsePagesItem) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItem) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetPageState sets the PageState field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItem) SetPageState(pageState *DocAnnotationsListAll200ResponsePagesItemPageState) { - d.PageState = pageState - d.require(docAnnotationsListAll200ResponsePagesItemFieldPageState) -} - -// SetAnnotations sets the Annotations field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItem) SetAnnotations(annotations []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) { - d.Annotations = annotations - d.require(docAnnotationsListAll200ResponsePagesItemFieldAnnotations) -} - -func (d *DocAnnotationsListAll200ResponsePagesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItem - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItem(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItem) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItem - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItem) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItem struct { - Subtype string - Highlight *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight - Underline *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline - Squiggly *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly - Strikeout *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout - Circle *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle - Square *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare - Polygon *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon - Polyline *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline - Line *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine - Link *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink - Ink *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk - FreeText *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText - Caret *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret - Text *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText - Stamp *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp - FileAttachment *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment - Widget *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget - Redact *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact - Unsupported *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported - - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetSubtype() string { - if d == nil { - return "" - } - return d.Subtype -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetHighlight() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight { - if d == nil { - return nil - } - return d.Highlight -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetUnderline() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline { - if d == nil { - return nil - } - return d.Underline -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetSquiggly() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly { - if d == nil { - return nil - } - return d.Squiggly -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetStrikeout() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout { - if d == nil { - return nil - } - return d.Strikeout -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetCircle() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle { - if d == nil { - return nil - } - return d.Circle -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetSquare() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber) GetPageObjectNumber() int { if d == nil { - return nil + return 0 } - return d.Square + return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetPolygon() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { - return nil + return 0 } - return d.Polygon + return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetPolyline() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } - return d.Polyline + return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetLine() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine { - if d == nil { - return nil +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) } - return d.Line + d.explicitFields.Or(d.explicitFields, field) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetLink() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink { - if d == nil { - return nil - } - return d.Link +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumberFieldPageObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetInk() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk { - if d == nil { - return nil +// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { + d.AnnotObjectNumber = annotObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumberFieldAnnotObjectNumber) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err } - return d.Ink + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetFreeText() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText { - if d == nil { - return nil +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber + var marshaler = struct { + embed + }{ + embed: embed(*d), } - return d.FreeText + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetCaret() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber) String() string { if d == nil { - return nil + return "" } - return d.Caret + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetText() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText { - if d == nil { - return nil +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyType string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyType = "reply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyType = "group" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyType, error) { + switch s { + case "reply": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyTypeReply, nil + case "group": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyTypeGroup, nil } - return d.Text + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyType + return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetStamp() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyType { + return &d +} + +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRectFieldTop = big.NewInt(1 << 3) +) + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect struct { + Left float64 `json:"left" url:"left"` + Bottom float64 `json:"bottom" url:"bottom"` + Right float64 `json:"right" url:"right"` + Top float64 `json:"top" url:"top"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) GetLeft() float64 { if d == nil { - return nil + return 0 } - return d.Stamp + return d.Left } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetFileAttachment() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) GetBottom() float64 { if d == nil { - return nil + return 0 } - return d.FileAttachment + return d.Bottom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetWidget() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) GetRight() float64 { if d == nil { - return nil + return 0 } - return d.Widget + return d.Right } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetRedact() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) GetTop() float64 { if d == nil { - return nil + return 0 } - return d.Redact + return d.Top } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) GetUnsupported() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } - return d.Unsupported + return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) UnmarshalJSON(data []byte) error { - var unmarshaler struct { - Subtype string `json:"subtype"` - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { - return err - } - d.Subtype = unmarshaler.Subtype - if unmarshaler.Subtype == "" { - return fmt.Errorf("%T did not include discriminant subtype", d) - } - switch unmarshaler.Subtype { - case "highlight": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Highlight = value - case "underline": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Underline = value - case "squiggly": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Squiggly = value - case "strikeout": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Strikeout = value - case "circle": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Circle = value - case "square": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Square = value - case "polygon": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Polygon = value - case "polyline": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Polyline = value - case "line": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Line = value - case "link": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Link = value - case "ink": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Ink = value - case "free-text": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.FreeText = value - case "caret": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Caret = value - case "text": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Text = value - case "stamp": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Stamp = value - case "file-attachment": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.FileAttachment = value - case "widget": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Widget = value - case "redact": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Redact = value - case "unsupported": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Unsupported = value +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) } - d.rawJSON = json.RawMessage(data) - return nil + d.explicitFields.Or(d.explicitFields, field) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) MarshalJSON() ([]byte, error) { - if err := d.validate(); err != nil { - return nil, err - } - if d.Highlight != nil { - return internal.MarshalJSONWithExtraProperty(d.Highlight, "subtype", "highlight") - } - if d.Underline != nil { - return internal.MarshalJSONWithExtraProperty(d.Underline, "subtype", "underline") - } - if d.Squiggly != nil { - return internal.MarshalJSONWithExtraProperty(d.Squiggly, "subtype", "squiggly") - } - if d.Strikeout != nil { - return internal.MarshalJSONWithExtraProperty(d.Strikeout, "subtype", "strikeout") - } - if d.Circle != nil { - return internal.MarshalJSONWithExtraProperty(d.Circle, "subtype", "circle") - } - if d.Square != nil { - return internal.MarshalJSONWithExtraProperty(d.Square, "subtype", "square") - } - if d.Polygon != nil { - return internal.MarshalJSONWithExtraProperty(d.Polygon, "subtype", "polygon") - } - if d.Polyline != nil { - return internal.MarshalJSONWithExtraProperty(d.Polyline, "subtype", "polyline") - } - if d.Line != nil { - return internal.MarshalJSONWithExtraProperty(d.Line, "subtype", "line") - } - if d.Link != nil { - return internal.MarshalJSONWithExtraProperty(d.Link, "subtype", "link") - } - if d.Ink != nil { - return internal.MarshalJSONWithExtraProperty(d.Ink, "subtype", "ink") - } - if d.FreeText != nil { - return internal.MarshalJSONWithExtraProperty(d.FreeText, "subtype", "free-text") - } - if d.Caret != nil { - return internal.MarshalJSONWithExtraProperty(d.Caret, "subtype", "caret") - } - if d.Text != nil { - return internal.MarshalJSONWithExtraProperty(d.Text, "subtype", "text") - } - if d.Stamp != nil { - return internal.MarshalJSONWithExtraProperty(d.Stamp, "subtype", "stamp") - } - if d.FileAttachment != nil { - return internal.MarshalJSONWithExtraProperty(d.FileAttachment, "subtype", "file-attachment") - } - if d.Widget != nil { - return internal.MarshalJSONWithExtraProperty(d.Widget, "subtype", "widget") - } - if d.Redact != nil { - return internal.MarshalJSONWithExtraProperty(d.Redact, "subtype", "redact") - } - if d.Unsupported != nil { - return internal.MarshalJSONWithExtraProperty(d.Unsupported, "subtype", "unsupported") - } - if len(d.rawJSON) > 0 { - return d.rawJSON, nil - } - return nil, fmt.Errorf("type %T does not define a non-empty union type", d) +// SetLeft sets the Left field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRectFieldLeft) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemVisitor interface { - VisitHighlight(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) error - VisitUnderline(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) error - VisitSquiggly(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) error - VisitStrikeout(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) error - VisitCircle(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) error - VisitSquare(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) error - VisitPolygon(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) error - VisitPolyline(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) error - VisitLine(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) error - VisitLink(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) error - VisitInk(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) error - VisitFreeText(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) error - VisitCaret(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) error - VisitText(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) error - VisitStamp(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) error - VisitFileAttachment(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) error - VisitWidget(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) error - VisitRedact(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) error - VisitUnsupported(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) error +// SetBottom sets the Bottom field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRectFieldBottom) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemVisitor) error { - if d.Highlight != nil { - return visitor.VisitHighlight(d.Highlight) - } - if d.Underline != nil { - return visitor.VisitUnderline(d.Underline) - } - if d.Squiggly != nil { - return visitor.VisitSquiggly(d.Squiggly) - } - if d.Strikeout != nil { - return visitor.VisitStrikeout(d.Strikeout) - } - if d.Circle != nil { - return visitor.VisitCircle(d.Circle) - } - if d.Square != nil { - return visitor.VisitSquare(d.Square) - } - if d.Polygon != nil { - return visitor.VisitPolygon(d.Polygon) - } - if d.Polyline != nil { - return visitor.VisitPolyline(d.Polyline) - } - if d.Line != nil { - return visitor.VisitLine(d.Line) - } - if d.Link != nil { - return visitor.VisitLink(d.Link) - } - if d.Ink != nil { - return visitor.VisitInk(d.Ink) - } - if d.FreeText != nil { - return visitor.VisitFreeText(d.FreeText) - } - if d.Caret != nil { - return visitor.VisitCaret(d.Caret) - } - if d.Text != nil { - return visitor.VisitText(d.Text) - } - if d.Stamp != nil { - return visitor.VisitStamp(d.Stamp) - } - if d.FileAttachment != nil { - return visitor.VisitFileAttachment(d.FileAttachment) - } - if d.Widget != nil { - return visitor.VisitWidget(d.Widget) +// SetRight sets the Right field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRectFieldRight) +} + +// SetTop sets the Top field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRectFieldTop) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err } - if d.Redact != nil { - return visitor.VisitRedact(d.Redact) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err } - if d.Unsupported != nil { - return visitor.VisitUnsupported(d.Unsupported) + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect + var marshaler = struct { + embed + }{ + embed: embed(*d), } - return fmt.Errorf("type %T does not define a non-empty union type", d) + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItem) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) String() string { if d == nil { - return fmt.Errorf("type %T is nil", d) - } - var fields []string - if d.Highlight != nil { - fields = append(fields, "highlight") - } - if d.Underline != nil { - fields = append(fields, "underline") - } - if d.Squiggly != nil { - fields = append(fields, "squiggly") - } - if d.Strikeout != nil { - fields = append(fields, "strikeout") - } - if d.Circle != nil { - fields = append(fields, "circle") - } - if d.Square != nil { - fields = append(fields, "square") - } - if d.Polygon != nil { - fields = append(fields, "polygon") - } - if d.Polyline != nil { - fields = append(fields, "polyline") - } - if d.Line != nil { - fields = append(fields, "line") - } - if d.Link != nil { - fields = append(fields, "link") - } - if d.Ink != nil { - fields = append(fields, "ink") - } - if d.FreeText != nil { - fields = append(fields, "free-text") - } - if d.Caret != nil { - fields = append(fields, "caret") - } - if d.Text != nil { - fields = append(fields, "text") - } - if d.Stamp != nil { - fields = append(fields, "stamp") - } - if d.FileAttachment != nil { - fields = append(fields, "file-attachment") - } - if d.Widget != nil { - fields = append(fields, "widget") - } - if d.Redact != nil { - fields = append(fields, "redact") - } - if d.Unsupported != nil { - fields = append(fields, "unsupported") + return "" } - if len(fields) == 0 { - if d.Subtype != "" { - if len(d.rawJSON) > 0 { - return nil - } - return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Subtype) + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value } - return fmt.Errorf("type %T is empty", d) - } - if len(fields) > 1 { - return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) } - if d.Subtype != "" { - field := fields[0] - if d.Subtype != field { - return fmt.Errorf( - "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", - d, - d.Subtype, - d, - ) - } + if value, err := internal.StringifyJSON(d); err == nil { + return value } - return nil + return fmt.Sprintf("%#v", d) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldRef = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldIndex = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldNm = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldFlags = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldRect = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldContents = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldSubject = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldAuthor = big.NewInt(1 << 9) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldCreated = big.NewInt(1 << 10) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldModified = big.NewInt(1 << 11) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldReplyType = big.NewInt(1 << 14) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldUserID = big.NewInt(1 << 15) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldGroupID = big.NewInt(1 << 16) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldActions = big.NewInt(1 << 19) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldColor = big.NewInt(1 << 20) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldOpacity = big.NewInt(1 << 21) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldIntent = big.NewInt(1 << 22) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldRectDifferences = big.NewInt(1 << 23) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldRotation = big.NewInt(1 << 24) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldUnrotatedRect = big.NewInt(1 << 25) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldRef = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldIndex = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldNm = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldFlags = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldRect = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldContents = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldSubject = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldAuthor = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldCreated = big.NewInt(1 << 10) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldModified = big.NewInt(1 << 11) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldReplyType = big.NewInt(1 << 14) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldUserID = big.NewInt(1 << 15) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldGroupID = big.NewInt(1 << 16) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldActions = big.NewInt(1 << 19) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldColor = big.NewInt(1 << 20) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldOpacity = big.NewInt(1 << 21) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldIcon = big.NewInt(1 << 22) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldFile = big.NewInt(1 << 23) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret struct { - Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - Intent *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntent `json:"intent,omitempty" url:"intent,omitempty"` - RectDifferences *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences `json:"rectDifferences,omitempty" url:"rectDifferences,omitempty"` - Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` - UnrotatedRect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect `json:"unrotatedRect,omitempty" url:"unrotatedRect,omitempty"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment struct { + Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + Icon DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon `json:"icon" url:"icon"` + File *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile `json:"file" url:"file"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -55322,196 +62489,182 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQuality { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetNm() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetContents() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetSubject() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetAuthor() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetCreated() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetModified() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyType { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetUserID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetGroupID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetCreatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetUpdatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor { if d == nil { return nil } return d.Color } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetOpacity() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetOpacity() float64 { if d == nil { return 0 } return d.Opacity } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetIntent() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntent { - if d == nil { - return nil - } - return d.Intent -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetRectDifferences() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences { - if d == nil { - return nil - } - return d.RectDifferences -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetRotation() *float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetIcon() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon { if d == nil { - return nil + return "" } - return d.Rotation + return d.Icon } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetUnrotatedRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetFile() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile { if d == nil { return nil } - return d.UnrotatedRect + return d.File } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -55520,201 +62673,371 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) require( // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef) { d.Ref = ref - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldRef) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQuality) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldIdentityQuality) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetNm(nm *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) { d.Flags = flags - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldFlags) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) { d.Rect = rect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldRect) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetContents(contents *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetSubject(subject *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldSubject) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetAuthor(author *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldAuthor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetCreated(created *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldCreated) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetModified(modified *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldModified) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldBlendMode) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldInReplyTo) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyType) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyType) { d.ReplyType = replyType - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldReplyType) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetUserID(userID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldUserID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetGroupID(groupID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldGroupID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldCreatedBy) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldUpdatedBy) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldActions) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldActions) } // SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) { d.Color = color - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldColor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldColor) } // SetOpacity sets the Opacity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetOpacity(opacity float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetOpacity(opacity float64) { d.Opacity = opacity - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldOpacity) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldOpacity) } -// SetIntent sets the Intent field and marks it as non-optional; +// SetIcon sets the Icon field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetIntent(intent *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntent) { - d.Intent = intent - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldIntent) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetIcon(icon DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon) { + d.Icon = icon + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldIcon) } -// SetRectDifferences sets the RectDifferences field and marks it as non-optional; +// SetFile sets the File field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetRectDifferences(rectDifferences *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) { - d.RectDifferences = rectDifferences - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldRectDifferences) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetFile(file *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) { + d.File = file + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldFile) } -// SetRotation sets the Rotation field and marks it as non-optional; +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment + var unmarshaler = struct { + embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` + }{ + embed: embed(*d), + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment(unmarshaler.embed) + d.Created = unmarshaler.Created.TimePtr() + d.Modified = unmarshaler.Modified.TimePtr() + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment + var marshaler = struct { + embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` + }{ + embed: embed(*d), + Created: internal.NewOptionalDateTime(d.Created), + Modified: internal.NewOptionalDateTime(d.Modified), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "normal" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "multiply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "screen" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "overlay" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "darken" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "lighten" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "color-dodge" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "color-burn" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "hard-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "soft-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "difference" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "exclusion" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "hue" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "saturation" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "color" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "luminosity" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode, error) { + switch s { + case "normal": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeNormal, nil + case "multiply": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeMultiply, nil + case "screen": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeScreen, nil + case "overlay": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeOverlay, nil + case "darken": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeDarken, nil + case "lighten": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeLighten, nil + case "color-dodge": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeColorDodge, nil + case "color-burn": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeColorBurn, nil + case "hard-light": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeHardLight, nil + case "soft-light": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeSoftLight, nil + case "difference": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeDifference, nil + case "exclusion": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeExclusion, nil + case "hue": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeHue, nil + case "saturation": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeSaturation, nil + case "color": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeColor, nil + case "luminosity": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeLuminosity, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode { + return &d +} + +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColorFieldB = big.NewInt(1 << 2) +) + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) GetR() int { + if d == nil { + return 0 + } + return d.R +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) GetG() int { + if d == nil { + return 0 + } + return d.G +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) GetB() int { + if d == nil { + return 0 + } + return d.B +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetRotation(rotation *float64) { - d.Rotation = rotation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldRotation) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) SetR(r int) { + d.R = r + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColorFieldR) +} + +// SetG sets the G field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) SetG(g int) { + d.G = g + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColorFieldG) } -// SetUnrotatedRect sets the UnrotatedRect field and marks it as non-optional; +// SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) SetUnrotatedRect(unrotatedRect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) { - d.UnrotatedRect = unrotatedRect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFieldUnrotatedRect) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) SetB(b int) { + d.B = b + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColorFieldB) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret - var unmarshaler = struct { - embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` - }{ - embed: embed(*d), - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret(unmarshaler.embed) - d.Created = unmarshaler.Created.TimePtr() - d.Modified = unmarshaler.Modified.TimePtr() + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -55724,22 +63047,18 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) Unmarsha return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor var marshaler = struct { embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` }{ - embed: embed(*d), - Created: internal.NewOptionalDateTime(d.Created), - Modified: internal.NewOptionalDateTime(d.Modified), + embed: embed(*d), } explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) String() string { if d == nil { return "" } @@ -55754,80 +63073,22 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaret) String() return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "normal" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "multiply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "screen" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "overlay" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "darken" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "lighten" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "color-dodge" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "color-burn" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "hard-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "soft-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "difference" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "exclusion" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "hue" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "saturation" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "color" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode = "luminosity" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode, error) { - switch s { - case "normal": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeNormal, nil - case "multiply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeMultiply, nil - case "screen": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeScreen, nil - case "overlay": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeOverlay, nil - case "darken": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeDarken, nil - case "lighten": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeLighten, nil - case "color-dodge": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeColorDodge, nil - case "color-burn": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeColorBurn, nil - case "hard-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeHardLight, nil - case "soft-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeSoftLight, nil - case "difference": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeDifference, nil - case "exclusion": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeExclusion, nil - case "hue": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeHue, nil - case "saturation": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeSaturation, nil - case "color": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeColor, nil - case "luminosity": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendModeLuminosity, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretBlendMode { - return &d -} - var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColorFieldB = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldName = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldMimeType = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldDescription = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldSize = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldChecksum = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldCreationDate = big.NewInt(1 << 5) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile struct { + Name string `json:"name" url:"name"` + MimeType *string `json:"mimeType,omitempty" url:"mimeType,omitempty"` + Description *string `json:"description,omitempty" url:"description,omitempty"` + Size *int `json:"size,omitempty" url:"size,omitempty"` + Checksum *string `json:"checksum,omitempty" url:"checksum,omitempty"` + CreationDate *string `json:"creationDate,omitempty" url:"creationDate,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -55836,69 +63097,111 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) GetR() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) GetName() string { if d == nil { - return 0 + return "" } - return d.R + return d.Name } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) GetG() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) GetMimeType() *string { if d == nil { - return 0 + return nil } - return d.G + return d.MimeType } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) GetB() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) GetDescription() *string { if d == nil { - return 0 + return nil } - return d.B + return d.Description } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) GetSize() *int { + if d == nil { + return nil + } + return d.Size +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) GetChecksum() *string { + if d == nil { + return nil + } + return d.Checksum +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) GetCreationDate() *string { + if d == nil { + return nil + } + return d.CreationDate +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetR sets the R field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) SetR(r int) { - d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColorFieldR) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) SetName(name string) { + d.Name = name + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldName) } -// SetG sets the G field and marks it as non-optional; +// SetMimeType sets the MimeType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) SetG(g int) { - d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColorFieldG) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) SetMimeType(mimeType *string) { + d.MimeType = mimeType + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldMimeType) } -// SetB sets the B field and marks it as non-optional; +// SetDescription sets the Description field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) SetB(b int) { - d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColorFieldB) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) SetDescription(description *string) { + d.Description = description + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldDescription) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor +// SetSize sets the Size field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) SetSize(size *int) { + d.Size = size + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldSize) +} + +// SetChecksum sets the Checksum field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) SetChecksum(checksum *string) { + d.Checksum = checksum + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldChecksum) +} + +// SetCreationDate sets the CreationDate field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) SetCreationDate(creationDate *string) { + d.CreationDate = creationDate + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldCreationDate) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -55908,8 +63211,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) Unm return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile var marshaler = struct { embed }{ @@ -55919,7 +63222,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) Mar return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) String() string { if d == nil { return "" } @@ -55935,19 +63238,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretColor) Str } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -55966,84 +63269,84 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) GetInvisible() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) GetHidden() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) GetPrint() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) GetNoZoom() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) GetNoRotate() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) GetNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) GetReadOnly() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) GetLocked() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) GetToggleNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) GetLockedContents() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -56052,81 +63355,81 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) req // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldInvisible) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldHidden) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) SetPrint(print bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldPrint) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldNoZoom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldNoRotate) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) SetNoView(noView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldReadOnly) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) SetLocked(locked bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldLocked) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldToggleNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlagsFieldLockedContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldLockedContents) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -56136,8 +63439,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) Unm return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags var marshaler = struct { embed }{ @@ -56147,7 +63450,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) Mar return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) String() string { if d == nil { return "" } @@ -56162,66 +63465,94 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretFlags) Str return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQuality string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQuality = "durable" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQuality = "weak" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIconPushPin DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon = "push-pin" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIconPaperclip DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon = "paperclip" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIconGraph DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon = "graph" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIconTag DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon = "tag" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQuality, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIconFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon, error) { + switch s { + case "push-pin": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIconPushPin, nil + case "paperclip": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIconPaperclip, nil + case "graph": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIconGraph, nil + case "tag": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIconTag, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon { + return &d +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQuality string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQuality = "durable" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQuality = "weak" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQualityDurable, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQualityDurable, nil case "weak": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQualityWeak, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQualityWeak, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQuality + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIdentityQuality { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQuality { return &d } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -56234,19 +63565,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -56256,7 +63587,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -56275,13 +63606,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -56294,7 +63625,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -56335,15 +63666,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyTo) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -56352,35 +63683,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -56389,32 +63720,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToI // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -56424,8 +63755,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToI return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex var marshaler = struct { embed }{ @@ -56435,7 +63766,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToI return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) String() string { if d == nil { return "" } @@ -56451,12 +63782,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToI } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -56468,35 +63799,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -56505,32 +63836,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToI // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -56540,8 +63871,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToI return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision var marshaler = struct { embed }{ @@ -56551,7 +63882,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToI return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -56567,11 +63898,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToI } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -56582,28 +63913,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm st rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -56612,25 +63943,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToN // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -56640,8 +63971,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToN return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm var marshaler = struct { embed }{ @@ -56651,7 +63982,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToN return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm) String() string { if d == nil { return "" } @@ -56667,11 +63998,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToN } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -56682,28 +64013,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjec rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -56712,25 +64043,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToO // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -56740,8 +64071,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToO return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber var marshaler = struct { embed }{ @@ -56751,7 +64082,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToO return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -56766,33 +64097,14 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretInReplyToO return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntent string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntentReplace DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntent = "replace" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntentFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntent, error) { - switch s { - case "replace": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntentReplace, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntent - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntent) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretIntent { - return &d -} - var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectFieldTop = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -56805,42 +64117,42 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) GetLeft() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) GetBottom() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -56849,171 +64161,39 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) requ // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) SetLeft(left float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectFieldLeft) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) SetBottom(bottom float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectFieldBottom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) SetRight(right float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectFieldRight) -} - -// SetTop sets the Top field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectFieldTop) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRect) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferencesFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferencesFieldTop = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferencesFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferencesFieldBottom = big.NewInt(1 << 3) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences struct { - Left float64 `json:"left" url:"left"` - Top float64 `json:"top" url:"top"` - Right float64 `json:"right" url:"right"` - Bottom float64 `json:"bottom" url:"bottom"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) GetLeft() float64 { - if d == nil { - return 0 - } - return d.Left -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) GetTop() float64 { - if d == nil { - return 0 - } - return d.Top -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) GetRight() float64 { - if d == nil { - return 0 - } - return d.Right -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) GetBottom() float64 { - if d == nil { - return 0 - } - return d.Bottom -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetLeft sets the Left field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferencesFieldLeft) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) SetTop(top float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferencesFieldTop) -} - -// SetRight sets the Right field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferencesFieldRight) -} - -// SetBottom sets the Bottom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferencesFieldBottom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRectFieldTop) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -57023,8 +64203,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDiffer return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect var marshaler = struct { embed }{ @@ -57034,7 +64214,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDiffer return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDifferences) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) String() string { if d == nil { return "" } @@ -57049,44 +64229,44 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRectDiffer return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -57099,19 +64279,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) Unmar } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -57121,7 +64301,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) Unmar return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -57140,13 +64320,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) Marsha return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -57159,7 +64339,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) Accep return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -57200,15 +64380,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRef) valid } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -57217,35 +64397,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex struc rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -57254,32 +64434,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -57289,8 +64469,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex var marshaler = struct { embed }{ @@ -57300,7 +64480,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) String() string { if d == nil { return "" } @@ -57316,12 +64496,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndex) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -57333,35 +64513,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevisi rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -57370,32 +64550,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRe // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -57405,8 +64585,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRe return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision var marshaler = struct { embed }{ @@ -57416,7 +64596,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRe return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) String() string { if d == nil { return "" } @@ -57432,11 +64612,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefIndexRe } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -57447,28 +64627,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -57477,125 +64657,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) req // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNmFieldNm) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefNm) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber) GetAnnotObjectNumber() int { - if d == nil { - return 0 - } - return d.AnnotObjectNumber -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumberFieldPageObjectNumber) -} - -// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { - d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -57605,8 +64685,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectN return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm var marshaler = struct { embed }{ @@ -57616,7 +64696,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectN return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm) String() string { if d == nil { return "" } @@ -57631,40 +64711,14 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretRefObjectN return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyType string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyType = "reply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyType = "group" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyType, error) { - switch s { - case "reply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyTypeReply, nil - case "group": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyTypeGroup, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyType - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretReplyType { - return &d -} - var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRectFieldTop = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect struct { - Left float64 `json:"left" url:"left"` - Bottom float64 `json:"bottom" url:"bottom"` - Right float64 `json:"right" url:"right"` - Top float64 `json:"top" url:"top"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -57673,83 +64727,55 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) GetLeft() float64 { - if d == nil { - return 0 - } - return d.Left -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) GetBottom() float64 { - if d == nil { - return 0 - } - return d.Bottom -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } - return d.Right + return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } - return d.Top + return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetLeft sets the Left field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRectFieldLeft) -} - -// SetBottom sets the Bottom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRectFieldBottom) -} - -// SetRight sets the Right field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRectFieldRight) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumberFieldPageObjectNumber) } -// SetTop sets the Top field and marks it as non-optional; +// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRectFieldTop) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { + d.AnnotObjectNumber = annotObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -57759,8 +64785,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedR return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber var marshaler = struct { embed }{ @@ -57770,7 +64796,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedR return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedRect) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber) String() string { if d == nil { return "" } @@ -57785,70 +64811,104 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCaretUnrotatedR return fmt.Sprintf("%#v", d) } +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyType string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyType = "reply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyType = "group" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyType, error) { + switch s { + case "reply": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyTypeReply, nil + case "group": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyTypeGroup, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyType + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyType { + return &d +} + var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldRef = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldIndex = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldNm = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldFlags = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldRect = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldContents = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldSubject = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldAuthor = big.NewInt(1 << 9) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldCreated = big.NewInt(1 << 10) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldModified = big.NewInt(1 << 11) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldReplyType = big.NewInt(1 << 14) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldUserID = big.NewInt(1 << 15) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldGroupID = big.NewInt(1 << 16) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldActions = big.NewInt(1 << 19) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldColor = big.NewInt(1 << 20) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldOpacity = big.NewInt(1 << 21) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldStrokeWidth = big.NewInt(1 << 22) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldBorderStyle = big.NewInt(1 << 23) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldDashArray = big.NewInt(1 << 24) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldInteriorColor = big.NewInt(1 << 25) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldCloudyIntensity = big.NewInt(1 << 26) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldRectDifferences = big.NewInt(1 << 27) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldRotation = big.NewInt(1 << 28) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldUnrotatedRect = big.NewInt(1 << 29) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldRef = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldIndex = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldNm = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldFlags = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldRect = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldContents = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldSubject = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldAuthor = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldCreated = big.NewInt(1 << 10) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldModified = big.NewInt(1 << 11) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldReplyType = big.NewInt(1 << 14) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldUserID = big.NewInt(1 << 15) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldGroupID = big.NewInt(1 << 16) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldActions = big.NewInt(1 << 19) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldIntent = big.NewInt(1 << 20) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldFontFamily = big.NewInt(1 << 21) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldFontSize = big.NewInt(1 << 22) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldTextAlign = big.NewInt(1 << 23) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldColor = big.NewInt(1 << 24) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldFontColor = big.NewInt(1 << 25) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldInteriorColor = big.NewInt(1 << 26) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldOpacity = big.NewInt(1 << 27) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldStrokeWidth = big.NewInt(1 << 28) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldBorderStyle = big.NewInt(1 << 29) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldDashArray = big.NewInt(1 << 30) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldRectDifferences = big.NewInt(1 << 31) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldCalloutLine = big.NewInt(1 << 32) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldLineEnding = big.NewInt(1 << 33) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldRotation = big.NewInt(1 << 34) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldUnrotatedRect = big.NewInt(1 << 35) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle struct { - Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` - BorderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle `json:"borderStyle" url:"borderStyle"` - DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` - InteriorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` - CloudyIntensity *float64 `json:"cloudyIntensity,omitempty" url:"cloudyIntensity,omitempty"` - RectDifferences *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences `json:"rectDifferences,omitempty" url:"rectDifferences,omitempty"` - Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` - UnrotatedRect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect `json:"unrotatedRect,omitempty" url:"unrotatedRect,omitempty"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText struct { + Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Intent DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent `json:"intent" url:"intent"` + FontFamily DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily `json:"fontFamily" url:"fontFamily"` + FontSize float64 `json:"fontSize" url:"fontSize"` + TextAlign DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign `json:"textAlign" url:"textAlign"` + Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor `json:"color" url:"color"` + FontColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor `json:"fontColor,omitempty" url:"fontColor,omitempty"` + InteriorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` + Opacity float64 `json:"opacity" url:"opacity"` + StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` + BorderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle `json:"borderStyle" url:"borderStyle"` + DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` + RectDifferences *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences `json:"rectDifferences,omitempty" url:"rectDifferences,omitempty"` + CalloutLine []any `json:"calloutLine,omitempty" url:"calloutLine,omitempty"` + LineEnding *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding `json:"lineEnding,omitempty" url:"lineEnding,omitempty"` + Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` + UnrotatedRect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect `json:"unrotatedRect,omitempty" url:"unrotatedRect,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -57857,224 +64917,266 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQuality { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetNm() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetContents() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetSubject() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetAuthor() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetCreated() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetModified() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyType { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetUserID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetGroupID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetCreatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetUpdatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetIntent() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent { + if d == nil { + return "" + } + return d.Intent +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetFontFamily() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily { + if d == nil { + return "" + } + return d.FontFamily +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetFontSize() float64 { + if d == nil { + return 0 + } + return d.FontSize +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetTextAlign() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign { + if d == nil { + return "" + } + return d.TextAlign +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor { if d == nil { return nil } return d.Color } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetOpacity() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetFontColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor { + if d == nil { + return nil + } + return d.FontColor +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetInteriorColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor { + if d == nil { + return nil + } + return d.InteriorColor +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetOpacity() float64 { if d == nil { return 0 } return d.Opacity } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetStrokeWidth() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetStrokeWidth() float64 { if d == nil { return 0 } return d.StrokeWidth } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetBorderStyle() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetBorderStyle() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle { if d == nil { return "" } return d.BorderStyle } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetDashArray() []float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetDashArray() []float64 { if d == nil { return nil } return d.DashArray } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetInteriorColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetRectDifferences() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences { if d == nil { return nil } - return d.InteriorColor + return d.RectDifferences } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetCloudyIntensity() *float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetCalloutLine() []any { if d == nil { return nil } - return d.CloudyIntensity + return d.CalloutLine } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetRectDifferences() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetLineEnding() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding { if d == nil { return nil } - return d.RectDifferences + return d.LineEnding } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetRotation() *float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetRotation() *float64 { if d == nil { return nil } return d.Rotation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetUnrotatedRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetUnrotatedRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect { if d == nil { return nil } return d.UnrotatedRect } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -58083,216 +65185,258 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) require // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) { d.Ref = ref - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldRef) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQuality) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldIdentityQuality) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetNm(nm *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) { d.Flags = flags - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldFlags) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) { d.Rect = rect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldRect) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetContents(contents *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetSubject(subject *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldSubject) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetAuthor(author *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldAuthor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetCreated(created *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldCreated) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetModified(modified *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldModified) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldBlendMode) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldInReplyTo) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyType) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyType) { d.ReplyType = replyType - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldReplyType) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetUserID(userID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldUserID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetGroupID(groupID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldGroupID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldCreatedBy) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldUpdatedBy) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldActions) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldActions) +} + +// SetIntent sets the Intent field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetIntent(intent DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent) { + d.Intent = intent + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldIntent) +} + +// SetFontFamily sets the FontFamily field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetFontFamily(fontFamily DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily) { + d.FontFamily = fontFamily + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldFontFamily) +} + +// SetFontSize sets the FontSize field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetFontSize(fontSize float64) { + d.FontSize = fontSize + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldFontSize) +} + +// SetTextAlign sets the TextAlign field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetTextAlign(textAlign DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign) { + d.TextAlign = textAlign + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldTextAlign) } // SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) { d.Color = color - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldColor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldColor) +} + +// SetFontColor sets the FontColor field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetFontColor(fontColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) { + d.FontColor = fontColor + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldFontColor) +} + +// SetInteriorColor sets the InteriorColor field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetInteriorColor(interiorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) { + d.InteriorColor = interiorColor + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldInteriorColor) } // SetOpacity sets the Opacity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetOpacity(opacity float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetOpacity(opacity float64) { d.Opacity = opacity - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldOpacity) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldOpacity) } // SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetStrokeWidth(strokeWidth float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetStrokeWidth(strokeWidth float64) { d.StrokeWidth = strokeWidth - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldStrokeWidth) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldStrokeWidth) } // SetBorderStyle sets the BorderStyle field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetBorderStyle(borderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetBorderStyle(borderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle) { d.BorderStyle = borderStyle - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldBorderStyle) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldBorderStyle) } // SetDashArray sets the DashArray field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetDashArray(dashArray []float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetDashArray(dashArray []float64) { d.DashArray = dashArray - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldDashArray) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldDashArray) } -// SetInteriorColor sets the InteriorColor field and marks it as non-optional; +// SetRectDifferences sets the RectDifferences field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetInteriorColor(interiorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) { - d.InteriorColor = interiorColor - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldInteriorColor) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetRectDifferences(rectDifferences *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) { + d.RectDifferences = rectDifferences + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldRectDifferences) } -// SetCloudyIntensity sets the CloudyIntensity field and marks it as non-optional; +// SetCalloutLine sets the CalloutLine field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetCloudyIntensity(cloudyIntensity *float64) { - d.CloudyIntensity = cloudyIntensity - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldCloudyIntensity) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetCalloutLine(calloutLine []any) { + d.CalloutLine = calloutLine + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldCalloutLine) } -// SetRectDifferences sets the RectDifferences field and marks it as non-optional; +// SetLineEnding sets the LineEnding field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetRectDifferences(rectDifferences *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) { - d.RectDifferences = rectDifferences - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldRectDifferences) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetLineEnding(lineEnding *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding) { + d.LineEnding = lineEnding + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldLineEnding) } // SetRotation sets the Rotation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetRotation(rotation *float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetRotation(rotation *float64) { d.Rotation = rotation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldRotation) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldRotation) } // SetUnrotatedRect sets the UnrotatedRect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) SetUnrotatedRect(unrotatedRect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetUnrotatedRect(unrotatedRect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) { d.UnrotatedRect = unrotatedRect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFieldUnrotatedRect) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldUnrotatedRect) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -58303,7 +65447,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) Unmarsh if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle(unmarshaler.embed) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -58315,8 +65459,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) Unmarsh return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -58330,7 +65474,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) Marshal return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) String() string { if d == nil { return "" } @@ -58345,105 +65489,105 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircle) String( return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "normal" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "multiply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "screen" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "overlay" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "darken" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "lighten" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "color-dodge" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "color-burn" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "hard-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "soft-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "difference" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "exclusion" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "hue" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "saturation" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "color" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode = "luminosity" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "normal" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "multiply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "screen" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "overlay" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "darken" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "lighten" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "color-dodge" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "color-burn" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "hard-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "soft-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "difference" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "exclusion" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "hue" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "saturation" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "color" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "luminosity" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode, error) { switch s { case "normal": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeNormal, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeNormal, nil case "multiply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeMultiply, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeMultiply, nil case "screen": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeScreen, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeScreen, nil case "overlay": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeOverlay, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeOverlay, nil case "darken": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeDarken, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeDarken, nil case "lighten": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeLighten, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeLighten, nil case "color-dodge": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeColorDodge, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeColorBurn, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeHardLight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeHardLight, nil case "soft-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeSoftLight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeSoftLight, nil case "difference": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeDifference, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeDifference, nil case "exclusion": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeExclusion, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeExclusion, nil case "hue": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeHue, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeHue, nil case "saturation": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeSaturation, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeSaturation, nil case "color": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeColor, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeColor, nil case "luminosity": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendModeLuminosity, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeLuminosity, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBlendMode { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode { return &d } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyleSolid DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle = "solid" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyleDashed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle = "dashed" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyleBeveled DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle = "beveled" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyleInset DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle = "inset" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyleSolid DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle = "solid" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyleDashed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle = "dashed" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyleBeveled DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle = "beveled" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyleInset DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle = "inset" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyleFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyleFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle, error) { switch s { case "solid": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyleSolid, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyleSolid, nil case "dashed": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyleDashed, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyleDashed, nil case "beveled": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyleBeveled, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyleBeveled, nil case "inset": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyleInset, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyleInset, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleBorderStyle { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColorFieldB = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -58455,35 +65599,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor struct rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) GetR() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) GetG() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) GetB() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -58492,32 +65636,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) re // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) SetR(r int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) SetR(r int) { d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColorFieldR) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) SetG(g int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) SetG(g int) { d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColorFieldG) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) SetB(b int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) SetB(b int) { d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColorFieldB) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColorFieldB) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -58527,8 +65671,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) Un return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor var marshaler = struct { embed }{ @@ -58538,7 +65682,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) Ma return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) String() string { if d == nil { return "" } @@ -58554,19 +65698,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleColor) St } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -58585,84 +65729,84 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags struct rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) GetInvisible() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) GetHidden() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) GetPrint() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) GetNoZoom() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) GetNoRotate() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) GetNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) GetReadOnly() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) GetLocked() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) GetToggleNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) GetLockedContents() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -58671,81 +65815,81 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) re // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldInvisible) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldHidden) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) SetPrint(print bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldPrint) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldNoZoom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldNoRotate) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) SetNoView(noView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldReadOnly) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) SetLocked(locked bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldLocked) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldToggleNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlagsFieldLockedContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldLockedContents) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -58755,8 +65899,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) Un return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags var marshaler = struct { embed }{ @@ -58766,7 +65910,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) Ma return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) String() string { if d == nil { return "" } @@ -58781,66 +65925,240 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleFlags) St return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQuality string +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColorFieldB = big.NewInt(1 << 2) +) + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) GetR() int { + if d == nil { + return 0 + } + return d.R +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) GetG() int { + if d == nil { + return 0 + } + return d.G +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) GetB() int { + if d == nil { + return 0 + } + return d.B +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetR sets the R field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) SetR(r int) { + d.R = r + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColorFieldR) +} + +// SetG sets the G field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) SetG(g int) { + d.G = g + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColorFieldG) +} + +// SetB sets the B field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) SetB(b int) { + d.B = b + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColorFieldB) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQuality = "durable" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQuality = "weak" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyCourier DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "courier" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyCourierBold DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "courier-bold" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyCourierBoldOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "courier-bold-oblique" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyCourierOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "courier-oblique" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyHelvetica DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "helvetica" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyHelveticaBold DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "helvetica-bold" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyHelveticaBoldOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "helvetica-bold-oblique" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyHelveticaOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "helvetica-oblique" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyTimesRoman DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "times-roman" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyTimesBold DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "times-bold" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyTimesBoldItalic DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "times-bold-italic" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyTimesItalic DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "times-italic" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilySymbol DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "symbol" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyZapfDingbats DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "zapf-dingbats" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQuality, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily, error) { + switch s { + case "courier": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyCourier, nil + case "courier-bold": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyCourierBold, nil + case "courier-bold-oblique": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyCourierBoldOblique, nil + case "courier-oblique": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyCourierOblique, nil + case "helvetica": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyHelvetica, nil + case "helvetica-bold": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyHelveticaBold, nil + case "helvetica-bold-oblique": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyHelveticaBoldOblique, nil + case "helvetica-oblique": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyHelveticaOblique, nil + case "times-roman": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyTimesRoman, nil + case "times-bold": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyTimesBold, nil + case "times-bold-italic": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyTimesBoldItalic, nil + case "times-italic": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyTimesItalic, nil + case "symbol": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilySymbol, nil + case "zapf-dingbats": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyZapfDingbats, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily { + return &d +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQuality string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQuality = "durable" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQuality = "weak" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQualityDurable, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQualityDurable, nil case "weak": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQualityWeak, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQualityWeak, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQuality + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleIdentityQuality { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQuality { return &d } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -58853,19 +66171,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -58875,7 +66193,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -58894,13 +66212,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo) return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -58913,7 +66231,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -58954,15 +66272,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -58971,35 +66289,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToInde rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -59008,32 +66326,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -59043,8 +66361,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex var marshaler = struct { embed }{ @@ -59054,7 +66372,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) String() string { if d == nil { return "" } @@ -59070,12 +66388,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -59087,35 +66405,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToInde rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -59124,32 +66442,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -59159,8 +66477,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision var marshaler = struct { embed }{ @@ -59170,7 +66488,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -59186,11 +66504,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -59201,28 +66519,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm s rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -59231,25 +66549,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -59259,8 +66577,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm var marshaler = struct { embed }{ @@ -59270,7 +66588,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm) String() string { if d == nil { return "" } @@ -59286,11 +66604,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -59301,28 +66619,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObje rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -59331,25 +66649,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -59359,8 +66677,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber var marshaler = struct { embed }{ @@ -59370,7 +66688,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyToObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -59385,13 +66703,35 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInReplyTo return fmt.Sprintf("%#v", d) } +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntentFreeText DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent = "free-text" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntentFreeTextCallout DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent = "free-text-callout" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntentFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent, error) { + switch s { + case "free-text": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntentFreeText, nil + case "free-text-callout": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntentFreeTextCallout, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent { + return &d +} + var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColorFieldB = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -59403,35 +66743,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) GetR() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) GetG() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) GetB() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -59440,32 +66780,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorC // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) SetR(r int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) SetR(r int) { d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColorFieldR) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) SetG(g int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) SetG(g int) { d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColorFieldG) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) SetB(b int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) SetB(b int) { d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColorFieldB) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColorFieldB) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -59475,8 +66815,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorC return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor var marshaler = struct { embed }{ @@ -59486,7 +66826,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorC return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) String() string { if d == nil { return "" } @@ -59501,14 +66841,60 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleInteriorC return fmt.Sprintf("%#v", d) } +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingNone DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding = "none" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingSquare DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding = "square" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingCircle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding = "circle" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingDiamond DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding = "diamond" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingOpenArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding = "open-arrow" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingClosedArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding = "closed-arrow" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingButt DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding = "butt" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingROpenArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding = "r-open-arrow" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingRClosedArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding = "r-closed-arrow" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingSlash DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding = "slash" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding, error) { + switch s { + case "none": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingNone, nil + case "square": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingSquare, nil + case "circle": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingCircle, nil + case "diamond": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingDiamond, nil + case "open-arrow": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingOpenArrow, nil + case "closed-arrow": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingClosedArrow, nil + case "butt": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingButt, nil + case "r-open-arrow": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingROpenArrow, nil + case "r-closed-arrow": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingRClosedArrow, nil + case "slash": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingSlash, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding { + return &d +} + var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectFieldTop = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -59521,42 +66907,42 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) GetLeft() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) GetBottom() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -59565,39 +66951,39 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) req // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) SetLeft(left float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectFieldLeft) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) SetBottom(bottom float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectFieldBottom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) SetRight(right float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectFieldRight) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) SetTop(top float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectFieldTop) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectFieldTop) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -59607,8 +66993,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) Unm return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect var marshaler = struct { embed }{ @@ -59618,7 +67004,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) Mar return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) String() string { if d == nil { return "" } @@ -59634,13 +67020,13 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRect) Str } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferencesFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferencesFieldTop = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferencesFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferencesFieldBottom = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferencesFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferencesFieldTop = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferencesFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferencesFieldBottom = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences struct { Left float64 `json:"left" url:"left"` Top float64 `json:"top" url:"top"` Right float64 `json:"right" url:"right"` @@ -59653,42 +67039,42 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferenc rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) GetLeft() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) GetBottom() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -59697,39 +67083,39 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDiffe // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) SetLeft(left float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferencesFieldLeft) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferencesFieldLeft) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) SetTop(top float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) SetTop(top float64) { d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferencesFieldTop) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferencesFieldTop) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) SetRight(right float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) SetRight(right float64) { d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferencesFieldRight) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferencesFieldRight) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) SetBottom(bottom float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferencesFieldBottom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferencesFieldBottom) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -59739,8 +67125,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDiffe return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences var marshaler = struct { embed }{ @@ -59750,7 +67136,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDiffe return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDifferences) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) String() string { if d == nil { return "" } @@ -59765,44 +67151,44 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRectDiffe return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -59815,19 +67201,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) Unma } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -59837,7 +67223,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) Unma return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -59856,13 +67242,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) Marsh return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -59875,7 +67261,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) Acce return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -59916,15 +67302,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRef) vali } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -59933,35 +67319,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex stru rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -59970,32 +67356,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -60005,8 +67391,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex var marshaler = struct { embed }{ @@ -60016,7 +67402,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) String() string { if d == nil { return "" } @@ -60032,12 +67418,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndex) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -60049,35 +67435,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevis rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -60086,32 +67472,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexR // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -60121,8 +67507,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexR return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision var marshaler = struct { embed }{ @@ -60132,7 +67518,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexR return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) String() string { if d == nil { return "" } @@ -60148,11 +67534,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefIndexR } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -60163,28 +67549,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm struct rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -60193,25 +67579,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) re // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -60221,8 +67607,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) Un return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm var marshaler = struct { embed }{ @@ -60232,7 +67618,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) Ma return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) String() string { if d == nil { return "" } @@ -60248,11 +67634,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefNm) St } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -60263,28 +67649,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumb rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -60293,25 +67679,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObject // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -60321,8 +67707,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObject return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber var marshaler = struct { embed }{ @@ -60332,7 +67718,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObject return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber) String() string { if d == nil { return "" } @@ -60347,36 +67733,61 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleRefObject return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyType string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyType string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyType = "reply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyType = "group" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyType = "reply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyType = "group" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyType, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyType, error) { switch s { case "reply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyTypeReply, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyTypeReply, nil case "group": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyTypeGroup, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyTypeGroup, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyType + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleReplyType { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyType { + return &d +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlignLeft DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign = "left" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlignCenter DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign = "center" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlignRight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign = "right" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlignFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign, error) { + switch s { + case "left": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlignLeft, nil + case "center": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlignCenter, nil + case "right": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlignRight, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRectFieldTop = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -60389,42 +67800,42 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) GetLeft() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) GetBottom() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -60433,39 +67844,39 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotated // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) SetLeft(left float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRectFieldLeft) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) SetBottom(bottom float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRectFieldBottom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) SetRight(right float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRectFieldRight) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) SetTop(top float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRectFieldTop) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRectFieldTop) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -60475,8 +67886,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotated return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect var marshaler = struct { embed }{ @@ -60486,7 +67897,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotated return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotatedRect) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) String() string { if d == nil { return "" } @@ -60502,57 +67913,55 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemCircleUnrotated } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldRef = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldIndex = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldNm = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldFlags = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldRect = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldContents = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldSubject = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldAuthor = big.NewInt(1 << 9) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldCreated = big.NewInt(1 << 10) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldModified = big.NewInt(1 << 11) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldReplyType = big.NewInt(1 << 14) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldUserID = big.NewInt(1 << 15) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldGroupID = big.NewInt(1 << 16) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldActions = big.NewInt(1 << 19) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldColor = big.NewInt(1 << 20) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldOpacity = big.NewInt(1 << 21) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldIcon = big.NewInt(1 << 22) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldFile = big.NewInt(1 << 23) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldRef = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldIndex = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldNm = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldFlags = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldRect = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldContents = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldSubject = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldAuthor = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldCreated = big.NewInt(1 << 10) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldModified = big.NewInt(1 << 11) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldReplyType = big.NewInt(1 << 14) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldUserID = big.NewInt(1 << 15) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldGroupID = big.NewInt(1 << 16) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldActions = big.NewInt(1 << 19) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldColor = big.NewInt(1 << 20) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldOpacity = big.NewInt(1 << 21) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldQuadPoints = big.NewInt(1 << 22) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment struct { - Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - Icon DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon `json:"icon" url:"icon"` - File *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile `json:"file" url:"file"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight struct { + Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + QuadPoints []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem `json:"quadPoints" url:"quadPoints"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -60561,182 +67970,175 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment stru rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQuality { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetNm() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetContents() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetSubject() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetAuthor() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetCreated() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetModified() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyType { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetUserID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetGroupID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetCreatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetUpdatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor { if d == nil { return nil } return d.Color } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetOpacity() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetOpacity() float64 { if d == nil { return 0 } return d.Opacity } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetIcon() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon { - if d == nil { - return "" - } - return d.Icon -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetFile() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetQuadPoints() []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem { if d == nil { return nil } - return d.File + return d.QuadPoints } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -60745,174 +68147,167 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) { d.Ref = ref - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldRef) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQuality) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldIdentityQuality) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetNm(nm *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) { d.Flags = flags - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldFlags) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) { d.Rect = rect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldRect) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetContents(contents *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetSubject(subject *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldSubject) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetAuthor(author *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldAuthor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetCreated(created *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldCreated) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetModified(modified *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldModified) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldBlendMode) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldInReplyTo) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyType) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyType) { d.ReplyType = replyType - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldReplyType) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetUserID(userID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldUserID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetGroupID(groupID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldGroupID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldCreatedBy) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldUpdatedBy) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldActions) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldActions) } // SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) { d.Color = color - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldColor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldColor) } // SetOpacity sets the Opacity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetOpacity(opacity float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetOpacity(opacity float64) { d.Opacity = opacity - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldOpacity) -} - -// SetIcon sets the Icon field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetIcon(icon DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon) { - d.Icon = icon - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldIcon) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldOpacity) } -// SetFile sets the File field and marks it as non-optional; +// SetQuadPoints sets the QuadPoints field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) SetFile(file *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) { - d.File = file - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFieldFile) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetQuadPoints(quadPoints []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) { + d.QuadPoints = quadPoints + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldQuadPoints) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -60923,7 +68318,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment(unmarshaler.embed) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -60935,8 +68330,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -60950,7 +68345,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) String() string { if d == nil { return "" } @@ -60965,77 +68360,77 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachment) return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "normal" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "multiply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "screen" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "overlay" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "darken" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "lighten" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "color-dodge" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "color-burn" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "hard-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "soft-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "difference" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "exclusion" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "hue" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "saturation" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "color" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode = "luminosity" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "normal" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "multiply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "screen" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "overlay" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "darken" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "lighten" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "color-dodge" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "color-burn" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "hard-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "soft-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "difference" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "exclusion" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "hue" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "saturation" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "color" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "luminosity" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode, error) { switch s { case "normal": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeNormal, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeNormal, nil case "multiply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeMultiply, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeMultiply, nil case "screen": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeScreen, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeScreen, nil case "overlay": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeOverlay, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeOverlay, nil case "darken": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeDarken, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeDarken, nil case "lighten": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeLighten, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeLighten, nil case "color-dodge": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeColorDodge, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeColorBurn, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeHardLight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeHardLight, nil case "soft-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeSoftLight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeSoftLight, nil case "difference": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeDifference, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeDifference, nil case "exclusion": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeExclusion, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeExclusion, nil case "hue": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeHue, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeHue, nil case "saturation": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeSaturation, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeSaturation, nil case "color": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeColor, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeColor, nil case "luminosity": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendModeLuminosity, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeLuminosity, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentBlendMode { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColorFieldB = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -61047,35 +68442,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) GetR() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) GetG() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) GetB() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -61084,32 +68479,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentC // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) SetR(r int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) SetR(r int) { d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColorFieldR) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) SetG(g int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) SetG(g int) { d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColorFieldG) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) SetB(b int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) SetB(b int) { d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColorFieldB) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColorFieldB) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -61119,8 +68514,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentC return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor var marshaler = struct { embed }{ @@ -61130,7 +68525,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentC return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) String() string { if d == nil { return "" } @@ -61146,21 +68541,29 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentC } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldName = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldMimeType = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldDescription = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldSize = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldChecksum = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldCreationDate = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile struct { - Name string `json:"name" url:"name"` - MimeType *string `json:"mimeType,omitempty" url:"mimeType,omitempty"` - Description *string `json:"description,omitempty" url:"description,omitempty"` - Size *int `json:"size,omitempty" url:"size,omitempty"` - Checksum *string `json:"checksum,omitempty" url:"checksum,omitempty"` - CreationDate *string `json:"creationDate,omitempty" url:"creationDate,omitempty"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags struct { + Invisible bool `json:"invisible" url:"invisible"` + Hidden bool `json:"hidden" url:"hidden"` + Print bool `json:"print" url:"print"` + NoZoom bool `json:"noZoom" url:"noZoom"` + NoRotate bool `json:"noRotate" url:"noRotate"` + NoView bool `json:"noView" url:"noView"` + ReadOnly bool `json:"readOnly" url:"readOnly"` + Locked bool `json:"locked" url:"locked"` + ToggleNoView bool `json:"toggleNoView" url:"toggleNoView"` + LockedContents bool `json:"lockedContents" url:"lockedContents"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -61169,111 +68572,167 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) GetName() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) GetInvisible() bool { if d == nil { - return "" + return false } - return d.Name + return d.Invisible } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) GetMimeType() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) GetHidden() bool { if d == nil { - return nil + return false } - return d.MimeType + return d.Hidden } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) GetDescription() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) GetPrint() bool { if d == nil { - return nil + return false } - return d.Description + return d.Print } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) GetSize() *int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) GetNoZoom() bool { if d == nil { - return nil + return false } - return d.Size + return d.NoZoom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) GetChecksum() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) GetNoRotate() bool { if d == nil { - return nil + return false } - return d.Checksum + return d.NoRotate } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) GetCreationDate() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) GetNoView() bool { if d == nil { - return nil + return false } - return d.CreationDate + return d.NoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) GetReadOnly() bool { + if d == nil { + return false + } + return d.ReadOnly +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) GetLocked() bool { + if d == nil { + return false + } + return d.Locked +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) GetToggleNoView() bool { + if d == nil { + return false + } + return d.ToggleNoView +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) GetLockedContents() bool { + if d == nil { + return false + } + return d.LockedContents +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetName sets the Name field and marks it as non-optional; +// SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) SetName(name string) { - d.Name = name - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldName) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) SetInvisible(invisible bool) { + d.Invisible = invisible + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldInvisible) } -// SetMimeType sets the MimeType field and marks it as non-optional; +// SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) SetMimeType(mimeType *string) { - d.MimeType = mimeType - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldMimeType) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) SetHidden(hidden bool) { + d.Hidden = hidden + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldHidden) } -// SetDescription sets the Description field and marks it as non-optional; +// SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) SetDescription(description *string) { - d.Description = description - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldDescription) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) SetPrint(print bool) { + d.Print = print + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldPrint) } -// SetSize sets the Size field and marks it as non-optional; +// SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) SetSize(size *int) { - d.Size = size - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldSize) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) SetNoZoom(noZoom bool) { + d.NoZoom = noZoom + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldNoZoom) } -// SetChecksum sets the Checksum field and marks it as non-optional; +// SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) SetChecksum(checksum *string) { - d.Checksum = checksum - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldChecksum) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) SetNoRotate(noRotate bool) { + d.NoRotate = noRotate + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldNoRotate) } -// SetCreationDate sets the CreationDate field and marks it as non-optional; +// SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) SetCreationDate(creationDate *string) { - d.CreationDate = creationDate - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFileFieldCreationDate) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) SetNoView(noView bool) { + d.NoView = noView + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldNoView) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile +// SetReadOnly sets the ReadOnly field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) SetReadOnly(readOnly bool) { + d.ReadOnly = readOnly + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldReadOnly) +} + +// SetLocked sets the Locked field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) SetLocked(locked bool) { + d.Locked = locked + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldLocked) +} + +// SetToggleNoView sets the ToggleNoView field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) SetToggleNoView(toggleNoView bool) { + d.ToggleNoView = toggleNoView + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldToggleNoView) +} + +// SetLockedContents sets the LockedContents field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) SetLockedContents(lockedContents bool) { + d.LockedContents = lockedContents + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldLockedContents) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -61283,8 +68742,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentF return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags var marshaler = struct { embed }{ @@ -61294,7 +68753,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentF return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFile) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) String() string { if d == nil { return "" } @@ -61309,30 +68768,188 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentF return fmt.Sprintf("%#v", d) } +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQuality string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQuality = "durable" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQuality = "weak" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQuality, error) { + switch s { + case "durable": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQualityDurable, nil + case "weak": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQualityWeak, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQuality + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQuality { + return &d +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo struct { + Kind string + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex + + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo) GetKind() string { + if d == nil { + return "" + } + return d.Kind +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber { + if d == nil { + return nil + } + return d.ObjectNumber +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm { + if d == nil { + return nil + } + return d.Nm +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex { + if d == nil { + return nil + } + return d.Index +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo) UnmarshalJSON(data []byte) error { + var unmarshaler struct { + Kind string `json:"kind"` + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { + return err + } + d.Kind = unmarshaler.Kind + if unmarshaler.Kind == "" { + return fmt.Errorf("%T did not include discriminant kind", d) + } + switch unmarshaler.Kind { + case "objectNumber": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.ObjectNumber = value + case "nm": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Nm = value + case "index": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Index = value + } + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo) MarshalJSON() ([]byte, error) { + if err := d.validate(); err != nil { + return nil, err + } + if d.ObjectNumber != nil { + return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") + } + if d.Nm != nil { + return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") + } + if d.Index != nil { + return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") + } + if len(d.rawJSON) > 0 { + return d.rawJSON, nil + } + return nil, fmt.Errorf("type %T does not define a non-empty union type", d) +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) error +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToVisitor) error { + if d.ObjectNumber != nil { + return visitor.VisitObjectNumber(d.ObjectNumber) + } + if d.Nm != nil { + return visitor.VisitNm(d.Nm) + } + if d.Index != nil { + return visitor.VisitIndex(d.Index) + } + return fmt.Errorf("type %T does not define a non-empty union type", d) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo) validate() error { + if d == nil { + return fmt.Errorf("type %T is nil", d) + } + var fields []string + if d.ObjectNumber != nil { + fields = append(fields, "objectNumber") + } + if d.Nm != nil { + fields = append(fields, "nm") + } + if d.Index != nil { + fields = append(fields, "index") + } + if len(fields) == 0 { + if d.Kind != "" { + if len(d.rawJSON) > 0 { + return nil + } + return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) + } + return fmt.Errorf("type %T is empty", d) + } + if len(fields) > 1 { + return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) + } + if d.Kind != "" { + field := fields[0] + if d.Kind != field { + return fmt.Errorf( + "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", + d, + d.Kind, + d, + ) + } + } + return nil +} + var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags struct { - Invisible bool `json:"invisible" url:"invisible"` - Hidden bool `json:"hidden" url:"hidden"` - Print bool `json:"print" url:"print"` - NoZoom bool `json:"noZoom" url:"noZoom"` - NoRotate bool `json:"noRotate" url:"noRotate"` - NoView bool `json:"noView" url:"noView"` - ReadOnly bool `json:"readOnly" url:"readOnly"` - Locked bool `json:"locked" url:"locked"` - ToggleNoView bool `json:"toggleNoView" url:"toggleNoView"` - LockedContents bool `json:"lockedContents" url:"lockedContents"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -61341,167 +68958,285 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) GetInvisible() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) GetPageObjectNumber() int { if d == nil { - return false + return 0 } - return d.Invisible + return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) GetHidden() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) GetIndex() int { if d == nil { - return false + return 0 } - return d.Hidden + return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) GetPrint() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision { if d == nil { - return false + return nil } - return d.Print + return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) GetNoZoom() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { - return false + return nil } - return d.NoZoom + return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) GetNoRotate() bool { - if d == nil { - return false +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) } - return d.NoRotate + d.explicitFields.Or(d.explicitFields, field) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) GetNoView() bool { - if d == nil { - return false +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexFieldPageObjectNumber) +} + +// SetIndex sets the Index field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) SetIndex(index int) { + d.Index = index + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexFieldIndex) +} + +// SetRevision sets the Revision field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) { + d.Revision = revision + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexFieldRevision) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err } - return d.NoView + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) GetReadOnly() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) String() string { if d == nil { - return false + return "" } - return d.ReadOnly + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) GetLocked() bool { +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) +) + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision struct { + DocSessionID string `json:"docSessionId" url:"docSessionId"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Generation int `json:"generation" url:"generation"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) GetDocSessionID() string { if d == nil { - return false + return "" } - return d.Locked + return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) GetToggleNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { - return false + return 0 } - return d.ToggleNoView + return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) GetLockedContents() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) GetGeneration() int { if d == nil { - return false + return 0 } - return d.LockedContents + return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetInvisible sets the Invisible field and marks it as non-optional; +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) SetInvisible(invisible bool) { - d.Invisible = invisible - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldInvisible) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevisionFieldDocSessionID) } -// SetHidden sets the Hidden field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) SetHidden(hidden bool) { - d.Hidden = hidden - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldHidden) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevisionFieldPageObjectNumber) } -// SetPrint sets the Print field and marks it as non-optional; +// SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) SetPrint(print bool) { - d.Print = print - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldPrint) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevisionFieldGeneration) } -// SetNoZoom sets the NoZoom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) SetNoZoom(noZoom bool) { - d.NoZoom = noZoom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldNoZoom) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil } -// SetNoRotate sets the NoRotate field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) SetNoRotate(noRotate bool) { - d.NoRotate = noRotate - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldNoRotate) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) } -// SetNoView sets the NoView field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) SetNoView(noView bool) { - d.NoView = noView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldNoView) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } -// SetReadOnly sets the ReadOnly field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) SetReadOnly(readOnly bool) { - d.ReadOnly = readOnly - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldReadOnly) +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNmFieldNm = big.NewInt(1 << 1) +) + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Nm string `json:"nm" url:"nm"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage } -// SetLocked sets the Locked field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) SetLocked(locked bool) { - d.Locked = locked - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldLocked) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber } -// SetToggleNoView sets the ToggleNoView field and marks it as non-optional; +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm) GetNm() string { + if d == nil { + return "" + } + return d.Nm +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) SetToggleNoView(toggleNoView bool) { - d.ToggleNoView = toggleNoView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldToggleNoView) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNmFieldPageObjectNumber) } -// SetLockedContents sets the LockedContents field and marks it as non-optional; +// SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) SetLockedContents(lockedContents bool) { - d.LockedContents = lockedContents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlagsFieldLockedContents) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm) SetNm(nm string) { + d.Nm = nm + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -61511,8 +69246,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentF return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm var marshaler = struct { embed }{ @@ -61522,7 +69257,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentF return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentFlags) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm) String() string { if d == nil { return "" } @@ -61537,216 +69272,246 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentF return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIconPushPin DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon = "push-pin" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIconPaperclip DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon = "paperclip" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIconGraph DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon = "graph" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIconTag DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon = "tag" +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIconFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon, error) { - switch s { - case "push-pin": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIconPushPin, nil - case "paperclip": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIconPaperclip, nil - case "graph": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIconGraph, nil - case "tag": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIconTag, nil +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber) GetPageObjectNumber() int { + if d == nil { + return 0 } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon - return "", fmt.Errorf("%s is not a valid %T", s, t) + return d.PageObjectNumber } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIcon { - return &d +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber) GetAnnotObjectNumber() int { + if d == nil { + return 0 + } + return d.AnnotObjectNumber } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQuality string +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQuality = "durable" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQuality = "weak" -) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQuality, error) { - switch s { - case "durable": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQualityDurable, nil - case "weak": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQualityWeak, nil +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumberFieldPageObjectNumber) +} + +// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { + d.AnnotObjectNumber = annotObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumberFieldAnnotObjectNumber) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQuality - return "", fmt.Errorf("%s is not a valid %T", s, t) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentIdentityQuality { - return &d +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo struct { - Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} - rawJSON json.RawMessage +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemFieldP1 = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemFieldP2 = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemFieldP3 = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemFieldP4 = big.NewInt(1 << 3) +) + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem struct { + P1 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1 `json:"p1" url:"p1"` + P2 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2 `json:"p2" url:"p2"` + P3 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3 `json:"p3" url:"p3"` + P4 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4 `json:"p4" url:"p4"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) GetP1() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1 { + if d == nil { + return nil + } + return d.P1 } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) GetP2() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2 { if d == nil { - return "" + return nil } - return d.Kind + return d.P2 } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) GetP3() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3 { if d == nil { return nil } - return d.ObjectNumber + return d.P3 } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) GetP4() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4 { if d == nil { return nil } - return d.Nm + return d.P4 } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } - return d.Index + return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo) UnmarshalJSON(data []byte) error { - var unmarshaler struct { - Kind string `json:"kind"` - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { - return err - } - d.Kind = unmarshaler.Kind - if unmarshaler.Kind == "" { - return fmt.Errorf("%T did not include discriminant kind", d) - } - switch unmarshaler.Kind { - case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.ObjectNumber = value - case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Nm = value - case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Index = value +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) } - d.rawJSON = json.RawMessage(data) - return nil + d.explicitFields.Or(d.explicitFields, field) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo) MarshalJSON() ([]byte, error) { - if err := d.validate(); err != nil { - return nil, err - } - if d.ObjectNumber != nil { - return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") - } - if d.Nm != nil { - return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") - } - if d.Index != nil { - return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") - } - if len(d.rawJSON) > 0 { - return d.rawJSON, nil - } - return nil, fmt.Errorf("type %T does not define a non-empty union type", d) +// SetP1 sets the P1 field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) SetP1(p1 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1) { + d.P1 = p1 + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemFieldP1) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) error +// SetP2 sets the P2 field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) SetP2(p2 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2) { + d.P2 = p2 + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemFieldP2) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToVisitor) error { - if d.ObjectNumber != nil { - return visitor.VisitObjectNumber(d.ObjectNumber) +// SetP3 sets the P3 field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) SetP3(p3 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3) { + d.P3 = p3 + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemFieldP3) +} + +// SetP4 sets the P4 field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) SetP4(p4 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4) { + d.P4 = p4 + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemFieldP4) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err } - if d.Nm != nil { - return visitor.VisitNm(d.Nm) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err } - if d.Index != nil { - return visitor.VisitIndex(d.Index) + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem + var marshaler = struct { + embed + }{ + embed: embed(*d), } - return fmt.Errorf("type %T does not define a non-empty union type", d) + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyTo) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) String() string { if d == nil { - return fmt.Errorf("type %T is nil", d) - } - var fields []string - if d.ObjectNumber != nil { - fields = append(fields, "objectNumber") - } - if d.Nm != nil { - fields = append(fields, "nm") - } - if d.Index != nil { - fields = append(fields, "index") + return "" } - if len(fields) == 0 { - if d.Kind != "" { - if len(d.rawJSON) > 0 { - return nil - } - return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value } - return fmt.Errorf("type %T is empty", d) - } - if len(fields) > 1 { - return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) } - if d.Kind != "" { - field := fields[0] - if d.Kind != field { - return fmt.Errorf( - "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", - d, - d.Kind, - d, - ) - } + if value, err := internal.StringifyJSON(d); err == nil { + return value } - return nil + return fmt.Sprintf("%#v", d) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1FieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1 struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -61755,69 +69520,55 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInRep rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1) GetX() float64 { if d == nil { return 0 } - return d.PageObjectNumber + return d.X } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1) GetY() float64 { if d == nil { return 0 } - return d.Index -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision { - if d == nil { - return nil - } - return d.Revision + return d.Y } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexFieldPageObjectNumber) -} - -// SetIndex sets the Index field and marks it as non-optional; +// SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) SetIndex(index int) { - d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexFieldIndex) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1) SetX(x float64) { + d.X = x + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1FieldX) } -// SetRevision sets the Revision field and marks it as non-optional; +// SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) { - d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexFieldRevision) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1) SetY(y float64) { + d.Y = y + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1FieldY) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -61827,8 +69578,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentI return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1 var marshaler = struct { embed }{ @@ -61838,7 +69589,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentI return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1) String() string { if d == nil { return "" } @@ -61854,15 +69605,13 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentI } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2FieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision struct { - DocSessionID string `json:"docSessionId" url:"docSessionId"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Generation int `json:"generation" url:"generation"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2 struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -61871,69 +69620,55 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInRep rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) GetDocSessionID() string { - if d == nil { - return "" - } - return d.DocSessionID -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2) GetX() float64 { if d == nil { return 0 } - return d.PageObjectNumber + return d.X } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2) GetY() float64 { if d == nil { return 0 } - return d.Generation + return d.Y } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetDocSessionID sets the DocSessionID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) SetDocSessionID(docSessionID string) { - d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldDocSessionID) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldPageObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2) SetX(x float64) { + d.X = x + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2FieldX) } -// SetGeneration sets the Generation field and marks it as non-optional; +// SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) SetGeneration(generation int) { - d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevisionFieldGeneration) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2) SetY(y float64) { + d.Y = y + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2FieldY) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -61943,8 +69678,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentI return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2 var marshaler = struct { embed }{ @@ -61954,7 +69689,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentI return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2) String() string { if d == nil { return "" } @@ -61970,13 +69705,13 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentI } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3FieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Nm string `json:"nm" url:"nm"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3 struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -61985,55 +69720,55 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInRep rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3) GetX() float64 { if d == nil { return 0 } - return d.PageObjectNumber + return d.X } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3) GetY() float64 { if d == nil { - return "" + return 0 } - return d.Nm + return d.Y } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNmFieldPageObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3) SetX(x float64) { + d.X = x + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3FieldX) } -// SetNm sets the Nm field and marks it as non-optional; +// SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm) SetNm(nm string) { - d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNmFieldNm) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3) SetY(y float64) { + d.Y = y + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3FieldY) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -62043,8 +69778,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentI return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3 var marshaler = struct { embed }{ @@ -62054,7 +69789,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentI return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3) String() string { if d == nil { return "" } @@ -62070,13 +69805,13 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentI } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4FieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4 struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -62085,55 +69820,55 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInRep rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4) GetX() float64 { if d == nil { return 0 } - return d.PageObjectNumber + return d.X } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4) GetY() float64 { if d == nil { return 0 } - return d.AnnotObjectNumber + return d.Y } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumberFieldPageObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4) SetX(x float64) { + d.X = x + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4FieldX) } -// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { - d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumberFieldAnnotObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4) SetY(y float64) { + d.Y = y + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4FieldY) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -62143,8 +69878,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentI return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4 var marshaler = struct { embed }{ @@ -62154,7 +69889,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentI return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentInReplyToObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4) String() string { if d == nil { return "" } @@ -62170,13 +69905,13 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentI } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRectFieldTop = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -62189,42 +69924,42 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) GetLeft() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) GetBottom() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -62233,39 +69968,39 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) SetLeft(left float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRectFieldLeft) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) SetBottom(bottom float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRectFieldBottom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) SetRight(right float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRectFieldRight) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) SetTop(top float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRectFieldTop) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRectFieldTop) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -62275,8 +70010,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect var marshaler = struct { embed }{ @@ -62286,7 +70021,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRect) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) String() string { if d == nil { return "" } @@ -62301,44 +70036,44 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -62351,19 +70086,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -62373,7 +70108,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -62392,13 +70127,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRe return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -62411,7 +70146,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRef) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -62452,15 +70187,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -62469,35 +70204,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIn rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -62506,32 +70241,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -62541,8 +70276,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex var marshaler = struct { embed }{ @@ -62552,7 +70287,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) String() string { if d == nil { return "" } @@ -62568,12 +70303,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -62585,35 +70320,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIn rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -62622,32 +70357,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -62657,8 +70392,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision var marshaler = struct { embed }{ @@ -62668,7 +70403,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) String() string { if d == nil { return "" } @@ -62684,11 +70419,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -62699,28 +70434,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -62729,25 +70464,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -62757,8 +70492,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm var marshaler = struct { embed }{ @@ -62768,7 +70503,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) String() string { if d == nil { return "" } @@ -62784,11 +70519,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -62799,28 +70534,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefOb rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -62829,25 +70564,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -62857,8 +70592,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber var marshaler = struct { embed }{ @@ -62868,7 +70603,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentRefObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber) String() string { if d == nil { return "" } @@ -62883,104 +70618,88 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentR return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyType string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyType string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyType = "reply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyType = "group" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyType = "reply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyType = "group" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyType, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyType, error) { switch s { case "reply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyTypeReply, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyTypeReply, nil case "group": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyTypeGroup, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyTypeGroup, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyType + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFileAttachmentReplyType { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyType { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldRef = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldIndex = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldNm = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldFlags = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldRect = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldContents = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldSubject = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldAuthor = big.NewInt(1 << 9) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldCreated = big.NewInt(1 << 10) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldModified = big.NewInt(1 << 11) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldReplyType = big.NewInt(1 << 14) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldUserID = big.NewInt(1 << 15) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldGroupID = big.NewInt(1 << 16) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldActions = big.NewInt(1 << 19) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldIntent = big.NewInt(1 << 20) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldFontFamily = big.NewInt(1 << 21) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldFontSize = big.NewInt(1 << 22) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldTextAlign = big.NewInt(1 << 23) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldColor = big.NewInt(1 << 24) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldFontColor = big.NewInt(1 << 25) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldInteriorColor = big.NewInt(1 << 26) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldOpacity = big.NewInt(1 << 27) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldStrokeWidth = big.NewInt(1 << 28) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldBorderStyle = big.NewInt(1 << 29) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldDashArray = big.NewInt(1 << 30) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldRectDifferences = big.NewInt(1 << 31) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldCalloutLine = big.NewInt(1 << 32) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldLineEnding = big.NewInt(1 << 33) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldRotation = big.NewInt(1 << 34) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldUnrotatedRect = big.NewInt(1 << 35) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldRef = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldIndex = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldNm = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldFlags = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldRect = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldContents = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldSubject = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldAuthor = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldCreated = big.NewInt(1 << 10) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldModified = big.NewInt(1 << 11) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldReplyType = big.NewInt(1 << 14) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldUserID = big.NewInt(1 << 15) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldGroupID = big.NewInt(1 << 16) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldActions = big.NewInt(1 << 19) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldColor = big.NewInt(1 << 20) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldOpacity = big.NewInt(1 << 21) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldStrokeWidth = big.NewInt(1 << 22) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldBorderStyle = big.NewInt(1 << 23) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldDashArray = big.NewInt(1 << 24) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldIntent = big.NewInt(1 << 25) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldInkList = big.NewInt(1 << 26) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldRotation = big.NewInt(1 << 27) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText struct { - Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Intent DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent `json:"intent" url:"intent"` - FontFamily DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily `json:"fontFamily" url:"fontFamily"` - FontSize float64 `json:"fontSize" url:"fontSize"` - TextAlign DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign `json:"textAlign" url:"textAlign"` - Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor `json:"color" url:"color"` - FontColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor `json:"fontColor,omitempty" url:"fontColor,omitempty"` - InteriorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` - Opacity float64 `json:"opacity" url:"opacity"` - StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` - BorderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle `json:"borderStyle" url:"borderStyle"` - DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` - RectDifferences *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences `json:"rectDifferences,omitempty" url:"rectDifferences,omitempty"` - CalloutLine []any `json:"calloutLine,omitempty" url:"calloutLine,omitempty"` - LineEnding *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding `json:"lineEnding,omitempty" url:"lineEnding,omitempty"` - Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` - UnrotatedRect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect `json:"unrotatedRect,omitempty" url:"unrotatedRect,omitempty"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk struct { + Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` + BorderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle `json:"borderStyle" url:"borderStyle"` + DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` + Intent *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntent `json:"intent,omitempty" url:"intent,omitempty"` + InkList [][]*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem `json:"inkList" url:"inkList"` + Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -62989,266 +70708,210 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQuality { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetNm() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetContents() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetSubject() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetAuthor() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetCreated() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetModified() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyType { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetUserID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetGroupID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetCreatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetUpdatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetIntent() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent { - if d == nil { - return "" - } - return d.Intent -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetFontFamily() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily { - if d == nil { - return "" - } - return d.FontFamily -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetFontSize() float64 { - if d == nil { - return 0 - } - return d.FontSize -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetTextAlign() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign { - if d == nil { - return "" - } - return d.TextAlign -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor { if d == nil { return nil } return d.Color } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetFontColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor { - if d == nil { - return nil - } - return d.FontColor -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetInteriorColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor { - if d == nil { - return nil - } - return d.InteriorColor -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetOpacity() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetOpacity() float64 { if d == nil { return 0 } return d.Opacity } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetStrokeWidth() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetStrokeWidth() float64 { if d == nil { return 0 } return d.StrokeWidth } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetBorderStyle() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetBorderStyle() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle { if d == nil { return "" } return d.BorderStyle } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetDashArray() []float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetDashArray() []float64 { if d == nil { return nil } return d.DashArray } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetRectDifferences() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences { - if d == nil { - return nil - } - return d.RectDifferences -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetCalloutLine() []any { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetIntent() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntent { if d == nil { return nil } - return d.CalloutLine + return d.Intent } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetLineEnding() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetInkList() [][]*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem { if d == nil { return nil } - return d.LineEnding + return d.InkList } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetRotation() *float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetRotation() *float64 { if d == nil { return nil } return d.Rotation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetUnrotatedRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect { - if d == nil { - return nil - } - return d.UnrotatedRect -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -63257,258 +70920,202 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) requi // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef) { d.Ref = ref - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldRef) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQuality) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldIdentityQuality) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetNm(nm *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) { d.Flags = flags - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldFlags) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) { d.Rect = rect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldRect) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetContents(contents *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetSubject(subject *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldSubject) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetAuthor(author *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldAuthor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetCreated(created *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldCreated) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetModified(modified *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldModified) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldBlendMode) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldInReplyTo) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyType) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyType) { d.ReplyType = replyType - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldReplyType) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetUserID(userID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldUserID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetGroupID(groupID *string) { - d.GroupID = groupID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldGroupID) -} - -// SetCreatedBy sets the CreatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetCreatedBy(createdBy *string) { - d.CreatedBy = createdBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldCreatedBy) -} - -// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetUpdatedBy(updatedBy *string) { - d.UpdatedBy = updatedBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldUpdatedBy) -} - -// SetActions sets the Actions field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetActions(actions *PdfAnnotationActions) { - d.Actions = actions - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldActions) -} - -// SetIntent sets the Intent field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetIntent(intent DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent) { - d.Intent = intent - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldIntent) -} - -// SetFontFamily sets the FontFamily field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetFontFamily(fontFamily DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily) { - d.FontFamily = fontFamily - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldFontFamily) -} - -// SetFontSize sets the FontSize field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetFontSize(fontSize float64) { - d.FontSize = fontSize - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldFontSize) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetGroupID(groupID *string) { + d.GroupID = groupID + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldGroupID) } -// SetTextAlign sets the TextAlign field and marks it as non-optional; +// SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetTextAlign(textAlign DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign) { - d.TextAlign = textAlign - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldTextAlign) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetCreatedBy(createdBy *string) { + d.CreatedBy = createdBy + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldCreatedBy) } -// SetColor sets the Color field and marks it as non-optional; +// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) { - d.Color = color - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldColor) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetUpdatedBy(updatedBy *string) { + d.UpdatedBy = updatedBy + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldUpdatedBy) } -// SetFontColor sets the FontColor field and marks it as non-optional; +// SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetFontColor(fontColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) { - d.FontColor = fontColor - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldFontColor) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetActions(actions *PdfAnnotationActions) { + d.Actions = actions + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldActions) } -// SetInteriorColor sets the InteriorColor field and marks it as non-optional; +// SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetInteriorColor(interiorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) { - d.InteriorColor = interiorColor - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldInteriorColor) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) { + d.Color = color + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldColor) } // SetOpacity sets the Opacity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetOpacity(opacity float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetOpacity(opacity float64) { d.Opacity = opacity - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldOpacity) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldOpacity) } // SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetStrokeWidth(strokeWidth float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetStrokeWidth(strokeWidth float64) { d.StrokeWidth = strokeWidth - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldStrokeWidth) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldStrokeWidth) } // SetBorderStyle sets the BorderStyle field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetBorderStyle(borderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetBorderStyle(borderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle) { d.BorderStyle = borderStyle - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldBorderStyle) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldBorderStyle) } // SetDashArray sets the DashArray field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetDashArray(dashArray []float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetDashArray(dashArray []float64) { d.DashArray = dashArray - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldDashArray) -} - -// SetRectDifferences sets the RectDifferences field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetRectDifferences(rectDifferences *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) { - d.RectDifferences = rectDifferences - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldRectDifferences) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldDashArray) } -// SetCalloutLine sets the CalloutLine field and marks it as non-optional; +// SetIntent sets the Intent field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetCalloutLine(calloutLine []any) { - d.CalloutLine = calloutLine - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldCalloutLine) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetIntent(intent *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntent) { + d.Intent = intent + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldIntent) } -// SetLineEnding sets the LineEnding field and marks it as non-optional; +// SetInkList sets the InkList field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetLineEnding(lineEnding *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding) { - d.LineEnding = lineEnding - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldLineEnding) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetInkList(inkList [][]*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem) { + d.InkList = inkList + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldInkList) } // SetRotation sets the Rotation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetRotation(rotation *float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetRotation(rotation *float64) { d.Rotation = rotation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldRotation) -} - -// SetUnrotatedRect sets the UnrotatedRect field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) SetUnrotatedRect(unrotatedRect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) { - d.UnrotatedRect = unrotatedRect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFieldUnrotatedRect) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldRotation) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -63519,7 +71126,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) Unmar if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText(unmarshaler.embed) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -63531,8 +71138,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) Unmar return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -63546,7 +71153,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) String() string { if d == nil { return "" } @@ -63561,105 +71168,105 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeText) Strin return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "normal" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "multiply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "screen" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "overlay" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "darken" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "lighten" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "color-dodge" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "color-burn" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "hard-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "soft-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "difference" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "exclusion" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "hue" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "saturation" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "color" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode = "luminosity" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "normal" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "multiply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "screen" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "overlay" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "darken" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "lighten" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "color-dodge" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "color-burn" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "hard-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "soft-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "difference" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "exclusion" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "hue" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "saturation" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "color" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "luminosity" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode, error) { switch s { case "normal": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeNormal, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeNormal, nil case "multiply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeMultiply, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeMultiply, nil case "screen": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeScreen, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeScreen, nil case "overlay": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeOverlay, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeOverlay, nil case "darken": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeDarken, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeDarken, nil case "lighten": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeLighten, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeLighten, nil case "color-dodge": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeColorDodge, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeColorBurn, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeHardLight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeHardLight, nil case "soft-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeSoftLight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeSoftLight, nil case "difference": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeDifference, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeDifference, nil case "exclusion": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeExclusion, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeExclusion, nil case "hue": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeHue, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeHue, nil case "saturation": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeSaturation, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeSaturation, nil case "color": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeColor, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeColor, nil case "luminosity": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendModeLuminosity, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeLuminosity, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBlendMode { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode { return &d } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyleSolid DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle = "solid" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyleDashed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle = "dashed" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyleBeveled DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle = "beveled" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyleInset DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle = "inset" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyleSolid DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle = "solid" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyleDashed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle = "dashed" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyleBeveled DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle = "beveled" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyleInset DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle = "inset" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyleFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyleFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle, error) { switch s { case "solid": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyleSolid, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyleSolid, nil case "dashed": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyleDashed, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyleDashed, nil case "beveled": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyleBeveled, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyleBeveled, nil case "inset": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyleInset, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyleInset, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextBorderStyle { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColorFieldB = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -63671,35 +71278,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor struc rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) GetR() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) GetG() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) GetB() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -63708,32 +71315,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) SetR(r int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) SetR(r int) { d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColorFieldR) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) SetG(g int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) SetG(g int) { d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColorFieldG) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) SetB(b int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) SetB(b int) { d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColorFieldB) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColorFieldB) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -63743,8 +71350,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor var marshaler = struct { embed }{ @@ -63754,7 +71361,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) String() string { if d == nil { return "" } @@ -63770,19 +71377,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextColor) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -63801,84 +71408,84 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags struc rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) GetInvisible() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) GetHidden() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) GetPrint() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) GetNoZoom() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) GetNoRotate() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) GetNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) GetReadOnly() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) GetLocked() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) GetToggleNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) GetLockedContents() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -63887,197 +71494,81 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldInvisible) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldHidden) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) SetPrint(print bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldPrint) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldNoZoom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldNoRotate) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) SetNoView(noView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldReadOnly) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) SetLocked(locked bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldLocked) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldToggleNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlagsFieldLockedContents) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFlags) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColorFieldB = big.NewInt(1 << 2) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) GetR() int { - if d == nil { - return 0 - } - return d.R -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) GetG() int { - if d == nil { - return 0 - } - return d.G -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) GetB() int { - if d == nil { - return 0 - } - return d.B -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetR sets the R field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) SetR(r int) { - d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColorFieldR) -} - -// SetG sets the G field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) SetG(g int) { - d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColorFieldG) -} - -// SetB sets the B field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) SetB(b int) { - d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColorFieldB) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldLockedContents) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -64087,8 +71578,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontCol return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags var marshaler = struct { embed }{ @@ -64098,7 +71589,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontCol return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) String() string { if d == nil { return "" } @@ -64113,124 +71604,66 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontCol return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyCourier DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "courier" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyCourierBold DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "courier-bold" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyCourierBoldOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "courier-bold-oblique" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyCourierOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "courier-oblique" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyHelvetica DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "helvetica" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyHelveticaBold DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "helvetica-bold" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyHelveticaBoldOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "helvetica-bold-oblique" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyHelveticaOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "helvetica-oblique" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyTimesRoman DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "times-roman" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyTimesBold DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "times-bold" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyTimesBoldItalic DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "times-bold-italic" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyTimesItalic DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "times-italic" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilySymbol DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "symbol" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyZapfDingbats DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily = "zapf-dingbats" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily, error) { - switch s { - case "courier": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyCourier, nil - case "courier-bold": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyCourierBold, nil - case "courier-bold-oblique": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyCourierBoldOblique, nil - case "courier-oblique": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyCourierOblique, nil - case "helvetica": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyHelvetica, nil - case "helvetica-bold": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyHelveticaBold, nil - case "helvetica-bold-oblique": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyHelveticaBoldOblique, nil - case "helvetica-oblique": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyHelveticaOblique, nil - case "times-roman": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyTimesRoman, nil - case "times-bold": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyTimesBold, nil - case "times-bold-italic": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyTimesBoldItalic, nil - case "times-italic": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyTimesItalic, nil - case "symbol": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilySymbol, nil - case "zapf-dingbats": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamilyZapfDingbats, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextFontFamily { - return &d -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQuality string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQuality string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQuality = "durable" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQuality = "weak" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQuality = "durable" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQuality = "weak" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQuality, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQualityDurable, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQualityDurable, nil case "weak": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQualityWeak, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQualityWeak, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQuality + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIdentityQuality { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQuality { return &d } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -64243,19 +71676,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReply } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -64265,7 +71698,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReply return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -64284,13 +71717,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyT return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -64303,7 +71736,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReply return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyTo) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -64344,15 +71777,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReply } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -64361,35 +71794,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIn rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -64398,32 +71831,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReply // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -64433,8 +71866,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReply return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex var marshaler = struct { embed }{ @@ -64444,7 +71877,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReply return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) String() string { if d == nil { return "" } @@ -64460,12 +71893,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReply } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -64477,35 +71910,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIn rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -64514,32 +71947,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReply // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -64549,8 +71982,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReply return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision var marshaler = struct { embed }{ @@ -64560,7 +71993,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReply return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -64576,11 +72009,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReply } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -64591,28 +72024,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -64621,25 +72054,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReply // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -64649,8 +72082,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReply return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm var marshaler = struct { embed }{ @@ -64660,7 +72093,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReply return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) String() string { if d == nil { return "" } @@ -64676,11 +72109,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReply } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -64691,28 +72124,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToOb rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -64721,25 +72154,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReply // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -64749,8 +72182,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReply return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber var marshaler = struct { embed }{ @@ -64760,7 +72193,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReply return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReplyToObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -64775,38 +72208,14 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInReply return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntentFreeText DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent = "free-text" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntentFreeTextCallout DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent = "free-text-callout" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntentFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent, error) { - switch s { - case "free-text": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntentFreeText, nil - case "free-text-callout": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntentFreeTextCallout, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextIntent { - return &d -} - var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColorFieldB = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItemFieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItemFieldY = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -64815,69 +72224,55 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorCol rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) GetR() int { - if d == nil { - return 0 - } - return d.R -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) GetG() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem) GetX() float64 { if d == nil { return 0 } - return d.G + return d.X } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) GetB() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem) GetY() float64 { if d == nil { return 0 } - return d.B + return d.Y } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetR sets the R field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) SetR(r int) { - d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColorFieldR) -} - -// SetG sets the G field and marks it as non-optional; +// SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) SetG(g int) { - d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColorFieldG) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem) SetX(x float64) { + d.X = x + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItemFieldX) } -// SetB sets the B field and marks it as non-optional; +// SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) SetB(b int) { - d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColorFieldB) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem) SetY(y float64) { + d.Y = y + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItemFieldY) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -64887,8 +72282,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInterio return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem var marshaler = struct { embed }{ @@ -64898,7 +72293,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInterio return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInteriorColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem) String() string { if d == nil { return "" } @@ -64913,60 +72308,33 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextInterio return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntent string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingNone DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding = "none" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingSquare DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding = "square" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingCircle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding = "circle" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingDiamond DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding = "diamond" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingOpenArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding = "open-arrow" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingClosedArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding = "closed-arrow" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingButt DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding = "butt" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingROpenArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding = "r-open-arrow" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingRClosedArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding = "r-closed-arrow" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingSlash DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding = "slash" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntentInkHighlight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntent = "ink-highlight" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntentFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntent, error) { switch s { - case "none": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingNone, nil - case "square": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingSquare, nil - case "circle": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingCircle, nil - case "diamond": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingDiamond, nil - case "open-arrow": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingOpenArrow, nil - case "closed-arrow": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingClosedArrow, nil - case "butt": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingButt, nil - case "r-open-arrow": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingROpenArrow, nil - case "r-closed-arrow": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingRClosedArrow, nil - case "slash": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEndingSlash, nil + case "ink-highlight": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntentInkHighlight, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntent return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextLineEnding { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntent) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntent { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectFieldTop = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -64979,42 +72347,42 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect struct rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) GetLeft() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) GetBottom() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -65023,171 +72391,39 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) r // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) SetLeft(left float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectFieldLeft) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) SetBottom(bottom float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectFieldBottom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) SetRight(right float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectFieldRight) -} - -// SetTop sets the Top field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectFieldTop) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRect) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferencesFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferencesFieldTop = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferencesFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferencesFieldBottom = big.NewInt(1 << 3) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences struct { - Left float64 `json:"left" url:"left"` - Top float64 `json:"top" url:"top"` - Right float64 `json:"right" url:"right"` - Bottom float64 `json:"bottom" url:"bottom"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) GetLeft() float64 { - if d == nil { - return 0 - } - return d.Left -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) GetTop() float64 { - if d == nil { - return 0 - } - return d.Top -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) GetRight() float64 { - if d == nil { - return 0 - } - return d.Right -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) GetBottom() float64 { - if d == nil { - return 0 - } - return d.Bottom -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetLeft sets the Left field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferencesFieldLeft) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) SetTop(top float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferencesFieldTop) -} - -// SetRight sets the Right field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferencesFieldRight) -} - -// SetBottom sets the Bottom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferencesFieldBottom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRectFieldTop) } - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -65197,8 +72433,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDif return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect var marshaler = struct { embed }{ @@ -65208,7 +72444,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDif return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDifferences) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) String() string { if d == nil { return "" } @@ -65223,44 +72459,44 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRectDif return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -65273,19 +72509,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) Un } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -65295,7 +72531,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) Un return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -65314,13 +72550,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) Mar return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -65333,7 +72569,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) Ac return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -65374,15 +72610,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRef) va } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -65391,35 +72627,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex st rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -65428,32 +72664,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefInde // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -65463,8 +72699,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefInde return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex var marshaler = struct { embed }{ @@ -65474,7 +72710,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefInde return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) String() string { if d == nil { return "" } @@ -65490,12 +72726,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefInde } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -65507,35 +72743,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRev rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -65544,32 +72780,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefInde // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -65579,8 +72815,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefInde return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision var marshaler = struct { embed }{ @@ -65590,7 +72826,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefInde return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) String() string { if d == nil { return "" } @@ -65606,11 +72842,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefInde } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -65621,28 +72857,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm struc rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -65651,25 +72887,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -65679,8 +72915,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm var marshaler = struct { embed }{ @@ -65690,7 +72926,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) String() string { if d == nil { return "" } @@ -65706,11 +72942,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefNm) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -65721,28 +72957,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNu rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -65751,25 +72987,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObje // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -65779,8 +73015,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObje return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber var marshaler = struct { embed }{ @@ -65790,7 +73026,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObje return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber) String() string { if d == nil { return "" } @@ -65805,235 +73041,90 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextRefObje return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyType string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyType string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyType = "reply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyType = "group" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyType = "reply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyType = "group" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyType, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyType, error) { switch s { case "reply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyTypeReply, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyTypeReply, nil case "group": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyTypeGroup, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyType - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextReplyType { - return &d -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlignLeft DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign = "left" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlignCenter DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign = "center" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlignRight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign = "right" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlignFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign, error) { - switch s { - case "left": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlignLeft, nil - case "center": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlignCenter, nil - case "right": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlignRight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyTypeGroup, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextTextAlign { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyType { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRectFieldTop = big.NewInt(1 << 3) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect struct { - Left float64 `json:"left" url:"left"` - Bottom float64 `json:"bottom" url:"bottom"` - Right float64 `json:"right" url:"right"` - Top float64 `json:"top" url:"top"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) GetLeft() float64 { - if d == nil { - return 0 - } - return d.Left -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) GetBottom() float64 { - if d == nil { - return 0 - } - return d.Bottom -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) GetRight() float64 { - if d == nil { - return 0 - } - return d.Right -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) GetTop() float64 { - if d == nil { - return 0 - } - return d.Top -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetLeft sets the Left field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRectFieldLeft) -} - -// SetBottom sets the Bottom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRectFieldBottom) -} - -// SetRight sets the Right field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRectFieldRight) -} - -// SetTop sets the Top field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRectFieldTop) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemFreeTextUnrotatedRect) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldRef = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldIndex = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldNm = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldFlags = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldRect = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldContents = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldSubject = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldAuthor = big.NewInt(1 << 9) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldCreated = big.NewInt(1 << 10) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldModified = big.NewInt(1 << 11) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldReplyType = big.NewInt(1 << 14) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldUserID = big.NewInt(1 << 15) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldGroupID = big.NewInt(1 << 16) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldActions = big.NewInt(1 << 19) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldColor = big.NewInt(1 << 20) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldOpacity = big.NewInt(1 << 21) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldQuadPoints = big.NewInt(1 << 22) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldRef = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldIndex = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldNm = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldFlags = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldRect = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldContents = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldSubject = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldAuthor = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldCreated = big.NewInt(1 << 10) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldModified = big.NewInt(1 << 11) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldReplyType = big.NewInt(1 << 14) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldUserID = big.NewInt(1 << 15) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldGroupID = big.NewInt(1 << 16) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldActions = big.NewInt(1 << 19) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldColor = big.NewInt(1 << 20) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldOpacity = big.NewInt(1 << 21) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldStrokeWidth = big.NewInt(1 << 22) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldBorderStyle = big.NewInt(1 << 23) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldDashArray = big.NewInt(1 << 24) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldInteriorColor = big.NewInt(1 << 25) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldLinePoints = big.NewInt(1 << 26) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldLineEndings = big.NewInt(1 << 27) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldRotation = big.NewInt(1 << 28) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight struct { - Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - QuadPoints []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem `json:"quadPoints" url:"quadPoints"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine struct { + Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` + BorderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle `json:"borderStyle" url:"borderStyle"` + DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` + InteriorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` + LinePoints *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints `json:"linePoints" url:"linePoints"` + LineEndings *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings `json:"lineEndings" url:"lineEndings"` + Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -66042,175 +73133,217 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQuality { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetNm() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetContents() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetSubject() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetAuthor() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetCreated() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetModified() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyType { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetUserID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetGroupID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetCreatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetUpdatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor { if d == nil { return nil } return d.Color } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetOpacity() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetOpacity() float64 { if d == nil { return 0 } return d.Opacity } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetQuadPoints() []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetStrokeWidth() float64 { + if d == nil { + return 0 + } + return d.StrokeWidth +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetBorderStyle() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle { + if d == nil { + return "" + } + return d.BorderStyle +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetDashArray() []float64 { if d == nil { return nil } - return d.QuadPoints + return d.DashArray } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetInteriorColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor { + if d == nil { + return nil + } + return d.InteriorColor +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetLinePoints() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints { + if d == nil { + return nil + } + return d.LinePoints +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetLineEndings() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings { + if d == nil { + return nil + } + return d.LineEndings +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetRotation() *float64 { + if d == nil { + return nil + } + return d.Rotation +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -66219,167 +73352,209 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) requ // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) { d.Ref = ref - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldRef) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQuality) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldIdentityQuality) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetNm(nm *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) { d.Flags = flags - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldFlags) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) { d.Rect = rect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldRect) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetContents(contents *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetSubject(subject *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldSubject) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetAuthor(author *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldAuthor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetCreated(created *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldCreated) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetModified(modified *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldModified) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldBlendMode) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldInReplyTo) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyType) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyType) { d.ReplyType = replyType - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldReplyType) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetUserID(userID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldUserID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetGroupID(groupID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldGroupID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldCreatedBy) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldUpdatedBy) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldActions) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldActions) } // SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) { d.Color = color - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldColor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldColor) } // SetOpacity sets the Opacity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetOpacity(opacity float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetOpacity(opacity float64) { d.Opacity = opacity - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldOpacity) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldOpacity) } -// SetQuadPoints sets the QuadPoints field and marks it as non-optional; +// SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) SetQuadPoints(quadPoints []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) { - d.QuadPoints = quadPoints - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFieldQuadPoints) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetStrokeWidth(strokeWidth float64) { + d.StrokeWidth = strokeWidth + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldStrokeWidth) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight +// SetBorderStyle sets the BorderStyle field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetBorderStyle(borderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle) { + d.BorderStyle = borderStyle + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldBorderStyle) +} + +// SetDashArray sets the DashArray field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetDashArray(dashArray []float64) { + d.DashArray = dashArray + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldDashArray) +} + +// SetInteriorColor sets the InteriorColor field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetInteriorColor(interiorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) { + d.InteriorColor = interiorColor + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldInteriorColor) +} + +// SetLinePoints sets the LinePoints field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetLinePoints(linePoints *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints) { + d.LinePoints = linePoints + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldLinePoints) +} + +// SetLineEndings sets the LineEndings field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetLineEndings(lineEndings *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings) { + d.LineEndings = lineEndings + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldLineEndings) +} + +// SetRotation sets the Rotation field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetRotation(rotation *float64) { + d.Rotation = rotation + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldRotation) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -66390,7 +73565,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) Unma if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight(unmarshaler.embed) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -66402,8 +73577,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) Unma return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -66417,7 +73592,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) Mars return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) String() string { if d == nil { return "" } @@ -66432,77 +73607,105 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlight) Stri return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "normal" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "multiply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "screen" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "overlay" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "darken" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "lighten" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "color-dodge" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "color-burn" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "hard-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "soft-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "difference" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "exclusion" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "hue" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "saturation" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "color" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode = "luminosity" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "normal" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "multiply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "screen" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "overlay" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "darken" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "lighten" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "color-dodge" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "color-burn" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "hard-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "soft-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "difference" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "exclusion" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "hue" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "saturation" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "color" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "luminosity" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode, error) { switch s { case "normal": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeNormal, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeNormal, nil case "multiply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeMultiply, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeMultiply, nil case "screen": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeScreen, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeScreen, nil case "overlay": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeOverlay, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeOverlay, nil case "darken": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeDarken, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeDarken, nil case "lighten": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeLighten, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeLighten, nil case "color-dodge": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeColorDodge, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeColorBurn, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeHardLight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeHardLight, nil case "soft-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeSoftLight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeSoftLight, nil case "difference": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeDifference, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeDifference, nil case "exclusion": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeExclusion, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeExclusion, nil case "hue": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeHue, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeHue, nil case "saturation": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeSaturation, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeSaturation, nil case "color": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeColor, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeColor, nil case "luminosity": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendModeLuminosity, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeLuminosity, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightBlendMode { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode { + return &d +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyleSolid DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle = "solid" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyleDashed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle = "dashed" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyleBeveled DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle = "beveled" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyleInset DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle = "inset" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyleFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle, error) { + switch s { + case "solid": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyleSolid, nil + case "dashed": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyleDashed, nil + case "beveled": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyleBeveled, nil + case "inset": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyleInset, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColorFieldB = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -66514,35 +73717,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor stru rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) GetR() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) GetG() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) GetB() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -66551,32 +73754,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) SetR(r int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) SetR(r int) { d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColorFieldR) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) SetG(g int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) SetG(g int) { d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColorFieldG) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) SetB(b int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) SetB(b int) { d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColorFieldB) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColorFieldB) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -66586,8 +73789,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor var marshaler = struct { embed }{ @@ -66597,7 +73800,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) String() string { if d == nil { return "" } @@ -66613,19 +73816,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightColor) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -66644,84 +73847,84 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags stru rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) GetInvisible() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) GetHidden() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) GetPrint() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) GetNoZoom() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) GetNoRotate() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) GetNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) GetReadOnly() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) GetLocked() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) GetToggleNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) GetLockedContents() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -66730,81 +73933,81 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldInvisible) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldHidden) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) SetPrint(print bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldPrint) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldNoZoom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldNoRotate) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) SetNoView(noView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldReadOnly) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) SetLocked(locked bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldLocked) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldToggleNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlagsFieldLockedContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldLockedContents) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -66814,8 +74017,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags var marshaler = struct { embed }{ @@ -66825,7 +74028,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) String() string { if d == nil { return "" } @@ -66840,66 +74043,66 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightFlags) return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQuality string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQuality string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQuality = "durable" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQuality = "weak" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQuality = "durable" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQuality = "weak" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQuality, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQualityDurable, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQualityDurable, nil case "weak": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQualityWeak, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQualityWeak, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQuality + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightIdentityQuality { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQuality { return &d } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -66912,19 +74115,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInRepl } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -66934,7 +74137,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInRepl return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -66953,13 +74156,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReply return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -66972,7 +74175,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInRepl return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyTo) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -67013,15 +74216,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInRepl } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -67030,35 +74233,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToI rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -67067,32 +74270,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInRepl // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -67102,8 +74305,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInRepl return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex var marshaler = struct { embed }{ @@ -67113,7 +74316,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInRepl return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) String() string { if d == nil { return "" } @@ -67129,12 +74332,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInRepl } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -67146,35 +74349,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToI rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -67183,32 +74386,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInRepl // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -67218,8 +74421,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInRepl return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision var marshaler = struct { embed }{ @@ -67229,7 +74432,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInRepl return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -67245,11 +74448,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInRepl } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -67260,28 +74463,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToN rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -67290,25 +74493,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInRepl // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -67318,8 +74521,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInRepl return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm var marshaler = struct { embed }{ @@ -67329,7 +74532,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInRepl return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm) String() string { if d == nil { return "" } @@ -67345,11 +74548,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInRepl } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -67360,28 +74563,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToO rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -67390,25 +74593,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInRepl // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -67418,8 +74621,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInRepl return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber var marshaler = struct { embed }{ @@ -67429,7 +74632,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInRepl return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInReplyToObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -67445,17 +74648,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightInRepl } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemFieldP1 = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemFieldP2 = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemFieldP3 = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemFieldP4 = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem struct { - P1 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1 `json:"p1" url:"p1"` - P2 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2 `json:"p2" url:"p2"` - P3 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3 `json:"p3" url:"p3"` - P4 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4 `json:"p4" url:"p4"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -67464,83 +74665,69 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPoints rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) GetP1() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1 { - if d == nil { - return nil - } - return d.P1 -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) GetP2() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) GetR() int { if d == nil { - return nil + return 0 } - return d.P2 + return d.R } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) GetP3() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) GetG() int { if d == nil { - return nil + return 0 } - return d.P3 + return d.G } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) GetP4() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) GetB() int { if d == nil { - return nil + return 0 } - return d.P4 + return d.B } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetP1 sets the P1 field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) SetP1(p1 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1) { - d.P1 = p1 - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemFieldP1) -} - -// SetP2 sets the P2 field and marks it as non-optional; +// SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) SetP2(p2 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2) { - d.P2 = p2 - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemFieldP2) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) SetR(r int) { + d.R = r + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColorFieldR) } -// SetP3 sets the P3 field and marks it as non-optional; +// SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) SetP3(p3 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3) { - d.P3 = p3 - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemFieldP3) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) SetG(g int) { + d.G = g + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColorFieldG) } -// SetP4 sets the P4 field and marks it as non-optional; +// SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) SetP4(p4 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4) { - d.P4 = p4 - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemFieldP4) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) SetB(b int) { + d.B = b + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColorFieldB) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -67550,8 +74737,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor var marshaler = struct { embed }{ @@ -67561,7 +74748,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPo return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItem) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) String() string { if d == nil { return "" } @@ -67577,13 +74764,13 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPo } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1FieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1FieldY = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsFieldStart = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsFieldEnd = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1 struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings struct { + Start DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart `json:"start" url:"start"` + End DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd `json:"end" url:"end"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -67592,55 +74779,55 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPoints rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1) GetX() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings) GetStart() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart { if d == nil { - return 0 + return "" } - return d.X + return d.Start } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1) GetY() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings) GetEnd() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd { if d == nil { - return 0 + return "" } - return d.Y + return d.End } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetX sets the X field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1) SetX(x float64) { - d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1FieldX) +// SetStart sets the Start field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings) SetStart(start DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart) { + d.Start = start + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsFieldStart) } -// SetY sets the Y field and marks it as non-optional; +// SetEnd sets the End field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1) SetY(y float64) { - d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1FieldY) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings) SetEnd(end DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd) { + d.End = end + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsFieldEnd) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -67650,8 +74837,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings var marshaler = struct { embed }{ @@ -67661,7 +74848,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPo return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP1) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings) String() string { if d == nil { return "" } @@ -67676,14 +74863,106 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPo return fmt.Sprintf("%#v", d) } +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndNone DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd = "none" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndSquare DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd = "square" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndCircle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd = "circle" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndDiamond DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd = "diamond" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndOpenArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd = "open-arrow" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndClosedArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd = "closed-arrow" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndButt DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd = "butt" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndROpenArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd = "r-open-arrow" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndRClosedArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd = "r-closed-arrow" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndSlash DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd = "slash" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd, error) { + switch s { + case "none": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndNone, nil + case "square": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndSquare, nil + case "circle": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndCircle, nil + case "diamond": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndDiamond, nil + case "open-arrow": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndOpenArrow, nil + case "closed-arrow": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndClosedArrow, nil + case "butt": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndButt, nil + case "r-open-arrow": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndROpenArrow, nil + case "r-closed-arrow": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndRClosedArrow, nil + case "slash": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndSlash, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd { + return &d +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartNone DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart = "none" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartSquare DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart = "square" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartCircle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart = "circle" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartDiamond DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart = "diamond" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartOpenArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart = "open-arrow" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartClosedArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart = "closed-arrow" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartButt DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart = "butt" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartROpenArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart = "r-open-arrow" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartRClosedArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart = "r-closed-arrow" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartSlash DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart = "slash" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart, error) { + switch s { + case "none": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartNone, nil + case "square": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartSquare, nil + case "circle": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartCircle, nil + case "diamond": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartDiamond, nil + case "open-arrow": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartOpenArrow, nil + case "closed-arrow": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartClosedArrow, nil + case "butt": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartButt, nil + case "r-open-arrow": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartROpenArrow, nil + case "r-closed-arrow": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartRClosedArrow, nil + case "slash": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartSlash, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart { + return &d +} + var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2FieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2FieldY = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsFieldStart = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsFieldEnd = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2 struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints struct { + Start *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart `json:"start" url:"start"` + End *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd `json:"end" url:"end"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -67692,55 +74971,55 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPoints rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2) GetX() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints) GetStart() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart { if d == nil { - return 0 + return nil } - return d.X + return d.Start } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2) GetY() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints) GetEnd() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd { if d == nil { - return 0 + return nil } - return d.Y + return d.End } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetX sets the X field and marks it as non-optional; +// SetStart sets the Start field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2) SetX(x float64) { - d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2FieldX) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints) SetStart(start *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart) { + d.Start = start + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsFieldStart) } -// SetY sets the Y field and marks it as non-optional; +// SetEnd sets the End field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2) SetY(y float64) { - d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2FieldY) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints) SetEnd(end *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd) { + d.End = end + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsFieldEnd) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -67750,8 +75029,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints var marshaler = struct { embed }{ @@ -67761,7 +75040,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPo return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP2) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints) String() string { if d == nil { return "" } @@ -67777,11 +75056,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPo } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3FieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3FieldY = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEndFieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEndFieldY = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3 struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -67792,28 +75071,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPoints rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3) GetX() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3) GetY() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -67822,25 +75101,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPo // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3) SetX(x float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd) SetX(x float64) { d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3FieldX) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEndFieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3) SetY(y float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd) SetY(y float64) { d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3FieldY) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEndFieldY) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -67850,8 +75129,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd var marshaler = struct { embed }{ @@ -67861,7 +75140,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPo return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP3) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd) String() string { if d == nil { return "" } @@ -67877,11 +75156,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPo } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4FieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4FieldY = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStartFieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStartFieldY = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4 struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -67892,28 +75171,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPoints rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4) GetX() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4) GetY() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -67922,25 +75201,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPo // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4) SetX(x float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart) SetX(x float64) { d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4FieldX) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStartFieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4) SetY(y float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart) SetY(y float64) { d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4FieldY) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStartFieldY) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -67950,8 +75229,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart var marshaler = struct { embed }{ @@ -67961,7 +75240,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPo return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPointsItemP4) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart) String() string { if d == nil { return "" } @@ -67977,13 +75256,13 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightQuadPo } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRectFieldTop = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -67996,42 +75275,42 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect struc rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) GetLeft() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) GetBottom() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -68040,39 +75319,39 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) SetLeft(left float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRectFieldLeft) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) SetBottom(bottom float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRectFieldBottom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) SetRight(right float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRectFieldRight) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) SetTop(top float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRectFieldTop) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRectFieldTop) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -68082,8 +75361,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect var marshaler = struct { embed }{ @@ -68093,7 +75372,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) String() string { if d == nil { return "" } @@ -68108,44 +75387,44 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRect) return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -68158,19 +75437,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) U } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -68180,7 +75459,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) U return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -68199,13 +75478,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) Ma return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -68218,7 +75497,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) A return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -68259,15 +75538,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRef) v } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -68276,35 +75555,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex s rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -68313,32 +75592,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefInd // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -68348,8 +75627,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefInd return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex var marshaler = struct { embed }{ @@ -68359,7 +75638,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefInd return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) String() string { if d == nil { return "" } @@ -68375,12 +75654,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefInd } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -68392,35 +75671,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRe rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -68429,32 +75708,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefInd // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -68464,8 +75743,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefInd return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision var marshaler = struct { embed }{ @@ -68475,7 +75754,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefInd return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) String() string { if d == nil { return "" } @@ -68491,11 +75770,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefInd } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -68506,28 +75785,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm stru rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -68536,25 +75815,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -68564,8 +75843,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm var marshaler = struct { embed }{ @@ -68575,7 +75854,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) String() string { if d == nil { return "" } @@ -68591,11 +75870,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefNm) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -68606,28 +75885,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectN rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -68636,25 +75915,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObj // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -68664,8 +75943,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObj return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber var marshaler = struct { embed }{ @@ -68675,7 +75954,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObj return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber) String() string { if d == nil { return "" } @@ -68690,88 +75969,74 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightRefObj return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyType string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyType string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyType = "reply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyType = "group" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyType = "reply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyType = "group" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyType, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyType, error) { switch s { case "reply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyTypeReply, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyTypeReply, nil case "group": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyTypeGroup, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyTypeGroup, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyType + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemHighlightReplyType { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyType { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldRef = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldIndex = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldNm = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldFlags = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldRect = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldContents = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldSubject = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldAuthor = big.NewInt(1 << 9) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldCreated = big.NewInt(1 << 10) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldModified = big.NewInt(1 << 11) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldReplyType = big.NewInt(1 << 14) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldUserID = big.NewInt(1 << 15) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldGroupID = big.NewInt(1 << 16) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldActions = big.NewInt(1 << 19) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldColor = big.NewInt(1 << 20) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldOpacity = big.NewInt(1 << 21) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldStrokeWidth = big.NewInt(1 << 22) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldBorderStyle = big.NewInt(1 << 23) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldDashArray = big.NewInt(1 << 24) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldIntent = big.NewInt(1 << 25) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldInkList = big.NewInt(1 << 26) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldRotation = big.NewInt(1 << 27) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldRef = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldIndex = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldNm = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldFlags = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldRect = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldContents = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldSubject = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldAuthor = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldCreated = big.NewInt(1 << 10) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldModified = big.NewInt(1 << 11) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldReplyType = big.NewInt(1 << 14) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldUserID = big.NewInt(1 << 15) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldGroupID = big.NewInt(1 << 16) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldActions = big.NewInt(1 << 19) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldTarget = big.NewInt(1 << 20) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk struct { - Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` - BorderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle `json:"borderStyle" url:"borderStyle"` - DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` - Intent *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntent `json:"intent,omitempty" url:"intent,omitempty"` - InkList [][]*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem `json:"inkList" url:"inkList"` - Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink struct { + Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Target *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget `json:"target,omitempty" url:"target,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -68780,210 +76045,161 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQuality { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetNm() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetContents() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetSubject() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetAuthor() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetCreated() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetModified() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyType { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetUserID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetGroupID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetCreatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetUpdatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor { - if d == nil { - return nil - } - return d.Color -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetOpacity() float64 { - if d == nil { - return 0 - } - return d.Opacity -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetStrokeWidth() float64 { - if d == nil { - return 0 - } - return d.StrokeWidth -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetBorderStyle() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle { - if d == nil { - return "" - } - return d.BorderStyle -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetDashArray() []float64 { - if d == nil { - return nil - } - return d.DashArray -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetIntent() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntent { - if d == nil { - return nil - } - return d.Intent -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetInkList() [][]*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem { - if d == nil { - return nil - } - return d.InkList -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetRotation() *float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetTarget() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget { if d == nil { return nil } - return d.Rotation + return d.Target } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -68992,427 +76208,166 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) require(fi // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef) { d.Ref = ref - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldRef) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQuality) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldIdentityQuality) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetNm(nm *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) { d.Flags = flags - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldFlags) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) { d.Rect = rect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldRect) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetContents(contents *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetSubject(subject *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldSubject) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetAuthor(author *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldAuthor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetCreated(created *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldCreated) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetModified(modified *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldModified) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldBlendMode) -} - -// SetInReplyTo sets the InReplyTo field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) { - d.InReplyTo = inReplyTo - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldInReplyTo) -} - -// SetReplyType sets the ReplyType field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyType) { - d.ReplyType = replyType - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldReplyType) -} - -// SetUserID sets the UserID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetUserID(userID *string) { - d.UserID = userID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldUserID) -} - -// SetGroupID sets the GroupID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetGroupID(groupID *string) { - d.GroupID = groupID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldGroupID) -} - -// SetCreatedBy sets the CreatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetCreatedBy(createdBy *string) { - d.CreatedBy = createdBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldCreatedBy) -} - -// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetUpdatedBy(updatedBy *string) { - d.UpdatedBy = updatedBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldUpdatedBy) -} - -// SetActions sets the Actions field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetActions(actions *PdfAnnotationActions) { - d.Actions = actions - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldActions) -} - -// SetColor sets the Color field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) { - d.Color = color - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldColor) -} - -// SetOpacity sets the Opacity field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetOpacity(opacity float64) { - d.Opacity = opacity - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldOpacity) -} - -// SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetStrokeWidth(strokeWidth float64) { - d.StrokeWidth = strokeWidth - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldStrokeWidth) -} - -// SetBorderStyle sets the BorderStyle field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetBorderStyle(borderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle) { - d.BorderStyle = borderStyle - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldBorderStyle) -} - -// SetDashArray sets the DashArray field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetDashArray(dashArray []float64) { - d.DashArray = dashArray - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldDashArray) -} - -// SetIntent sets the Intent field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetIntent(intent *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntent) { - d.Intent = intent - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldIntent) -} - -// SetInkList sets the InkList field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetInkList(inkList [][]*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem) { - d.InkList = inkList - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldInkList) -} - -// SetRotation sets the Rotation field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) SetRotation(rotation *float64) { - d.Rotation = rotation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFieldRotation) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk - var unmarshaler = struct { - embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` - }{ - embed: embed(*d), - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk(unmarshaler.embed) - d.Created = unmarshaler.Created.TimePtr() - d.Modified = unmarshaler.Modified.TimePtr() - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk - var marshaler = struct { - embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` - }{ - embed: embed(*d), - Created: internal.NewOptionalDateTime(d.Created), - Modified: internal.NewOptionalDateTime(d.Modified), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInk) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "normal" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "multiply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "screen" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "overlay" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "darken" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "lighten" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "color-dodge" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "color-burn" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "hard-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "soft-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "difference" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "exclusion" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "hue" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "saturation" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "color" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode = "luminosity" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode, error) { - switch s { - case "normal": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeNormal, nil - case "multiply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeMultiply, nil - case "screen": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeScreen, nil - case "overlay": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeOverlay, nil - case "darken": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeDarken, nil - case "lighten": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeLighten, nil - case "color-dodge": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeColorDodge, nil - case "color-burn": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeColorBurn, nil - case "hard-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeHardLight, nil - case "soft-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeSoftLight, nil - case "difference": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeDifference, nil - case "exclusion": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeExclusion, nil - case "hue": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeHue, nil - case "saturation": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeSaturation, nil - case "color": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeColor, nil - case "luminosity": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendModeLuminosity, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBlendMode { - return &d -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyleSolid DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle = "solid" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyleDashed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle = "dashed" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyleBeveled DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle = "beveled" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyleInset DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle = "inset" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyleFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle, error) { - switch s { - case "solid": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyleSolid, nil - case "dashed": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyleDashed, nil - case "beveled": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyleBeveled, nil - case "inset": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyleInset, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkBorderStyle { - return &d -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColorFieldB = big.NewInt(1 << 2) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldBlendMode) } - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) GetR() int { - if d == nil { - return 0 - } - return d.R + +// SetInReplyTo sets the InReplyTo field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) { + d.InReplyTo = inReplyTo + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldInReplyTo) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) GetG() int { - if d == nil { - return 0 - } - return d.G +// SetReplyType sets the ReplyType field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyType) { + d.ReplyType = replyType + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldReplyType) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) GetB() int { - if d == nil { - return 0 - } - return d.B +// SetUserID sets the UserID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetUserID(userID *string) { + d.UserID = userID + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldUserID) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties +// SetGroupID sets the GroupID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetGroupID(groupID *string) { + d.GroupID = groupID + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldGroupID) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) +// SetCreatedBy sets the CreatedBy field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetCreatedBy(createdBy *string) { + d.CreatedBy = createdBy + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldCreatedBy) } -// SetR sets the R field and marks it as non-optional; +// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) SetR(r int) { - d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColorFieldR) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetUpdatedBy(updatedBy *string) { + d.UpdatedBy = updatedBy + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldUpdatedBy) } -// SetG sets the G field and marks it as non-optional; +// SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) SetG(g int) { - d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColorFieldG) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetActions(actions *PdfAnnotationActions) { + d.Actions = actions + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldActions) } -// SetB sets the B field and marks it as non-optional; +// SetTarget sets the Target field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) SetB(b int) { - d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColorFieldB) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetTarget(target *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) { + d.Target = target + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldTarget) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink + var unmarshaler = struct { + embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` + }{ + embed: embed(*d), + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink(unmarshaler.embed) + d.Created = unmarshaler.Created.TimePtr() + d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -69422,18 +76377,22 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) Unmar return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink var marshaler = struct { embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` }{ - embed: embed(*d), + embed: embed(*d), + Created: internal.NewOptionalDateTime(d.Created), + Modified: internal.NewOptionalDateTime(d.Modified), } explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) String() string { if d == nil { return "" } @@ -69448,20 +76407,84 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkColor) Strin return fmt.Sprintf("%#v", d) } +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "normal" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "multiply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "screen" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "overlay" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "darken" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "lighten" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "color-dodge" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "color-burn" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "hard-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "soft-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "difference" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "exclusion" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "hue" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "saturation" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "color" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "luminosity" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode, error) { + switch s { + case "normal": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeNormal, nil + case "multiply": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeMultiply, nil + case "screen": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeScreen, nil + case "overlay": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeOverlay, nil + case "darken": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeDarken, nil + case "lighten": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeLighten, nil + case "color-dodge": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeColorDodge, nil + case "color-burn": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeColorBurn, nil + case "hard-light": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeHardLight, nil + case "soft-light": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeSoftLight, nil + case "difference": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeDifference, nil + case "exclusion": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeExclusion, nil + case "hue": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeHue, nil + case "saturation": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeSaturation, nil + case "color": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeColor, nil + case "luminosity": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeLuminosity, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode { + return &d +} + var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -69480,84 +76503,84 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) GetInvisible() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) GetHidden() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) GetPrint() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) GetNoZoom() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) GetNoRotate() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) GetNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) GetReadOnly() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) GetLocked() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) GetToggleNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) GetLockedContents() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -69566,81 +76589,81 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) requi // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldInvisible) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldHidden) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) SetPrint(print bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldPrint) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldNoZoom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldNoRotate) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) SetNoView(noView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldReadOnly) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) SetLocked(locked bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldLocked) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldToggleNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlagsFieldLockedContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldLockedContents) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -69650,8 +76673,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) Unmar return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags var marshaler = struct { embed }{ @@ -69661,7 +76684,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) String() string { if d == nil { return "" } @@ -69676,66 +76699,66 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkFlags) Strin return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQuality string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQuality string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQuality = "durable" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQuality = "weak" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQuality = "durable" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQuality = "weak" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQuality, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQualityDurable, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQualityDurable, nil case "weak": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQualityWeak, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQualityWeak, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQuality + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIdentityQuality { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQuality { return &d } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -69748,19 +76771,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) U } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -69770,7 +76793,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) U return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -69789,13 +76812,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) Ma return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -69808,7 +76831,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) A return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -69849,15 +76872,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyTo) v } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -69866,35 +76889,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex s rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -69903,32 +76926,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToInd // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -69938,8 +76961,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToInd return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex var marshaler = struct { embed }{ @@ -69949,7 +76972,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToInd return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) String() string { if d == nil { return "" } @@ -69965,12 +76988,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToInd } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -69982,35 +77005,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRe rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -70019,32 +77042,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToInd // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -70054,8 +77077,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToInd return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision var marshaler = struct { embed }{ @@ -70065,7 +77088,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToInd return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -70081,11 +77104,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToInd } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -70096,28 +77119,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm stru rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -70126,25 +77149,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -70154,8 +77177,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm var marshaler = struct { embed }{ @@ -70165,7 +77188,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm) String() string { if d == nil { return "" } @@ -70181,11 +77204,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToNm) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -70196,28 +77219,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectN rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -70226,25 +77249,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObj // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -70254,8 +77277,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObj return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber var marshaler = struct { embed }{ @@ -70265,7 +77288,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObj return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -70281,13 +77304,17 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInReplyToObj } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItemFieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItemFieldY = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect struct { + Left float64 `json:"left" url:"left"` + Bottom float64 `json:"bottom" url:"bottom"` + Right float64 `json:"right" url:"right"` + Top float64 `json:"top" url:"top"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -70296,55 +77323,83 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem) GetX() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) GetLeft() float64 { if d == nil { return 0 } - return d.X + return d.Left } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem) GetY() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) GetBottom() float64 { if d == nil { return 0 } - return d.Y + return d.Bottom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) GetRight() float64 { + if d == nil { + return 0 + } + return d.Right +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) GetTop() float64 { + if d == nil { + return 0 + } + return d.Top +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetX sets the X field and marks it as non-optional; +// SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem) SetX(x float64) { - d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItemFieldX) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRectFieldLeft) } -// SetY sets the Y field and marks it as non-optional; +// SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem) SetY(y float64) { - d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItemFieldY) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRectFieldBottom) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem +// SetRight sets the Right field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRectFieldRight) +} + +// SetTop sets the Top field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRectFieldTop) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -70354,8 +77409,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemI return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect var marshaler = struct { embed }{ @@ -70365,7 +77420,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemI return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemItem) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) String() string { if d == nil { return "" } @@ -70380,37 +77435,496 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkInkListItemI return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntent string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef struct { + Kind string + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntentInkHighlight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntent = "ink-highlight" + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef) GetKind() string { + if d == nil { + return "" + } + return d.Kind +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber { + if d == nil { + return nil + } + return d.ObjectNumber +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm { + if d == nil { + return nil + } + return d.Nm +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex { + if d == nil { + return nil + } + return d.Index +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef) UnmarshalJSON(data []byte) error { + var unmarshaler struct { + Kind string `json:"kind"` + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { + return err + } + d.Kind = unmarshaler.Kind + if unmarshaler.Kind == "" { + return fmt.Errorf("%T did not include discriminant kind", d) + } + switch unmarshaler.Kind { + case "objectNumber": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.ObjectNumber = value + case "nm": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Nm = value + case "index": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Index = value + } + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef) MarshalJSON() ([]byte, error) { + if err := d.validate(); err != nil { + return nil, err + } + if d.ObjectNumber != nil { + return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") + } + if d.Nm != nil { + return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") + } + if d.Index != nil { + return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") + } + if len(d.rawJSON) > 0 { + return d.rawJSON, nil + } + return nil, fmt.Errorf("type %T does not define a non-empty union type", d) +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) error +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefVisitor) error { + if d.ObjectNumber != nil { + return visitor.VisitObjectNumber(d.ObjectNumber) + } + if d.Nm != nil { + return visitor.VisitNm(d.Nm) + } + if d.Index != nil { + return visitor.VisitIndex(d.Index) + } + return fmt.Errorf("type %T does not define a non-empty union type", d) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef) validate() error { + if d == nil { + return fmt.Errorf("type %T is nil", d) + } + var fields []string + if d.ObjectNumber != nil { + fields = append(fields, "objectNumber") + } + if d.Nm != nil { + fields = append(fields, "nm") + } + if d.Index != nil { + fields = append(fields, "index") + } + if len(fields) == 0 { + if d.Kind != "" { + if len(d.rawJSON) > 0 { + return nil + } + return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) + } + return fmt.Errorf("type %T is empty", d) + } + if len(fields) > 1 { + return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) + } + if d.Kind != "" { + field := fields[0] + if d.Kind != field { + return fmt.Errorf( + "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", + d, + d.Kind, + d, + ) + } + } + return nil +} + +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexFieldRevision = big.NewInt(1 << 2) ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntentFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntent, error) { - switch s { - case "ink-highlight": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntentInkHighlight, nil +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision `json:"revision" url:"revision"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) GetPageObjectNumber() int { + if d == nil { + return 0 } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntent - return "", fmt.Errorf("%s is not a valid %T", s, t) + return d.PageObjectNumber +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) GetIndex() int { + if d == nil { + return 0 + } + return d.Index +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision { + if d == nil { + return nil + } + return d.Revision +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexFieldPageObjectNumber) +} + +// SetIndex sets the Index field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) SetIndex(index int) { + d.Index = index + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexFieldIndex) +} + +// SetRevision sets the Revision field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) { + d.Revision = revision + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexFieldRevision) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) +) + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision struct { + DocSessionID string `json:"docSessionId" url:"docSessionId"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Generation int `json:"generation" url:"generation"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) GetDocSessionID() string { + if d == nil { + return "" + } + return d.DocSessionID +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) GetGeneration() int { + if d == nil { + return 0 + } + return d.Generation +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevisionFieldDocSessionID) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevisionFieldPageObjectNumber) +} + +// SetGeneration sets the Generation field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevisionFieldGeneration) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNmFieldNm = big.NewInt(1 << 1) +) + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Nm string `json:"nm" url:"nm"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm) GetNm() string { + if d == nil { + return "" + } + return d.Nm +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNmFieldPageObjectNumber) +} + +// SetNm sets the Nm field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm) SetNm(nm string) { + d.Nm = nm + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNmFieldNm) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntent) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkIntent { - return &d +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRectFieldTop = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect struct { - Left float64 `json:"left" url:"left"` - Bottom float64 `json:"bottom" url:"bottom"` - Right float64 `json:"right" url:"right"` - Top float64 `json:"top" url:"top"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -70419,83 +77933,55 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) GetLeft() float64 { - if d == nil { - return 0 - } - return d.Left -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) GetBottom() float64 { - if d == nil { - return 0 - } - return d.Bottom -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } - return d.Right + return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } - return d.Top + return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetLeft sets the Left field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRectFieldLeft) -} - -// SetBottom sets the Bottom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRectFieldBottom) -} - -// SetRight sets the Right field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRectFieldRight) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumberFieldPageObjectNumber) } -// SetTop sets the Top field and marks it as non-optional; +// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRectFieldTop) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { + d.AnnotObjectNumber = annotObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -70505,8 +77991,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) Unmars return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber var marshaler = struct { embed }{ @@ -70516,7 +78002,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber) String() string { if d == nil { return "" } @@ -70531,44 +78017,98 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRect) String return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef struct { - Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyType string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyType = "reply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyType = "group" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyType, error) { + switch s { + case "reply": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyTypeReply, nil + case "group": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyTypeGroup, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyType + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyType { + return &d +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget struct { + Kind string + Goto *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto + URI *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI + GotoRemote *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote + Launch *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch + Javascript *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript + Named *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed + Unsupported *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) GetGoto() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto { if d == nil { return nil } - return d.ObjectNumber + return d.Goto } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) GetURI() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI { if d == nil { return nil } - return d.Nm + return d.URI } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) GetGotoRemote() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote { if d == nil { return nil } - return d.Index + return d.GotoRemote } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) GetLaunch() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch { + if d == nil { + return nil + } + return d.Launch +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) GetJavascript() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript { + if d == nil { + return nil + } + return d.Javascript +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) GetNamed() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed { + if d == nil { + return nil + } + return d.Named +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) GetUnsupported() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported { + if d == nil { + return nil + } + return d.Unsupported +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -70580,41 +78120,77 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef) Unmarsh return fmt.Errorf("%T did not include discriminant kind", d) } switch unmarshaler.Kind { - case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber) + case "goto": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto) if err := json.Unmarshal(data, &value); err != nil { return err } - d.ObjectNumber = value - case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) + d.Goto = value + case "uri": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Nm = value - case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) + d.URI = value + case "goto-remote": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Index = value + d.GotoRemote = value + case "launch": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Launch = value + case "javascript": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Javascript = value + case "named": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Named = value + case "unsupported": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Unsupported = value } d.rawJSON = json.RawMessage(data) return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } - if d.ObjectNumber != nil { - return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") + if d.Goto != nil { + return internal.MarshalJSONWithExtraProperty(d.Goto, "kind", "goto") } - if d.Nm != nil { - return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") + if d.URI != nil { + return internal.MarshalJSONWithExtraProperty(d.URI, "kind", "uri") } - if d.Index != nil { - return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") + if d.GotoRemote != nil { + return internal.MarshalJSONWithExtraProperty(d.GotoRemote, "kind", "goto-remote") + } + if d.Launch != nil { + return internal.MarshalJSONWithExtraProperty(d.Launch, "kind", "launch") + } + if d.Javascript != nil { + return internal.MarshalJSONWithExtraProperty(d.Javascript, "kind", "javascript") + } + if d.Named != nil { + return internal.MarshalJSONWithExtraProperty(d.Named, "kind", "named") + } + if d.Unsupported != nil { + return internal.MarshalJSONWithExtraProperty(d.Unsupported, "kind", "unsupported") } if len(d.rawJSON) > 0 { return d.rawJSON, nil @@ -70622,38 +78198,66 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef) MarshalJ return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetVisitor interface { + VisitGoto(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto) error + VisitURI(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI) error + VisitGotoRemote(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote) error + VisitLaunch(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch) error + VisitJavascript(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript) error + VisitNamed(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed) error + VisitUnsupported(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefVisitor) error { - if d.ObjectNumber != nil { - return visitor.VisitObjectNumber(d.ObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetVisitor) error { + if d.Goto != nil { + return visitor.VisitGoto(d.Goto) } - if d.Nm != nil { - return visitor.VisitNm(d.Nm) + if d.URI != nil { + return visitor.VisitURI(d.URI) } - if d.Index != nil { - return visitor.VisitIndex(d.Index) + if d.GotoRemote != nil { + return visitor.VisitGotoRemote(d.GotoRemote) + } + if d.Launch != nil { + return visitor.VisitLaunch(d.Launch) + } + if d.Javascript != nil { + return visitor.VisitJavascript(d.Javascript) + } + if d.Named != nil { + return visitor.VisitNamed(d.Named) + } + if d.Unsupported != nil { + return visitor.VisitUnsupported(d.Unsupported) } return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } var fields []string - if d.ObjectNumber != nil { - fields = append(fields, "objectNumber") + if d.Goto != nil { + fields = append(fields, "goto") } - if d.Nm != nil { - fields = append(fields, "nm") + if d.URI != nil { + fields = append(fields, "uri") } - if d.Index != nil { - fields = append(fields, "index") + if d.GotoRemote != nil { + fields = append(fields, "goto-remote") + } + if d.Launch != nil { + fields = append(fields, "launch") + } + if d.Javascript != nil { + fields = append(fields, "javascript") + } + if d.Named != nil { + fields = append(fields, "named") + } + if d.Unsupported != nil { + fields = append(fields, "unsupported") } if len(fields) == 0 { if d.Kind != "" { @@ -70682,15 +78286,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRef) validat } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoFieldDestination = big.NewInt(1 << 0) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto struct { + Destination *PdfDestination `json:"destination" url:"destination"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -70699,69 +78299,41 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex struct rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) GetIndex() int { - if d == nil { - return 0 - } - return d.Index -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto) GetDestination() *PdfDestination { if d == nil { return nil } - return d.Revision + return d.Destination } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexFieldPageObjectNumber) -} - -// SetIndex sets the Index field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) SetIndex(index int) { - d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexFieldIndex) -} - -// SetRevision sets the Revision field and marks it as non-optional; +// SetDestination sets the Destination field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) { - d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexFieldRevision) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto) SetDestination(destination *PdfDestination) { + d.Destination = destination + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoFieldDestination) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -70771,8 +78343,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) Un return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto var marshaler = struct { embed }{ @@ -70782,7 +78354,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) Ma return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto) String() string { if d == nil { return "" } @@ -70798,15 +78370,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndex) St } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemoteFieldFile = big.NewInt(1 << 0) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision struct { - DocSessionID string `json:"docSessionId" url:"docSessionId"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Generation int `json:"generation" url:"generation"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote struct { + File string `json:"file" url:"file"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -70815,69 +78383,106 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote) GetFile() string { if d == nil { return "" } - return d.DocSessionID + return d.File } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote) GetExtraProperties() map[string]interface{} { if d == nil { - return 0 + return nil } - return d.PageObjectNumber + return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetFile sets the File field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote) SetFile(file string) { + d.File = file + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemoteFieldFile) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote) String() string { if d == nil { - return 0 + return "" } - return d.Generation + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) GetExtraProperties() map[string]interface{} { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript struct { + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetDocSessionID sets the DocSessionID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) SetDocSessionID(docSessionID string) { - d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevisionFieldDocSessionID) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevisionFieldPageObjectNumber) -} - -// SetGeneration sets the Generation field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) SetGeneration(generation int) { - d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevisionFieldGeneration) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -70887,8 +78492,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevi return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript var marshaler = struct { embed }{ @@ -70898,7 +78503,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevi return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript) String() string { if d == nil { return "" } @@ -70914,13 +78519,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefIndexRevi } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunchFieldPath = big.NewInt(1 << 0) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Nm string `json:"nm" url:"nm"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch struct { + Path string `json:"path" url:"path"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -70929,55 +78532,41 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch) GetPath() string { if d == nil { return "" } - return d.Nm + return d.Path } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNmFieldPageObjectNumber) -} - -// SetNm sets the Nm field and marks it as non-optional; +// SetPath sets the Path field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) SetNm(nm string) { - d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNmFieldNm) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch) SetPath(path string) { + d.Path = path + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunchFieldPath) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -70987,8 +78576,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) Unmar return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch var marshaler = struct { embed }{ @@ -70998,7 +78587,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch) String() string { if d == nil { return "" } @@ -71014,13 +78603,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefNm) Strin } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamedFieldName = big.NewInt(1 << 0) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed struct { + Name string `json:"name" url:"name"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -71029,55 +78616,106 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed) GetName() string { if d == nil { - return 0 + return "" } - return d.AnnotObjectNumber + return d.Name } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumberFieldPageObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed) SetName(name string) { + d.Name = name + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamedFieldName) } -// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { - d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumberFieldAnnotObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported struct { + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -71087,8 +78725,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNum return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported var marshaler = struct { embed }{ @@ -71098,7 +78736,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNum return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported) String() string { if d == nil { return "" } @@ -71113,90 +78751,152 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkRefObjectNum return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyType string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyType = "reply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyType = "group" +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURIFieldURI = big.NewInt(1 << 0) ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyType, error) { - switch s { - case "reply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyTypeReply, nil - case "group": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyTypeGroup, nil +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI struct { + URI string `json:"uri" url:"uri"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI) GetURI() string { + if d == nil { + return "" } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyType - return "", fmt.Errorf("%s is not a valid %T", s, t) + return d.URI } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemInkReplyType { - return &d +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetURI sets the URI field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI) SetURI(uri string) { + d.URI = uri + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURIFieldURI) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldRef = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldIndex = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldNm = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldFlags = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldRect = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldContents = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldSubject = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldAuthor = big.NewInt(1 << 9) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldCreated = big.NewInt(1 << 10) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldModified = big.NewInt(1 << 11) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldReplyType = big.NewInt(1 << 14) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldUserID = big.NewInt(1 << 15) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldGroupID = big.NewInt(1 << 16) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldActions = big.NewInt(1 << 19) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldColor = big.NewInt(1 << 20) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldOpacity = big.NewInt(1 << 21) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldStrokeWidth = big.NewInt(1 << 22) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldBorderStyle = big.NewInt(1 << 23) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldDashArray = big.NewInt(1 << 24) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldInteriorColor = big.NewInt(1 << 25) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldLinePoints = big.NewInt(1 << 26) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldLineEndings = big.NewInt(1 << 27) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldRotation = big.NewInt(1 << 28) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldRef = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldIndex = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldNm = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldFlags = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldRect = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldContents = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldSubject = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldAuthor = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldCreated = big.NewInt(1 << 10) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldModified = big.NewInt(1 << 11) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldReplyType = big.NewInt(1 << 14) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldUserID = big.NewInt(1 << 15) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldGroupID = big.NewInt(1 << 16) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldActions = big.NewInt(1 << 19) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldColor = big.NewInt(1 << 20) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldOpacity = big.NewInt(1 << 21) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldStrokeWidth = big.NewInt(1 << 22) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldBorderStyle = big.NewInt(1 << 23) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldDashArray = big.NewInt(1 << 24) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldInteriorColor = big.NewInt(1 << 25) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldVertices = big.NewInt(1 << 26) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldRotation = big.NewInt(1 << 27) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldCloudyIntensity = big.NewInt(1 << 28) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine struct { - Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` - BorderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle `json:"borderStyle" url:"borderStyle"` - DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` - InteriorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` - LinePoints *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints `json:"linePoints" url:"linePoints"` - LineEndings *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings `json:"lineEndings" url:"lineEndings"` - Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon struct { + Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` + BorderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle `json:"borderStyle" url:"borderStyle"` + DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` + InteriorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` + Vertices []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem `json:"vertices" url:"vertices"` + Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` + CloudyIntensity *float64 `json:"cloudyIntensity,omitempty" url:"cloudyIntensity,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -71205,217 +78905,217 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQuality { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetNm() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetContents() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetSubject() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetAuthor() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetCreated() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetModified() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyType { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetUserID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetGroupID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetCreatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetUpdatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor { if d == nil { return nil } return d.Color } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetOpacity() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetOpacity() float64 { if d == nil { return 0 } return d.Opacity } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetStrokeWidth() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetStrokeWidth() float64 { if d == nil { return 0 } return d.StrokeWidth } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetBorderStyle() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetBorderStyle() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle { if d == nil { return "" } return d.BorderStyle } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetDashArray() []float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetDashArray() []float64 { if d == nil { return nil } return d.DashArray } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetInteriorColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetInteriorColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor { if d == nil { return nil } return d.InteriorColor } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetLinePoints() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetVertices() []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem { if d == nil { return nil } - return d.LinePoints + return d.Vertices } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetLineEndings() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetRotation() *float64 { if d == nil { return nil } - return d.LineEndings + return d.Rotation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetRotation() *float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetCloudyIntensity() *float64 { if d == nil { return nil } - return d.Rotation + return d.CloudyIntensity } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -71424,209 +79124,209 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) require(f // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) { d.Ref = ref - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldRef) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQuality) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldIdentityQuality) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetNm(nm *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) { d.Flags = flags - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldFlags) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) { d.Rect = rect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldRect) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetContents(contents *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetSubject(subject *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldSubject) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetAuthor(author *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldAuthor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetCreated(created *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldCreated) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetModified(modified *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldModified) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldBlendMode) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldInReplyTo) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyType) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyType) { d.ReplyType = replyType - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldReplyType) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetUserID(userID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldUserID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetGroupID(groupID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldGroupID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldCreatedBy) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldUpdatedBy) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldActions) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldActions) } // SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) { d.Color = color - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldColor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldColor) } // SetOpacity sets the Opacity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetOpacity(opacity float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetOpacity(opacity float64) { d.Opacity = opacity - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldOpacity) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldOpacity) } // SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetStrokeWidth(strokeWidth float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetStrokeWidth(strokeWidth float64) { d.StrokeWidth = strokeWidth - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldStrokeWidth) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldStrokeWidth) } // SetBorderStyle sets the BorderStyle field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetBorderStyle(borderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetBorderStyle(borderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle) { d.BorderStyle = borderStyle - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldBorderStyle) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldBorderStyle) } // SetDashArray sets the DashArray field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetDashArray(dashArray []float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetDashArray(dashArray []float64) { d.DashArray = dashArray - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldDashArray) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldDashArray) } // SetInteriorColor sets the InteriorColor field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetInteriorColor(interiorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetInteriorColor(interiorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) { d.InteriorColor = interiorColor - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldInteriorColor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldInteriorColor) } -// SetLinePoints sets the LinePoints field and marks it as non-optional; +// SetVertices sets the Vertices field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetLinePoints(linePoints *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints) { - d.LinePoints = linePoints - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldLinePoints) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetVertices(vertices []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem) { + d.Vertices = vertices + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldVertices) } -// SetLineEndings sets the LineEndings field and marks it as non-optional; +// SetRotation sets the Rotation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetLineEndings(lineEndings *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings) { - d.LineEndings = lineEndings - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldLineEndings) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetRotation(rotation *float64) { + d.Rotation = rotation + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldRotation) } -// SetRotation sets the Rotation field and marks it as non-optional; +// SetCloudyIntensity sets the CloudyIntensity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) SetRotation(rotation *float64) { - d.Rotation = rotation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFieldRotation) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetCloudyIntensity(cloudyIntensity *float64) { + d.CloudyIntensity = cloudyIntensity + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldCloudyIntensity) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -71637,7 +79337,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) Unmarshal if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine(unmarshaler.embed) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -71649,8 +79349,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) Unmarshal return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -71664,7 +79364,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) MarshalJS return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) String() string { if d == nil { return "" } @@ -71679,105 +79379,105 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLine) String() return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "normal" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "multiply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "screen" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "overlay" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "darken" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "lighten" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "color-dodge" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "color-burn" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "hard-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "soft-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "difference" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "exclusion" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "hue" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "saturation" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "color" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode = "luminosity" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "normal" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "multiply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "screen" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "overlay" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "darken" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "lighten" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "color-dodge" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "color-burn" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "hard-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "soft-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "difference" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "exclusion" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "hue" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "saturation" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "color" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "luminosity" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode, error) { switch s { case "normal": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeNormal, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeNormal, nil case "multiply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeMultiply, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeMultiply, nil case "screen": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeScreen, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeScreen, nil case "overlay": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeOverlay, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeOverlay, nil case "darken": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeDarken, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeDarken, nil case "lighten": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeLighten, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeLighten, nil case "color-dodge": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeColorDodge, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeColorBurn, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeHardLight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeHardLight, nil case "soft-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeSoftLight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeSoftLight, nil case "difference": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeDifference, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeDifference, nil case "exclusion": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeExclusion, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeExclusion, nil case "hue": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeHue, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeHue, nil case "saturation": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeSaturation, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeSaturation, nil case "color": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeColor, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeColor, nil case "luminosity": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendModeLuminosity, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeLuminosity, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBlendMode { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode { return &d } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyleSolid DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle = "solid" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyleDashed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle = "dashed" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyleBeveled DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle = "beveled" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyleInset DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle = "inset" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyleSolid DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle = "solid" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyleDashed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle = "dashed" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyleBeveled DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle = "beveled" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyleInset DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle = "inset" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyleFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyleFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle, error) { switch s { case "solid": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyleSolid, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyleSolid, nil case "dashed": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyleDashed, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyleDashed, nil case "beveled": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyleBeveled, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyleBeveled, nil case "inset": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyleInset, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyleInset, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineBorderStyle { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColorFieldB = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -71789,35 +79489,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) GetR() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) GetG() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) GetB() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -71826,32 +79526,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) requ // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) SetR(r int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) SetR(r int) { d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColorFieldR) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) SetG(g int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) SetG(g int) { d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColorFieldG) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) SetB(b int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) SetB(b int) { d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColorFieldB) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColorFieldB) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -71861,8 +79561,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) Unma return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor var marshaler = struct { embed }{ @@ -71872,7 +79572,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) Mars return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) String() string { if d == nil { return "" } @@ -71888,19 +79588,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineColor) Stri } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -71919,84 +79619,84 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) GetInvisible() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) GetHidden() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) GetPrint() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) GetNoZoom() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) GetNoRotate() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) GetNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) GetReadOnly() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) GetLocked() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) GetToggleNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) GetLockedContents() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -72005,81 +79705,81 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) requ // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldInvisible) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldHidden) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) SetPrint(print bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldPrint) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldNoZoom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldNoRotate) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) SetNoView(noView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldReadOnly) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) SetLocked(locked bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldLocked) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldToggleNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlagsFieldLockedContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldLockedContents) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -72089,8 +79789,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) Unma return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags var marshaler = struct { embed }{ @@ -72100,7 +79800,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) Mars return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) String() string { if d == nil { return "" } @@ -72115,66 +79815,66 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineFlags) Stri return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQuality string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQuality string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQuality = "durable" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQuality = "weak" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQuality = "durable" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQuality = "weak" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQuality, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQualityDurable, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQualityDurable, nil case "weak": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQualityWeak, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQualityWeak, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQuality + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineIdentityQuality { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQuality { return &d } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -72187,19 +79887,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -72209,7 +79909,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -72228,13 +79928,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) M return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -72247,7 +79947,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -72288,15 +79988,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyTo) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -72305,35 +80005,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -72342,32 +80042,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIn // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -72377,8 +80077,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIn return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex var marshaler = struct { embed }{ @@ -72388,7 +80088,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIn return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) String() string { if d == nil { return "" } @@ -72404,12 +80104,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIn } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -72421,35 +80121,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexR rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -72458,32 +80158,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIn // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -72493,8 +80193,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIn return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision var marshaler = struct { embed }{ @@ -72504,7 +80204,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIn return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -72520,11 +80220,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToIn } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -72535,28 +80235,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm str rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -72565,25 +80265,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -72593,8 +80293,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm var marshaler = struct { embed }{ @@ -72604,7 +80304,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm) String() string { if d == nil { return "" } @@ -72620,11 +80320,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToNm } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -72635,28 +80335,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObject rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -72665,25 +80365,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToOb // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -72693,8 +80393,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToOb return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber var marshaler = struct { embed }{ @@ -72704,7 +80404,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToOb return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -72720,12 +80420,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInReplyToOb } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColorFieldB = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -72737,35 +80437,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor s rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) GetR() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) GetG() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) GetB() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -72774,524 +80474,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorCol // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) SetR(r int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) SetR(r int) { d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColorFieldR) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) SetG(g int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) SetG(g int) { d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColorFieldG) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) SetB(b int) { - d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColorFieldB) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineInteriorColor) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsFieldStart = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsFieldEnd = big.NewInt(1 << 1) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings struct { - Start DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart `json:"start" url:"start"` - End DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd `json:"end" url:"end"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings) GetStart() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart { - if d == nil { - return "" - } - return d.Start -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings) GetEnd() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd { - if d == nil { - return "" - } - return d.End -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetStart sets the Start field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings) SetStart(start DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart) { - d.Start = start - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsFieldStart) -} - -// SetEnd sets the End field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings) SetEnd(end DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd) { - d.End = end - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsFieldEnd) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndings) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndNone DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd = "none" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndSquare DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd = "square" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndCircle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd = "circle" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndDiamond DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd = "diamond" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndOpenArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd = "open-arrow" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndClosedArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd = "closed-arrow" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndButt DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd = "butt" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndROpenArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd = "r-open-arrow" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndRClosedArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd = "r-closed-arrow" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndSlash DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd = "slash" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd, error) { - switch s { - case "none": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndNone, nil - case "square": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndSquare, nil - case "circle": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndCircle, nil - case "diamond": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndDiamond, nil - case "open-arrow": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndOpenArrow, nil - case "closed-arrow": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndClosedArrow, nil - case "butt": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndButt, nil - case "r-open-arrow": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndROpenArrow, nil - case "r-closed-arrow": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndRClosedArrow, nil - case "slash": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEndSlash, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsEnd { - return &d -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartNone DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart = "none" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartSquare DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart = "square" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartCircle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart = "circle" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartDiamond DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart = "diamond" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartOpenArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart = "open-arrow" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartClosedArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart = "closed-arrow" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartButt DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart = "butt" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartROpenArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart = "r-open-arrow" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartRClosedArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart = "r-closed-arrow" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartSlash DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart = "slash" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart, error) { - switch s { - case "none": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartNone, nil - case "square": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartSquare, nil - case "circle": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartCircle, nil - case "diamond": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartDiamond, nil - case "open-arrow": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartOpenArrow, nil - case "closed-arrow": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartClosedArrow, nil - case "butt": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartButt, nil - case "r-open-arrow": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartROpenArrow, nil - case "r-closed-arrow": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartRClosedArrow, nil - case "slash": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStartSlash, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLineEndingsStart { - return &d -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsFieldStart = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsFieldEnd = big.NewInt(1 << 1) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints struct { - Start *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart `json:"start" url:"start"` - End *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd `json:"end" url:"end"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints) GetStart() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart { - if d == nil { - return nil - } - return d.Start -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints) GetEnd() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd { - if d == nil { - return nil - } - return d.End -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetStart sets the Start field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints) SetStart(start *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart) { - d.Start = start - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsFieldStart) -} - -// SetEnd sets the End field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints) SetEnd(end *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd) { - d.End = end - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsFieldEnd) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePoints) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEndFieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEndFieldY = big.NewInt(1 << 1) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd) GetX() float64 { - if d == nil { - return 0 - } - return d.X -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd) GetY() float64 { - if d == nil { - return 0 - } - return d.Y -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetX sets the X field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd) SetX(x float64) { - d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEndFieldX) -} - -// SetY sets the Y field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd) SetY(y float64) { - d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEndFieldY) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsEnd) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStartFieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStartFieldY = big.NewInt(1 << 1) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart) GetX() float64 { - if d == nil { - return 0 - } - return d.X -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart) GetY() float64 { - if d == nil { - return 0 - } - return d.Y -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetX sets the X field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart) SetX(x float64) { - d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStartFieldX) -} - -// SetY sets the Y field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart) SetY(y float64) { - d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStartFieldY) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) SetB(b int) { + d.B = b + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColorFieldB) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -73301,8 +80509,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsS return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor var marshaler = struct { embed }{ @@ -73312,7 +80520,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsS return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsStart) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) String() string { if d == nil { return "" } @@ -73328,13 +80536,13 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineLinePointsS } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRectFieldTop = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -73347,42 +80555,42 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) GetLeft() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) GetBottom() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -73391,39 +80599,39 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) requi // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) SetLeft(left float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRectFieldLeft) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) SetBottom(bottom float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRectFieldBottom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) SetRight(right float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRectFieldRight) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) SetTop(top float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRectFieldTop) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRectFieldTop) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -73433,8 +80641,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) Unmar return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect var marshaler = struct { embed }{ @@ -73444,7 +80652,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) String() string { if d == nil { return "" } @@ -73459,44 +80667,44 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRect) Strin return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -73509,19 +80717,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) Unmars } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -73531,7 +80739,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) Unmars return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -73550,13 +80758,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) Marshal return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -73569,7 +80777,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) Accept return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -73610,15 +80818,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRef) valida } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -73627,35 +80835,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex struct rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -73664,32 +80872,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) r // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -73699,8 +80907,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) U return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex var marshaler = struct { embed }{ @@ -73710,7 +80918,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) M return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) String() string { if d == nil { return "" } @@ -73726,12 +80934,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndex) S } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -73743,35 +80951,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevisio rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -73780,32 +80988,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRev // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -73815,8 +81023,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRev return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision var marshaler = struct { embed }{ @@ -73826,7 +81034,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRev return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) String() string { if d == nil { return "" } @@ -73842,11 +81050,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefIndexRev } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -73857,28 +81065,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -73887,25 +81095,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) requ // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -73915,8 +81123,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) Unma return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm var marshaler = struct { embed }{ @@ -73926,7 +81134,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) Mars return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) String() string { if d == nil { return "" } @@ -73942,11 +81150,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefNm) Stri } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -73957,28 +81165,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -73987,25 +81195,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNu // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -74015,8 +81223,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNu return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber var marshaler = struct { embed }{ @@ -74026,7 +81234,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNu return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber) String() string { if d == nil { return "" } @@ -74041,74 +81249,36 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineRefObjectNu return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyType string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyType string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyType = "reply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyType = "group" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyType = "reply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyType = "group" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyType, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyType, error) { switch s { case "reply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyTypeReply, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyTypeReply, nil case "group": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyTypeGroup, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyTypeGroup, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyType + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineReplyType { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyType { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldRef = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldIndex = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldNm = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldFlags = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldRect = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldContents = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldSubject = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldAuthor = big.NewInt(1 << 9) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldCreated = big.NewInt(1 << 10) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldModified = big.NewInt(1 << 11) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldReplyType = big.NewInt(1 << 14) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldUserID = big.NewInt(1 << 15) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldGroupID = big.NewInt(1 << 16) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldActions = big.NewInt(1 << 19) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldTarget = big.NewInt(1 << 20) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItemFieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItemFieldY = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink struct { - Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Target *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget `json:"target,omitempty" url:"target,omitempty"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -74117,161 +81287,371 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem) GetX() float64 { + if d == nil { + return 0 + } + return d.X +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem) GetY() float64 { + if d == nil { + return 0 + } + return d.Y +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetX sets the X field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem) SetX(x float64) { + d.X = x + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItemFieldX) +} + +// SetY sets the Y field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem) SetY(y float64) { + d.Y = y + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItemFieldY) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldRef = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldIndex = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldNm = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldFlags = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldRect = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldContents = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldSubject = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldAuthor = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldCreated = big.NewInt(1 << 10) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldModified = big.NewInt(1 << 11) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldReplyType = big.NewInt(1 << 14) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldUserID = big.NewInt(1 << 15) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldGroupID = big.NewInt(1 << 16) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldActions = big.NewInt(1 << 19) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldColor = big.NewInt(1 << 20) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldOpacity = big.NewInt(1 << 21) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldStrokeWidth = big.NewInt(1 << 22) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldBorderStyle = big.NewInt(1 << 23) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldDashArray = big.NewInt(1 << 24) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldInteriorColor = big.NewInt(1 << 25) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldVertices = big.NewInt(1 << 26) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldRotation = big.NewInt(1 << 27) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldLineEndings = big.NewInt(1 << 28) +) + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline struct { + Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` + BorderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle `json:"borderStyle" url:"borderStyle"` + DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` + InteriorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` + Vertices []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem `json:"vertices" url:"vertices"` + Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` + LineEndings *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings `json:"lineEndings" url:"lineEndings"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQuality { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetNm() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetContents() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetSubject() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetAuthor() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetCreated() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetModified() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyType { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetUserID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetGroupID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetCreatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetUpdatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetTarget() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor { if d == nil { return nil } - return d.Target + return d.Color } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetOpacity() float64 { + if d == nil { + return 0 + } + return d.Opacity +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetStrokeWidth() float64 { + if d == nil { + return 0 + } + return d.StrokeWidth +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetBorderStyle() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle { + if d == nil { + return "" + } + return d.BorderStyle +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetDashArray() []float64 { + if d == nil { + return nil + } + return d.DashArray +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetInteriorColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor { + if d == nil { + return nil + } + return d.InteriorColor +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetVertices() []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem { + if d == nil { + return nil + } + return d.Vertices +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetRotation() *float64 { + if d == nil { + return nil + } + return d.Rotation +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetLineEndings() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings { + if d == nil { + return nil + } + return d.LineEndings +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -74280,153 +81660,209 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) require(f // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) { d.Ref = ref - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldRef) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQuality) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldIdentityQuality) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetNm(nm *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) { d.Flags = flags - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldFlags) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) { d.Rect = rect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldRect) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetContents(contents *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetSubject(subject *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldSubject) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetAuthor(author *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldAuthor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetCreated(created *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldCreated) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetModified(modified *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldModified) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldBlendMode) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldInReplyTo) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyType) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyType) { d.ReplyType = replyType - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldReplyType) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetUserID(userID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldUserID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetGroupID(groupID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldGroupID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldCreatedBy) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldUpdatedBy) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldActions) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldActions) } -// SetTarget sets the Target field and marks it as non-optional; +// SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) SetTarget(target *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) { - d.Target = target - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFieldTarget) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) { + d.Color = color + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldColor) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink +// SetOpacity sets the Opacity field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetOpacity(opacity float64) { + d.Opacity = opacity + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldOpacity) +} + +// SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetStrokeWidth(strokeWidth float64) { + d.StrokeWidth = strokeWidth + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldStrokeWidth) +} + +// SetBorderStyle sets the BorderStyle field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetBorderStyle(borderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle) { + d.BorderStyle = borderStyle + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldBorderStyle) +} + +// SetDashArray sets the DashArray field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetDashArray(dashArray []float64) { + d.DashArray = dashArray + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldDashArray) +} + +// SetInteriorColor sets the InteriorColor field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetInteriorColor(interiorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) { + d.InteriorColor = interiorColor + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldInteriorColor) +} + +// SetVertices sets the Vertices field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetVertices(vertices []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem) { + d.Vertices = vertices + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldVertices) +} + +// SetRotation sets the Rotation field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetRotation(rotation *float64) { + d.Rotation = rotation + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldRotation) +} + +// SetLineEndings sets the LineEndings field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetLineEndings(lineEndings *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings) { + d.LineEndings = lineEndings + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldLineEndings) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -74437,7 +81873,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) Unmarshal if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink(unmarshaler.embed) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -74449,8 +81885,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) Unmarshal return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -74464,7 +81900,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) MarshalJS return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) String() string { if d == nil { return "" } @@ -74479,84 +81915,228 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLink) String() return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "normal" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "multiply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "screen" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "overlay" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "darken" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "lighten" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "color-dodge" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "color-burn" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "hard-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "soft-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "difference" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "exclusion" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "hue" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "saturation" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "color" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode = "luminosity" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "normal" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "multiply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "screen" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "overlay" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "darken" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "lighten" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "color-dodge" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "color-burn" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "hard-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "soft-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "difference" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "exclusion" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "hue" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "saturation" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "color" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "luminosity" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode, error) { switch s { case "normal": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeNormal, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeNormal, nil case "multiply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeMultiply, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeMultiply, nil case "screen": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeScreen, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeScreen, nil case "overlay": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeOverlay, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeOverlay, nil case "darken": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeDarken, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeDarken, nil case "lighten": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeLighten, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeLighten, nil case "color-dodge": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeColorDodge, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeColorBurn, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeHardLight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeHardLight, nil case "soft-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeSoftLight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeSoftLight, nil case "difference": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeDifference, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeDifference, nil case "exclusion": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeExclusion, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeExclusion, nil case "hue": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeHue, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeHue, nil case "saturation": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeSaturation, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeSaturation, nil case "color": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeColor, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeColor, nil case "luminosity": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendModeLuminosity, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeLuminosity, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkBlendMode { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode { + return &d +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyleSolid DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle = "solid" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyleDashed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle = "dashed" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyleBeveled DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle = "beveled" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyleInset DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle = "inset" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyleFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle, error) { + switch s { + case "solid": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyleSolid, nil + case "dashed": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyleDashed, nil + case "beveled": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyleBeveled, nil + case "inset": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyleInset, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) GetR() int { + if d == nil { + return 0 + } + return d.R +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) GetG() int { + if d == nil { + return 0 + } + return d.G +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) GetB() int { + if d == nil { + return 0 + } + return d.B +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetR sets the R field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) SetR(r int) { + d.R = r + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColorFieldR) +} + +// SetG sets the G field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) SetG(g int) { + d.G = g + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColorFieldG) +} + +// SetB sets the B field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) SetB(b int) { + d.B = b + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColorFieldB) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldLockedContents = big.NewInt(1 << 9) +) + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -74575,84 +82155,84 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) GetInvisible() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) GetHidden() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) GetPrint() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) GetNoZoom() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) GetNoRotate() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) GetNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) GetReadOnly() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) GetLocked() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) GetToggleNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) GetLockedContents() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -74661,81 +82241,81 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) requ // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldInvisible) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldHidden) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) SetPrint(print bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldPrint) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldNoZoom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldNoRotate) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) SetNoView(noView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldReadOnly) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) SetLocked(locked bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldLocked) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldToggleNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlagsFieldLockedContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldLockedContents) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -74745,8 +82325,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) Unma return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags var marshaler = struct { embed }{ @@ -74756,7 +82336,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) Mars return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) String() string { if d == nil { return "" } @@ -74771,66 +82351,66 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkFlags) Stri return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQuality string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQuality string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQuality = "durable" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQuality = "weak" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQuality = "durable" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQuality = "weak" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQuality, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQualityDurable, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQualityDurable, nil case "weak": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQualityWeak, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQualityWeak, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQuality + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkIdentityQuality { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQuality { return &d } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -74843,19 +82423,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -74865,7 +82445,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -74884,13 +82464,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) M return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -74903,7 +82483,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -74944,15 +82524,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyTo) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -74961,35 +82541,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -74998,32 +82578,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIn // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -75033,8 +82613,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIn return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex var marshaler = struct { embed }{ @@ -75044,7 +82624,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIn return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) String() string { if d == nil { return "" } @@ -75060,12 +82640,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIn } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -75077,35 +82657,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexR rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -75114,32 +82694,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIn // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -75149,8 +82729,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIn return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision var marshaler = struct { embed }{ @@ -75160,7 +82740,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIn return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -75176,11 +82756,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToIn } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -75191,28 +82771,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm str rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -75221,25 +82801,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -75249,8 +82829,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm var marshaler = struct { embed }{ @@ -75260,7 +82840,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm) String() string { if d == nil { return "" } @@ -75276,11 +82856,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToNm } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -75291,28 +82871,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObject rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -75321,25 +82901,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToOb // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -75349,8 +82929,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToOb return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber var marshaler = struct { embed }{ @@ -75360,7 +82940,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToOb return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -75376,17 +82956,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkInReplyToOb } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRectFieldTop = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect struct { - Left float64 `json:"left" url:"left"` - Bottom float64 `json:"bottom" url:"bottom"` - Right float64 `json:"right" url:"right"` - Top float64 `json:"top" url:"top"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -75395,83 +82973,69 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) GetLeft() float64 { - if d == nil { - return 0 - } - return d.Left -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) GetBottom() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) GetR() int { if d == nil { return 0 } - return d.Bottom + return d.R } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) GetG() int { if d == nil { return 0 } - return d.Right + return d.G } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) GetB() int { if d == nil { return 0 } - return d.Top + return d.B } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetLeft sets the Left field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRectFieldLeft) -} - -// SetBottom sets the Bottom field and marks it as non-optional; +// SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRectFieldBottom) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) SetR(r int) { + d.R = r + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColorFieldR) } -// SetRight sets the Right field and marks it as non-optional; +// SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRectFieldRight) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) SetG(g int) { + d.G = g + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColorFieldG) } -// SetTop sets the Top field and marks it as non-optional; +// SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRectFieldTop) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) SetB(b int) { + d.B = b + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColorFieldB) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -75481,8 +83045,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) Unmar return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor var marshaler = struct { embed }{ @@ -75492,7 +83056,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) String() string { if d == nil { return "" } @@ -75507,166 +83071,14 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRect) Strin return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef struct { - Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex - - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef) GetKind() string { - if d == nil { - return "" - } - return d.Kind -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber { - if d == nil { - return nil - } - return d.ObjectNumber -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm { - if d == nil { - return nil - } - return d.Nm -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex { - if d == nil { - return nil - } - return d.Index -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef) UnmarshalJSON(data []byte) error { - var unmarshaler struct { - Kind string `json:"kind"` - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { - return err - } - d.Kind = unmarshaler.Kind - if unmarshaler.Kind == "" { - return fmt.Errorf("%T did not include discriminant kind", d) - } - switch unmarshaler.Kind { - case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.ObjectNumber = value - case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Nm = value - case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Index = value - } - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef) MarshalJSON() ([]byte, error) { - if err := d.validate(); err != nil { - return nil, err - } - if d.ObjectNumber != nil { - return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") - } - if d.Nm != nil { - return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") - } - if d.Index != nil { - return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") - } - if len(d.rawJSON) > 0 { - return d.rawJSON, nil - } - return nil, fmt.Errorf("type %T does not define a non-empty union type", d) -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) error -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefVisitor) error { - if d.ObjectNumber != nil { - return visitor.VisitObjectNumber(d.ObjectNumber) - } - if d.Nm != nil { - return visitor.VisitNm(d.Nm) - } - if d.Index != nil { - return visitor.VisitIndex(d.Index) - } - return fmt.Errorf("type %T does not define a non-empty union type", d) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRef) validate() error { - if d == nil { - return fmt.Errorf("type %T is nil", d) - } - var fields []string - if d.ObjectNumber != nil { - fields = append(fields, "objectNumber") - } - if d.Nm != nil { - fields = append(fields, "nm") - } - if d.Index != nil { - fields = append(fields, "index") - } - if len(fields) == 0 { - if d.Kind != "" { - if len(d.rawJSON) > 0 { - return nil - } - return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) - } - return fmt.Errorf("type %T is empty", d) - } - if len(fields) > 1 { - return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) - } - if d.Kind != "" { - field := fields[0] - if d.Kind != field { - return fmt.Errorf( - "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", - d, - d.Kind, - d, - ) - } - } - return nil -} - var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsFieldStart = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsFieldEnd = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings struct { + Start DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart `json:"start" url:"start"` + End DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd `json:"end" url:"end"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -75675,69 +83087,55 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex struct rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings) GetStart() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart { if d == nil { - return 0 + return "" } - return d.Index + return d.Start } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings) GetEnd() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd { if d == nil { - return nil + return "" } - return d.Revision + return d.End } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexFieldPageObjectNumber) -} - -// SetIndex sets the Index field and marks it as non-optional; +// SetStart sets the Start field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) SetIndex(index int) { - d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexFieldIndex) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings) SetStart(start DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart) { + d.Start = start + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsFieldStart) } -// SetRevision sets the Revision field and marks it as non-optional; +// SetEnd sets the End field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) { - d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexFieldRevision) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings) SetEnd(end DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd) { + d.End = end + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsFieldEnd) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -75747,8 +83145,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) U return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings var marshaler = struct { embed }{ @@ -75758,7 +83156,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) M return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings) String() string { if d == nil { return "" } @@ -75773,130 +83171,110 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndex) S return fmt.Sprintf("%#v", d) } -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision struct { - DocSessionID string `json:"docSessionId" url:"docSessionId"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Generation int `json:"generation" url:"generation"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) GetDocSessionID() string { - if d == nil { - return "" - } - return d.DocSessionID -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) GetGeneration() int { - if d == nil { - return 0 - } - return d.Generation -} +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd string -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndNone DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd = "none" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndSquare DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd = "square" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndCircle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd = "circle" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndDiamond DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd = "diamond" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndOpenArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd = "open-arrow" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndClosedArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd = "closed-arrow" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndButt DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd = "butt" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndROpenArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd = "r-open-arrow" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndRClosedArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd = "r-closed-arrow" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndSlash DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd = "slash" +) -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd, error) { + switch s { + case "none": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndNone, nil + case "square": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndSquare, nil + case "circle": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndCircle, nil + case "diamond": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndDiamond, nil + case "open-arrow": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndOpenArrow, nil + case "closed-arrow": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndClosedArrow, nil + case "butt": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndButt, nil + case "r-open-arrow": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndROpenArrow, nil + case "r-closed-arrow": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndRClosedArrow, nil + case "slash": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndSlash, nil } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetDocSessionID sets the DocSessionID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) SetDocSessionID(docSessionID string) { - d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevisionFieldDocSessionID) + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd + return "", fmt.Errorf("%s is not a valid %T", s, t) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevisionFieldPageObjectNumber) +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd { + return &d } -// SetGeneration sets the Generation field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) SetGeneration(generation int) { - d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevisionFieldGeneration) -} +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart string -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartNone DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart = "none" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartSquare DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart = "square" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartCircle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart = "circle" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartDiamond DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart = "diamond" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartOpenArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart = "open-arrow" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartClosedArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart = "closed-arrow" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartButt DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart = "butt" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartROpenArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart = "r-open-arrow" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartRClosedArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart = "r-closed-arrow" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartSlash DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart = "slash" +) -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision - var marshaler = struct { - embed - }{ - embed: embed(*d), +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart, error) { + switch s { + case "none": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartNone, nil + case "square": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartSquare, nil + case "circle": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartCircle, nil + case "diamond": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartDiamond, nil + case "open-arrow": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartOpenArrow, nil + case "closed-arrow": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartClosedArrow, nil + case "butt": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartButt, nil + case "r-open-arrow": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartROpenArrow, nil + case "r-closed-arrow": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartRClosedArrow, nil + case "slash": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartSlash, nil } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart + return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefIndexRevision) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart { + return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Nm string `json:"nm" url:"nm"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect struct { + Left float64 `json:"left" url:"left"` + Bottom float64 `json:"bottom" url:"bottom"` + Right float64 `json:"right" url:"right"` + Top float64 `json:"top" url:"top"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -75905,155 +83283,83 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) GetLeft() float64 { if d == nil { return 0 } - return d.PageObjectNumber -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm) GetNm() string { - if d == nil { - return "" - } - return d.Nm -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNmFieldPageObjectNumber) -} - -// SetNm sets the Nm field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm) SetNm(nm string) { - d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNmFieldNm) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + return d.Left } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) GetBottom() float64 { if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value + return 0 } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage + return d.Bottom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) GetRight() float64 { if d == nil { return 0 } - return d.PageObjectNumber + return d.Right } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) GetTop() float64 { if d == nil { return 0 } - return d.AnnotObjectNumber + return d.Top } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumberFieldPageObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRectFieldLeft) } -// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { - d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumberFieldAnnotObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRectFieldBottom) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber +// SetRight sets the Right field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRectFieldRight) +} + +// SetTop sets the Top field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRectFieldTop) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -76063,8 +83369,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNu return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect var marshaler = struct { embed }{ @@ -76074,7 +83380,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNu return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) String() string { if d == nil { return "" } @@ -76089,98 +83395,44 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkRefObjectNu return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyType string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyType = "reply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyType = "group" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyType, error) { - switch s { - case "reply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyTypeReply, nil - case "group": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyTypeGroup, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyType - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkReplyType { - return &d -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget struct { - Kind string - Goto *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto - URI *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI - GotoRemote *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote - Launch *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch - Javascript *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript - Named *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed - Unsupported *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef struct { + Kind string + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) GetGoto() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto { - if d == nil { - return nil - } - return d.Goto -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) GetURI() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI { - if d == nil { - return nil - } - return d.URI -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) GetGotoRemote() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote { - if d == nil { - return nil - } - return d.GotoRemote -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) GetLaunch() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch { - if d == nil { - return nil - } - return d.Launch -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) GetJavascript() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber { if d == nil { return nil } - return d.Javascript + return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) GetNamed() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm { if d == nil { return nil } - return d.Named + return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) GetUnsupported() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex { if d == nil { return nil } - return d.Unsupported + return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -76192,77 +83444,41 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) Unm return fmt.Errorf("%T did not include discriminant kind", d) } switch unmarshaler.Kind { - case "goto": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Goto = value - case "uri": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.URI = value - case "goto-remote": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.GotoRemote = value - case "launch": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Launch = value - case "javascript": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript) + case "objectNumber": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Javascript = value - case "named": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed) + d.ObjectNumber = value + case "nm": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Named = value - case "unsupported": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported) + d.Nm = value + case "index": + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Unsupported = value + d.Index = value } d.rawJSON = json.RawMessage(data) return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { - return nil, err - } - if d.Goto != nil { - return internal.MarshalJSONWithExtraProperty(d.Goto, "kind", "goto") - } - if d.URI != nil { - return internal.MarshalJSONWithExtraProperty(d.URI, "kind", "uri") - } - if d.GotoRemote != nil { - return internal.MarshalJSONWithExtraProperty(d.GotoRemote, "kind", "goto-remote") - } - if d.Launch != nil { - return internal.MarshalJSONWithExtraProperty(d.Launch, "kind", "launch") + return nil, err } - if d.Javascript != nil { - return internal.MarshalJSONWithExtraProperty(d.Javascript, "kind", "javascript") + if d.ObjectNumber != nil { + return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") } - if d.Named != nil { - return internal.MarshalJSONWithExtraProperty(d.Named, "kind", "named") + if d.Nm != nil { + return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") } - if d.Unsupported != nil { - return internal.MarshalJSONWithExtraProperty(d.Unsupported, "kind", "unsupported") + if d.Index != nil { + return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") } if len(d.rawJSON) > 0 { return d.rawJSON, nil @@ -76270,66 +83486,38 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) Mars return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetVisitor interface { - VisitGoto(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto) error - VisitURI(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI) error - VisitGotoRemote(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote) error - VisitLaunch(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch) error - VisitJavascript(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript) error - VisitNamed(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed) error - VisitUnsupported(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetVisitor) error { - if d.Goto != nil { - return visitor.VisitGoto(d.Goto) - } - if d.URI != nil { - return visitor.VisitURI(d.URI) - } - if d.GotoRemote != nil { - return visitor.VisitGotoRemote(d.GotoRemote) - } - if d.Launch != nil { - return visitor.VisitLaunch(d.Launch) - } - if d.Javascript != nil { - return visitor.VisitJavascript(d.Javascript) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefVisitor) error { + if d.ObjectNumber != nil { + return visitor.VisitObjectNumber(d.ObjectNumber) } - if d.Named != nil { - return visitor.VisitNamed(d.Named) + if d.Nm != nil { + return visitor.VisitNm(d.Nm) } - if d.Unsupported != nil { - return visitor.VisitUnsupported(d.Unsupported) + if d.Index != nil { + return visitor.VisitIndex(d.Index) } return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } var fields []string - if d.Goto != nil { - fields = append(fields, "goto") - } - if d.URI != nil { - fields = append(fields, "uri") - } - if d.GotoRemote != nil { - fields = append(fields, "goto-remote") - } - if d.Launch != nil { - fields = append(fields, "launch") - } - if d.Javascript != nil { - fields = append(fields, "javascript") + if d.ObjectNumber != nil { + fields = append(fields, "objectNumber") } - if d.Named != nil { - fields = append(fields, "named") + if d.Nm != nil { + fields = append(fields, "nm") } - if d.Unsupported != nil { - fields = append(fields, "unsupported") + if d.Index != nil { + fields = append(fields, "index") } if len(fields) == 0 { if d.Kind != "" { @@ -76358,11 +83546,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTarget) val } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoFieldDestination = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto struct { - Destination *PdfDestination `json:"destination" url:"destination"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -76371,41 +83563,69 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto stru rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto) GetDestination() *PdfDestination { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) GetIndex() int { + if d == nil { + return 0 + } + return d.Index +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision { if d == nil { return nil } - return d.Destination + return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetDestination sets the Destination field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto) SetDestination(destination *PdfDestination) { - d.Destination = destination - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoFieldDestination) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexFieldPageObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto +// SetIndex sets the Index field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) SetIndex(index int) { + d.Index = index + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexFieldIndex) +} + +// SetRevision sets the Revision field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) { + d.Revision = revision + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexFieldRevision) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -76415,8 +83635,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex var marshaler = struct { embed }{ @@ -76426,7 +83646,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) String() string { if d == nil { return "" } @@ -76442,11 +83662,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGoto) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemoteFieldFile = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote struct { - File string `json:"file" url:"file"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision struct { + DocSessionID string `json:"docSessionId" url:"docSessionId"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Generation int `json:"generation" url:"generation"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -76455,106 +83679,69 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemot rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote) GetFile() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } - return d.File + return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) GetPageObjectNumber() int { if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetFile sets the File field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote) SetFile(file string) { - d.File = file - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemoteFieldFile) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote - var marshaler = struct { - embed - }{ - embed: embed(*d), + return 0 } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetGotoRemote) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) GetGeneration() int { if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value + return 0 } - return fmt.Sprintf("%#v", d) -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript struct { - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage + return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevisionFieldDocSessionID) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevisionFieldPageObjectNumber) +} + +// SetGeneration sets the Generation field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevisionFieldGeneration) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -76564,8 +83751,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavas return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision var marshaler = struct { embed }{ @@ -76575,7 +83762,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavas return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavascript) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) String() string { if d == nil { return "" } @@ -76591,11 +83778,13 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetJavas } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunchFieldPath = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch struct { - Path string `json:"path" url:"path"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Nm string `json:"nm" url:"nm"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -76604,41 +83793,55 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch st rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch) GetPath() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) GetNm() string { if d == nil { return "" } - return d.Path + return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPath sets the Path field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch) SetPath(path string) { - d.Path = path - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunchFieldPath) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNmFieldPageObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch +// SetNm sets the Nm field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) SetNm(nm string) { + d.Nm = nm + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNmFieldNm) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -76648,8 +83851,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunc return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm var marshaler = struct { embed }{ @@ -76659,7 +83862,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunc return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunch) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) String() string { if d == nil { return "" } @@ -76675,11 +83878,13 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetLaunc } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamedFieldName = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed struct { - Name string `json:"name" url:"name"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -76688,41 +83893,55 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed str rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed) GetName() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber) GetPageObjectNumber() int { if d == nil { - return "" + return 0 } - return d.Name + return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber) GetAnnotObjectNumber() int { + if d == nil { + return 0 + } + return d.AnnotObjectNumber +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetName sets the Name field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed) SetName(name string) { - d.Name = name - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamedFieldName) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumberFieldPageObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed +// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { + d.AnnotObjectNumber = annotObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumberFieldAnnotObjectNumber) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -76732,8 +83951,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber var marshaler = struct { embed }{ @@ -76743,7 +83962,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber) String() string { if d == nil { return "" } @@ -76758,77 +83977,36 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetNamed return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported struct { - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyType string -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyType = "reply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyType = "group" +) -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported - var marshaler = struct { - embed - }{ - embed: embed(*d), +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyType, error) { + switch s { + case "reply": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyTypeReply, nil + case "group": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyTypeGroup, nil } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyType + return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetUnsupported) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyType { + return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURIFieldURI = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItemFieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItemFieldY = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI struct { - URI string `json:"uri" url:"uri"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -76837,41 +84015,55 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI struc rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI) GetURI() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem) GetX() float64 { if d == nil { - return "" + return 0 } - return d.URI + return d.X } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem) GetY() float64 { + if d == nil { + return 0 + } + return d.Y +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetURI sets the URI field and marks it as non-optional; +// SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI) SetURI(uri string) { - d.URI = uri - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURIFieldURI) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem) SetX(x float64) { + d.X = x + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItemFieldX) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI +// SetY sets the Y field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem) SetY(y float64) { + d.Y = y + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItemFieldY) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -76881,8 +84073,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem var marshaler = struct { embed }{ @@ -76892,7 +84084,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem) String() string { if d == nil { return "" } @@ -76908,67 +84100,69 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLinkTargetURI) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldRef = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldIndex = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldNm = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldFlags = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldRect = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldContents = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldSubject = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldAuthor = big.NewInt(1 << 9) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldCreated = big.NewInt(1 << 10) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldModified = big.NewInt(1 << 11) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldReplyType = big.NewInt(1 << 14) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldUserID = big.NewInt(1 << 15) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldGroupID = big.NewInt(1 << 16) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldActions = big.NewInt(1 << 19) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldColor = big.NewInt(1 << 20) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldOpacity = big.NewInt(1 << 21) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldStrokeWidth = big.NewInt(1 << 22) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldBorderStyle = big.NewInt(1 << 23) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldDashArray = big.NewInt(1 << 24) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldInteriorColor = big.NewInt(1 << 25) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldVertices = big.NewInt(1 << 26) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldRotation = big.NewInt(1 << 27) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldCloudyIntensity = big.NewInt(1 << 28) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldRef = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldIndex = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldNm = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldFlags = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldRect = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldContents = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldSubject = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldAuthor = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldCreated = big.NewInt(1 << 10) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldModified = big.NewInt(1 << 11) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldReplyType = big.NewInt(1 << 14) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldUserID = big.NewInt(1 << 15) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldGroupID = big.NewInt(1 << 16) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldActions = big.NewInt(1 << 19) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldQuadPoints = big.NewInt(1 << 20) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldColor = big.NewInt(1 << 21) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldOpacity = big.NewInt(1 << 22) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldInteriorColor = big.NewInt(1 << 23) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldOverlayText = big.NewInt(1 << 24) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldRepeat = big.NewInt(1 << 25) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldFontFamily = big.NewInt(1 << 26) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldFontSize = big.NewInt(1 << 27) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldFontColor = big.NewInt(1 << 28) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldTextAlign = big.NewInt(1 << 29) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon struct { - Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` - BorderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle `json:"borderStyle" url:"borderStyle"` - DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` - InteriorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` - Vertices []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem `json:"vertices" url:"vertices"` - Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` - CloudyIntensity *float64 `json:"cloudyIntensity,omitempty" url:"cloudyIntensity,omitempty"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact struct { + Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + QuadPoints []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem `json:"quadPoints" url:"quadPoints"` + Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + InteriorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` + OverlayText *string `json:"overlayText,omitempty" url:"overlayText,omitempty"` + Repeat bool `json:"repeat" url:"repeat"` + FontFamily DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily `json:"fontFamily" url:"fontFamily"` + FontSize float64 `json:"fontSize" url:"fontSize"` + FontColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor `json:"fontColor" url:"fontColor"` + TextAlign DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign `json:"textAlign" url:"textAlign"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -76977,217 +84171,224 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQuality { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetNm() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetContents() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetSubject() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetAuthor() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetCreated() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetModified() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyType { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetUserID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetGroupID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetCreatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetUpdatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetQuadPoints() []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem { + if d == nil { + return nil + } + return d.QuadPoints +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor { if d == nil { return nil } return d.Color } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetOpacity() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetOpacity() float64 { if d == nil { return 0 } return d.Opacity } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetStrokeWidth() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetInteriorColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor { if d == nil { - return 0 + return nil } - return d.StrokeWidth + return d.InteriorColor } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetBorderStyle() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetOverlayText() *string { if d == nil { - return "" + return nil } - return d.BorderStyle + return d.OverlayText } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetDashArray() []float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetRepeat() bool { if d == nil { - return nil + return false } - return d.DashArray + return d.Repeat } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetInteriorColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetFontFamily() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily { if d == nil { - return nil + return "" } - return d.InteriorColor + return d.FontFamily } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetVertices() []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetFontSize() float64 { if d == nil { - return nil + return 0 } - return d.Vertices + return d.FontSize } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetRotation() *float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetFontColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor { if d == nil { return nil } - return d.Rotation + return d.FontColor } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetCloudyIntensity() *float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetTextAlign() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign { if d == nil { - return nil + return "" } - return d.CloudyIntensity + return d.TextAlign } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -77196,209 +84397,216 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) requir // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) { d.Ref = ref - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldRef) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQuality) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldIdentityQuality) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetNm(nm *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) { d.Flags = flags - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldFlags) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) { d.Rect = rect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldRect) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetContents(contents *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetSubject(subject *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldSubject) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetAuthor(author *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldAuthor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetCreated(created *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldCreated) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetModified(modified *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldModified) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldBlendMode) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldInReplyTo) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyType) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyType) { d.ReplyType = replyType - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldReplyType) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetUserID(userID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldUserID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetGroupID(groupID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldGroupID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldCreatedBy) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldUpdatedBy) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldActions) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldActions) +} + +// SetQuadPoints sets the QuadPoints field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetQuadPoints(quadPoints []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) { + d.QuadPoints = quadPoints + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldQuadPoints) } // SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) { d.Color = color - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldColor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldColor) } // SetOpacity sets the Opacity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetOpacity(opacity float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetOpacity(opacity float64) { d.Opacity = opacity - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldOpacity) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldOpacity) } -// SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; +// SetInteriorColor sets the InteriorColor field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetStrokeWidth(strokeWidth float64) { - d.StrokeWidth = strokeWidth - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldStrokeWidth) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetInteriorColor(interiorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) { + d.InteriorColor = interiorColor + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldInteriorColor) } -// SetBorderStyle sets the BorderStyle field and marks it as non-optional; +// SetOverlayText sets the OverlayText field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetBorderStyle(borderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle) { - d.BorderStyle = borderStyle - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldBorderStyle) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetOverlayText(overlayText *string) { + d.OverlayText = overlayText + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldOverlayText) } -// SetDashArray sets the DashArray field and marks it as non-optional; +// SetRepeat sets the Repeat field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetDashArray(dashArray []float64) { - d.DashArray = dashArray - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldDashArray) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetRepeat(repeat bool) { + d.Repeat = repeat + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldRepeat) } -// SetInteriorColor sets the InteriorColor field and marks it as non-optional; +// SetFontFamily sets the FontFamily field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetInteriorColor(interiorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) { - d.InteriorColor = interiorColor - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldInteriorColor) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetFontFamily(fontFamily DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily) { + d.FontFamily = fontFamily + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldFontFamily) } -// SetVertices sets the Vertices field and marks it as non-optional; +// SetFontSize sets the FontSize field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetVertices(vertices []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem) { - d.Vertices = vertices - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldVertices) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetFontSize(fontSize float64) { + d.FontSize = fontSize + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldFontSize) } -// SetRotation sets the Rotation field and marks it as non-optional; +// SetFontColor sets the FontColor field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetRotation(rotation *float64) { - d.Rotation = rotation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldRotation) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetFontColor(fontColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) { + d.FontColor = fontColor + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldFontColor) } -// SetCloudyIntensity sets the CloudyIntensity field and marks it as non-optional; +// SetTextAlign sets the TextAlign field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) SetCloudyIntensity(cloudyIntensity *float64) { - d.CloudyIntensity = cloudyIntensity - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFieldCloudyIntensity) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetTextAlign(textAlign DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign) { + d.TextAlign = textAlign + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldTextAlign) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -77409,7 +84617,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) Unmars if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon(unmarshaler.embed) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -77421,8 +84629,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) Unmars return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -77436,7 +84644,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) String() string { if d == nil { return "" } @@ -77451,105 +84659,77 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygon) String return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "normal" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "multiply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "screen" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "overlay" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "darken" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "lighten" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "color-dodge" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "color-burn" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "hard-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "soft-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "difference" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "exclusion" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "hue" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "saturation" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "color" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode = "luminosity" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "normal" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "multiply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "screen" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "overlay" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "darken" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "lighten" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "color-dodge" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "color-burn" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "hard-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "soft-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "difference" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "exclusion" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "hue" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "saturation" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "color" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "luminosity" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode, error) { switch s { case "normal": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeNormal, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeNormal, nil case "multiply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeMultiply, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeMultiply, nil case "screen": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeScreen, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeScreen, nil case "overlay": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeOverlay, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeOverlay, nil case "darken": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeDarken, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeDarken, nil case "lighten": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeLighten, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeLighten, nil case "color-dodge": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeColorDodge, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeColorBurn, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeHardLight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeHardLight, nil case "soft-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeSoftLight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeSoftLight, nil case "difference": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeDifference, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeDifference, nil case "exclusion": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeExclusion, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeExclusion, nil case "hue": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeHue, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeHue, nil case "saturation": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeSaturation, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeSaturation, nil case "color": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeColor, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeColor, nil case "luminosity": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendModeLuminosity, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBlendMode { - return &d -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyleSolid DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle = "solid" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyleDashed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle = "dashed" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyleBeveled DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle = "beveled" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyleInset DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle = "inset" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyleFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle, error) { - switch s { - case "solid": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyleSolid, nil - case "dashed": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyleDashed, nil - case "beveled": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyleBeveled, nil - case "inset": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyleInset, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeLuminosity, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonBorderStyle { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColorFieldB = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -77561,35 +84741,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor struct rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) GetR() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) GetG() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) GetB() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -77598,32 +84778,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) r // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) SetR(r int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) SetR(r int) { d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColorFieldR) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) SetG(g int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) SetG(g int) { d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColorFieldG) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) SetB(b int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) SetB(b int) { d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColorFieldB) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColorFieldB) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -77633,8 +84813,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) U return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor var marshaler = struct { embed }{ @@ -77644,7 +84824,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) M return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) String() string { if d == nil { return "" } @@ -77660,19 +84840,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonColor) S } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -77691,84 +84871,84 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags struct rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) GetInvisible() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) GetHidden() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) GetPrint() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) GetNoZoom() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) GetNoRotate() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) GetNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) GetReadOnly() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) GetLocked() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) GetToggleNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) GetLockedContents() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -77777,81 +84957,81 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) r // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldInvisible) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldHidden) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) SetPrint(print bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldPrint) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldNoZoom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldNoRotate) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) SetNoView(noView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldReadOnly) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) SetLocked(locked bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldLocked) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldToggleNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlagsFieldLockedContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldLockedContents) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -77861,8 +85041,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) U return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags var marshaler = struct { embed }{ @@ -77872,7 +85052,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) M return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) String() string { if d == nil { return "" } @@ -77887,66 +85067,240 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonFlags) S return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQuality string +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColorFieldB = big.NewInt(1 << 2) +) + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) GetR() int { + if d == nil { + return 0 + } + return d.R +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) GetG() int { + if d == nil { + return 0 + } + return d.G +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) GetB() int { + if d == nil { + return 0 + } + return d.B +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetR sets the R field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) SetR(r int) { + d.R = r + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColorFieldR) +} + +// SetG sets the G field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) SetG(g int) { + d.G = g + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColorFieldG) +} + +// SetB sets the B field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) SetB(b int) { + d.B = b + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColorFieldB) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQuality = "durable" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQuality = "weak" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyCourier DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "courier" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyCourierBold DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "courier-bold" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyCourierBoldOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "courier-bold-oblique" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyCourierOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "courier-oblique" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyHelvetica DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "helvetica" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyHelveticaBold DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "helvetica-bold" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyHelveticaBoldOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "helvetica-bold-oblique" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyHelveticaOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "helvetica-oblique" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyTimesRoman DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "times-roman" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyTimesBold DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "times-bold" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyTimesBoldItalic DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "times-bold-italic" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyTimesItalic DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "times-italic" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilySymbol DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "symbol" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyZapfDingbats DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "zapf-dingbats" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQuality, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily, error) { + switch s { + case "courier": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyCourier, nil + case "courier-bold": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyCourierBold, nil + case "courier-bold-oblique": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyCourierBoldOblique, nil + case "courier-oblique": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyCourierOblique, nil + case "helvetica": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyHelvetica, nil + case "helvetica-bold": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyHelveticaBold, nil + case "helvetica-bold-oblique": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyHelveticaBoldOblique, nil + case "helvetica-oblique": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyHelveticaOblique, nil + case "times-roman": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyTimesRoman, nil + case "times-bold": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyTimesBold, nil + case "times-bold-italic": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyTimesBoldItalic, nil + case "times-italic": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyTimesItalic, nil + case "symbol": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilySymbol, nil + case "zapf-dingbats": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyZapfDingbats, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily { + return &d +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQuality string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQuality = "durable" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQuality = "weak" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQualityDurable, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQualityDurable, nil case "weak": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQualityWeak, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQualityWeak, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQuality + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonIdentityQuality { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQuality { return &d } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -77959,19 +85313,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyT } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -77981,7 +85335,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyT return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -78000,13 +85354,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -78019,7 +85373,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyT return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyTo) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -78060,15 +85414,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyT } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -78077,35 +85431,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToInd rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -78114,32 +85468,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyT // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -78149,8 +85503,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyT return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex var marshaler = struct { embed }{ @@ -78160,7 +85514,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyT return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) String() string { if d == nil { return "" } @@ -78176,12 +85530,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyT } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -78193,35 +85547,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToInd rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -78230,32 +85584,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyT // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -78265,8 +85619,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyT return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision var marshaler = struct { embed }{ @@ -78276,7 +85630,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyT return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -78292,11 +85646,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyT } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -78307,28 +85661,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -78337,25 +85691,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyT // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -78365,8 +85719,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyT return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm var marshaler = struct { embed }{ @@ -78376,7 +85730,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyT return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm) String() string { if d == nil { return "" } @@ -78392,11 +85746,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyT } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -78407,28 +85761,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObj rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -78437,25 +85791,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyT // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -78465,8 +85819,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyT return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber var marshaler = struct { embed }{ @@ -78476,7 +85830,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyT return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyToObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -78492,12 +85846,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInReplyT } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColorFieldB = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -78509,35 +85863,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColo rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) GetR() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) GetG() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) GetB() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -78546,32 +85900,564 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInterior // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) SetR(r int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) SetR(r int) { d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColorFieldR) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) SetG(g int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) SetG(g int) { d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColorFieldG) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColorFieldG) +} + +// SetB sets the B field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) SetB(b int) { + d.B = b + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColorFieldB) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemFieldP1 = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemFieldP2 = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemFieldP3 = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemFieldP4 = big.NewInt(1 << 3) +) + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem struct { + P1 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1 `json:"p1" url:"p1"` + P2 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2 `json:"p2" url:"p2"` + P3 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3 `json:"p3" url:"p3"` + P4 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4 `json:"p4" url:"p4"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) GetP1() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1 { + if d == nil { + return nil + } + return d.P1 +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) GetP2() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2 { + if d == nil { + return nil + } + return d.P2 +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) GetP3() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3 { + if d == nil { + return nil + } + return d.P3 +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) GetP4() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4 { + if d == nil { + return nil + } + return d.P4 +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetP1 sets the P1 field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) SetP1(p1 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1) { + d.P1 = p1 + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemFieldP1) +} + +// SetP2 sets the P2 field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) SetP2(p2 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2) { + d.P2 = p2 + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemFieldP2) +} + +// SetP3 sets the P3 field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) SetP3(p3 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3) { + d.P3 = p3 + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemFieldP3) +} + +// SetP4 sets the P4 field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) SetP4(p4 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4) { + d.P4 = p4 + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemFieldP4) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1FieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1FieldY = big.NewInt(1 << 1) +) + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1 struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1) GetX() float64 { + if d == nil { + return 0 + } + return d.X +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1) GetY() float64 { + if d == nil { + return 0 + } + return d.Y +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetX sets the X field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1) SetX(x float64) { + d.X = x + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1FieldX) +} + +// SetY sets the Y field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1) SetY(y float64) { + d.Y = y + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1FieldY) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1 + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1 + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2FieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2FieldY = big.NewInt(1 << 1) +) + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2 struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2) GetX() float64 { + if d == nil { + return 0 + } + return d.X +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2) GetY() float64 { + if d == nil { + return 0 + } + return d.Y +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetX sets the X field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2) SetX(x float64) { + d.X = x + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2FieldX) +} + +// SetY sets the Y field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2) SetY(y float64) { + d.Y = y + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2FieldY) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2 + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2 + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3FieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3FieldY = big.NewInt(1 << 1) +) + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3 struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3) GetX() float64 { + if d == nil { + return 0 + } + return d.X +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3) GetY() float64 { + if d == nil { + return 0 + } + return d.Y +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetX sets the X field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3) SetX(x float64) { + d.X = x + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3FieldX) +} + +// SetY sets the Y field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3) SetY(y float64) { + d.Y = y + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3FieldY) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3 + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3 + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4FieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4FieldY = big.NewInt(1 << 1) +) + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4 struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4) GetX() float64 { + if d == nil { + return 0 + } + return d.X +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4) GetY() float64 { + if d == nil { + return 0 + } + return d.Y +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetX sets the X field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4) SetX(x float64) { + d.X = x + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4FieldX) } -// SetB sets the B field and marks it as non-optional; +// SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) SetB(b int) { - d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColorFieldB) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4) SetY(y float64) { + d.Y = y + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4FieldY) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -78581,8 +86467,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInterior return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4 var marshaler = struct { embed }{ @@ -78592,7 +86478,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInterior return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInteriorColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4) String() string { if d == nil { return "" } @@ -78608,13 +86494,13 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonInterior } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRectFieldTop = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -78627,42 +86513,42 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect struct rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) GetLeft() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) GetBottom() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -78671,39 +86557,39 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) re // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) SetLeft(left float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRectFieldLeft) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) SetBottom(bottom float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRectFieldBottom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) SetRight(right float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRectFieldRight) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) SetTop(top float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRectFieldTop) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRectFieldTop) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -78713,8 +86599,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) Un return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect var marshaler = struct { embed }{ @@ -78724,7 +86610,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) Ma return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) String() string { if d == nil { return "" } @@ -78739,44 +86625,44 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRect) St return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -78789,19 +86675,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) Unm } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -78811,7 +86697,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) Unm return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -78830,13 +86716,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) Mars return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -78849,7 +86735,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) Acc return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -78890,15 +86776,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRef) val } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -78907,35 +86793,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex str rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -78944,32 +86830,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -78979,8 +86865,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex var marshaler = struct { embed }{ @@ -78990,7 +86876,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) String() string { if d == nil { return "" } @@ -79006,12 +86892,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -79023,35 +86909,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevi rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -79060,32 +86946,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -79095,8 +86981,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision var marshaler = struct { embed }{ @@ -79106,7 +86992,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) String() string { if d == nil { return "" } @@ -79122,11 +87008,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefIndex } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -79137,28 +87023,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm struct rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -79167,25 +87053,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) r // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -79195,8 +87081,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) U return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm var marshaler = struct { embed }{ @@ -79206,7 +87092,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) M return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) String() string { if d == nil { return "" } @@ -79222,11 +87108,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefNm) S } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -79237,28 +87123,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNum rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -79267,25 +87153,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjec // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -79295,8 +87181,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjec return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber var marshaler = struct { embed }{ @@ -79306,7 +87192,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjec return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber) String() string { if d == nil { return "" } @@ -79321,190 +87207,117 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonRefObjec return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyType string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyType string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyType = "reply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyType = "group" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyType = "reply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyType = "group" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyType, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyType, error) { switch s { case "reply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyTypeReply, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyTypeReply, nil case "group": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyTypeGroup, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyTypeGroup, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyType + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonReplyType { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyType { return &d } -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItemFieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItemFieldY = big.NewInt(1 << 1) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem) GetX() float64 { - if d == nil { - return 0 - } - return d.X -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem) GetY() float64 { - if d == nil { - return 0 - } - return d.Y -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetX sets the X field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem) SetX(x float64) { - d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItemFieldX) -} - -// SetY sets the Y field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem) SetY(y float64) { - d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItemFieldY) -} +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign string -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlignLeft DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign = "left" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlignCenter DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign = "center" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlignRight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign = "right" +) -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem - var marshaler = struct { - embed - }{ - embed: embed(*d), +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlignFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign, error) { + switch s { + case "left": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlignLeft, nil + case "center": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlignCenter, nil + case "right": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlignRight, nil } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign + return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonVerticesItem) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign { + return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldRef = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldIndex = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldNm = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldFlags = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldRect = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldContents = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldSubject = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldAuthor = big.NewInt(1 << 9) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldCreated = big.NewInt(1 << 10) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldModified = big.NewInt(1 << 11) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldReplyType = big.NewInt(1 << 14) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldUserID = big.NewInt(1 << 15) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldGroupID = big.NewInt(1 << 16) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldActions = big.NewInt(1 << 19) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldColor = big.NewInt(1 << 20) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldOpacity = big.NewInt(1 << 21) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldStrokeWidth = big.NewInt(1 << 22) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldBorderStyle = big.NewInt(1 << 23) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldDashArray = big.NewInt(1 << 24) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldInteriorColor = big.NewInt(1 << 25) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldVertices = big.NewInt(1 << 26) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldRotation = big.NewInt(1 << 27) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldLineEndings = big.NewInt(1 << 28) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldRef = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldIndex = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldNm = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldFlags = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldRect = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldContents = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldSubject = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldAuthor = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldCreated = big.NewInt(1 << 10) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldModified = big.NewInt(1 << 11) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldReplyType = big.NewInt(1 << 14) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldUserID = big.NewInt(1 << 15) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldGroupID = big.NewInt(1 << 16) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldActions = big.NewInt(1 << 19) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldColor = big.NewInt(1 << 20) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldOpacity = big.NewInt(1 << 21) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldStrokeWidth = big.NewInt(1 << 22) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldBorderStyle = big.NewInt(1 << 23) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldDashArray = big.NewInt(1 << 24) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldInteriorColor = big.NewInt(1 << 25) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldCloudyIntensity = big.NewInt(1 << 26) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldRectDifferences = big.NewInt(1 << 27) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldRotation = big.NewInt(1 << 28) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldUnrotatedRect = big.NewInt(1 << 29) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline struct { - Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` - BorderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle `json:"borderStyle" url:"borderStyle"` - DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` - InteriorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` - Vertices []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem `json:"vertices" url:"vertices"` - Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` - LineEndings *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings `json:"lineEndings" url:"lineEndings"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare struct { + Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` + BorderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle `json:"borderStyle" url:"borderStyle"` + DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` + InteriorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` + CloudyIntensity *float64 `json:"cloudyIntensity,omitempty" url:"cloudyIntensity,omitempty"` + RectDifferences *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences `json:"rectDifferences,omitempty" url:"rectDifferences,omitempty"` + Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` + UnrotatedRect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect `json:"unrotatedRect,omitempty" url:"unrotatedRect,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -79513,217 +87326,224 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQuality { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetNm() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetContents() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetSubject() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetAuthor() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetCreated() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetModified() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyType { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetUserID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetGroupID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetCreatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetUpdatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor { if d == nil { return nil } return d.Color } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetOpacity() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetOpacity() float64 { if d == nil { return 0 } return d.Opacity } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetStrokeWidth() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetStrokeWidth() float64 { if d == nil { return 0 } return d.StrokeWidth } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetBorderStyle() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetBorderStyle() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle { if d == nil { return "" } return d.BorderStyle } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetDashArray() []float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetDashArray() []float64 { if d == nil { return nil } return d.DashArray } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetInteriorColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetInteriorColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor { if d == nil { return nil } return d.InteriorColor } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetVertices() []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetCloudyIntensity() *float64 { if d == nil { return nil } - return d.Vertices + return d.CloudyIntensity } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetRotation() *float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetRectDifferences() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences { + if d == nil { + return nil + } + return d.RectDifferences +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetRotation() *float64 { if d == nil { return nil } return d.Rotation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetLineEndings() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetUnrotatedRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect { if d == nil { return nil } - return d.LineEndings + return d.UnrotatedRect } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -79732,209 +87552,216 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) requi // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) { d.Ref = ref - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldRef) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQuality) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldIdentityQuality) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetNm(nm *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) { d.Flags = flags - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldFlags) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) { d.Rect = rect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldRect) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetContents(contents *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetSubject(subject *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldSubject) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetAuthor(author *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldAuthor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetCreated(created *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldCreated) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetModified(modified *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldModified) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldBlendMode) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldInReplyTo) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyType) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyType) { d.ReplyType = replyType - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldReplyType) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetUserID(userID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldUserID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetGroupID(groupID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldGroupID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldCreatedBy) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldUpdatedBy) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldActions) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldActions) } // SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) { d.Color = color - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldColor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldColor) } // SetOpacity sets the Opacity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetOpacity(opacity float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetOpacity(opacity float64) { d.Opacity = opacity - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldOpacity) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldOpacity) } // SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetStrokeWidth(strokeWidth float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetStrokeWidth(strokeWidth float64) { d.StrokeWidth = strokeWidth - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldStrokeWidth) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldStrokeWidth) } // SetBorderStyle sets the BorderStyle field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetBorderStyle(borderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetBorderStyle(borderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle) { d.BorderStyle = borderStyle - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldBorderStyle) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldBorderStyle) } // SetDashArray sets the DashArray field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetDashArray(dashArray []float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetDashArray(dashArray []float64) { d.DashArray = dashArray - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldDashArray) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldDashArray) } // SetInteriorColor sets the InteriorColor field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetInteriorColor(interiorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetInteriorColor(interiorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) { d.InteriorColor = interiorColor - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldInteriorColor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldInteriorColor) } -// SetVertices sets the Vertices field and marks it as non-optional; +// SetCloudyIntensity sets the CloudyIntensity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetVertices(vertices []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem) { - d.Vertices = vertices - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldVertices) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetCloudyIntensity(cloudyIntensity *float64) { + d.CloudyIntensity = cloudyIntensity + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldCloudyIntensity) +} + +// SetRectDifferences sets the RectDifferences field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetRectDifferences(rectDifferences *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) { + d.RectDifferences = rectDifferences + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldRectDifferences) } // SetRotation sets the Rotation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetRotation(rotation *float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetRotation(rotation *float64) { d.Rotation = rotation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldRotation) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldRotation) } -// SetLineEndings sets the LineEndings field and marks it as non-optional; +// SetUnrotatedRect sets the UnrotatedRect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) SetLineEndings(lineEndings *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings) { - d.LineEndings = lineEndings - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFieldLineEndings) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetUnrotatedRect(unrotatedRect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) { + d.UnrotatedRect = unrotatedRect + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldUnrotatedRect) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -79945,7 +87772,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) Unmar if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline(unmarshaler.embed) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -79957,8 +87784,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) Unmar return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -79972,7 +87799,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) String() string { if d == nil { return "" } @@ -79987,105 +87814,105 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolyline) Strin return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "normal" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "multiply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "screen" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "overlay" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "darken" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "lighten" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "color-dodge" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "color-burn" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "hard-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "soft-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "difference" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "exclusion" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "hue" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "saturation" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "color" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode = "luminosity" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "normal" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "multiply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "screen" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "overlay" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "darken" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "lighten" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "color-dodge" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "color-burn" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "hard-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "soft-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "difference" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "exclusion" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "hue" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "saturation" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "color" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "luminosity" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode, error) { switch s { case "normal": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeNormal, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeNormal, nil case "multiply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeMultiply, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeMultiply, nil case "screen": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeScreen, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeScreen, nil case "overlay": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeOverlay, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeOverlay, nil case "darken": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeDarken, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeDarken, nil case "lighten": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeLighten, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeLighten, nil case "color-dodge": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeColorDodge, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeColorBurn, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeHardLight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeHardLight, nil case "soft-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeSoftLight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeSoftLight, nil case "difference": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeDifference, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeDifference, nil case "exclusion": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeExclusion, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeExclusion, nil case "hue": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeHue, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeHue, nil case "saturation": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeSaturation, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeSaturation, nil case "color": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeColor, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeColor, nil case "luminosity": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendModeLuminosity, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeLuminosity, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBlendMode { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode { return &d } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyleSolid DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle = "solid" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyleDashed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle = "dashed" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyleBeveled DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle = "beveled" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyleInset DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle = "inset" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyleSolid DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle = "solid" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyleDashed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle = "dashed" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyleBeveled DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle = "beveled" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyleInset DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle = "inset" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyleFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyleFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle, error) { switch s { case "solid": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyleSolid, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyleSolid, nil case "dashed": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyleDashed, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyleDashed, nil case "beveled": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyleBeveled, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyleBeveled, nil case "inset": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyleInset, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyleInset, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineBorderStyle { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColorFieldB = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -80097,35 +87924,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor struc rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) GetR() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) GetG() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) GetB() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -80134,32 +87961,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) SetR(r int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) SetR(r int) { d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColorFieldR) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) SetG(g int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) SetG(g int) { d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColorFieldG) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) SetB(b int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) SetB(b int) { d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColorFieldB) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColorFieldB) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -80169,8 +87996,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor var marshaler = struct { embed }{ @@ -80180,7 +88007,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) String() string { if d == nil { return "" } @@ -80196,19 +88023,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineColor) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -80227,84 +88054,84 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags struc rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) GetInvisible() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) GetHidden() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) GetPrint() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) GetNoZoom() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) GetNoRotate() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) GetNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) GetReadOnly() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) GetLocked() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) GetToggleNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) GetLockedContents() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -80313,81 +88140,81 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldInvisible) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldHidden) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) SetPrint(print bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldPrint) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldNoZoom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldNoRotate) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) SetNoView(noView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldReadOnly) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) SetLocked(locked bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldLocked) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldToggleNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlagsFieldLockedContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldLockedContents) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -80397,8 +88224,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags var marshaler = struct { embed }{ @@ -80408,7 +88235,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) String() string { if d == nil { return "" } @@ -80423,66 +88250,66 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineFlags) return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQuality string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQuality string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQuality = "durable" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQuality = "weak" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQuality = "durable" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQuality = "weak" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQuality, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQualityDurable, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQualityDurable, nil case "weak": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQualityWeak, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQualityWeak, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQuality + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineIdentityQuality { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQuality { return &d } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -80495,19 +88322,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReply } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -80517,7 +88344,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReply return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -80536,13 +88363,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyT return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -80555,7 +88382,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReply return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyTo) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -80596,15 +88423,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReply } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -80613,35 +88440,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIn rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -80650,32 +88477,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReply // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -80685,8 +88512,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReply return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex var marshaler = struct { embed }{ @@ -80696,7 +88523,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReply return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) String() string { if d == nil { return "" } @@ -80712,12 +88539,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReply } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -80729,35 +88556,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIn rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -80766,32 +88593,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReply // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -80801,8 +88628,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReply return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision var marshaler = struct { embed }{ @@ -80812,7 +88639,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReply return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -80828,11 +88655,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReply } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -80843,28 +88670,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -80873,25 +88700,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReply // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -80901,8 +88728,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReply return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm var marshaler = struct { embed }{ @@ -80912,7 +88739,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReply return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm) String() string { if d == nil { return "" } @@ -80928,11 +88755,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReply } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -80943,28 +88770,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToOb rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -80973,25 +88800,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReply // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -81001,8 +88828,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReply return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber var marshaler = struct { embed }{ @@ -81012,7 +88839,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReply return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReplyToObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -81028,12 +88855,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInReply } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColorFieldB = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -81045,35 +88872,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorCol rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) GetR() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) GetG() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) GetB() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -81082,32 +88909,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInterio // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) SetR(r int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) SetR(r int) { d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColorFieldR) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) SetG(g int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) SetG(g int) { d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColorFieldG) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) SetB(b int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) SetB(b int) { d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColorFieldB) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColorFieldB) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -81117,8 +88944,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInterio return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor var marshaler = struct { embed }{ @@ -81128,7 +88955,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInterio return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInteriorColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) String() string { if d == nil { return "" } @@ -81144,13 +88971,17 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineInterio } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsFieldStart = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsFieldEnd = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings struct { - Start DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart `json:"start" url:"start"` - End DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd `json:"end" url:"end"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect struct { + Left float64 `json:"left" url:"left"` + Bottom float64 `json:"bottom" url:"bottom"` + Right float64 `json:"right" url:"right"` + Top float64 `json:"top" url:"top"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -81159,55 +88990,83 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings) GetStart() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) GetLeft() float64 { if d == nil { - return "" + return 0 } - return d.Start + return d.Left } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings) GetEnd() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) GetBottom() float64 { if d == nil { - return "" + return 0 } - return d.End + return d.Bottom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) GetRight() float64 { + if d == nil { + return 0 + } + return d.Right +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) GetTop() float64 { + if d == nil { + return 0 + } + return d.Top +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetStart sets the Start field and marks it as non-optional; +// SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings) SetStart(start DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart) { - d.Start = start - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsFieldStart) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectFieldLeft) } -// SetEnd sets the End field and marks it as non-optional; +// SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings) SetEnd(end DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd) { - d.End = end - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsFieldEnd) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectFieldBottom) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings +// SetRight sets the Right field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectFieldRight) +} + +// SetTop sets the Top field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectFieldTop) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -81217,8 +89076,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEnd return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect var marshaler = struct { embed }{ @@ -81228,7 +89087,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEnd return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndings) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) String() string { if d == nil { return "" } @@ -81243,110 +89102,18 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEnd return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndNone DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd = "none" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndSquare DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd = "square" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndCircle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd = "circle" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndDiamond DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd = "diamond" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndOpenArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd = "open-arrow" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndClosedArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd = "closed-arrow" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndButt DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd = "butt" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndROpenArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd = "r-open-arrow" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndRClosedArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd = "r-closed-arrow" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndSlash DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd = "slash" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd, error) { - switch s { - case "none": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndNone, nil - case "square": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndSquare, nil - case "circle": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndCircle, nil - case "diamond": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndDiamond, nil - case "open-arrow": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndOpenArrow, nil - case "closed-arrow": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndClosedArrow, nil - case "butt": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndButt, nil - case "r-open-arrow": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndROpenArrow, nil - case "r-closed-arrow": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndRClosedArrow, nil - case "slash": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEndSlash, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsEnd { - return &d -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartNone DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart = "none" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartSquare DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart = "square" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartCircle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart = "circle" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartDiamond DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart = "diamond" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartOpenArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart = "open-arrow" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartClosedArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart = "closed-arrow" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartButt DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart = "butt" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartROpenArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart = "r-open-arrow" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartRClosedArrow DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart = "r-closed-arrow" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartSlash DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart = "slash" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart, error) { - switch s { - case "none": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartNone, nil - case "square": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartSquare, nil - case "circle": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartCircle, nil - case "diamond": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartDiamond, nil - case "open-arrow": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartOpenArrow, nil - case "closed-arrow": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartClosedArrow, nil - case "butt": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartButt, nil - case "r-open-arrow": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartROpenArrow, nil - case "r-closed-arrow": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartRClosedArrow, nil - case "slash": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStartSlash, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineLineEndingsStart { - return &d -} - var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRectFieldTop = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferencesFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferencesFieldTop = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferencesFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferencesFieldBottom = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences struct { Left float64 `json:"left" url:"left"` - Bottom float64 `json:"bottom" url:"bottom"` - Right float64 `json:"right" url:"right"` Top float64 `json:"top" url:"top"` + Right float64 `json:"right" url:"right"` + Bottom float64 `json:"bottom" url:"bottom"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -81355,42 +89122,42 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect struct rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) GetLeft() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) GetBottom() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) GetTop() float64 { if d == nil { return 0 } - return d.Bottom + return d.Top } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) GetBottom() float64 { if d == nil { return 0 } - return d.Top + return d.Bottom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -81399,39 +89166,39 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) r // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) SetLeft(left float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRectFieldLeft) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferencesFieldLeft) } -// SetBottom sets the Bottom field and marks it as non-optional; +// SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRectFieldBottom) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferencesFieldTop) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) SetRight(right float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) SetRight(right float64) { d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRectFieldRight) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferencesFieldRight) } -// SetTop sets the Top field and marks it as non-optional; +// SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRectFieldTop) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferencesFieldBottom) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -81441,8 +89208,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) U return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences var marshaler = struct { embed }{ @@ -81452,7 +89219,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) M return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) String() string { if d == nil { return "" } @@ -81467,44 +89234,44 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRect) S return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -81517,19 +89284,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) Un } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -81539,7 +89306,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) Un return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -81558,13 +89325,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) Mar return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -81577,7 +89344,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) Ac return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -81618,15 +89385,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRef) va } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -81635,35 +89402,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex st rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -81672,32 +89439,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefInde // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -81707,8 +89474,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefInde return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex var marshaler = struct { embed }{ @@ -81718,7 +89485,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefInde return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) String() string { if d == nil { return "" } @@ -81734,12 +89501,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefInde } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -81751,35 +89518,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRev rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -81788,32 +89555,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefInde // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -81823,8 +89590,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefInde return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision var marshaler = struct { embed }{ @@ -81834,7 +89601,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefInde return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) String() string { if d == nil { return "" } @@ -81850,11 +89617,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefInde } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -81865,28 +89632,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm struc rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -81895,25 +89662,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -81923,8 +89690,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm var marshaler = struct { embed }{ @@ -81934,7 +89701,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) String() string { if d == nil { return "" } @@ -81950,11 +89717,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefNm) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -81965,28 +89732,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNu rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -81995,25 +89762,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObje // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -82023,8 +89790,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObje return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber var marshaler = struct { embed }{ @@ -82034,7 +89801,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObje return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber) String() string { if d == nil { return "" } @@ -82049,36 +89816,40 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineRefObje return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyType string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyType string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyType = "reply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyType = "group" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyType = "reply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyType = "group" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyType, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyType, error) { switch s { case "reply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyTypeReply, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyTypeReply, nil case "group": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyTypeGroup, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyTypeGroup, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyType + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineReplyType { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyType { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItemFieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItemFieldY = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect struct { + Left float64 `json:"left" url:"left"` + Bottom float64 `json:"bottom" url:"bottom"` + Right float64 `json:"right" url:"right"` + Top float64 `json:"top" url:"top"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -82087,55 +89858,83 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesIte rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem) GetX() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) GetLeft() float64 { if d == nil { return 0 } - return d.X + return d.Left } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem) GetY() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) GetBottom() float64 { if d == nil { return 0 } - return d.Y + return d.Bottom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) GetRight() float64 { + if d == nil { + return 0 + } + return d.Right +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) GetTop() float64 { + if d == nil { + return 0 + } + return d.Top +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetX sets the X field and marks it as non-optional; +// SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem) SetX(x float64) { - d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItemFieldX) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRectFieldLeft) } -// SetY sets the Y field and marks it as non-optional; +// SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem) SetY(y float64) { - d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItemFieldY) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRectFieldBottom) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem +// SetRight sets the Right field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRectFieldRight) +} + +// SetTop sets the Top field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRectFieldTop) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -82145,8 +89944,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVertice return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect var marshaler = struct { embed }{ @@ -82156,7 +89955,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVertice return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVerticesItem) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) String() string { if d == nil { return "" } @@ -82172,69 +89971,55 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineVertice } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldRef = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldIndex = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldNm = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldFlags = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldRect = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldContents = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldSubject = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldAuthor = big.NewInt(1 << 9) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldCreated = big.NewInt(1 << 10) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldModified = big.NewInt(1 << 11) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldReplyType = big.NewInt(1 << 14) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldUserID = big.NewInt(1 << 15) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldGroupID = big.NewInt(1 << 16) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldActions = big.NewInt(1 << 19) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldQuadPoints = big.NewInt(1 << 20) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldColor = big.NewInt(1 << 21) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldOpacity = big.NewInt(1 << 22) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldInteriorColor = big.NewInt(1 << 23) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldOverlayText = big.NewInt(1 << 24) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldRepeat = big.NewInt(1 << 25) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldFontFamily = big.NewInt(1 << 26) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldFontSize = big.NewInt(1 << 27) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldFontColor = big.NewInt(1 << 28) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldTextAlign = big.NewInt(1 << 29) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldRef = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldIndex = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldNm = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldFlags = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldRect = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldContents = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldSubject = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldAuthor = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldCreated = big.NewInt(1 << 10) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldModified = big.NewInt(1 << 11) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldReplyType = big.NewInt(1 << 14) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldUserID = big.NewInt(1 << 15) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldGroupID = big.NewInt(1 << 16) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldActions = big.NewInt(1 << 19) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldColor = big.NewInt(1 << 20) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldOpacity = big.NewInt(1 << 21) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldQuadPoints = big.NewInt(1 << 22) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact struct { - Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - QuadPoints []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem `json:"quadPoints" url:"quadPoints"` - Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - InteriorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` - OverlayText *string `json:"overlayText,omitempty" url:"overlayText,omitempty"` - Repeat bool `json:"repeat" url:"repeat"` - FontFamily DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily `json:"fontFamily" url:"fontFamily"` - FontSize float64 `json:"fontSize" url:"fontSize"` - FontColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor `json:"fontColor" url:"fontColor"` - TextAlign DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign `json:"textAlign" url:"textAlign"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly struct { + Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + QuadPoints []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem `json:"quadPoints" url:"quadPoints"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -82243,224 +90028,175 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQuality { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetNm() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetContents() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetSubject() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetAuthor() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetCreated() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetModified() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyType { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetUserID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetGroupID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetCreatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetUpdatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetQuadPoints() []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem { - if d == nil { - return nil - } - return d.QuadPoints -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor { if d == nil { return nil } return d.Color } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetOpacity() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetOpacity() float64 { if d == nil { return 0 } return d.Opacity } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetInteriorColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor { - if d == nil { - return nil - } - return d.InteriorColor -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetOverlayText() *string { - if d == nil { - return nil - } - return d.OverlayText -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetRepeat() bool { - if d == nil { - return false - } - return d.Repeat -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetFontFamily() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily { - if d == nil { - return "" - } - return d.FontFamily -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetFontSize() float64 { - if d == nil { - return 0 - } - return d.FontSize -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetFontColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetQuadPoints() []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem { if d == nil { return nil } - return d.FontColor -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetTextAlign() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign { - if d == nil { - return "" - } - return d.TextAlign + return d.QuadPoints } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -82469,216 +90205,167 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) require // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) { d.Ref = ref - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldRef) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQuality) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldIdentityQuality) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetNm(nm *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) { d.Flags = flags - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldFlags) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) { d.Rect = rect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldRect) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetContents(contents *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetSubject(subject *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldSubject) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetAuthor(author *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldAuthor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetCreated(created *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldCreated) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetModified(modified *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldModified) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldBlendMode) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldInReplyTo) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyType) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyType) { d.ReplyType = replyType - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldReplyType) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetUserID(userID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldUserID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetGroupID(groupID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldGroupID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldCreatedBy) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldUpdatedBy) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldActions) -} - -// SetQuadPoints sets the QuadPoints field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetQuadPoints(quadPoints []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) { - d.QuadPoints = quadPoints - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldQuadPoints) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldActions) } // SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) { d.Color = color - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldColor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldColor) } // SetOpacity sets the Opacity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetOpacity(opacity float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetOpacity(opacity float64) { d.Opacity = opacity - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldOpacity) -} - -// SetInteriorColor sets the InteriorColor field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetInteriorColor(interiorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) { - d.InteriorColor = interiorColor - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldInteriorColor) -} - -// SetOverlayText sets the OverlayText field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetOverlayText(overlayText *string) { - d.OverlayText = overlayText - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldOverlayText) -} - -// SetRepeat sets the Repeat field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetRepeat(repeat bool) { - d.Repeat = repeat - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldRepeat) -} - -// SetFontFamily sets the FontFamily field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetFontFamily(fontFamily DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily) { - d.FontFamily = fontFamily - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldFontFamily) -} - -// SetFontSize sets the FontSize field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetFontSize(fontSize float64) { - d.FontSize = fontSize - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldFontSize) -} - -// SetFontColor sets the FontColor field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetFontColor(fontColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) { - d.FontColor = fontColor - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldFontColor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldOpacity) } -// SetTextAlign sets the TextAlign field and marks it as non-optional; +// SetQuadPoints sets the QuadPoints field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) SetTextAlign(textAlign DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign) { - d.TextAlign = textAlign - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFieldTextAlign) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetQuadPoints(quadPoints []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) { + d.QuadPoints = quadPoints + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldQuadPoints) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -82689,7 +90376,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) Unmarsh if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact(unmarshaler.embed) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -82701,8 +90388,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) Unmarsh return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -82716,7 +90403,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) Marshal return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) String() string { if d == nil { return "" } @@ -82731,77 +90418,77 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedact) String( return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "normal" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "multiply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "screen" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "overlay" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "darken" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "lighten" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "color-dodge" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "color-burn" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "hard-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "soft-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "difference" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "exclusion" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "hue" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "saturation" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "color" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode = "luminosity" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "normal" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "multiply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "screen" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "overlay" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "darken" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "lighten" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "color-dodge" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "color-burn" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "hard-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "soft-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "difference" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "exclusion" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "hue" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "saturation" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "color" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "luminosity" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode, error) { switch s { case "normal": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeNormal, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeNormal, nil case "multiply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeMultiply, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeMultiply, nil case "screen": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeScreen, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeScreen, nil case "overlay": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeOverlay, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeOverlay, nil case "darken": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeDarken, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeDarken, nil case "lighten": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeLighten, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeLighten, nil case "color-dodge": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeColorDodge, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeColorBurn, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeHardLight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeHardLight, nil case "soft-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeSoftLight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeSoftLight, nil case "difference": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeDifference, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeDifference, nil case "exclusion": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeExclusion, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeExclusion, nil case "hue": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeHue, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeHue, nil case "saturation": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeSaturation, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeSaturation, nil case "color": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeColor, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeColor, nil case "luminosity": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendModeLuminosity, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeLuminosity, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactBlendMode { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColorFieldB = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -82813,35 +90500,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor struct rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) GetR() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) GetG() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) GetB() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -82850,32 +90537,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) re // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) SetR(r int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) SetR(r int) { d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColorFieldR) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) SetG(g int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) SetG(g int) { d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColorFieldG) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) SetB(b int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) SetB(b int) { d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColorFieldB) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColorFieldB) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -82885,8 +90572,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) Un return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor var marshaler = struct { embed }{ @@ -82896,7 +90583,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) Ma return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) String() string { if d == nil { return "" } @@ -82912,19 +90599,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactColor) St } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -82943,84 +90630,84 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags struct rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) GetInvisible() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) GetHidden() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) GetPrint() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) GetNoZoom() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) GetNoRotate() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) GetNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) GetReadOnly() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) GetLocked() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) GetToggleNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) GetLockedContents() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -83029,197 +90716,81 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) re // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldInvisible) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldHidden) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) SetPrint(print bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldPrint) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldNoZoom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldNoRotate) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) SetNoView(noView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldReadOnly) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) SetLocked(locked bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldLocked) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldToggleNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlagsFieldLockedContents) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFlags) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColorFieldB = big.NewInt(1 << 2) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) GetR() int { - if d == nil { - return 0 - } - return d.R -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) GetG() int { - if d == nil { - return 0 - } - return d.G -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) GetB() int { - if d == nil { - return 0 - } - return d.B -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetR sets the R field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) SetR(r int) { - d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColorFieldR) -} - -// SetG sets the G field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) SetG(g int) { - d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColorFieldG) -} - -// SetB sets the B field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) SetB(b int) { - d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColorFieldB) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldLockedContents) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -83229,8 +90800,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags var marshaler = struct { embed }{ @@ -83240,7 +90811,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) String() string { if d == nil { return "" } @@ -83255,124 +90826,66 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontColor return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyCourier DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "courier" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyCourierBold DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "courier-bold" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyCourierBoldOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "courier-bold-oblique" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyCourierOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "courier-oblique" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyHelvetica DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "helvetica" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyHelveticaBold DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "helvetica-bold" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyHelveticaBoldOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "helvetica-bold-oblique" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyHelveticaOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "helvetica-oblique" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyTimesRoman DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "times-roman" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyTimesBold DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "times-bold" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyTimesBoldItalic DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "times-bold-italic" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyTimesItalic DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "times-italic" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilySymbol DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "symbol" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyZapfDingbats DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily = "zapf-dingbats" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily, error) { - switch s { - case "courier": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyCourier, nil - case "courier-bold": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyCourierBold, nil - case "courier-bold-oblique": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyCourierBoldOblique, nil - case "courier-oblique": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyCourierOblique, nil - case "helvetica": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyHelvetica, nil - case "helvetica-bold": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyHelveticaBold, nil - case "helvetica-bold-oblique": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyHelveticaBoldOblique, nil - case "helvetica-oblique": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyHelveticaOblique, nil - case "times-roman": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyTimesRoman, nil - case "times-bold": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyTimesBold, nil - case "times-bold-italic": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyTimesBoldItalic, nil - case "times-italic": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyTimesItalic, nil - case "symbol": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilySymbol, nil - case "zapf-dingbats": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamilyZapfDingbats, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactFontFamily { - return &d -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQuality string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQuality string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQuality = "durable" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQuality = "weak" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQuality = "durable" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQuality = "weak" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQuality, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQualityDurable, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQualityDurable, nil case "weak": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQualityWeak, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQualityWeak, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQuality + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactIdentityQuality { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQuality { return &d } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -83385,19 +90898,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -83407,7 +90920,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -83426,13 +90939,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo) return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -83445,7 +90958,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -83486,15 +90999,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -83503,35 +91016,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToInde rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -83540,32 +91053,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -83575,8 +91088,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex var marshaler = struct { embed }{ @@ -83586,7 +91099,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) String() string { if d == nil { return "" } @@ -83602,12 +91115,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -83619,35 +91132,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToInde rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -83656,32 +91169,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -83691,8 +91204,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision var marshaler = struct { embed }{ @@ -83702,7 +91215,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -83718,11 +91231,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -83733,28 +91246,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm s rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -83763,25 +91276,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -83791,8 +91304,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm var marshaler = struct { embed }{ @@ -83802,7 +91315,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm) String() string { if d == nil { return "" } @@ -83818,11 +91331,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -83833,28 +91346,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObje rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -83863,141 +91376,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyTo // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumberFieldAnnotObjectNumber) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInReplyToObjectNumber) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColorFieldB = big.NewInt(1 << 2) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) GetR() int { - if d == nil { - return 0 - } - return d.R -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) GetG() int { - if d == nil { - return 0 - } - return d.G -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) GetB() int { - if d == nil { - return 0 - } - return d.B -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetR sets the R field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) SetR(r int) { - d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColorFieldR) -} - -// SetG sets the G field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) SetG(g int) { - d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColorFieldG) -} - -// SetB sets the B field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) SetB(b int) { - d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColorFieldB) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -84007,8 +91404,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorC return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber var marshaler = struct { embed }{ @@ -84018,7 +91415,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorC return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -84034,17 +91431,17 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactInteriorC } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemFieldP1 = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemFieldP2 = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemFieldP3 = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemFieldP4 = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemFieldP1 = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemFieldP2 = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemFieldP3 = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemFieldP4 = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem struct { - P1 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1 `json:"p1" url:"p1"` - P2 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2 `json:"p2" url:"p2"` - P3 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3 `json:"p3" url:"p3"` - P4 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4 `json:"p4" url:"p4"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem struct { + P1 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1 `json:"p1" url:"p1"` + P2 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2 `json:"p2" url:"p2"` + P3 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3 `json:"p3" url:"p3"` + P4 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4 `json:"p4" url:"p4"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -84053,42 +91450,42 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsIte rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) GetP1() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) GetP1() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1 { if d == nil { return nil } return d.P1 } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) GetP2() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) GetP2() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2 { if d == nil { return nil } return d.P2 } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) GetP3() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) GetP3() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3 { if d == nil { return nil } return d.P3 } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) GetP4() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) GetP4() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4 { if d == nil { return nil } return d.P4 } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -84097,39 +91494,39 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPoint // SetP1 sets the P1 field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) SetP1(p1 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) SetP1(p1 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1) { d.P1 = p1 - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemFieldP1) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemFieldP1) } // SetP2 sets the P2 field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) SetP2(p2 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) SetP2(p2 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2) { d.P2 = p2 - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemFieldP2) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemFieldP2) } // SetP3 sets the P3 field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) SetP3(p3 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) SetP3(p3 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3) { d.P3 = p3 - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemFieldP3) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemFieldP3) } // SetP4 sets the P4 field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) SetP4(p4 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) SetP4(p4 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4) { d.P4 = p4 - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemFieldP4) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemFieldP4) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -84139,8 +91536,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPoint return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem var marshaler = struct { embed }{ @@ -84150,7 +91547,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPoint return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItem) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) String() string { if d == nil { return "" } @@ -84166,11 +91563,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPoint } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1FieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1FieldY = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1FieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1 struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1 struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -84181,28 +91578,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsIte rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1) GetX() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1) GetY() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -84211,25 +91608,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPoint // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1) SetX(x float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1) SetX(x float64) { d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1FieldX) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1FieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1) SetY(y float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1) SetY(y float64) { d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1FieldY) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1FieldY) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -84239,8 +91636,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPoint return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1 var marshaler = struct { embed }{ @@ -84250,7 +91647,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPoint return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP1) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1) String() string { if d == nil { return "" } @@ -84266,11 +91663,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPoint } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2FieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2FieldY = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2FieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2 struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2 struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -84281,28 +91678,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsIte rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2) GetX() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2) GetY() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -84311,25 +91708,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPoint // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2) SetX(x float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2) SetX(x float64) { d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2FieldX) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2FieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2) SetY(y float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2) SetY(y float64) { d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2FieldY) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2FieldY) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -84339,8 +91736,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPoint return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2 var marshaler = struct { embed }{ @@ -84350,7 +91747,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPoint return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP2) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2) String() string { if d == nil { return "" } @@ -84366,11 +91763,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPoint } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3FieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3FieldY = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3FieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3 struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3 struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -84381,28 +91778,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsIte rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3) GetX() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3) GetY() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -84411,25 +91808,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPoint // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3) SetX(x float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3) SetX(x float64) { d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3FieldX) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3FieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3) SetY(y float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3) SetY(y float64) { d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3FieldY) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3FieldY) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -84439,8 +91836,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPoint return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3 var marshaler = struct { embed }{ @@ -84450,7 +91847,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPoint return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP3) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3) String() string { if d == nil { return "" } @@ -84466,11 +91863,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPoint } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4FieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4FieldY = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4FieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4 struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4 struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -84481,28 +91878,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsIte rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4) GetX() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4) GetY() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -84511,25 +91908,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPoint // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4) SetX(x float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4) SetX(x float64) { d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4FieldX) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4FieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4) SetY(y float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4) SetY(y float64) { d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4FieldY) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4FieldY) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -84539,8 +91936,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPoint return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4 var marshaler = struct { embed }{ @@ -84550,7 +91947,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPoint return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPointsItemP4) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4) String() string { if d == nil { return "" } @@ -84566,13 +91963,13 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactQuadPoint } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRectFieldTop = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -84585,42 +91982,42 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) GetLeft() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) GetBottom() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -84629,39 +92026,39 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) req // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) SetLeft(left float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRectFieldLeft) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) SetBottom(bottom float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRectFieldBottom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) SetRight(right float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRectFieldRight) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) SetTop(top float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRectFieldTop) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRectFieldTop) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -84671,8 +92068,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) Unm return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect var marshaler = struct { embed }{ @@ -84682,7 +92079,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) Mar return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) String() string { if d == nil { return "" } @@ -84697,44 +92094,44 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRect) Str return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -84747,19 +92144,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) Unma } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -84769,7 +92166,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) Unma return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -84788,13 +92185,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) Marsh return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -84807,7 +92204,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) Acce return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -84848,15 +92245,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRef) vali } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -84865,35 +92262,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex stru rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -84902,32 +92299,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -84937,8 +92334,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex var marshaler = struct { embed }{ @@ -84948,7 +92345,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) String() string { if d == nil { return "" } @@ -84964,12 +92361,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndex) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -84981,35 +92378,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevis rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -85018,32 +92415,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexR // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -85053,8 +92450,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexR return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision var marshaler = struct { embed }{ @@ -85064,7 +92461,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexR return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) String() string { if d == nil { return "" } @@ -85080,11 +92477,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefIndexR } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -85095,28 +92492,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm struct rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -85125,25 +92522,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) re // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -85153,8 +92550,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) Un return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm var marshaler = struct { embed }{ @@ -85164,7 +92561,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) Ma return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) String() string { if d == nil { return "" } @@ -85180,11 +92577,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefNm) St } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -85195,28 +92592,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumb rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -85225,25 +92622,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObject // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -85253,8 +92650,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObject return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber var marshaler = struct { embed }{ @@ -85264,7 +92661,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObject return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber) String() string { if d == nil { return "" } @@ -85279,117 +92676,78 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactRefObject return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyType string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyType string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyType = "reply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyType = "group" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyType = "reply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyType = "group" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyType, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyType, error) { switch s { case "reply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyTypeReply, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyTypeReply, nil case "group": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyTypeGroup, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyType - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactReplyType { - return &d -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlignLeft DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign = "left" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlignCenter DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign = "center" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlignRight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign = "right" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlignFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign, error) { - switch s { - case "left": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlignLeft, nil - case "center": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlignCenter, nil - case "right": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlignRight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyTypeGroup, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemRedactTextAlign { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyType { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldRef = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldIndex = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldNm = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldFlags = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldRect = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldContents = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldSubject = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldAuthor = big.NewInt(1 << 9) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldCreated = big.NewInt(1 << 10) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldModified = big.NewInt(1 << 11) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldReplyType = big.NewInt(1 << 14) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldUserID = big.NewInt(1 << 15) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldGroupID = big.NewInt(1 << 16) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldActions = big.NewInt(1 << 19) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldColor = big.NewInt(1 << 20) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldOpacity = big.NewInt(1 << 21) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldStrokeWidth = big.NewInt(1 << 22) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldBorderStyle = big.NewInt(1 << 23) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldDashArray = big.NewInt(1 << 24) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldInteriorColor = big.NewInt(1 << 25) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldCloudyIntensity = big.NewInt(1 << 26) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldRectDifferences = big.NewInt(1 << 27) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldRotation = big.NewInt(1 << 28) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldUnrotatedRect = big.NewInt(1 << 29) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldRef = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldIndex = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldNm = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldFlags = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldRect = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldContents = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldSubject = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldAuthor = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldCreated = big.NewInt(1 << 10) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldModified = big.NewInt(1 << 11) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldReplyType = big.NewInt(1 << 14) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldUserID = big.NewInt(1 << 15) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldGroupID = big.NewInt(1 << 16) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldActions = big.NewInt(1 << 19) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldName = big.NewInt(1 << 20) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldRotation = big.NewInt(1 << 21) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldUnrotatedRect = big.NewInt(1 << 22) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare struct { - Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` - BorderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle `json:"borderStyle" url:"borderStyle"` - DashArray []float64 `json:"dashArray,omitempty" url:"dashArray,omitempty"` - InteriorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` - CloudyIntensity *float64 `json:"cloudyIntensity,omitempty" url:"cloudyIntensity,omitempty"` - RectDifferences *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences `json:"rectDifferences,omitempty" url:"rectDifferences,omitempty"` - Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` - UnrotatedRect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect `json:"unrotatedRect,omitempty" url:"unrotatedRect,omitempty"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp struct { + Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Name *string `json:"name,omitempty" url:"name,omitempty"` + Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` + UnrotatedRect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect `json:"unrotatedRect,omitempty" url:"unrotatedRect,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -85398,224 +92756,175 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQuality { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetNm() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetContents() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetSubject() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetAuthor() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetCreated() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetModified() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyType { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetUserID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetGroupID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetCreatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetUpdatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor { - if d == nil { - return nil - } - return d.Color -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetOpacity() float64 { - if d == nil { - return 0 - } - return d.Opacity -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetStrokeWidth() float64 { - if d == nil { - return 0 - } - return d.StrokeWidth -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetBorderStyle() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle { - if d == nil { - return "" - } - return d.BorderStyle -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetDashArray() []float64 { - if d == nil { - return nil - } - return d.DashArray -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetInteriorColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor { - if d == nil { - return nil - } - return d.InteriorColor -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetCloudyIntensity() *float64 { - if d == nil { - return nil - } - return d.CloudyIntensity -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetRectDifferences() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetName() *string { if d == nil { return nil } - return d.RectDifferences + return d.Name } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetRotation() *float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetRotation() *float64 { if d == nil { return nil } return d.Rotation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetUnrotatedRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetUnrotatedRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect { if d == nil { return nil } return d.UnrotatedRect } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -85624,216 +92933,167 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) require // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef) { d.Ref = ref - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldRef) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQuality) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldIdentityQuality) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetNm(nm *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) { d.Flags = flags - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldFlags) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) { d.Rect = rect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldRect) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetContents(contents *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetSubject(subject *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldSubject) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetAuthor(author *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldAuthor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetCreated(created *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldCreated) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetModified(modified *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldModified) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldBlendMode) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldInReplyTo) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyType) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyType) { d.ReplyType = replyType - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldReplyType) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetUserID(userID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldUserID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetGroupID(groupID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldGroupID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldCreatedBy) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldUpdatedBy) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldActions) -} - -// SetColor sets the Color field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) { - d.Color = color - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldColor) -} - -// SetOpacity sets the Opacity field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetOpacity(opacity float64) { - d.Opacity = opacity - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldOpacity) -} - -// SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetStrokeWidth(strokeWidth float64) { - d.StrokeWidth = strokeWidth - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldStrokeWidth) -} - -// SetBorderStyle sets the BorderStyle field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetBorderStyle(borderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle) { - d.BorderStyle = borderStyle - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldBorderStyle) -} - -// SetDashArray sets the DashArray field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetDashArray(dashArray []float64) { - d.DashArray = dashArray - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldDashArray) -} - -// SetInteriorColor sets the InteriorColor field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetInteriorColor(interiorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) { - d.InteriorColor = interiorColor - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldInteriorColor) -} - -// SetCloudyIntensity sets the CloudyIntensity field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetCloudyIntensity(cloudyIntensity *float64) { - d.CloudyIntensity = cloudyIntensity - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldCloudyIntensity) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldActions) } -// SetRectDifferences sets the RectDifferences field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetRectDifferences(rectDifferences *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) { - d.RectDifferences = rectDifferences - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldRectDifferences) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetName(name *string) { + d.Name = name + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldName) } // SetRotation sets the Rotation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetRotation(rotation *float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetRotation(rotation *float64) { d.Rotation = rotation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldRotation) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldRotation) } // SetUnrotatedRect sets the UnrotatedRect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) SetUnrotatedRect(unrotatedRect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetUnrotatedRect(unrotatedRect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) { d.UnrotatedRect = unrotatedRect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFieldUnrotatedRect) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldUnrotatedRect) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -85844,7 +93104,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) Unmarsh if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare(unmarshaler.embed) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -85856,8 +93116,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) Unmarsh return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -85871,7 +93131,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) Marshal return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) String() string { if d == nil { return "" } @@ -85886,228 +93146,84 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquare) String( return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "normal" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "multiply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "screen" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "overlay" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "darken" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "lighten" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "color-dodge" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "color-burn" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "hard-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "soft-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "difference" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "exclusion" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "hue" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "saturation" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "color" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode = "luminosity" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "normal" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "multiply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "screen" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "overlay" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "darken" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "lighten" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "color-dodge" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "color-burn" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "hard-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "soft-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "difference" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "exclusion" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "hue" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "saturation" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "color" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "luminosity" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode, error) { switch s { case "normal": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeNormal, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeNormal, nil case "multiply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeMultiply, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeMultiply, nil case "screen": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeScreen, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeScreen, nil case "overlay": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeOverlay, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeOverlay, nil case "darken": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeDarken, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeDarken, nil case "lighten": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeLighten, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeLighten, nil case "color-dodge": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeColorDodge, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeColorBurn, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeHardLight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeHardLight, nil case "soft-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeSoftLight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeSoftLight, nil case "difference": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeDifference, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeDifference, nil case "exclusion": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeExclusion, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeExclusion, nil case "hue": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeHue, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeHue, nil case "saturation": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeSaturation, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeSaturation, nil case "color": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeColor, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeColor, nil case "luminosity": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendModeLuminosity, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBlendMode { - return &d -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyleSolid DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle = "solid" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyleDashed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle = "dashed" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyleBeveled DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle = "beveled" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyleInset DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle = "inset" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyleFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle, error) { - switch s { - case "solid": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyleSolid, nil - case "dashed": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyleDashed, nil - case "beveled": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyleBeveled, nil - case "inset": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyleInset, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeLuminosity, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareBorderStyle { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColorFieldB = big.NewInt(1 << 2) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) GetR() int { - if d == nil { - return 0 - } - return d.R -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) GetG() int { - if d == nil { - return 0 - } - return d.G -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) GetB() int { - if d == nil { - return 0 - } - return d.B -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetR sets the R field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) SetR(r int) { - d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColorFieldR) -} - -// SetG sets the G field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) SetG(g int) { - d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColorFieldG) -} - -// SetB sets the B field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) SetB(b int) { - d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColorFieldB) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareColor) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -86126,84 +93242,84 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags struct rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) GetInvisible() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) GetHidden() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) GetPrint() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) GetNoZoom() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) GetNoRotate() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) GetNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) GetReadOnly() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) GetLocked() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) GetToggleNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) GetLockedContents() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -86212,81 +93328,81 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) re // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldInvisible) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldHidden) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) SetPrint(print bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldPrint) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldNoZoom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldNoRotate) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) SetNoView(noView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldReadOnly) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) SetLocked(locked bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldLocked) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldToggleNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlagsFieldLockedContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldLockedContents) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -86296,8 +93412,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) Un return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags var marshaler = struct { embed }{ @@ -86307,7 +93423,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) Ma return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) String() string { if d == nil { return "" } @@ -86322,66 +93438,66 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareFlags) St return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQuality string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQuality string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQuality = "durable" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQuality = "weak" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQuality = "durable" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQuality = "weak" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQuality, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQualityDurable, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQualityDurable, nil case "weak": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQualityWeak, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQualityWeak, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQuality + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareIdentityQuality { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQuality { return &d } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -86394,19 +93510,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -86416,7 +93532,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -86435,13 +93551,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo) return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -86454,7 +93570,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -86495,15 +93611,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -86512,35 +93628,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToInde rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -86549,32 +93665,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -86584,8 +93700,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex var marshaler = struct { embed }{ @@ -86595,7 +93711,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) String() string { if d == nil { return "" } @@ -86611,12 +93727,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -86628,35 +93744,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToInde rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -86665,32 +93781,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -86700,8 +93816,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision var marshaler = struct { embed }{ @@ -86711,7 +93827,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -86727,11 +93843,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -86742,28 +93858,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm s rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -86772,25 +93888,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -86800,8 +93916,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm var marshaler = struct { embed }{ @@ -86811,7 +93927,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm) String() string { if d == nil { return "" } @@ -86827,11 +93943,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -86842,28 +93958,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObje rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -86872,141 +93988,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyTo // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumberFieldAnnotObjectNumber) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInReplyToObjectNumber) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColorFieldB = big.NewInt(1 << 2) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) GetR() int { - if d == nil { - return 0 - } - return d.R -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) GetG() int { - if d == nil { - return 0 - } - return d.G -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) GetB() int { - if d == nil { - return 0 - } - return d.B -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetR sets the R field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) SetR(r int) { - d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColorFieldR) -} - -// SetG sets the G field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) SetG(g int) { - d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColorFieldG) -} - -// SetB sets the B field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) SetB(b int) { - d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColorFieldB) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -87016,8 +94016,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorC return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber var marshaler = struct { embed }{ @@ -87027,7 +94027,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorC return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -87043,13 +94043,13 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareInteriorC } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectFieldTop = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -87062,42 +94062,42 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) GetLeft() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) GetBottom() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -87106,171 +94106,39 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) req // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) SetLeft(left float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectFieldLeft) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) SetBottom(bottom float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectFieldBottom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) SetRight(right float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectFieldRight) -} - -// SetTop sets the Top field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectFieldTop) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRect) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferencesFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferencesFieldTop = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferencesFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferencesFieldBottom = big.NewInt(1 << 3) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences struct { - Left float64 `json:"left" url:"left"` - Top float64 `json:"top" url:"top"` - Right float64 `json:"right" url:"right"` - Bottom float64 `json:"bottom" url:"bottom"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) GetLeft() float64 { - if d == nil { - return 0 - } - return d.Left -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) GetTop() float64 { - if d == nil { - return 0 - } - return d.Top -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) GetRight() float64 { - if d == nil { - return 0 - } - return d.Right -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) GetBottom() float64 { - if d == nil { - return 0 - } - return d.Bottom -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetLeft sets the Left field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferencesFieldLeft) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) SetTop(top float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferencesFieldTop) -} - -// SetRight sets the Right field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferencesFieldRight) -} - -// SetBottom sets the Bottom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferencesFieldBottom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRectFieldTop) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -87280,8 +94148,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDiffe return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect var marshaler = struct { embed }{ @@ -87291,7 +94159,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDiffe return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDifferences) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) String() string { if d == nil { return "" } @@ -87306,44 +94174,44 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRectDiffe return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -87356,19 +94224,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) Unma } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -87378,7 +94246,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) Unma return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -87397,13 +94265,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) Marsh return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -87416,7 +94284,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) Acce return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -87457,15 +94325,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRef) vali } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -87474,35 +94342,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex stru rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -87511,32 +94379,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -87546,8 +94414,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex var marshaler = struct { embed }{ @@ -87557,7 +94425,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) String() string { if d == nil { return "" } @@ -87573,12 +94441,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndex) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -87590,35 +94458,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevis rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -87627,32 +94495,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexR // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -87662,8 +94530,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexR return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision var marshaler = struct { embed }{ @@ -87673,7 +94541,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexR return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) String() string { if d == nil { return "" } @@ -87689,11 +94557,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefIndexR } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -87704,28 +94572,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm struct rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -87734,25 +94602,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) re // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -87762,8 +94630,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) Un return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm var marshaler = struct { embed }{ @@ -87773,7 +94641,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) Ma return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm) String() string { if d == nil { return "" } @@ -87789,11 +94657,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefNm) St } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -87804,28 +94672,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumb rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -87834,25 +94702,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObject // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -87862,8 +94730,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObject return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber var marshaler = struct { embed }{ @@ -87873,7 +94741,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObject return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber) String() string { if d == nil { return "" } @@ -87888,36 +94756,36 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareRefObject return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyType string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyType string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyType = "reply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyType = "group" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyType = "reply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyType = "group" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyType, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyType, error) { switch s { case "reply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyTypeReply, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyTypeReply, nil case "group": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyTypeGroup, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyTypeGroup, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyType + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareReplyType { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyType { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRectFieldTop = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -87930,42 +94798,42 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) GetLeft() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) GetBottom() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -87974,39 +94842,39 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotated // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) SetLeft(left float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRectFieldLeft) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) SetBottom(bottom float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRectFieldBottom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) SetRight(right float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRectFieldRight) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) SetTop(top float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRectFieldTop) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRectFieldTop) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -88016,8 +94884,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotated return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect var marshaler = struct { embed }{ @@ -88027,7 +94895,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotated return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotatedRect) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) String() string { if d == nil { return "" } @@ -88043,55 +94911,57 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquareUnrotated } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldRef = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldIndex = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldNm = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldFlags = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldRect = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldContents = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldSubject = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldAuthor = big.NewInt(1 << 9) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldCreated = big.NewInt(1 << 10) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldModified = big.NewInt(1 << 11) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldReplyType = big.NewInt(1 << 14) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldUserID = big.NewInt(1 << 15) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldGroupID = big.NewInt(1 << 16) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldActions = big.NewInt(1 << 19) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldColor = big.NewInt(1 << 20) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldOpacity = big.NewInt(1 << 21) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldQuadPoints = big.NewInt(1 << 22) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldRef = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldIndex = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldNm = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldFlags = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldRect = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldContents = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldSubject = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldAuthor = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldCreated = big.NewInt(1 << 10) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldModified = big.NewInt(1 << 11) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldReplyType = big.NewInt(1 << 14) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldUserID = big.NewInt(1 << 15) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldGroupID = big.NewInt(1 << 16) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldActions = big.NewInt(1 << 19) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldColor = big.NewInt(1 << 20) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldOpacity = big.NewInt(1 << 21) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldQuadPoints = big.NewInt(1 << 22) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldIntent = big.NewInt(1 << 23) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly struct { - Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - QuadPoints []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem `json:"quadPoints" url:"quadPoints"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout struct { + Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + QuadPoints []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem `json:"quadPoints" url:"quadPoints"` + Intent *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntent `json:"intent,omitempty" url:"intent,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -88100,175 +94970,182 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQuality { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetNm() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetContents() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetSubject() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetAuthor() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetCreated() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetModified() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyType { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetUserID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetGroupID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetCreatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetUpdatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor { if d == nil { return nil } return d.Color } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetOpacity() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetOpacity() float64 { if d == nil { return 0 } return d.Opacity } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetQuadPoints() []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetQuadPoints() []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem { if d == nil { return nil } return d.QuadPoints } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetIntent() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntent { + if d == nil { + return nil + } + return d.Intent +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -88277,167 +95154,174 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) requi // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) { d.Ref = ref - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldRef) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQuality) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldIdentityQuality) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetNm(nm *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) { d.Flags = flags - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldFlags) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) { d.Rect = rect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldRect) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetContents(contents *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetSubject(subject *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldSubject) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetAuthor(author *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldAuthor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetCreated(created *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldCreated) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetModified(modified *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldModified) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldBlendMode) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldInReplyTo) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyType) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyType) { d.ReplyType = replyType - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldReplyType) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldReplyType) } // SetUserID sets the UserID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetUserID(userID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetUserID(userID *string) { d.UserID = userID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldUserID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldUserID) } // SetGroupID sets the GroupID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetGroupID(groupID *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetGroupID(groupID *string) { d.GroupID = groupID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldGroupID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldGroupID) } // SetCreatedBy sets the CreatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetCreatedBy(createdBy *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetCreatedBy(createdBy *string) { d.CreatedBy = createdBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldCreatedBy) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldCreatedBy) } // SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetUpdatedBy(updatedBy *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetUpdatedBy(updatedBy *string) { d.UpdatedBy = updatedBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldUpdatedBy) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldUpdatedBy) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetActions(actions *PdfAnnotationActions) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetActions(actions *PdfAnnotationActions) { d.Actions = actions - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldActions) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldActions) } // SetColor sets the Color field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) { d.Color = color - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldColor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldColor) } // SetOpacity sets the Opacity field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetOpacity(opacity float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetOpacity(opacity float64) { d.Opacity = opacity - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldOpacity) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldOpacity) } // SetQuadPoints sets the QuadPoints field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) SetQuadPoints(quadPoints []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetQuadPoints(quadPoints []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) { d.QuadPoints = quadPoints - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFieldQuadPoints) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldQuadPoints) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly +// SetIntent sets the Intent field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetIntent(intent *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntent) { + d.Intent = intent + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldIntent) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout var unmarshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -88448,7 +95332,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) Unmar if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly(unmarshaler.embed) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout(unmarshaler.embed) d.Created = unmarshaler.Created.TimePtr() d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) @@ -88460,8 +95344,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) Unmar return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout var marshaler = struct { embed Created *internal.DateTime `json:"created,omitempty"` @@ -88475,7 +95359,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) String() string { if d == nil { return "" } @@ -88490,77 +95374,77 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquiggly) Strin return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "normal" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "multiply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "screen" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "overlay" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "darken" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "lighten" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "color-dodge" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "color-burn" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "hard-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "soft-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "difference" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "exclusion" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "hue" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "saturation" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "color" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode = "luminosity" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "normal" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "multiply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "screen" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "overlay" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "darken" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "lighten" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "color-dodge" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "color-burn" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "hard-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "soft-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "difference" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "exclusion" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "hue" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "saturation" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "color" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "luminosity" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode, error) { switch s { case "normal": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeNormal, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeNormal, nil case "multiply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeMultiply, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeMultiply, nil case "screen": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeScreen, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeScreen, nil case "overlay": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeOverlay, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeOverlay, nil case "darken": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeDarken, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeDarken, nil case "lighten": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeLighten, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeLighten, nil case "color-dodge": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeColorDodge, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeColorDodge, nil case "color-burn": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeColorBurn, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeColorBurn, nil case "hard-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeHardLight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeHardLight, nil case "soft-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeSoftLight, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeSoftLight, nil case "difference": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeDifference, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeDifference, nil case "exclusion": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeExclusion, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeExclusion, nil case "hue": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeHue, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeHue, nil case "saturation": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeSaturation, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeSaturation, nil case "color": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeColor, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeColor, nil case "luminosity": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendModeLuminosity, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeLuminosity, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyBlendMode { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColorFieldB = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor struct { R int `json:"r" url:"r"` G int `json:"g" url:"g"` B int `json:"b" url:"b"` @@ -88572,35 +95456,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor struc rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) GetR() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) GetR() int { if d == nil { return 0 } return d.R } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) GetG() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) GetG() int { if d == nil { return 0 } return d.G } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) GetB() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) GetB() int { if d == nil { return 0 } return d.B } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -88609,32 +95493,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) // SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) SetR(r int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) SetR(r int) { d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColorFieldR) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColorFieldR) } // SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) SetG(g int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) SetG(g int) { d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColorFieldG) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColorFieldG) } // SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) SetB(b int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) SetB(b int) { d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColorFieldB) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColorFieldB) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -88644,8 +95528,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor var marshaler = struct { embed }{ @@ -88655,7 +95539,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) String() string { if d == nil { return "" } @@ -88671,19 +95555,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyColor) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags struct { Invisible bool `json:"invisible" url:"invisible"` Hidden bool `json:"hidden" url:"hidden"` Print bool `json:"print" url:"print"` @@ -88702,84 +95586,84 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags struc rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) GetInvisible() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) GetInvisible() bool { if d == nil { return false } return d.Invisible } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) GetHidden() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) GetHidden() bool { if d == nil { return false } return d.Hidden } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) GetPrint() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) GetPrint() bool { if d == nil { return false } return d.Print } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) GetNoZoom() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) GetNoZoom() bool { if d == nil { return false } return d.NoZoom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) GetNoRotate() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) GetNoRotate() bool { if d == nil { return false } return d.NoRotate } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) GetNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) GetNoView() bool { if d == nil { return false } return d.NoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) GetReadOnly() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) GetLocked() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) GetLocked() bool { if d == nil { return false } return d.Locked } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) GetToggleNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) GetToggleNoView() bool { if d == nil { return false } return d.ToggleNoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) GetLockedContents() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) GetLockedContents() bool { if d == nil { return false } return d.LockedContents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -88788,81 +95672,81 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) // SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) SetInvisible(invisible bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) SetInvisible(invisible bool) { d.Invisible = invisible - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldInvisible) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldInvisible) } // SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) SetHidden(hidden bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) SetHidden(hidden bool) { d.Hidden = hidden - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldHidden) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldHidden) } // SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) SetPrint(print bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) SetPrint(print bool) { d.Print = print - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldPrint) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldPrint) } // SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) SetNoZoom(noZoom bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) SetNoZoom(noZoom bool) { d.NoZoom = noZoom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldNoZoom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldNoZoom) } // SetNoRotate sets the NoRotate field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) SetNoRotate(noRotate bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) SetNoRotate(noRotate bool) { d.NoRotate = noRotate - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldNoRotate) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldNoRotate) } // SetNoView sets the NoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) SetNoView(noView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) SetNoView(noView bool) { d.NoView = noView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldNoView) } // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) SetReadOnly(readOnly bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldReadOnly) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldReadOnly) } // SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) SetLocked(locked bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) SetLocked(locked bool) { d.Locked = locked - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldLocked) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldLocked) } // SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) SetToggleNoView(toggleNoView bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) SetToggleNoView(toggleNoView bool) { d.ToggleNoView = toggleNoView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldToggleNoView) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldToggleNoView) } // SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) SetLockedContents(lockedContents bool) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) SetLockedContents(lockedContents bool) { d.LockedContents = lockedContents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlagsFieldLockedContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldLockedContents) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -88872,8 +95756,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags var marshaler = struct { embed }{ @@ -88883,7 +95767,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) String() string { if d == nil { return "" } @@ -88898,66 +95782,66 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyFlags) return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQuality string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQuality string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQuality = "durable" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQuality = "weak" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQuality = "durable" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQuality = "weak" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQuality, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQuality, error) { switch s { case "durable": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQualityDurable, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQualityDurable, nil case "weak": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQualityWeak, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQualityWeak, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQuality + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQuality return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyIdentityQuality { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQuality { return &d } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -88970,19 +95854,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReply } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -88992,7 +95876,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReply return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -89011,13 +95895,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyT return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -89030,7 +95914,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReply return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyTo) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -89071,15 +95955,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReply } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -89088,35 +95972,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIn rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -89125,32 +96009,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReply // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -89160,8 +96044,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReply return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex var marshaler = struct { embed }{ @@ -89171,7 +96055,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReply return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) String() string { if d == nil { return "" } @@ -89187,12 +96071,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReply } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -89204,35 +96088,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIn rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -89241,32 +96125,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReply // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -89276,8 +96160,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReply return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision var marshaler = struct { embed }{ @@ -89287,7 +96171,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReply return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -89303,11 +96187,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReply } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -89318,28 +96202,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -89348,25 +96232,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReply // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -89376,8 +96260,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReply return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm var marshaler = struct { embed }{ @@ -89387,7 +96271,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReply return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm) String() string { if d == nil { return "" } @@ -89403,11 +96287,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReply } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -89418,28 +96302,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToOb rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -89448,25 +96332,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReply // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -89476,8 +96360,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReply return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber var marshaler = struct { embed }{ @@ -89487,7 +96371,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReply return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReplyToObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -89502,18 +96386,37 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyInReply return fmt.Sprintf("%#v", d) } +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntent string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntentStrikeoutTextEdit DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntent = "strikeout-text-edit" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntentFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntent, error) { + switch s { + case "strikeout-text-edit": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntentStrikeoutTextEdit, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntent + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntent) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntent { + return &d +} + var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemFieldP1 = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemFieldP2 = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemFieldP3 = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemFieldP4 = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemFieldP1 = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemFieldP2 = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemFieldP3 = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemFieldP4 = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem struct { - P1 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1 `json:"p1" url:"p1"` - P2 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2 `json:"p2" url:"p2"` - P3 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3 `json:"p3" url:"p3"` - P4 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4 `json:"p4" url:"p4"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem struct { + P1 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1 `json:"p1" url:"p1"` + P2 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2 `json:"p2" url:"p2"` + P3 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3 `json:"p3" url:"p3"` + P4 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4 `json:"p4" url:"p4"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -89522,42 +96425,42 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsI rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) GetP1() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) GetP1() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1 { if d == nil { return nil } return d.P1 } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) GetP2() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) GetP2() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2 { if d == nil { return nil } return d.P2 } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) GetP3() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) GetP3() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3 { if d == nil { return nil } return d.P3 } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) GetP4() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) GetP4() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4 { if d == nil { return nil } return d.P4 } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -89566,39 +96469,39 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPoi // SetP1 sets the P1 field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) SetP1(p1 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) SetP1(p1 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1) { d.P1 = p1 - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemFieldP1) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemFieldP1) } // SetP2 sets the P2 field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) SetP2(p2 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) SetP2(p2 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2) { d.P2 = p2 - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemFieldP2) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemFieldP2) } // SetP3 sets the P3 field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) SetP3(p3 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) SetP3(p3 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3) { d.P3 = p3 - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemFieldP3) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemFieldP3) } // SetP4 sets the P4 field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) SetP4(p4 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) SetP4(p4 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4) { d.P4 = p4 - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemFieldP4) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemFieldP4) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -89608,8 +96511,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPoi return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem var marshaler = struct { embed }{ @@ -89619,7 +96522,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPoi return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItem) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) String() string { if d == nil { return "" } @@ -89635,11 +96538,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPoi } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1FieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1FieldY = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1FieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1 struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1 struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -89650,28 +96553,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsI rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1) GetX() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1) GetY() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -89680,25 +96583,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPoi // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1) SetX(x float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1) SetX(x float64) { d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1FieldX) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1FieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1) SetY(y float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1) SetY(y float64) { d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1FieldY) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1FieldY) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -89708,8 +96611,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPoi return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1 var marshaler = struct { embed }{ @@ -89719,7 +96622,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPoi return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP1) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1) String() string { if d == nil { return "" } @@ -89735,11 +96638,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPoi } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2FieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2FieldY = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2FieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2 struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2 struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -89750,28 +96653,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsI rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2) GetX() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2) GetY() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -89780,25 +96683,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPoi // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2) SetX(x float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2) SetX(x float64) { d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2FieldX) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2FieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2) SetY(y float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2) SetY(y float64) { d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2FieldY) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2FieldY) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -89808,8 +96711,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPoi return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2 var marshaler = struct { embed }{ @@ -89819,7 +96722,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPoi return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP2) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2) String() string { if d == nil { return "" } @@ -89835,11 +96738,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPoi } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3FieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3FieldY = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3FieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3 struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3 struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -89850,28 +96753,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsI rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3) GetX() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3) GetY() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -89880,25 +96783,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPoi // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3) SetX(x float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3) SetX(x float64) { d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3FieldX) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3FieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3) SetY(y float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3) SetY(y float64) { d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3FieldY) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3FieldY) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -89908,8 +96811,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPoi return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3 var marshaler = struct { embed }{ @@ -89919,7 +96822,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPoi return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP3) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3) String() string { if d == nil { return "" } @@ -89935,11 +96838,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPoi } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4FieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4FieldY = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4FieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4 struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4 struct { X float64 `json:"x" url:"x"` Y float64 `json:"y" url:"y"` @@ -89950,28 +96853,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsI rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4) GetX() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4) GetX() float64 { if d == nil { return 0 } return d.X } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4) GetY() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4) GetY() float64 { if d == nil { return 0 } return d.Y } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -89980,25 +96883,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPoi // SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4) SetX(x float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4) SetX(x float64) { d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4FieldX) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4FieldX) } // SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4) SetY(y float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4) SetY(y float64) { d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4FieldY) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4FieldY) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -90008,8 +96911,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPoi return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4 var marshaler = struct { embed }{ @@ -90019,7 +96922,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPoi return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPointsItemP4) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4) String() string { if d == nil { return "" } @@ -90035,13 +96938,13 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyQuadPoi } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRectFieldTop = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect struct { Left float64 `json:"left" url:"left"` Bottom float64 `json:"bottom" url:"bottom"` Right float64 `json:"right" url:"right"` @@ -90054,42 +96957,42 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect struct rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) GetLeft() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) GetLeft() float64 { if d == nil { return 0 } return d.Left } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) GetBottom() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) GetBottom() float64 { if d == nil { return 0 } return d.Bottom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) GetRight() float64 { if d == nil { return 0 } return d.Right } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) GetTop() float64 { if d == nil { return 0 } return d.Top } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -90098,39 +97001,39 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) r // SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) SetLeft(left float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) SetLeft(left float64) { d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRectFieldLeft) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRectFieldLeft) } // SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) SetBottom(bottom float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) SetBottom(bottom float64) { d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRectFieldBottom) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRectFieldBottom) } // SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) SetRight(right float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) SetRight(right float64) { d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRectFieldRight) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRectFieldRight) } // SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) SetTop(top float64) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) SetTop(top float64) { d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRectFieldTop) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRectFieldTop) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -90140,8 +97043,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) U return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect var marshaler = struct { embed }{ @@ -90151,7 +97054,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) M return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) String() string { if d == nil { return "" } @@ -90166,44 +97069,44 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRect) S return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -90216,19 +97119,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) Un } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -90238,7 +97141,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) Un return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -90257,13 +97160,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) Mar return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -90276,7 +97179,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) Ac return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -90317,15 +97220,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRef) va } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -90334,35 +97237,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex st rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -90371,32 +97274,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefInde // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -90406,8 +97309,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefInde return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex var marshaler = struct { embed }{ @@ -90417,7 +97320,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefInde return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) String() string { if d == nil { return "" } @@ -90433,12 +97336,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefInde } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -90450,35 +97353,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRev rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -90487,32 +97390,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefInde // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -90522,8 +97425,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefInde return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision var marshaler = struct { embed }{ @@ -90533,7 +97436,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefInde return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) String() string { if d == nil { return "" } @@ -90549,11 +97452,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefInde } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -90564,28 +97467,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm struc rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -90594,25 +97497,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -90622,8 +97525,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm var marshaler = struct { embed }{ @@ -90633,7 +97536,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) String() string { if d == nil { return "" } @@ -90649,11 +97552,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefNm) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -90664,28 +97567,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNu rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -90694,25 +97597,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObje // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -90722,8 +97625,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObje return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber var marshaler = struct { embed }{ @@ -90733,7 +97636,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObje return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber) String() string { if d == nil { return "" } @@ -90748,78 +97651,82 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyRefObje return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyType string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyType string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyType = "reply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyType = "group" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyType = "reply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyType = "group" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyType, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyType, error) { switch s { case "reply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyTypeReply, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyTypeReply, nil case "group": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyTypeGroup, nil + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyTypeGroup, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyType + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemSquigglyReplyType { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyType { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldRef = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldIndex = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldNm = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldFlags = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldRect = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldContents = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldSubject = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldAuthor = big.NewInt(1 << 9) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldCreated = big.NewInt(1 << 10) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldModified = big.NewInt(1 << 11) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldReplyType = big.NewInt(1 << 14) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldUserID = big.NewInt(1 << 15) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldGroupID = big.NewInt(1 << 16) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldActions = big.NewInt(1 << 19) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldName = big.NewInt(1 << 20) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldRotation = big.NewInt(1 << 21) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldUnrotatedRect = big.NewInt(1 << 22) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldRef = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldIndex = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldNm = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldFlags = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldRect = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldContents = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldSubject = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldAuthor = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldCreated = big.NewInt(1 << 10) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldModified = big.NewInt(1 << 11) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldReplyType = big.NewInt(1 << 14) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldUserID = big.NewInt(1 << 15) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldGroupID = big.NewInt(1 << 16) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldActions = big.NewInt(1 << 19) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldColor = big.NewInt(1 << 20) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldOpacity = big.NewInt(1 << 21) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldIcon = big.NewInt(1 << 22) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldState = big.NewInt(1 << 23) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldStateModel = big.NewInt(1 << 24) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp struct { - Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Name *string `json:"name,omitempty" url:"name,omitempty"` - Rotation *float64 `json:"rotation,omitempty" url:"rotation,omitempty"` - UnrotatedRect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect `json:"unrotatedRect,omitempty" url:"unrotatedRect,omitempty"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText struct { + Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + Icon DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon `json:"icon" url:"icon"` + State *string `json:"state,omitempty" url:"state,omitempty"` + StateModel *string `json:"stateModel,omitempty" url:"stateModel,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -90828,175 +97735,189 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef { if d == nil { return nil } return d.Ref } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQuality { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQuality { if d == nil { return "" } return d.IdentityQuality } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetNm() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetNm() *string { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags { if d == nil { return nil } return d.Flags } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect { if d == nil { return nil } return d.Rect } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetContents() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetContents() *string { if d == nil { return nil } return d.Contents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetSubject() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetSubject() *string { if d == nil { return nil } return d.Subject } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetAuthor() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetAuthor() *string { if d == nil { return nil } return d.Author } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetCreated() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetCreated() *time.Time { if d == nil { return nil } return d.Created } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetModified() *time.Time { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetModified() *time.Time { if d == nil { return nil } return d.Modified } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode { if d == nil { return "" } return d.BlendMode } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo { if d == nil { return nil } return d.InReplyTo } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyType { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyType { if d == nil { return nil } return d.ReplyType } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetUserID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetUserID() *string { if d == nil { return nil } return d.UserID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetGroupID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetGroupID() *string { if d == nil { return nil } return d.GroupID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetCreatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetCreatedBy() *string { if d == nil { return nil } return d.CreatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetUpdatedBy() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetUpdatedBy() *string { if d == nil { return nil } return d.UpdatedBy } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetActions() *PdfAnnotationActions { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetActions() *PdfAnnotationActions { if d == nil { return nil } return d.Actions } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetName() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor { if d == nil { return nil } - return d.Name + return d.Color } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetRotation() *float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetOpacity() float64 { + if d == nil { + return 0 + } + return d.Opacity +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetIcon() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon { + if d == nil { + return "" + } + return d.Icon +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetState() *string { if d == nil { return nil } - return d.Rotation + return d.State } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetUnrotatedRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetStateModel() *string { if d == nil { return nil } - return d.UnrotatedRect + return d.StateModel } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -91005,764 +97926,194 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) require( // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) { d.Ref = ref - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldRef) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldRef) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldIndex) } // SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQuality) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQuality) { d.IdentityQuality = identityQuality - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldIdentityQuality) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldIdentityQuality) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetNm(nm *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetNm(nm *string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldNm) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) { d.Flags = flags - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldFlags) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldFlags) } // SetRect sets the Rect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) { d.Rect = rect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldRect) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldRect) } // SetContents sets the Contents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetContents(contents *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetContents(contents *string) { d.Contents = contents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldContents) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldContents) } // SetSubject sets the Subject field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetSubject(subject *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetSubject(subject *string) { d.Subject = subject - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldSubject) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldSubject) } // SetAuthor sets the Author field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetAuthor(author *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetAuthor(author *string) { d.Author = author - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldAuthor) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldAuthor) } // SetCreated sets the Created field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetCreated(created *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetCreated(created *time.Time) { d.Created = created - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldCreated) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldCreated) } // SetModified sets the Modified field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetModified(modified *time.Time) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetModified(modified *time.Time) { d.Modified = modified - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldModified) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldModified) } // SetBlendMode sets the BlendMode field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode) { d.BlendMode = blendMode - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldBlendMode) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldBlendMode) } // SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) { d.InReplyTo = inReplyTo - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldInReplyTo) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldInReplyTo) } // SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyType) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyType) { d.ReplyType = replyType - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldReplyType) -} - -// SetUserID sets the UserID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetUserID(userID *string) { - d.UserID = userID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldUserID) -} - -// SetGroupID sets the GroupID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetGroupID(groupID *string) { - d.GroupID = groupID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldGroupID) -} - -// SetCreatedBy sets the CreatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetCreatedBy(createdBy *string) { - d.CreatedBy = createdBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldCreatedBy) -} - -// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetUpdatedBy(updatedBy *string) { - d.UpdatedBy = updatedBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldUpdatedBy) -} - -// SetActions sets the Actions field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetActions(actions *PdfAnnotationActions) { - d.Actions = actions - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldActions) -} - -// SetName sets the Name field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetName(name *string) { - d.Name = name - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldName) -} - -// SetRotation sets the Rotation field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetRotation(rotation *float64) { - d.Rotation = rotation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldRotation) -} - -// SetUnrotatedRect sets the UnrotatedRect field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) SetUnrotatedRect(unrotatedRect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) { - d.UnrotatedRect = unrotatedRect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFieldUnrotatedRect) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp - var unmarshaler = struct { - embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` - }{ - embed: embed(*d), - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp(unmarshaler.embed) - d.Created = unmarshaler.Created.TimePtr() - d.Modified = unmarshaler.Modified.TimePtr() - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp - var marshaler = struct { - embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` - }{ - embed: embed(*d), - Created: internal.NewOptionalDateTime(d.Created), - Modified: internal.NewOptionalDateTime(d.Modified), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStamp) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "normal" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "multiply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "screen" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "overlay" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "darken" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "lighten" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "color-dodge" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "color-burn" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "hard-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "soft-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "difference" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "exclusion" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "hue" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "saturation" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "color" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode = "luminosity" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode, error) { - switch s { - case "normal": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeNormal, nil - case "multiply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeMultiply, nil - case "screen": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeScreen, nil - case "overlay": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeOverlay, nil - case "darken": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeDarken, nil - case "lighten": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeLighten, nil - case "color-dodge": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeColorDodge, nil - case "color-burn": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeColorBurn, nil - case "hard-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeHardLight, nil - case "soft-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeSoftLight, nil - case "difference": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeDifference, nil - case "exclusion": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeExclusion, nil - case "hue": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeHue, nil - case "saturation": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeSaturation, nil - case "color": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeColor, nil - case "luminosity": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendModeLuminosity, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampBlendMode { - return &d -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldLockedContents = big.NewInt(1 << 9) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags struct { - Invisible bool `json:"invisible" url:"invisible"` - Hidden bool `json:"hidden" url:"hidden"` - Print bool `json:"print" url:"print"` - NoZoom bool `json:"noZoom" url:"noZoom"` - NoRotate bool `json:"noRotate" url:"noRotate"` - NoView bool `json:"noView" url:"noView"` - ReadOnly bool `json:"readOnly" url:"readOnly"` - Locked bool `json:"locked" url:"locked"` - ToggleNoView bool `json:"toggleNoView" url:"toggleNoView"` - LockedContents bool `json:"lockedContents" url:"lockedContents"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) GetInvisible() bool { - if d == nil { - return false - } - return d.Invisible -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) GetHidden() bool { - if d == nil { - return false - } - return d.Hidden -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) GetPrint() bool { - if d == nil { - return false - } - return d.Print -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) GetNoZoom() bool { - if d == nil { - return false - } - return d.NoZoom -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) GetNoRotate() bool { - if d == nil { - return false - } - return d.NoRotate -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) GetNoView() bool { - if d == nil { - return false - } - return d.NoView -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) GetReadOnly() bool { - if d == nil { - return false - } - return d.ReadOnly -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) GetLocked() bool { - if d == nil { - return false - } - return d.Locked -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) GetToggleNoView() bool { - if d == nil { - return false - } - return d.ToggleNoView -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) GetLockedContents() bool { - if d == nil { - return false - } - return d.LockedContents -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetInvisible sets the Invisible field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) SetInvisible(invisible bool) { - d.Invisible = invisible - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldInvisible) -} - -// SetHidden sets the Hidden field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) SetHidden(hidden bool) { - d.Hidden = hidden - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldHidden) -} - -// SetPrint sets the Print field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) SetPrint(print bool) { - d.Print = print - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldPrint) -} - -// SetNoZoom sets the NoZoom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) SetNoZoom(noZoom bool) { - d.NoZoom = noZoom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldNoZoom) -} - -// SetNoRotate sets the NoRotate field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) SetNoRotate(noRotate bool) { - d.NoRotate = noRotate - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldNoRotate) -} - -// SetNoView sets the NoView field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) SetNoView(noView bool) { - d.NoView = noView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldNoView) -} - -// SetReadOnly sets the ReadOnly field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) SetReadOnly(readOnly bool) { - d.ReadOnly = readOnly - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldReadOnly) -} - -// SetLocked sets the Locked field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) SetLocked(locked bool) { - d.Locked = locked - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldLocked) -} - -// SetToggleNoView sets the ToggleNoView field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) SetToggleNoView(toggleNoView bool) { - d.ToggleNoView = toggleNoView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldToggleNoView) -} - -// SetLockedContents sets the LockedContents field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) SetLockedContents(lockedContents bool) { - d.LockedContents = lockedContents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlagsFieldLockedContents) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampFlags) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQuality string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQuality = "durable" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQuality = "weak" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQuality, error) { - switch s { - case "durable": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQualityDurable, nil - case "weak": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQualityWeak, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQuality - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampIdentityQuality { - return &d -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo struct { - Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex - - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo) GetKind() string { - if d == nil { - return "" - } - return d.Kind -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber { - if d == nil { - return nil - } - return d.ObjectNumber -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm { - if d == nil { - return nil - } - return d.Nm -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex { - if d == nil { - return nil - } - return d.Index -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo) UnmarshalJSON(data []byte) error { - var unmarshaler struct { - Kind string `json:"kind"` - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { - return err - } - d.Kind = unmarshaler.Kind - if unmarshaler.Kind == "" { - return fmt.Errorf("%T did not include discriminant kind", d) - } - switch unmarshaler.Kind { - case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.ObjectNumber = value - case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Nm = value - case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Index = value - } - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo) MarshalJSON() ([]byte, error) { - if err := d.validate(); err != nil { - return nil, err - } - if d.ObjectNumber != nil { - return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") - } - if d.Nm != nil { - return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") - } - if d.Index != nil { - return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") - } - if len(d.rawJSON) > 0 { - return d.rawJSON, nil - } - return nil, fmt.Errorf("type %T does not define a non-empty union type", d) -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) error -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToVisitor) error { - if d.ObjectNumber != nil { - return visitor.VisitObjectNumber(d.ObjectNumber) - } - if d.Nm != nil { - return visitor.VisitNm(d.Nm) - } - if d.Index != nil { - return visitor.VisitIndex(d.Index) - } - return fmt.Errorf("type %T does not define a non-empty union type", d) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyTo) validate() error { - if d == nil { - return fmt.Errorf("type %T is nil", d) - } - var fields []string - if d.ObjectNumber != nil { - fields = append(fields, "objectNumber") - } - if d.Nm != nil { - fields = append(fields, "nm") - } - if d.Index != nil { - fields = append(fields, "index") - } - if len(fields) == 0 { - if d.Kind != "" { - if len(d.rawJSON) > 0 { - return nil - } - return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) - } - return fmt.Errorf("type %T is empty", d) - } - if len(fields) > 1 { - return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) - } - if d.Kind != "" { - field := fields[0] - if d.Kind != field { - return fmt.Errorf( - "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", - d, - d.Kind, - d, - ) - } - } - return nil + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldReplyType) } -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexFieldRevision = big.NewInt(1 << 2) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision `json:"revision" url:"revision"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` +// SetUserID sets the UserID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetUserID(userID *string) { + d.UserID = userID + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldUserID) +} - extraProperties map[string]interface{} - rawJSON json.RawMessage +// SetGroupID sets the GroupID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetGroupID(groupID *string) { + d.GroupID = groupID + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldGroupID) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber +// SetCreatedBy sets the CreatedBy field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetCreatedBy(createdBy *string) { + d.CreatedBy = createdBy + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldCreatedBy) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) GetIndex() int { - if d == nil { - return 0 - } - return d.Index +// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetUpdatedBy(updatedBy *string) { + d.UpdatedBy = updatedBy + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldUpdatedBy) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision { - if d == nil { - return nil - } - return d.Revision +// SetActions sets the Actions field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetActions(actions *PdfAnnotationActions) { + d.Actions = actions + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldActions) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties +// SetColor sets the Color field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) { + d.Color = color + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldColor) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) +// SetOpacity sets the Opacity field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetOpacity(opacity float64) { + d.Opacity = opacity + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldOpacity) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetIcon sets the Icon field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexFieldPageObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetIcon(icon DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon) { + d.Icon = icon + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldIcon) } -// SetIndex sets the Index field and marks it as non-optional; +// SetState sets the State field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) SetIndex(index int) { - d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexFieldIndex) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetState(state *string) { + d.State = state + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldState) } -// SetRevision sets the Revision field and marks it as non-optional; +// SetStateModel sets the StateModel field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) { - d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexFieldRevision) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetStateModel(stateModel *string) { + d.StateModel = stateModel + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldStateModel) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText + var unmarshaler = struct { + embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` + }{ + embed: embed(*d), + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText(unmarshaler.embed) + d.Created = unmarshaler.Created.TimePtr() + d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -91772,18 +98123,22 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToI return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText var marshaler = struct { embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` }{ - embed: embed(*d), + embed: embed(*d), + Created: internal.NewOptionalDateTime(d.Created), + Modified: internal.NewOptionalDateTime(d.Modified), } explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) String() string { if d == nil { return "" } @@ -91798,16 +98153,80 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToI return fmt.Sprintf("%#v", d) } +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "normal" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "multiply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "screen" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "overlay" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "darken" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "lighten" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "color-dodge" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "color-burn" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "hard-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "soft-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "difference" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "exclusion" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "hue" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "saturation" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "color" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "luminosity" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode, error) { + switch s { + case "normal": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeNormal, nil + case "multiply": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeMultiply, nil + case "screen": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeScreen, nil + case "overlay": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeOverlay, nil + case "darken": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeDarken, nil + case "lighten": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeLighten, nil + case "color-dodge": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeColorDodge, nil + case "color-burn": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeColorBurn, nil + case "hard-light": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeHardLight, nil + case "soft-light": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeSoftLight, nil + case "difference": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeDifference, nil + case "exclusion": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeExclusion, nil + case "hue": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeHue, nil + case "saturation": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeSaturation, nil + case "color": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeColor, nil + case "luminosity": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeLuminosity, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode { + return &d +} + var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision struct { - DocSessionID string `json:"docSessionId" url:"docSessionId"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Generation int `json:"generation" url:"generation"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -91816,69 +98235,69 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) GetR() int { if d == nil { - return "" + return 0 } - return d.DocSessionID + return d.R } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) GetG() int { if d == nil { return 0 } - return d.PageObjectNumber + return d.G } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) GetB() int { if d == nil { return 0 } - return d.Generation + return d.B } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetDocSessionID sets the DocSessionID field and marks it as non-optional; +// SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) SetDocSessionID(docSessionID string) { - d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevisionFieldDocSessionID) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) SetR(r int) { + d.R = r + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColorFieldR) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevisionFieldPageObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) SetG(g int) { + d.G = g + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColorFieldG) } -// SetGeneration sets the Generation field and marks it as non-optional; +// SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) SetGeneration(generation int) { - d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevisionFieldGeneration) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) SetB(b int) { + d.B = b + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColorFieldB) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -91888,8 +98307,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToI return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor var marshaler = struct { embed }{ @@ -91899,7 +98318,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToI return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) String() string { if d == nil { return "" } @@ -91915,13 +98334,29 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToI } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Nm string `json:"nm" url:"nm"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags struct { + Invisible bool `json:"invisible" url:"invisible"` + Hidden bool `json:"hidden" url:"hidden"` + Print bool `json:"print" url:"print"` + NoZoom bool `json:"noZoom" url:"noZoom"` + NoRotate bool `json:"noRotate" url:"noRotate"` + NoView bool `json:"noView" url:"noView"` + ReadOnly bool `json:"readOnly" url:"readOnly"` + Locked bool `json:"locked" url:"locked"` + ToggleNoView bool `json:"toggleNoView" url:"toggleNoView"` + LockedContents bool `json:"lockedContents" url:"lockedContents"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -91930,287 +98365,167 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm st rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) GetInvisible() bool { if d == nil { - return 0 + return false } - return d.PageObjectNumber + return d.Invisible } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) GetHidden() bool { if d == nil { - return "" + return false } - return d.Nm + return d.Hidden } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) GetPrint() bool { if d == nil { - return nil + return false } - return d.extraProperties + return d.Print } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) GetNoZoom() bool { + if d == nil { + return false } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNmFieldPageObjectNumber) -} - -// SetNm sets the Nm field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm) SetNm(nm string) { - d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNmFieldNm) + return d.NoZoom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) GetNoRotate() bool { + if d == nil { + return false } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil + return d.NoRotate } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm - var marshaler = struct { - embed - }{ - embed: embed(*d), +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) GetNoView() bool { + if d == nil { + return false } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + return d.NoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) GetReadOnly() bool { if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value + return false } - return fmt.Sprintf("%#v", d) + return d.ReadOnly } -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) GetLocked() bool { + if d == nil { + return false + } + return d.Locked } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) GetToggleNoView() bool { if d == nil { - return 0 + return false } - return d.PageObjectNumber + return d.ToggleNoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) GetLockedContents() bool { if d == nil { - return 0 + return false } - return d.AnnotObjectNumber + return d.LockedContents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumberFieldPageObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) SetInvisible(invisible bool) { + d.Invisible = invisible + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldInvisible) } -// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { - d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumberFieldAnnotObjectNumber) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampInReplyToObjectNumber) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRectFieldTop = big.NewInt(1 << 3) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect struct { - Left float64 `json:"left" url:"left"` - Bottom float64 `json:"bottom" url:"bottom"` - Right float64 `json:"right" url:"right"` - Top float64 `json:"top" url:"top"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) GetLeft() float64 { - if d == nil { - return 0 - } - return d.Left -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) GetBottom() float64 { - if d == nil { - return 0 - } - return d.Bottom +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) SetHidden(hidden bool) { + d.Hidden = hidden + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldHidden) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) GetRight() float64 { - if d == nil { - return 0 - } - return d.Right +// SetPrint sets the Print field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) SetPrint(print bool) { + d.Print = print + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldPrint) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) GetTop() float64 { - if d == nil { - return 0 - } - return d.Top +// SetNoZoom sets the NoZoom field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) SetNoZoom(noZoom bool) { + d.NoZoom = noZoom + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldNoZoom) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties +// SetNoRotate sets the NoRotate field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) SetNoRotate(noRotate bool) { + d.NoRotate = noRotate + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldNoRotate) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) +// SetNoView sets the NoView field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) SetNoView(noView bool) { + d.NoView = noView + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldNoView) } -// SetLeft sets the Left field and marks it as non-optional; +// SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRectFieldLeft) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) SetReadOnly(readOnly bool) { + d.ReadOnly = readOnly + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldReadOnly) } -// SetBottom sets the Bottom field and marks it as non-optional; +// SetLocked sets the Locked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRectFieldBottom) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) SetLocked(locked bool) { + d.Locked = locked + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldLocked) } -// SetRight sets the Right field and marks it as non-optional; +// SetToggleNoView sets the ToggleNoView field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRectFieldRight) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) SetToggleNoView(toggleNoView bool) { + d.ToggleNoView = toggleNoView + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldToggleNoView) } -// SetTop sets the Top field and marks it as non-optional; +// SetLockedContents sets the LockedContents field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRectFieldTop) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) SetLockedContents(lockedContents bool) { + d.LockedContents = lockedContents + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldLockedContents) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -92220,8 +98535,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) Unma return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags var marshaler = struct { embed }{ @@ -92231,7 +98546,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) Mars return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) String() string { if d == nil { return "" } @@ -92246,44 +98561,103 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRect) Stri return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconComment DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon = "comment" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconKey DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon = "key" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconNote DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon = "note" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconHelp DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon = "help" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconNewParagraph DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon = "new-paragraph" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconParagraph DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon = "paragraph" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconInsert DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon = "insert" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon, error) { + switch s { + case "comment": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconComment, nil + case "key": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconKey, nil + case "note": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconNote, nil + case "help": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconHelp, nil + case "new-paragraph": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconNewParagraph, nil + case "paragraph": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconParagraph, nil + case "insert": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconInsert, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon { + return &d +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQuality string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQuality = "durable" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQuality = "weak" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQuality, error) { + switch s { + case "durable": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQualityDurable, nil + case "weak": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQualityWeak, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQuality + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQuality { + return &d +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -92296,19 +98670,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef) Unmar } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -92318,7 +98692,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef) Unmar return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -92337,13 +98711,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef) Marsha return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -92356,386 +98730,56 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef) Accep return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRef) validate() error { - if d == nil { - return fmt.Errorf("type %T is nil", d) - } - var fields []string - if d.ObjectNumber != nil { - fields = append(fields, "objectNumber") - } - if d.Nm != nil { - fields = append(fields, "nm") - } - if d.Index != nil { - fields = append(fields, "index") - } - if len(fields) == 0 { - if d.Kind != "" { - if len(d.rawJSON) > 0 { - return nil - } - return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) - } - return fmt.Errorf("type %T is empty", d) - } - if len(fields) > 1 { - return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) - } - if d.Kind != "" { - field := fields[0] - if d.Kind != field { - return fmt.Errorf( - "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", - d, - d.Kind, - d, - ) - } - } - return nil -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexFieldRevision = big.NewInt(1 << 2) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision `json:"revision" url:"revision"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) GetIndex() int { - if d == nil { - return 0 - } - return d.Index -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision { - if d == nil { - return nil - } - return d.Revision -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexFieldPageObjectNumber) -} - -// SetIndex sets the Index field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) SetIndex(index int) { - d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexFieldIndex) -} - -// SetRevision sets the Revision field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) { - d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexFieldRevision) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndex) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision struct { - DocSessionID string `json:"docSessionId" url:"docSessionId"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Generation int `json:"generation" url:"generation"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) GetDocSessionID() string { - if d == nil { - return "" - } - return d.DocSessionID -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) GetGeneration() int { - if d == nil { - return 0 - } - return d.Generation -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetDocSessionID sets the DocSessionID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) SetDocSessionID(docSessionID string) { - d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevisionFieldDocSessionID) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevisionFieldPageObjectNumber) -} - -// SetGeneration sets the Generation field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) SetGeneration(generation int) { - d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevisionFieldGeneration) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefIndexRevision) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNmFieldNm = big.NewInt(1 << 1) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Nm string `json:"nm" url:"nm"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm) GetNm() string { - if d == nil { - return "" - } - return d.Nm -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNmFieldPageObjectNumber) -} - -// SetNm sets the Nm field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm) SetNm(nm string) { - d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNmFieldNm) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) validate() error { if d == nil { - return "" + return fmt.Errorf("type %T is nil", d) } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value + var fields []string + if d.ObjectNumber != nil { + fields = append(fields, "objectNumber") + } + if d.Nm != nil { + fields = append(fields, "nm") + } + if d.Index != nil { + fields = append(fields, "index") + } + if len(fields) == 0 { + if d.Kind != "" { + if len(d.rawJSON) > 0 { + return nil + } + return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) } + return fmt.Errorf("type %T is empty", d) } - if value, err := internal.StringifyJSON(d); err == nil { - return value + if len(fields) > 1 { + return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) } - return fmt.Sprintf("%#v", d) + if d.Kind != "" { + field := fields[0] + if d.Kind != field { + return fmt.Errorf( + "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", + d, + d.Kind, + d, + ) + } + } + return nil } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -92744,28 +98788,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumbe rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) GetIndex() int { if d == nil { return 0 } - return d.AnnotObjectNumber + return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision { + if d == nil { + return nil + } + return d.Revision +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -92774,25 +98825,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectN // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexFieldPageObjectNumber) } -// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { - d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumberFieldAnnotObjectNumber) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) SetIndex(index int) { + d.Index = index + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexFieldIndex) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber +// SetRevision sets the Revision field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) { + d.Revision = revision + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexFieldRevision) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -92802,8 +98860,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectN return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex var marshaler = struct { embed }{ @@ -92813,7 +98871,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectN return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) String() string { if d == nil { return "" } @@ -92828,40 +98886,16 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampRefObjectN return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyType string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyType = "reply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyType = "group" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyType, error) { - switch s { - case "reply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyTypeReply, nil - case "group": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyTypeGroup, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyType - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampReplyType { - return &d -} - var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRectFieldTop = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect struct { - Left float64 `json:"left" url:"left"` - Bottom float64 `json:"bottom" url:"bottom"` - Right float64 `json:"right" url:"right"` - Top float64 `json:"top" url:"top"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision struct { + DocSessionID string `json:"docSessionId" url:"docSessionId"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Generation int `json:"generation" url:"generation"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -92870,83 +98904,69 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) GetLeft() float64 { - if d == nil { - return 0 - } - return d.Left -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) GetBottom() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) GetDocSessionID() string { if d == nil { - return 0 + return "" } - return d.Bottom + return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } - return d.Right + return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } - return d.Top + return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetLeft sets the Left field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRectFieldLeft) -} - -// SetBottom sets the Bottom field and marks it as non-optional; +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRectFieldBottom) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevisionFieldDocSessionID) } -// SetRight sets the Right field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRectFieldRight) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevisionFieldPageObjectNumber) } -// SetTop sets the Top field and marks it as non-optional; +// SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRectFieldTop) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -92956,8 +98976,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedR return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision var marshaler = struct { embed }{ @@ -92967,7 +98987,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedR return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedRect) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -92983,57 +99003,13 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStampUnrotatedR } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldRef = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldIndex = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldNm = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldFlags = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldRect = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldContents = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldSubject = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldAuthor = big.NewInt(1 << 9) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldCreated = big.NewInt(1 << 10) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldModified = big.NewInt(1 << 11) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldReplyType = big.NewInt(1 << 14) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldUserID = big.NewInt(1 << 15) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldGroupID = big.NewInt(1 << 16) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldActions = big.NewInt(1 << 19) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldColor = big.NewInt(1 << 20) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldOpacity = big.NewInt(1 << 21) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldQuadPoints = big.NewInt(1 << 22) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldIntent = big.NewInt(1 << 23) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout struct { - Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - QuadPoints []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem `json:"quadPoints" url:"quadPoints"` - Intent *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntent `json:"intent,omitempty" url:"intent,omitempty"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Nm string `json:"nm" url:"nm"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -93042,371 +99018,55 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef { - if d == nil { - return nil - } - return d.Ref -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetIndex() int { - if d == nil { - return 0 - } - return d.Index -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQuality { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm) GetNm() string { if d == nil { return "" } - return d.IdentityQuality -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetNm() *string { - if d == nil { - return nil - } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags { - if d == nil { - return nil - } - return d.Flags -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect { - if d == nil { - return nil - } - return d.Rect -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetContents() *string { - if d == nil { - return nil - } - return d.Contents -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetSubject() *string { - if d == nil { - return nil - } - return d.Subject -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetAuthor() *string { - if d == nil { - return nil - } - return d.Author -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetCreated() *time.Time { - if d == nil { - return nil - } - return d.Created -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetModified() *time.Time { - if d == nil { - return nil - } - return d.Modified -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode { - if d == nil { - return "" - } - return d.BlendMode -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo { - if d == nil { - return nil - } - return d.InReplyTo -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyType { - if d == nil { - return nil - } - return d.ReplyType -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetUserID() *string { - if d == nil { - return nil - } - return d.UserID -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetGroupID() *string { - if d == nil { - return nil - } - return d.GroupID -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetCreatedBy() *string { - if d == nil { - return nil - } - return d.CreatedBy -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetUpdatedBy() *string { - if d == nil { - return nil - } - return d.UpdatedBy -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetActions() *PdfAnnotationActions { - if d == nil { - return nil - } - return d.Actions -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor { - if d == nil { - return nil - } - return d.Color -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetOpacity() float64 { - if d == nil { - return 0 - } - return d.Opacity -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetQuadPoints() []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem { - if d == nil { - return nil - } - return d.QuadPoints -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetIntent() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntent { - if d == nil { - return nil - } - return d.Intent -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetRef sets the Ref field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) { - d.Ref = ref - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldRef) -} - // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldPageObjectNumber) -} - -// SetIndex sets the Index field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetIndex(index int) { - d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldIndex) -} - -// SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQuality) { - d.IdentityQuality = identityQuality - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldIdentityQuality) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetNm(nm *string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldNm) -} - -// SetFlags sets the Flags field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) { - d.Flags = flags - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldFlags) -} - -// SetRect sets the Rect field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) { - d.Rect = rect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldRect) -} - -// SetContents sets the Contents field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetContents(contents *string) { - d.Contents = contents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldContents) -} - -// SetSubject sets the Subject field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetSubject(subject *string) { - d.Subject = subject - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldSubject) -} - -// SetAuthor sets the Author field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetAuthor(author *string) { - d.Author = author - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldAuthor) -} - -// SetCreated sets the Created field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetCreated(created *time.Time) { - d.Created = created - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldCreated) -} - -// SetModified sets the Modified field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetModified(modified *time.Time) { - d.Modified = modified - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldModified) -} - -// SetBlendMode sets the BlendMode field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode) { - d.BlendMode = blendMode - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldBlendMode) -} - -// SetInReplyTo sets the InReplyTo field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo) { - d.InReplyTo = inReplyTo - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldInReplyTo) -} - -// SetReplyType sets the ReplyType field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyType) { - d.ReplyType = replyType - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldReplyType) -} - -// SetUserID sets the UserID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetUserID(userID *string) { - d.UserID = userID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldUserID) -} - -// SetGroupID sets the GroupID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetGroupID(groupID *string) { - d.GroupID = groupID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldGroupID) -} - -// SetCreatedBy sets the CreatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetCreatedBy(createdBy *string) { - d.CreatedBy = createdBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldCreatedBy) -} - -// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetUpdatedBy(updatedBy *string) { - d.UpdatedBy = updatedBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldUpdatedBy) -} - -// SetActions sets the Actions field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetActions(actions *PdfAnnotationActions) { - d.Actions = actions - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldActions) -} - -// SetColor sets the Color field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) { - d.Color = color - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldColor) -} - -// SetOpacity sets the Opacity field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetOpacity(opacity float64) { - d.Opacity = opacity - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldOpacity) -} - -// SetQuadPoints sets the QuadPoints field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetQuadPoints(quadPoints []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) { - d.QuadPoints = quadPoints - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldQuadPoints) -} - -// SetIntent sets the Intent field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) SetIntent(intent *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntent) { - d.Intent = intent - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFieldIntent) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout - var unmarshaler = struct { - embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` - }{ - embed: embed(*d), - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout(unmarshaler.embed) - d.Created = unmarshaler.Created.TimePtr() - d.Modified = unmarshaler.Modified.TimePtr() + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -93416,22 +99076,18 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) Unma return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm var marshaler = struct { embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` }{ - embed: embed(*d), - Created: internal.NewOptionalDateTime(d.Created), - Modified: internal.NewOptionalDateTime(d.Modified), + embed: embed(*d), } explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm) String() string { if d == nil { return "" } @@ -93446,80 +99102,14 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeout) Stri return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "normal" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "multiply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "screen" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "overlay" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "darken" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "lighten" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "color-dodge" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "color-burn" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "hard-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "soft-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "difference" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "exclusion" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "hue" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "saturation" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "color" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode = "luminosity" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode, error) { - switch s { - case "normal": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeNormal, nil - case "multiply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeMultiply, nil - case "screen": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeScreen, nil - case "overlay": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeOverlay, nil - case "darken": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeDarken, nil - case "lighten": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeLighten, nil - case "color-dodge": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeColorDodge, nil - case "color-burn": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeColorBurn, nil - case "hard-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeHardLight, nil - case "soft-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeSoftLight, nil - case "difference": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeDifference, nil - case "exclusion": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeExclusion, nil - case "hue": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeHue, nil - case "saturation": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeSaturation, nil - case "color": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeColor, nil - case "luminosity": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendModeLuminosity, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutBlendMode { - return &d -} - var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColorFieldB = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -93528,69 +99118,55 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor stru rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) GetR() int { - if d == nil { - return 0 - } - return d.R -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) GetG() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } - return d.G + return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) GetB() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } - return d.B + return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetR sets the R field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) SetR(r int) { - d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColorFieldR) -} - -// SetG sets the G field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) SetG(g int) { - d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColorFieldG) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumberFieldPageObjectNumber) } -// SetB sets the B field and marks it as non-optional; +// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) SetB(b int) { - d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColorFieldB) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { + d.AnnotObjectNumber = annotObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -93600,8 +99176,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber var marshaler = struct { embed }{ @@ -93611,7 +99187,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -93627,29 +99203,17 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutColor) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags struct { - Invisible bool `json:"invisible" url:"invisible"` - Hidden bool `json:"hidden" url:"hidden"` - Print bool `json:"print" url:"print"` - NoZoom bool `json:"noZoom" url:"noZoom"` - NoRotate bool `json:"noRotate" url:"noRotate"` - NoView bool `json:"noView" url:"noView"` - ReadOnly bool `json:"readOnly" url:"readOnly"` - Locked bool `json:"locked" url:"locked"` - ToggleNoView bool `json:"toggleNoView" url:"toggleNoView"` - LockedContents bool `json:"lockedContents" url:"lockedContents"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect struct { + Left float64 `json:"left" url:"left"` + Bottom float64 `json:"bottom" url:"bottom"` + Right float64 `json:"right" url:"right"` + Top float64 `json:"top" url:"top"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -93658,167 +99222,83 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags stru rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) GetInvisible() bool { - if d == nil { - return false - } - return d.Invisible -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) GetHidden() bool { - if d == nil { - return false - } - return d.Hidden -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) GetPrint() bool { - if d == nil { - return false - } - return d.Print -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) GetNoZoom() bool { - if d == nil { - return false - } - return d.NoZoom -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) GetNoRotate() bool { - if d == nil { - return false - } - return d.NoRotate -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) GetNoView() bool { - if d == nil { - return false - } - return d.NoView -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) GetReadOnly() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) GetLeft() float64 { if d == nil { - return false + return 0 } - return d.ReadOnly + return d.Left } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) GetLocked() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) GetBottom() float64 { if d == nil { - return false + return 0 } - return d.Locked + return d.Bottom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) GetToggleNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) GetRight() float64 { if d == nil { - return false + return 0 } - return d.ToggleNoView + return d.Right } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) GetLockedContents() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) GetTop() float64 { if d == nil { - return false + return 0 } - return d.LockedContents + return d.Top } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetInvisible sets the Invisible field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) SetInvisible(invisible bool) { - d.Invisible = invisible - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldInvisible) -} - -// SetHidden sets the Hidden field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) SetHidden(hidden bool) { - d.Hidden = hidden - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldHidden) -} - -// SetPrint sets the Print field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) SetPrint(print bool) { - d.Print = print - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldPrint) -} - -// SetNoZoom sets the NoZoom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) SetNoZoom(noZoom bool) { - d.NoZoom = noZoom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldNoZoom) -} - -// SetNoRotate sets the NoRotate field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) SetNoRotate(noRotate bool) { - d.NoRotate = noRotate - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldNoRotate) -} - -// SetNoView sets the NoView field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) SetNoView(noView bool) { - d.NoView = noView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldNoView) -} - -// SetReadOnly sets the ReadOnly field and marks it as non-optional; +// SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) SetReadOnly(readOnly bool) { - d.ReadOnly = readOnly - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldReadOnly) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRectFieldLeft) } -// SetLocked sets the Locked field and marks it as non-optional; +// SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) SetLocked(locked bool) { - d.Locked = locked - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldLocked) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRectFieldBottom) } -// SetToggleNoView sets the ToggleNoView field and marks it as non-optional; +// SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) SetToggleNoView(toggleNoView bool) { - d.ToggleNoView = toggleNoView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldToggleNoView) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRectFieldRight) } -// SetLockedContents sets the LockedContents field and marks it as non-optional; +// SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) SetLockedContents(lockedContents bool) { - d.LockedContents = lockedContents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlagsFieldLockedContents) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRectFieldTop) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -93828,8 +99308,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect var marshaler = struct { embed }{ @@ -93839,7 +99319,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) String() string { if d == nil { return "" } @@ -93854,66 +99334,44 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutFlags) return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQuality string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQuality = "durable" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQuality = "weak" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQuality, error) { - switch s { - case "durable": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQualityDurable, nil - case "weak": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQualityWeak, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQuality - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIdentityQuality { - return &d -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -93926,19 +99384,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInRepl } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -93948,7 +99406,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInRepl return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -93967,13 +99425,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReply return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -93986,7 +99444,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInRepl return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyTo) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -94027,15 +99485,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInRepl } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -94044,35 +99502,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToI rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -94081,32 +99539,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInRepl // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -94116,8 +99574,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInRepl return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex var marshaler = struct { embed }{ @@ -94127,7 +99585,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInRepl return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) String() string { if d == nil { return "" } @@ -94143,12 +99601,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInRepl } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -94160,35 +99618,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToI rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -94197,32 +99655,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInRepl // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -94232,8 +99690,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInRepl return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision var marshaler = struct { embed }{ @@ -94243,7 +99701,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInRepl return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) String() string { if d == nil { return "" } @@ -94259,11 +99717,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInRepl } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -94274,28 +99732,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToN rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -94304,25 +99762,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInRepl // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -94332,8 +99790,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInRepl return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm var marshaler = struct { embed }{ @@ -94343,7 +99801,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInRepl return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) String() string { if d == nil { return "" } @@ -94359,11 +99817,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInRepl } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -94374,28 +99832,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToO rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -94404,25 +99862,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInRepl // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -94432,8 +99890,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInRepl return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber var marshaler = struct { embed }{ @@ -94443,7 +99901,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInRepl return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInReplyToObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber) String() string { if d == nil { return "" } @@ -94458,37 +99916,78 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutInRepl return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntent string +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyType string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntentStrikeoutTextEdit DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntent = "strikeout-text-edit" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyType = "reply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyType = "group" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntentFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntent, error) { +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyType, error) { switch s { - case "strikeout-text-edit": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntentStrikeoutTextEdit, nil + case "reply": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyTypeReply, nil + case "group": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyTypeGroup, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntent + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyType return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntent) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutIntent { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyType { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemFieldP1 = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemFieldP2 = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemFieldP3 = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemFieldP4 = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldRef = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldIndex = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldNm = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldFlags = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldRect = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldContents = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldSubject = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldAuthor = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldCreated = big.NewInt(1 << 10) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldModified = big.NewInt(1 << 11) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldReplyType = big.NewInt(1 << 14) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldUserID = big.NewInt(1 << 15) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldGroupID = big.NewInt(1 << 16) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldActions = big.NewInt(1 << 19) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldColor = big.NewInt(1 << 20) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldOpacity = big.NewInt(1 << 21) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldQuadPoints = big.NewInt(1 << 22) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem struct { - P1 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1 `json:"p1" url:"p1"` - P2 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2 `json:"p2" url:"p2"` - P3 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3 `json:"p3" url:"p3"` - P4 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4 `json:"p4" url:"p4"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline struct { + Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor `json:"color" url:"color"` + Opacity float64 `json:"opacity" url:"opacity"` + QuadPoints []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem `json:"quadPoints" url:"quadPoints"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -94497,283 +99996,357 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPoints rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) GetP1() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef { if d == nil { return nil } - return d.P1 + return d.Ref } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) GetP2() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetPageObjectNumber() int { if d == nil { - return nil + return 0 } - return d.P2 + return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) GetP3() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetIndex() int { if d == nil { - return nil + return 0 } - return d.P3 + return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) GetP4() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQuality { + if d == nil { + return "" + } + return d.IdentityQuality +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetNm() *string { if d == nil { return nil } - return d.P4 + return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags { if d == nil { return nil } - return d.extraProperties + return d.Flags } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect { + if d == nil { + return nil } - d.explicitFields.Or(d.explicitFields, field) + return d.Rect } -// SetP1 sets the P1 field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) SetP1(p1 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1) { - d.P1 = p1 - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemFieldP1) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetContents() *string { + if d == nil { + return nil + } + return d.Contents } -// SetP2 sets the P2 field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) SetP2(p2 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2) { - d.P2 = p2 - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemFieldP2) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetSubject() *string { + if d == nil { + return nil + } + return d.Subject } -// SetP3 sets the P3 field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) SetP3(p3 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3) { - d.P3 = p3 - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemFieldP3) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetAuthor() *string { + if d == nil { + return nil + } + return d.Author } -// SetP4 sets the P4 field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) SetP4(p4 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4) { - d.P4 = p4 - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemFieldP4) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetCreated() *time.Time { + if d == nil { + return nil + } + return d.Created } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetModified() *time.Time { + if d == nil { + return nil } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err + return d.Modified +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode { + if d == nil { + return "" } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil + return d.BlendMode } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem - var marshaler = struct { - embed - }{ - embed: embed(*d), +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo { + if d == nil { + return nil } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + return d.InReplyTo } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItem) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyType { if d == nil { - return "" + return nil } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } + return d.ReplyType +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetUserID() *string { + if d == nil { + return nil } - if value, err := internal.StringifyJSON(d); err == nil { - return value + return d.UserID +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetGroupID() *string { + if d == nil { + return nil } - return fmt.Sprintf("%#v", d) + return d.GroupID } -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1FieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1FieldY = big.NewInt(1 << 1) -) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetCreatedBy() *string { + if d == nil { + return nil + } + return d.CreatedBy +} -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1 struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetUpdatedBy() *string { + if d == nil { + return nil + } + return d.UpdatedBy +} - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetActions() *PdfAnnotationActions { + if d == nil { + return nil + } + return d.Actions +} - extraProperties map[string]interface{} - rawJSON json.RawMessage +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor { + if d == nil { + return nil + } + return d.Color } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1) GetX() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetOpacity() float64 { if d == nil { return 0 } - return d.X + return d.Opacity } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1) GetY() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetQuadPoints() []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem { if d == nil { - return 0 + return nil } - return d.Y + return d.QuadPoints } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetX sets the X field and marks it as non-optional; +// SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1) SetX(x float64) { - d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1FieldX) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) { + d.Ref = ref + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldRef) } -// SetY sets the Y field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1) SetY(y float64) { - d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1FieldY) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldPageObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1 - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil +// SetIndex sets the Index field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetIndex(index int) { + d.Index = index + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldIndex) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1 - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) +// SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQuality) { + d.IdentityQuality = identityQuality + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldIdentityQuality) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP1) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) +// SetNm sets the Nm field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetNm(nm *string) { + d.Nm = nm + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldNm) } -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2FieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2FieldY = big.NewInt(1 << 1) -) +// SetFlags sets the Flags field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) { + d.Flags = flags + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldFlags) +} -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2 struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` +// SetRect sets the Rect field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) { + d.Rect = rect + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldRect) +} - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` +// SetContents sets the Contents field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetContents(contents *string) { + d.Contents = contents + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldContents) +} - extraProperties map[string]interface{} - rawJSON json.RawMessage +// SetSubject sets the Subject field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetSubject(subject *string) { + d.Subject = subject + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldSubject) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2) GetX() float64 { - if d == nil { - return 0 - } - return d.X +// SetAuthor sets the Author field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetAuthor(author *string) { + d.Author = author + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldAuthor) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2) GetY() float64 { - if d == nil { - return 0 - } - return d.Y +// SetCreated sets the Created field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetCreated(created *time.Time) { + d.Created = created + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldCreated) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties +// SetModified sets the Modified field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetModified(modified *time.Time) { + d.Modified = modified + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldModified) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) +// SetBlendMode sets the BlendMode field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode) { + d.BlendMode = blendMode + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldBlendMode) } -// SetX sets the X field and marks it as non-optional; +// SetInReplyTo sets the InReplyTo field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2) SetX(x float64) { - d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2FieldX) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo) { + d.InReplyTo = inReplyTo + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldInReplyTo) } -// SetY sets the Y field and marks it as non-optional; +// SetReplyType sets the ReplyType field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2) SetY(y float64) { - d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2FieldY) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyType) { + d.ReplyType = replyType + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldReplyType) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2 - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { +// SetUserID sets the UserID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetUserID(userID *string) { + d.UserID = userID + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldUserID) +} + +// SetGroupID sets the GroupID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetGroupID(groupID *string) { + d.GroupID = groupID + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldGroupID) +} + +// SetCreatedBy sets the CreatedBy field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetCreatedBy(createdBy *string) { + d.CreatedBy = createdBy + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldCreatedBy) +} + +// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetUpdatedBy(updatedBy *string) { + d.UpdatedBy = updatedBy + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldUpdatedBy) +} + +// SetActions sets the Actions field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetActions(actions *PdfAnnotationActions) { + d.Actions = actions + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldActions) +} + +// SetColor sets the Color field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) { + d.Color = color + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldColor) +} + +// SetOpacity sets the Opacity field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetOpacity(opacity float64) { + d.Opacity = opacity + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldOpacity) +} + +// SetQuadPoints sets the QuadPoints field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetQuadPoints(quadPoints []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) { + d.QuadPoints = quadPoints + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldQuadPoints) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline + var unmarshaler = struct { + embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` + }{ + embed: embed(*d), + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline(unmarshaler.embed) + d.Created = unmarshaler.Created.TimePtr() + d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -94783,18 +100356,22 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline var marshaler = struct { embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` }{ - embed: embed(*d), + embed: embed(*d), + Created: internal.NewOptionalDateTime(d.Created), + Modified: internal.NewOptionalDateTime(d.Modified), } explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP2) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) String() string { if d == nil { return "" } @@ -94809,14 +100386,80 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPo return fmt.Sprintf("%#v", d) } +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "normal" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "multiply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "screen" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "overlay" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "darken" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "lighten" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "color-dodge" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "color-burn" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "hard-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "soft-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "difference" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "exclusion" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "hue" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "saturation" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "color" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "luminosity" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode, error) { + switch s { + case "normal": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeNormal, nil + case "multiply": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeMultiply, nil + case "screen": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeScreen, nil + case "overlay": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeOverlay, nil + case "darken": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeDarken, nil + case "lighten": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeLighten, nil + case "color-dodge": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeColorDodge, nil + case "color-burn": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeColorBurn, nil + case "hard-light": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeHardLight, nil + case "soft-light": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeSoftLight, nil + case "difference": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeDifference, nil + case "exclusion": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeExclusion, nil + case "hue": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeHue, nil + case "saturation": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeSaturation, nil + case "color": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeColor, nil + case "luminosity": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeLuminosity, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode { + return &d +} + var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3FieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3FieldY = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3 struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -94825,55 +100468,69 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPoints rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3) GetX() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) GetR() int { if d == nil { return 0 } - return d.X + return d.R } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3) GetY() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) GetG() int { if d == nil { return 0 } - return d.Y + return d.G } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) GetB() int { + if d == nil { + return 0 + } + return d.B +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetX sets the X field and marks it as non-optional; +// SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3) SetX(x float64) { - d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3FieldX) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) SetR(r int) { + d.R = r + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColorFieldR) } -// SetY sets the Y field and marks it as non-optional; +// SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3) SetY(y float64) { - d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3FieldY) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) SetG(g int) { + d.G = g + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColorFieldG) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3 +// SetB sets the B field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) SetB(b int) { + d.B = b + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColorFieldB) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -94883,8 +100540,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor var marshaler = struct { embed }{ @@ -94894,7 +100551,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPo return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP3) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) String() string { if d == nil { return "" } @@ -94910,13 +100567,29 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPo } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4FieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4FieldY = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4 struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags struct { + Invisible bool `json:"invisible" url:"invisible"` + Hidden bool `json:"hidden" url:"hidden"` + Print bool `json:"print" url:"print"` + NoZoom bool `json:"noZoom" url:"noZoom"` + NoRotate bool `json:"noRotate" url:"noRotate"` + NoView bool `json:"noView" url:"noView"` + ReadOnly bool `json:"readOnly" url:"readOnly"` + Locked bool `json:"locked" url:"locked"` + ToggleNoView bool `json:"toggleNoView" url:"toggleNoView"` + LockedContents bool `json:"lockedContents" url:"lockedContents"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -94925,187 +100598,167 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPoints rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4) GetX() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) GetInvisible() bool { if d == nil { - return 0 + return false } - return d.X + return d.Invisible } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4) GetY() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) GetHidden() bool { if d == nil { - return 0 + return false } - return d.Y + return d.Hidden } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) GetPrint() bool { if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) + return false } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetX sets the X field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4) SetX(x float64) { - d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4FieldX) -} - -// SetY sets the Y field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4) SetY(y float64) { - d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4FieldY) + return d.Print } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4 - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) GetNoZoom() bool { + if d == nil { + return false } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil + return d.NoZoom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4 - var marshaler = struct { - embed - }{ - embed: embed(*d), +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) GetNoRotate() bool { + if d == nil { + return false } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + return d.NoRotate } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutQuadPointsItemP4) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) GetNoView() bool { if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value + return false } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRectFieldTop = big.NewInt(1 << 3) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect struct { - Left float64 `json:"left" url:"left"` - Bottom float64 `json:"bottom" url:"bottom"` - Right float64 `json:"right" url:"right"` - Top float64 `json:"top" url:"top"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage + return d.NoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) GetLeft() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) GetReadOnly() bool { if d == nil { - return 0 + return false } - return d.Left + return d.ReadOnly } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) GetBottom() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) GetLocked() bool { if d == nil { - return 0 + return false } - return d.Bottom + return d.Locked } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) GetToggleNoView() bool { if d == nil { - return 0 + return false } - return d.Right + return d.ToggleNoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) GetLockedContents() bool { if d == nil { - return 0 + return false } - return d.Top + return d.LockedContents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetLeft sets the Left field and marks it as non-optional; +// SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRectFieldLeft) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) SetInvisible(invisible bool) { + d.Invisible = invisible + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldInvisible) } -// SetBottom sets the Bottom field and marks it as non-optional; +// SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRectFieldBottom) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) SetHidden(hidden bool) { + d.Hidden = hidden + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldHidden) } -// SetRight sets the Right field and marks it as non-optional; +// SetPrint sets the Print field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRectFieldRight) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) SetPrint(print bool) { + d.Print = print + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldPrint) } -// SetTop sets the Top field and marks it as non-optional; +// SetNoZoom sets the NoZoom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRectFieldTop) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) SetNoZoom(noZoom bool) { + d.NoZoom = noZoom + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldNoZoom) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect +// SetNoRotate sets the NoRotate field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) SetNoRotate(noRotate bool) { + d.NoRotate = noRotate + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldNoRotate) +} + +// SetNoView sets the NoView field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) SetNoView(noView bool) { + d.NoView = noView + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldNoView) +} + +// SetReadOnly sets the ReadOnly field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) SetReadOnly(readOnly bool) { + d.ReadOnly = readOnly + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldReadOnly) +} + +// SetLocked sets the Locked field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) SetLocked(locked bool) { + d.Locked = locked + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldLocked) +} + +// SetToggleNoView sets the ToggleNoView field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) SetToggleNoView(toggleNoView bool) { + d.ToggleNoView = toggleNoView + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldToggleNoView) +} + +// SetLockedContents sets the LockedContents field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) SetLockedContents(lockedContents bool) { + d.LockedContents = lockedContents + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldLockedContents) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -95115,8 +100768,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags var marshaler = struct { embed }{ @@ -95126,7 +100779,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) String() string { if d == nil { return "" } @@ -95141,44 +100794,66 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRect) return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef struct { - Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQuality string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQuality = "durable" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQuality = "weak" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQuality, error) { + switch s { + case "durable": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQualityDurable, nil + case "weak": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQualityWeak, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQuality + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQuality { + return &d +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo struct { + Kind string + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -95191,19 +100866,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) U } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -95213,7 +100888,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) U return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -95232,13 +100907,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) Ma return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -95251,7 +100926,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) A return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -95292,15 +100967,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRef) v } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -95309,35 +100984,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex s rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -95346,32 +101021,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefInd // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -95381,8 +101056,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefInd return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex var marshaler = struct { embed }{ @@ -95392,7 +101067,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefInd return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) String() string { if d == nil { return "" } @@ -95408,12 +101083,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefInd } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -95425,35 +101100,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRe rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -95462,32 +101137,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefInd // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -95497,8 +101172,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefInd return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision var marshaler = struct { embed }{ @@ -95508,7 +101183,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefInd return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -95524,11 +101199,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefInd } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -95539,28 +101214,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm stru rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -95569,25 +101244,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -95597,8 +101272,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm var marshaler = struct { embed }{ @@ -95608,7 +101283,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm) String() string { if d == nil { return "" } @@ -95624,11 +101299,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefNm) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -95639,28 +101314,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectN rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -95669,25 +101344,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObj // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -95697,8 +101372,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObj return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber var marshaler = struct { embed }{ @@ -95708,7 +101383,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObj return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -95723,82 +101398,18 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutRefObj return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyType string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyType = "reply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyType = "group" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyType, error) { - switch s { - case "reply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyTypeReply, nil - case "group": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyTypeGroup, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyType - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemStrikeoutReplyType { - return &d -} - var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldRef = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldIndex = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldNm = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldFlags = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldRect = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldContents = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldSubject = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldAuthor = big.NewInt(1 << 9) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldCreated = big.NewInt(1 << 10) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldModified = big.NewInt(1 << 11) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldReplyType = big.NewInt(1 << 14) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldUserID = big.NewInt(1 << 15) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldGroupID = big.NewInt(1 << 16) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldActions = big.NewInt(1 << 19) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldColor = big.NewInt(1 << 20) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldOpacity = big.NewInt(1 << 21) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldIcon = big.NewInt(1 << 22) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldState = big.NewInt(1 << 23) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldStateModel = big.NewInt(1 << 24) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemFieldP1 = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemFieldP2 = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemFieldP3 = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemFieldP4 = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText struct { - Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - Icon DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon `json:"icon" url:"icon"` - State *string `json:"state,omitempty" url:"state,omitempty"` - StateModel *string `json:"stateModel,omitempty" url:"stateModel,omitempty"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem struct { + P1 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1 `json:"p1" url:"p1"` + P2 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2 `json:"p2" url:"p2"` + P3 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3 `json:"p3" url:"p3"` + P4 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4 `json:"p4" url:"p4"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -95807,385 +101418,283 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) GetP1() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1 { if d == nil { return nil } - return d.Ref -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetIndex() int { - if d == nil { - return 0 - } - return d.Index -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQuality { - if d == nil { - return "" - } - return d.IdentityQuality + return d.P1 } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetNm() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) GetP2() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2 { if d == nil { return nil } - return d.Nm + return d.P2 } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) GetP3() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3 { if d == nil { return nil } - return d.Flags + return d.P3 } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) GetP4() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4 { if d == nil { return nil } - return d.Rect + return d.P4 } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetContents() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } - return d.Contents + return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetSubject() *string { - if d == nil { - return nil +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) } - return d.Subject + d.explicitFields.Or(d.explicitFields, field) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetAuthor() *string { - if d == nil { - return nil - } - return d.Author +// SetP1 sets the P1 field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) SetP1(p1 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1) { + d.P1 = p1 + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemFieldP1) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetCreated() *time.Time { - if d == nil { - return nil - } - return d.Created +// SetP2 sets the P2 field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) SetP2(p2 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2) { + d.P2 = p2 + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemFieldP2) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetModified() *time.Time { - if d == nil { - return nil - } - return d.Modified +// SetP3 sets the P3 field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) SetP3(p3 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3) { + d.P3 = p3 + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemFieldP3) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode { - if d == nil { - return "" - } - return d.BlendMode +// SetP4 sets the P4 field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) SetP4(p4 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4) { + d.P4 = p4 + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemFieldP4) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo { - if d == nil { - return nil +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err } - return d.InReplyTo -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyType { - if d == nil { - return nil + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err } - return d.ReplyType + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetUserID() *string { - if d == nil { - return nil +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem + var marshaler = struct { + embed + }{ + embed: embed(*d), } - return d.UserID + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetGroupID() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) String() string { if d == nil { - return nil + return "" } - return d.GroupID -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetCreatedBy() *string { - if d == nil { - return nil + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } } - return d.CreatedBy -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetUpdatedBy() *string { - if d == nil { - return nil + if value, err := internal.StringifyJSON(d); err == nil { + return value } - return d.UpdatedBy + return fmt.Sprintf("%#v", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetActions() *PdfAnnotationActions { - if d == nil { - return nil - } - return d.Actions -} +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1FieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1FieldY = big.NewInt(1 << 1) +) -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor { - if d == nil { - return nil - } - return d.Color -} +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1 struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetOpacity() float64 { - if d == nil { - return 0 - } - return d.Opacity -} + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetIcon() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon { - if d == nil { - return "" - } - return d.Icon + extraProperties map[string]interface{} + rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetState() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1) GetX() float64 { if d == nil { - return nil + return 0 } - return d.State + return d.X } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetStateModel() *string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1) GetY() float64 { if d == nil { - return nil + return 0 } - return d.StateModel + return d.Y } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetRef sets the Ref field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) { - d.Ref = ref - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldRef) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldPageObjectNumber) -} - -// SetIndex sets the Index field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetIndex(index int) { - d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldIndex) -} - -// SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQuality) { - d.IdentityQuality = identityQuality - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldIdentityQuality) -} - -// SetNm sets the Nm field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetNm(nm *string) { - d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldNm) -} - -// SetFlags sets the Flags field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) { - d.Flags = flags - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldFlags) -} - -// SetRect sets the Rect field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) { - d.Rect = rect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldRect) -} - -// SetContents sets the Contents field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetContents(contents *string) { - d.Contents = contents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldContents) -} - -// SetSubject sets the Subject field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetSubject(subject *string) { - d.Subject = subject - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldSubject) -} - -// SetAuthor sets the Author field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetAuthor(author *string) { - d.Author = author - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldAuthor) -} - -// SetCreated sets the Created field and marks it as non-optional; +// SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetCreated(created *time.Time) { - d.Created = created - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldCreated) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1) SetX(x float64) { + d.X = x + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1FieldX) } -// SetModified sets the Modified field and marks it as non-optional; +// SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetModified(modified *time.Time) { - d.Modified = modified - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldModified) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1) SetY(y float64) { + d.Y = y + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1FieldY) } -// SetBlendMode sets the BlendMode field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode) { - d.BlendMode = blendMode - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldBlendMode) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1 + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil } -// SetInReplyTo sets the InReplyTo field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) { - d.InReplyTo = inReplyTo - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldInReplyTo) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1 + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) } -// SetReplyType sets the ReplyType field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyType) { - d.ReplyType = replyType - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldReplyType) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } -// SetUserID sets the UserID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetUserID(userID *string) { - d.UserID = userID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldUserID) -} +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2FieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2FieldY = big.NewInt(1 << 1) +) -// SetGroupID sets the GroupID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetGroupID(groupID *string) { - d.GroupID = groupID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldGroupID) -} +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2 struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` -// SetCreatedBy sets the CreatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetCreatedBy(createdBy *string) { - d.CreatedBy = createdBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldCreatedBy) -} + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` -// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetUpdatedBy(updatedBy *string) { - d.UpdatedBy = updatedBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldUpdatedBy) + extraProperties map[string]interface{} + rawJSON json.RawMessage } -// SetActions sets the Actions field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetActions(actions *PdfAnnotationActions) { - d.Actions = actions - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldActions) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2) GetX() float64 { + if d == nil { + return 0 + } + return d.X } -// SetColor sets the Color field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) { - d.Color = color - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldColor) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2) GetY() float64 { + if d == nil { + return 0 + } + return d.Y } -// SetOpacity sets the Opacity field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetOpacity(opacity float64) { - d.Opacity = opacity - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldOpacity) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties } -// SetIcon sets the Icon field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetIcon(icon DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon) { - d.Icon = icon - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldIcon) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) } -// SetState sets the State field and marks it as non-optional; +// SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetState(state *string) { - d.State = state - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldState) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2) SetX(x float64) { + d.X = x + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2FieldX) } -// SetStateModel sets the StateModel field and marks it as non-optional; +// SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) SetStateModel(stateModel *string) { - d.StateModel = stateModel - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFieldStateModel) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2) SetY(y float64) { + d.Y = y + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2FieldY) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText - var unmarshaler = struct { - embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` - }{ - embed: embed(*d), - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2 + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText(unmarshaler.embed) - d.Created = unmarshaler.Created.TimePtr() - d.Modified = unmarshaler.Modified.TimePtr() + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -96195,22 +101704,18 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) Unmarshal return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2 var marshaler = struct { embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` }{ - embed: embed(*d), - Created: internal.NewOptionalDateTime(d.Created), - Modified: internal.NewOptionalDateTime(d.Modified), + embed: embed(*d), } explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2) String() string { if d == nil { return "" } @@ -96225,80 +101730,14 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemText) String() return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "normal" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "multiply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "screen" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "overlay" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "darken" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "lighten" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "color-dodge" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "color-burn" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "hard-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "soft-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "difference" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "exclusion" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "hue" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "saturation" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "color" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode = "luminosity" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode, error) { - switch s { - case "normal": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeNormal, nil - case "multiply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeMultiply, nil - case "screen": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeScreen, nil - case "overlay": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeOverlay, nil - case "darken": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeDarken, nil - case "lighten": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeLighten, nil - case "color-dodge": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeColorDodge, nil - case "color-burn": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeColorBurn, nil - case "hard-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeHardLight, nil - case "soft-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeSoftLight, nil - case "difference": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeDifference, nil - case "exclusion": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeExclusion, nil - case "hue": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeHue, nil - case "saturation": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeSaturation, nil - case "color": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeColor, nil - case "luminosity": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendModeLuminosity, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextBlendMode { - return &d -} - var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColorFieldB = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3FieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3 struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -96307,69 +101746,55 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) GetR() int { - if d == nil { - return 0 - } - return d.R -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) GetG() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3) GetX() float64 { if d == nil { return 0 } - return d.G + return d.X } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) GetB() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3) GetY() float64 { if d == nil { return 0 } - return d.B + return d.Y } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetR sets the R field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) SetR(r int) { - d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColorFieldR) -} - -// SetG sets the G field and marks it as non-optional; +// SetX sets the X field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) SetG(g int) { - d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColorFieldG) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3) SetX(x float64) { + d.X = x + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3FieldX) } -// SetB sets the B field and marks it as non-optional; +// SetY sets the Y field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) SetB(b int) { - d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColorFieldB) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3) SetY(y float64) { + d.Y = y + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3FieldY) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3 var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -96379,8 +101804,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) Unma return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3 var marshaler = struct { embed }{ @@ -96390,7 +101815,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) Mars return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3) String() string { if d == nil { return "" } @@ -96406,29 +101831,13 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextColor) Stri } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4FieldX = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4FieldY = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags struct { - Invisible bool `json:"invisible" url:"invisible"` - Hidden bool `json:"hidden" url:"hidden"` - Print bool `json:"print" url:"print"` - NoZoom bool `json:"noZoom" url:"noZoom"` - NoRotate bool `json:"noRotate" url:"noRotate"` - NoView bool `json:"noView" url:"noView"` - ReadOnly bool `json:"readOnly" url:"readOnly"` - Locked bool `json:"locked" url:"locked"` - ToggleNoView bool `json:"toggleNoView" url:"toggleNoView"` - LockedContents bool `json:"lockedContents" url:"lockedContents"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4 struct { + X float64 `json:"x" url:"x"` + Y float64 `json:"y" url:"y"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -96437,167 +101846,187 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) GetInvisible() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4) GetX() float64 { if d == nil { - return false + return 0 } - return d.Invisible + return d.X } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) GetHidden() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4) GetY() float64 { if d == nil { - return false + return 0 } - return d.Hidden + return d.Y } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) GetPrint() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4) GetExtraProperties() map[string]interface{} { if d == nil { - return false + return nil } - return d.Print + return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) GetNoZoom() bool { - if d == nil { - return false +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) } - return d.NoZoom + d.explicitFields.Or(d.explicitFields, field) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) GetNoRotate() bool { - if d == nil { - return false - } - return d.NoRotate +// SetX sets the X field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4) SetX(x float64) { + d.X = x + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4FieldX) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) GetNoView() bool { - if d == nil { - return false - } - return d.NoView +// SetY sets the Y field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4) SetY(y float64) { + d.Y = y + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4FieldY) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) GetReadOnly() bool { - if d == nil { - return false +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4 + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err } - return d.ReadOnly -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) GetLocked() bool { - if d == nil { - return false + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err } - return d.Locked + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) GetToggleNoView() bool { - if d == nil { - return false +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4 + var marshaler = struct { + embed + }{ + embed: embed(*d), } - return d.ToggleNoView + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) GetLockedContents() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4) String() string { if d == nil { - return false + return "" } - return d.LockedContents -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } } - return d.extraProperties + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRectFieldTop = big.NewInt(1 << 3) +) + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect struct { + Left float64 `json:"left" url:"left"` + Bottom float64 `json:"bottom" url:"bottom"` + Right float64 `json:"right" url:"right"` + Top float64 `json:"top" url:"top"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage } -// SetInvisible sets the Invisible field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) SetInvisible(invisible bool) { - d.Invisible = invisible - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldInvisible) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) GetLeft() float64 { + if d == nil { + return 0 + } + return d.Left } -// SetHidden sets the Hidden field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) SetHidden(hidden bool) { - d.Hidden = hidden - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldHidden) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) GetBottom() float64 { + if d == nil { + return 0 + } + return d.Bottom } -// SetPrint sets the Print field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) SetPrint(print bool) { - d.Print = print - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldPrint) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) GetRight() float64 { + if d == nil { + return 0 + } + return d.Right } -// SetNoZoom sets the NoZoom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) SetNoZoom(noZoom bool) { - d.NoZoom = noZoom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldNoZoom) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) GetTop() float64 { + if d == nil { + return 0 + } + return d.Top } -// SetNoRotate sets the NoRotate field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) SetNoRotate(noRotate bool) { - d.NoRotate = noRotate - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldNoRotate) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties } -// SetNoView sets the NoView field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) SetNoView(noView bool) { - d.NoView = noView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldNoView) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) } -// SetReadOnly sets the ReadOnly field and marks it as non-optional; +// SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) SetReadOnly(readOnly bool) { - d.ReadOnly = readOnly - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldReadOnly) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRectFieldLeft) } -// SetLocked sets the Locked field and marks it as non-optional; +// SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) SetLocked(locked bool) { - d.Locked = locked - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldLocked) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRectFieldBottom) } -// SetToggleNoView sets the ToggleNoView field and marks it as non-optional; +// SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) SetToggleNoView(toggleNoView bool) { - d.ToggleNoView = toggleNoView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldToggleNoView) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRectFieldRight) } -// SetLockedContents sets the LockedContents field and marks it as non-optional; +// SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) SetLockedContents(lockedContents bool) { - d.LockedContents = lockedContents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlagsFieldLockedContents) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRectFieldTop) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -96607,8 +102036,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) Unma return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect var marshaler = struct { embed }{ @@ -96618,7 +102047,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) Mars return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) String() string { if d == nil { return "" } @@ -96633,103 +102062,44 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextFlags) Stri return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconComment DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon = "comment" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconKey DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon = "key" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconNote DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon = "note" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconHelp DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon = "help" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconNewParagraph DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon = "new-paragraph" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconParagraph DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon = "paragraph" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconInsert DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon = "insert" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon, error) { - switch s { - case "comment": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconComment, nil - case "key": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconKey, nil - case "note": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconNote, nil - case "help": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconHelp, nil - case "new-paragraph": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconNewParagraph, nil - case "paragraph": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconParagraph, nil - case "insert": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIconInsert, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIcon { - return &d -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQuality string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQuality = "durable" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQuality = "weak" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQuality, error) { - switch s { - case "durable": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQualityDurable, nil - case "weak": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQualityWeak, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQuality - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextIdentityQuality { - return &d -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -96742,19 +102112,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -96764,7 +102134,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -96783,13 +102153,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) M return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -96802,7 +102172,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -96843,15 +102213,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyTo) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -96860,35 +102230,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -96897,32 +102267,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIn // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -96932,8 +102302,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIn return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex var marshaler = struct { embed }{ @@ -96943,7 +102313,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIn return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) String() string { if d == nil { return "" } @@ -96959,12 +102329,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIn } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -96976,35 +102346,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexR rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -97013,32 +102383,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIn // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -97048,8 +102418,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIn return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision var marshaler = struct { embed }{ @@ -97059,7 +102429,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIn return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) String() string { if d == nil { return "" } @@ -97075,11 +102445,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToIn } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -97090,28 +102460,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm str rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -97120,25 +102490,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -97148,8 +102518,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm var marshaler = struct { embed }{ @@ -97159,7 +102529,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) String() string { if d == nil { return "" } @@ -97175,11 +102545,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToNm } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -97190,28 +102560,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObject rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -97220,25 +102590,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToOb // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -97248,8 +102618,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToOb return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber var marshaler = struct { embed }{ @@ -97259,7 +102629,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToOb return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber) String() string { if d == nil { return "" } @@ -97274,18 +102644,76 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextInReplyToOb return fmt.Sprintf("%#v", d) } +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyType string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyType = "reply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyType = "group" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyType, error) { + switch s { + case "reply": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyTypeReply, nil + case "group": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyTypeGroup, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyType + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyType { + return &d +} + var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRectFieldTop = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldRef = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldIndex = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldNm = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldFlags = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldRect = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldContents = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldSubject = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldAuthor = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldCreated = big.NewInt(1 << 10) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldModified = big.NewInt(1 << 11) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldReplyType = big.NewInt(1 << 14) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldUserID = big.NewInt(1 << 15) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldGroupID = big.NewInt(1 << 16) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldActions = big.NewInt(1 << 19) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldRawSubtypeCode = big.NewInt(1 << 20) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldRawSubtypeName = big.NewInt(1 << 21) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect struct { - Left float64 `json:"left" url:"left"` - Bottom float64 `json:"bottom" url:"bottom"` - Right float64 `json:"right" url:"right"` - Top float64 `json:"top" url:"top"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported struct { + Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + RawSubtypeCode int `json:"rawSubtypeCode" url:"rawSubtypeCode"` + RawSubtypeName *string `json:"rawSubtypeName,omitempty" url:"rawSubtypeName,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -97294,83 +102722,639 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) GetLeft() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef { if d == nil { - return 0 + return nil } - return d.Left + return d.Ref } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) GetBottom() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetPageObjectNumber() int { if d == nil { return 0 } - return d.Bottom + return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetIndex() int { if d == nil { return 0 } - return d.Right + return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQuality { + if d == nil { + return "" + } + return d.IdentityQuality +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetNm() *string { + if d == nil { + return nil + } + return d.Nm +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags { + if d == nil { + return nil + } + return d.Flags +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect { + if d == nil { + return nil + } + return d.Rect +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetContents() *string { + if d == nil { + return nil + } + return d.Contents +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetSubject() *string { + if d == nil { + return nil + } + return d.Subject +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetAuthor() *string { + if d == nil { + return nil + } + return d.Author +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetCreated() *time.Time { + if d == nil { + return nil + } + return d.Created +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetModified() *time.Time { + if d == nil { + return nil + } + return d.Modified +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode { + if d == nil { + return "" + } + return d.BlendMode +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo { + if d == nil { + return nil + } + return d.InReplyTo +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyType { + if d == nil { + return nil + } + return d.ReplyType +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetUserID() *string { + if d == nil { + return nil + } + return d.UserID +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetGroupID() *string { + if d == nil { + return nil + } + return d.GroupID +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetCreatedBy() *string { + if d == nil { + return nil + } + return d.CreatedBy +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetUpdatedBy() *string { + if d == nil { + return nil + } + return d.UpdatedBy +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetActions() *PdfAnnotationActions { + if d == nil { + return nil + } + return d.Actions +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetRawSubtypeCode() int { if d == nil { return 0 } - return d.Top + return d.RawSubtypeCode } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetRawSubtypeName() *string { + if d == nil { + return nil + } + return d.RawSubtypeName +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetLeft sets the Left field and marks it as non-optional; +// SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRectFieldLeft) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef) { + d.Ref = ref + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldRef) } -// SetBottom sets the Bottom field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRectFieldBottom) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldPageObjectNumber) } -// SetRight sets the Right field and marks it as non-optional; +// SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRectFieldRight) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetIndex(index int) { + d.Index = index + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldIndex) } -// SetTop sets the Top field and marks it as non-optional; +// SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRectFieldTop) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQuality) { + d.IdentityQuality = identityQuality + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldIdentityQuality) +} + +// SetNm sets the Nm field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetNm(nm *string) { + d.Nm = nm + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldNm) +} + +// SetFlags sets the Flags field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) { + d.Flags = flags + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldFlags) +} + +// SetRect sets the Rect field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) { + d.Rect = rect + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldRect) +} + +// SetContents sets the Contents field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetContents(contents *string) { + d.Contents = contents + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldContents) +} + +// SetSubject sets the Subject field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetSubject(subject *string) { + d.Subject = subject + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldSubject) +} + +// SetAuthor sets the Author field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetAuthor(author *string) { + d.Author = author + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldAuthor) +} + +// SetCreated sets the Created field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetCreated(created *time.Time) { + d.Created = created + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldCreated) +} + +// SetModified sets the Modified field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetModified(modified *time.Time) { + d.Modified = modified + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldModified) +} + +// SetBlendMode sets the BlendMode field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode) { + d.BlendMode = blendMode + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldBlendMode) +} + +// SetInReplyTo sets the InReplyTo field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo) { + d.InReplyTo = inReplyTo + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldInReplyTo) +} + +// SetReplyType sets the ReplyType field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyType) { + d.ReplyType = replyType + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldReplyType) +} + +// SetUserID sets the UserID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetUserID(userID *string) { + d.UserID = userID + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldUserID) +} + +// SetGroupID sets the GroupID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetGroupID(groupID *string) { + d.GroupID = groupID + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldGroupID) +} + +// SetCreatedBy sets the CreatedBy field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetCreatedBy(createdBy *string) { + d.CreatedBy = createdBy + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldCreatedBy) +} + +// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetUpdatedBy(updatedBy *string) { + d.UpdatedBy = updatedBy + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldUpdatedBy) +} + +// SetActions sets the Actions field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetActions(actions *PdfAnnotationActions) { + d.Actions = actions + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldActions) +} + +// SetRawSubtypeCode sets the RawSubtypeCode field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetRawSubtypeCode(rawSubtypeCode int) { + d.RawSubtypeCode = rawSubtypeCode + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldRawSubtypeCode) +} + +// SetRawSubtypeName sets the RawSubtypeName field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetRawSubtypeName(rawSubtypeName *string) { + d.RawSubtypeName = rawSubtypeName + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldRawSubtypeName) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported + var unmarshaler = struct { + embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` + }{ + embed: embed(*d), + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported(unmarshaler.embed) + d.Created = unmarshaler.Created.TimePtr() + d.Modified = unmarshaler.Modified.TimePtr() + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported + var marshaler = struct { + embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` + }{ + embed: embed(*d), + Created: internal.NewOptionalDateTime(d.Created), + Modified: internal.NewOptionalDateTime(d.Modified), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "normal" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "multiply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "screen" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "overlay" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "darken" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "lighten" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "color-dodge" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "color-burn" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "hard-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "soft-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "difference" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "exclusion" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "hue" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "saturation" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "color" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "luminosity" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode, error) { + switch s { + case "normal": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeNormal, nil + case "multiply": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeMultiply, nil + case "screen": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeScreen, nil + case "overlay": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeOverlay, nil + case "darken": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeDarken, nil + case "lighten": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeLighten, nil + case "color-dodge": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeColorDodge, nil + case "color-burn": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeColorBurn, nil + case "hard-light": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeHardLight, nil + case "soft-light": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeSoftLight, nil + case "difference": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeDifference, nil + case "exclusion": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeExclusion, nil + case "hue": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeHue, nil + case "saturation": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeSaturation, nil + case "color": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeColor, nil + case "luminosity": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeLuminosity, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode { + return &d +} + +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldLockedContents = big.NewInt(1 << 9) +) + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags struct { + Invisible bool `json:"invisible" url:"invisible"` + Hidden bool `json:"hidden" url:"hidden"` + Print bool `json:"print" url:"print"` + NoZoom bool `json:"noZoom" url:"noZoom"` + NoRotate bool `json:"noRotate" url:"noRotate"` + NoView bool `json:"noView" url:"noView"` + ReadOnly bool `json:"readOnly" url:"readOnly"` + Locked bool `json:"locked" url:"locked"` + ToggleNoView bool `json:"toggleNoView" url:"toggleNoView"` + LockedContents bool `json:"lockedContents" url:"lockedContents"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) GetInvisible() bool { + if d == nil { + return false + } + return d.Invisible +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) GetHidden() bool { + if d == nil { + return false + } + return d.Hidden +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) GetPrint() bool { + if d == nil { + return false + } + return d.Print +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) GetNoZoom() bool { + if d == nil { + return false + } + return d.NoZoom +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) GetNoRotate() bool { + if d == nil { + return false + } + return d.NoRotate +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) GetNoView() bool { + if d == nil { + return false + } + return d.NoView +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) GetReadOnly() bool { + if d == nil { + return false + } + return d.ReadOnly +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) GetLocked() bool { + if d == nil { + return false + } + return d.Locked +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) GetToggleNoView() bool { + if d == nil { + return false + } + return d.ToggleNoView +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) GetLockedContents() bool { + if d == nil { + return false + } + return d.LockedContents +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetInvisible sets the Invisible field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) SetInvisible(invisible bool) { + d.Invisible = invisible + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldInvisible) +} + +// SetHidden sets the Hidden field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) SetHidden(hidden bool) { + d.Hidden = hidden + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldHidden) +} + +// SetPrint sets the Print field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) SetPrint(print bool) { + d.Print = print + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldPrint) +} + +// SetNoZoom sets the NoZoom field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) SetNoZoom(noZoom bool) { + d.NoZoom = noZoom + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldNoZoom) +} + +// SetNoRotate sets the NoRotate field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) SetNoRotate(noRotate bool) { + d.NoRotate = noRotate + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldNoRotate) +} + +// SetNoView sets the NoView field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) SetNoView(noView bool) { + d.NoView = noView + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldNoView) +} + +// SetReadOnly sets the ReadOnly field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) SetReadOnly(readOnly bool) { + d.ReadOnly = readOnly + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldReadOnly) +} + +// SetLocked sets the Locked field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) SetLocked(locked bool) { + d.Locked = locked + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldLocked) +} + +// SetToggleNoView sets the ToggleNoView field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) SetToggleNoView(toggleNoView bool) { + d.ToggleNoView = toggleNoView + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldToggleNoView) +} + +// SetLockedContents sets the LockedContents field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) SetLockedContents(lockedContents bool) { + d.LockedContents = lockedContents + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldLockedContents) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -97380,8 +103364,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) Unmar return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags var marshaler = struct { embed }{ @@ -97391,7 +103375,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) String() string { if d == nil { return "" } @@ -97406,44 +103390,66 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRect) Strin return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQuality string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQuality = "durable" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQuality = "weak" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQuality, error) { + switch s { + case "durable": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQualityDurable, nil + case "weak": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQualityWeak, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQuality + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQuality { + return &d +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -97456,19 +103462,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) Unmars } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -97478,7 +103484,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) Unmars return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -97497,13 +103503,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) Marshal return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -97516,7 +103522,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) Accept return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -97557,15 +103563,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRef) valida } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -97574,35 +103580,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex struct rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -97611,32 +103617,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) r // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -97646,8 +103652,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) U return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex var marshaler = struct { embed }{ @@ -97657,7 +103663,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) M return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) String() string { if d == nil { return "" } @@ -97673,12 +103679,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndex) S } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -97690,35 +103696,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevisio rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -97727,32 +103733,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRev // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -97762,8 +103768,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRev return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision var marshaler = struct { embed }{ @@ -97773,7 +103779,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRev return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -97789,11 +103795,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefIndexRev } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -97804,28 +103810,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -97834,25 +103840,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) requ // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -97862,8 +103868,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) Unma return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm var marshaler = struct { embed }{ @@ -97873,7 +103879,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) Mars return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm) String() string { if d == nil { return "" } @@ -97889,11 +103895,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefNm) Stri } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -97904,28 +103910,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -97934,25 +103940,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNu // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -97962,8 +103968,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNu return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber var marshaler = struct { embed }{ @@ -97973,7 +103979,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNu return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -97988,78 +103994,18 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextRefObjectNu return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyType string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyType = "reply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyType = "group" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyType, error) { - switch s { - case "reply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyTypeReply, nil - case "group": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyTypeGroup, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyType - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemTextReplyType { - return &d -} - var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldRef = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldIndex = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldNm = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldFlags = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldRect = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldContents = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldSubject = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldAuthor = big.NewInt(1 << 9) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldCreated = big.NewInt(1 << 10) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldModified = big.NewInt(1 << 11) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldReplyType = big.NewInt(1 << 14) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldUserID = big.NewInt(1 << 15) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldGroupID = big.NewInt(1 << 16) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldActions = big.NewInt(1 << 19) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldColor = big.NewInt(1 << 20) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldOpacity = big.NewInt(1 << 21) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldQuadPoints = big.NewInt(1 << 22) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRectFieldTop = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline struct { - Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor `json:"color" url:"color"` - Opacity float64 `json:"opacity" url:"opacity"` - QuadPoints []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem `json:"quadPoints" url:"quadPoints"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect struct { + Left float64 `json:"left" url:"left"` + Bottom float64 `json:"bottom" url:"bottom"` + Right float64 `json:"right" url:"right"` + Top float64 `json:"top" url:"top"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -98068,769 +104014,83 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef { - if d == nil { - return nil - } - return d.Ref -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetIndex() int { - if d == nil { - return 0 - } - return d.Index -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQuality { - if d == nil { - return "" - } - return d.IdentityQuality -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetNm() *string { - if d == nil { - return nil - } - return d.Nm -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags { - if d == nil { - return nil - } - return d.Flags -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect { - if d == nil { - return nil - } - return d.Rect -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetContents() *string { - if d == nil { - return nil - } - return d.Contents -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetSubject() *string { - if d == nil { - return nil - } - return d.Subject -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetAuthor() *string { - if d == nil { - return nil - } - return d.Author -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetCreated() *time.Time { - if d == nil { - return nil - } - return d.Created -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetModified() *time.Time { - if d == nil { - return nil - } - return d.Modified -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode { - if d == nil { - return "" - } - return d.BlendMode -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo { - if d == nil { - return nil - } - return d.InReplyTo -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyType { - if d == nil { - return nil - } - return d.ReplyType -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetUserID() *string { - if d == nil { - return nil - } - return d.UserID -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetGroupID() *string { - if d == nil { - return nil - } - return d.GroupID -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetCreatedBy() *string { - if d == nil { - return nil - } - return d.CreatedBy -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetUpdatedBy() *string { - if d == nil { - return nil - } - return d.UpdatedBy -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetActions() *PdfAnnotationActions { - if d == nil { - return nil - } - return d.Actions -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor { - if d == nil { - return nil - } - return d.Color -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetOpacity() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) GetLeft() float64 { if d == nil { return 0 } - return d.Opacity -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetQuadPoints() []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem { - if d == nil { - return nil - } - return d.QuadPoints -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetRef sets the Ref field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) { - d.Ref = ref - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldRef) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldPageObjectNumber) -} - -// SetIndex sets the Index field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetIndex(index int) { - d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldIndex) -} - -// SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQuality) { - d.IdentityQuality = identityQuality - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldIdentityQuality) -} - -// SetNm sets the Nm field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetNm(nm *string) { - d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldNm) -} - -// SetFlags sets the Flags field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) { - d.Flags = flags - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldFlags) -} - -// SetRect sets the Rect field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) { - d.Rect = rect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldRect) -} - -// SetContents sets the Contents field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetContents(contents *string) { - d.Contents = contents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldContents) -} - -// SetSubject sets the Subject field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetSubject(subject *string) { - d.Subject = subject - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldSubject) -} - -// SetAuthor sets the Author field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetAuthor(author *string) { - d.Author = author - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldAuthor) -} - -// SetCreated sets the Created field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetCreated(created *time.Time) { - d.Created = created - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldCreated) -} - -// SetModified sets the Modified field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetModified(modified *time.Time) { - d.Modified = modified - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldModified) -} - -// SetBlendMode sets the BlendMode field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode) { - d.BlendMode = blendMode - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldBlendMode) -} - -// SetInReplyTo sets the InReplyTo field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo) { - d.InReplyTo = inReplyTo - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldInReplyTo) -} - -// SetReplyType sets the ReplyType field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyType) { - d.ReplyType = replyType - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldReplyType) -} - -// SetUserID sets the UserID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetUserID(userID *string) { - d.UserID = userID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldUserID) -} - -// SetGroupID sets the GroupID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetGroupID(groupID *string) { - d.GroupID = groupID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldGroupID) -} - -// SetCreatedBy sets the CreatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetCreatedBy(createdBy *string) { - d.CreatedBy = createdBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldCreatedBy) -} - -// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetUpdatedBy(updatedBy *string) { - d.UpdatedBy = updatedBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldUpdatedBy) -} - -// SetActions sets the Actions field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetActions(actions *PdfAnnotationActions) { - d.Actions = actions - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldActions) -} - -// SetColor sets the Color field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) { - d.Color = color - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldColor) -} - -// SetOpacity sets the Opacity field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetOpacity(opacity float64) { - d.Opacity = opacity - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldOpacity) -} - -// SetQuadPoints sets the QuadPoints field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) SetQuadPoints(quadPoints []*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) { - d.QuadPoints = quadPoints - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFieldQuadPoints) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline - var unmarshaler = struct { - embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` - }{ - embed: embed(*d), - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline(unmarshaler.embed) - d.Created = unmarshaler.Created.TimePtr() - d.Modified = unmarshaler.Modified.TimePtr() - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline - var marshaler = struct { - embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` - }{ - embed: embed(*d), - Created: internal.NewOptionalDateTime(d.Created), - Modified: internal.NewOptionalDateTime(d.Modified), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderline) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "normal" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "multiply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "screen" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "overlay" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "darken" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "lighten" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "color-dodge" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "color-burn" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "hard-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "soft-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "difference" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "exclusion" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "hue" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "saturation" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "color" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode = "luminosity" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode, error) { - switch s { - case "normal": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeNormal, nil - case "multiply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeMultiply, nil - case "screen": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeScreen, nil - case "overlay": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeOverlay, nil - case "darken": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeDarken, nil - case "lighten": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeLighten, nil - case "color-dodge": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeColorDodge, nil - case "color-burn": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeColorBurn, nil - case "hard-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeHardLight, nil - case "soft-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeSoftLight, nil - case "difference": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeDifference, nil - case "exclusion": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeExclusion, nil - case "hue": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeHue, nil - case "saturation": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeSaturation, nil - case "color": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeColor, nil - case "luminosity": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendModeLuminosity, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineBlendMode { - return &d -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColorFieldB = big.NewInt(1 << 2) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage + return d.Left } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) GetR() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) GetBottom() float64 { if d == nil { return 0 } - return d.R + return d.Bottom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) GetG() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) GetRight() float64 { if d == nil { return 0 } - return d.G + return d.Right } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) GetB() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) GetTop() float64 { if d == nil { return 0 } - return d.B -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetR sets the R field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) SetR(r int) { - d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColorFieldR) -} - -// SetG sets the G field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) SetG(g int) { - d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColorFieldG) -} - -// SetB sets the B field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) SetB(b int) { - d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColorFieldB) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineColor) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldLockedContents = big.NewInt(1 << 9) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags struct { - Invisible bool `json:"invisible" url:"invisible"` - Hidden bool `json:"hidden" url:"hidden"` - Print bool `json:"print" url:"print"` - NoZoom bool `json:"noZoom" url:"noZoom"` - NoRotate bool `json:"noRotate" url:"noRotate"` - NoView bool `json:"noView" url:"noView"` - ReadOnly bool `json:"readOnly" url:"readOnly"` - Locked bool `json:"locked" url:"locked"` - ToggleNoView bool `json:"toggleNoView" url:"toggleNoView"` - LockedContents bool `json:"lockedContents" url:"lockedContents"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) GetInvisible() bool { - if d == nil { - return false - } - return d.Invisible -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) GetHidden() bool { - if d == nil { - return false - } - return d.Hidden -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) GetPrint() bool { - if d == nil { - return false - } - return d.Print -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) GetNoZoom() bool { - if d == nil { - return false - } - return d.NoZoom -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) GetNoRotate() bool { - if d == nil { - return false - } - return d.NoRotate -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) GetNoView() bool { - if d == nil { - return false - } - return d.NoView -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) GetReadOnly() bool { - if d == nil { - return false - } - return d.ReadOnly -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) GetLocked() bool { - if d == nil { - return false - } - return d.Locked -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) GetToggleNoView() bool { - if d == nil { - return false - } - return d.ToggleNoView -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) GetLockedContents() bool { - if d == nil { - return false - } - return d.LockedContents + return d.Top } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetInvisible sets the Invisible field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) SetInvisible(invisible bool) { - d.Invisible = invisible - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldInvisible) -} - -// SetHidden sets the Hidden field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) SetHidden(hidden bool) { - d.Hidden = hidden - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldHidden) -} - -// SetPrint sets the Print field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) SetPrint(print bool) { - d.Print = print - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldPrint) -} - -// SetNoZoom sets the NoZoom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) SetNoZoom(noZoom bool) { - d.NoZoom = noZoom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldNoZoom) -} - -// SetNoRotate sets the NoRotate field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) SetNoRotate(noRotate bool) { - d.NoRotate = noRotate - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldNoRotate) -} - -// SetNoView sets the NoView field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) SetNoView(noView bool) { - d.NoView = noView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldNoView) -} - -// SetReadOnly sets the ReadOnly field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) SetReadOnly(readOnly bool) { - d.ReadOnly = readOnly - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldReadOnly) +// SetLeft sets the Left field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRectFieldLeft) } -// SetLocked sets the Locked field and marks it as non-optional; +// SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) SetLocked(locked bool) { - d.Locked = locked - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldLocked) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRectFieldBottom) } -// SetToggleNoView sets the ToggleNoView field and marks it as non-optional; +// SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) SetToggleNoView(toggleNoView bool) { - d.ToggleNoView = toggleNoView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldToggleNoView) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRectFieldRight) } -// SetLockedContents sets the LockedContents field and marks it as non-optional; +// SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) SetLockedContents(lockedContents bool) { - d.LockedContents = lockedContents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlagsFieldLockedContents) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRectFieldTop) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -98840,8 +104100,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect var marshaler = struct { embed }{ @@ -98851,7 +104111,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) String() string { if d == nil { return "" } @@ -98866,66 +104126,44 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineFlags) return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQuality string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQuality = "durable" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQuality = "weak" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQuality, error) { - switch s { - case "durable": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQualityDurable, nil - case "weak": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQualityWeak, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQuality - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineIdentityQuality { - return &d -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -98938,19 +104176,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInRepl } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -98960,7 +104198,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInRepl return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -98979,13 +104217,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReply return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -98998,7 +104236,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInRepl return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyTo) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -99039,15 +104277,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInRepl } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -99056,35 +104294,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToI rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -99093,32 +104331,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInRepl // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -99128,8 +104366,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInRepl return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex var marshaler = struct { embed }{ @@ -99139,7 +104377,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInRepl return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) String() string { if d == nil { return "" } @@ -99155,12 +104393,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInRepl } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -99172,35 +104410,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToI rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -99209,32 +104447,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInRepl // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -99244,8 +104482,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInRepl return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision var marshaler = struct { embed }{ @@ -99255,7 +104493,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInRepl return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) String() string { if d == nil { return "" } @@ -99271,11 +104509,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInRepl } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -99286,28 +104524,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToN rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -99316,25 +104554,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInRepl // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -99344,8 +104582,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInRepl return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm var marshaler = struct { embed }{ @@ -99355,7 +104593,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInRepl return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm) String() string { if d == nil { return "" } @@ -99371,11 +104609,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInRepl } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -99386,28 +104624,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToO rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -99416,25 +104654,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInRepl // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -99444,8 +104682,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInRepl return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber var marshaler = struct { embed }{ @@ -99455,7 +104693,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInRepl return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInReplyToObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber) String() string { if d == nil { return "" } @@ -99470,18 +104708,92 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineInRepl return fmt.Sprintf("%#v", d) } +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyType string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyType = "reply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyType = "group" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyType, error) { + switch s { + case "reply": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyTypeReply, nil + case "group": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyTypeGroup, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyType + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyType { + return &d +} + var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemFieldP1 = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemFieldP2 = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemFieldP3 = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemFieldP4 = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldRef = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldIndex = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldIdentityQuality = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldNm = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFlags = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldRect = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldContents = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldSubject = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldAuthor = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldCreated = big.NewInt(1 << 10) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldModified = big.NewInt(1 << 11) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldBlendMode = big.NewInt(1 << 12) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldInReplyTo = big.NewInt(1 << 13) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldReplyType = big.NewInt(1 << 14) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldUserID = big.NewInt(1 << 15) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldGroupID = big.NewInt(1 << 16) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldCreatedBy = big.NewInt(1 << 17) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldUpdatedBy = big.NewInt(1 << 18) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldActions = big.NewInt(1 << 19) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldColor = big.NewInt(1 << 20) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldInteriorColor = big.NewInt(1 << 21) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldStrokeWidth = big.NewInt(1 << 22) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldBorderStyle = big.NewInt(1 << 23) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFontFamily = big.NewInt(1 << 24) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFontSize = big.NewInt(1 << 25) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFontColor = big.NewInt(1 << 26) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldTextAlign = big.NewInt(1 << 27) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFieldObjectNumber = big.NewInt(1 << 28) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFieldFamily = big.NewInt(1 << 29) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem struct { - P1 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1 `json:"p1" url:"p1"` - P2 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2 `json:"p2" url:"p2"` - P3 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3 `json:"p3" url:"p3"` - P4 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4 `json:"p4" url:"p4"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget struct { + Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef `json:"ref" url:"ref"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQuality `json:"identityQuality" url:"identityQuality"` + Nm *string `json:"nm,omitempty" url:"nm,omitempty"` + Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags `json:"flags" url:"flags"` + Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect `json:"rect" url:"rect"` + Contents *string `json:"contents,omitempty" url:"contents,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode `json:"blendMode" url:"blendMode"` + InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` + ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` + UserID *string `json:"userId,omitempty" url:"userId,omitempty"` + GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` + CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` + UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` + Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` + Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor `json:"color,omitempty" url:"color,omitempty"` + InteriorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` + StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` + BorderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle `json:"borderStyle" url:"borderStyle"` + FontFamily *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily `json:"fontFamily,omitempty" url:"fontFamily,omitempty"` + FontSize *float64 `json:"fontSize,omitempty" url:"fontSize,omitempty"` + FontColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor `json:"fontColor,omitempty" url:"fontColor,omitempty"` + TextAlign DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign `json:"textAlign" url:"textAlign"` + FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` + FieldFamily DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily `json:"fieldFamily" url:"fieldFamily"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -99490,183 +104802,455 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPoints rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) GetP1() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef { if d == nil { return nil } - return d.P1 + return d.Ref } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) GetP2() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetPageObjectNumber() int { if d == nil { - return nil + return 0 } - return d.P2 + return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) GetP3() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetIndex() int { + if d == nil { + return 0 + } + return d.Index +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQuality { + if d == nil { + return "" + } + return d.IdentityQuality +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetNm() *string { if d == nil { return nil } - return d.P3 + return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) GetP4() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags { if d == nil { return nil } - return d.P4 + return d.Flags } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect { if d == nil { return nil } - return d.extraProperties + return d.Rect } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetContents() *string { + if d == nil { + return nil } - d.explicitFields.Or(d.explicitFields, field) + return d.Contents } -// SetP1 sets the P1 field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) SetP1(p1 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1) { - d.P1 = p1 - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemFieldP1) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetSubject() *string { + if d == nil { + return nil + } + return d.Subject } -// SetP2 sets the P2 field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) SetP2(p2 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2) { - d.P2 = p2 - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemFieldP2) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetAuthor() *string { + if d == nil { + return nil + } + return d.Author } -// SetP3 sets the P3 field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) SetP3(p3 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3) { - d.P3 = p3 - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemFieldP3) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetCreated() *time.Time { + if d == nil { + return nil + } + return d.Created } -// SetP4 sets the P4 field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) SetP4(p4 *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4) { - d.P4 = p4 - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemFieldP4) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetModified() *time.Time { + if d == nil { + return nil + } + return d.Modified } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode { + if d == nil { + return "" } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err + return d.BlendMode +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo { + if d == nil { + return nil } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil + return d.InReplyTo } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem - var marshaler = struct { - embed - }{ - embed: embed(*d), +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyType { + if d == nil { + return nil } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + return d.ReplyType } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItem) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetUserID() *string { if d == nil { - return "" + return nil } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } + return d.UserID +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetGroupID() *string { + if d == nil { + return nil } - if value, err := internal.StringifyJSON(d); err == nil { - return value + return d.GroupID +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetCreatedBy() *string { + if d == nil { + return nil } - return fmt.Sprintf("%#v", d) + return d.CreatedBy } -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1FieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1FieldY = big.NewInt(1 << 1) -) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetUpdatedBy() *string { + if d == nil { + return nil + } + return d.UpdatedBy +} -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1 struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetActions() *PdfAnnotationActions { + if d == nil { + return nil + } + return d.Actions +} - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor { + if d == nil { + return nil + } + return d.Color +} - extraProperties map[string]interface{} - rawJSON json.RawMessage +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetInteriorColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor { + if d == nil { + return nil + } + return d.InteriorColor } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1) GetX() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetStrokeWidth() float64 { if d == nil { return 0 } - return d.X + return d.StrokeWidth } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1) GetY() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetBorderStyle() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle { + if d == nil { + return "" + } + return d.BorderStyle +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetFontFamily() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily { + if d == nil { + return nil + } + return d.FontFamily +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetFontSize() *float64 { + if d == nil { + return nil + } + return d.FontSize +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetFontColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor { + if d == nil { + return nil + } + return d.FontColor +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetTextAlign() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign { + if d == nil { + return "" + } + return d.TextAlign +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetFieldObjectNumber() int { if d == nil { return 0 } - return d.Y + return d.FieldObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetFieldFamily() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily { + if d == nil { + return "" + } + return d.FieldFamily +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetX sets the X field and marks it as non-optional; +// SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1) SetX(x float64) { - d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1FieldX) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef) { + d.Ref = ref + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldRef) } -// SetY sets the Y field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1) SetY(y float64) { - d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1FieldY) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldPageObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1 - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { +// SetIndex sets the Index field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetIndex(index int) { + d.Index = index + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldIndex) +} + +// SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQuality) { + d.IdentityQuality = identityQuality + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldIdentityQuality) +} + +// SetNm sets the Nm field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetNm(nm *string) { + d.Nm = nm + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldNm) +} + +// SetFlags sets the Flags field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) { + d.Flags = flags + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFlags) +} + +// SetRect sets the Rect field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) { + d.Rect = rect + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldRect) +} + +// SetContents sets the Contents field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetContents(contents *string) { + d.Contents = contents + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldContents) +} + +// SetSubject sets the Subject field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetSubject(subject *string) { + d.Subject = subject + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldSubject) +} + +// SetAuthor sets the Author field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetAuthor(author *string) { + d.Author = author + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldAuthor) +} + +// SetCreated sets the Created field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetCreated(created *time.Time) { + d.Created = created + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldCreated) +} + +// SetModified sets the Modified field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetModified(modified *time.Time) { + d.Modified = modified + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldModified) +} + +// SetBlendMode sets the BlendMode field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode) { + d.BlendMode = blendMode + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldBlendMode) +} + +// SetInReplyTo sets the InReplyTo field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo) { + d.InReplyTo = inReplyTo + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldInReplyTo) +} + +// SetReplyType sets the ReplyType field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyType) { + d.ReplyType = replyType + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldReplyType) +} + +// SetUserID sets the UserID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetUserID(userID *string) { + d.UserID = userID + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldUserID) +} + +// SetGroupID sets the GroupID field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetGroupID(groupID *string) { + d.GroupID = groupID + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldGroupID) +} + +// SetCreatedBy sets the CreatedBy field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetCreatedBy(createdBy *string) { + d.CreatedBy = createdBy + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldCreatedBy) +} + +// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetUpdatedBy(updatedBy *string) { + d.UpdatedBy = updatedBy + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldUpdatedBy) +} + +// SetActions sets the Actions field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetActions(actions *PdfAnnotationActions) { + d.Actions = actions + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldActions) +} + +// SetColor sets the Color field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) { + d.Color = color + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldColor) +} + +// SetInteriorColor sets the InteriorColor field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetInteriorColor(interiorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) { + d.InteriorColor = interiorColor + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldInteriorColor) +} + +// SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetStrokeWidth(strokeWidth float64) { + d.StrokeWidth = strokeWidth + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldStrokeWidth) +} + +// SetBorderStyle sets the BorderStyle field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetBorderStyle(borderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle) { + d.BorderStyle = borderStyle + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldBorderStyle) +} + +// SetFontFamily sets the FontFamily field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetFontFamily(fontFamily *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily) { + d.FontFamily = fontFamily + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFontFamily) +} + +// SetFontSize sets the FontSize field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetFontSize(fontSize *float64) { + d.FontSize = fontSize + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFontSize) +} + +// SetFontColor sets the FontColor field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetFontColor(fontColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) { + d.FontColor = fontColor + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFontColor) +} + +// SetTextAlign sets the TextAlign field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetTextAlign(textAlign DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign) { + d.TextAlign = textAlign + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldTextAlign) +} + +// SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetFieldObjectNumber(fieldObjectNumber int) { + d.FieldObjectNumber = fieldObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFieldObjectNumber) +} + +// SetFieldFamily sets the FieldFamily field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetFieldFamily(fieldFamily DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily) { + d.FieldFamily = fieldFamily + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFieldFamily) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget + var unmarshaler = struct { + embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` + }{ + embed: embed(*d), + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget(unmarshaler.embed) + d.Created = unmarshaler.Created.TimePtr() + d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -99676,18 +105260,22 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget var marshaler = struct { embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` }{ - embed: embed(*d), + embed: embed(*d), + Created: internal.NewOptionalDateTime(d.Created), + Modified: internal.NewOptionalDateTime(d.Modified), } explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP1) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) String() string { if d == nil { return "" } @@ -99702,14 +105290,108 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPo return fmt.Sprintf("%#v", d) } +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "normal" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "multiply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "screen" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "overlay" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "darken" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "lighten" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "color-dodge" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "color-burn" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "hard-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "soft-light" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "difference" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "exclusion" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "hue" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "saturation" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "color" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "luminosity" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode, error) { + switch s { + case "normal": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeNormal, nil + case "multiply": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeMultiply, nil + case "screen": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeScreen, nil + case "overlay": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeOverlay, nil + case "darken": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeDarken, nil + case "lighten": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeLighten, nil + case "color-dodge": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeColorDodge, nil + case "color-burn": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeColorBurn, nil + case "hard-light": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeHardLight, nil + case "soft-light": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeSoftLight, nil + case "difference": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeDifference, nil + case "exclusion": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeExclusion, nil + case "hue": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeHue, nil + case "saturation": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeSaturation, nil + case "color": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeColor, nil + case "luminosity": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeLuminosity, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode { + return &d +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyleSolid DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle = "solid" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyleDashed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle = "dashed" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyleBeveled DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle = "beveled" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyleInset DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle = "inset" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyleFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle, error) { + switch s { + case "solid": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyleSolid, nil + case "dashed": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyleDashed, nil + case "beveled": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyleBeveled, nil + case "inset": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyleInset, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle { + return &d +} + var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2FieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2FieldY = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2 struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -99718,55 +105400,69 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPoints rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2) GetX() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) GetR() int { if d == nil { return 0 } - return d.X + return d.R } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2) GetY() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) GetG() int { if d == nil { return 0 } - return d.Y + return d.G } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) GetB() int { + if d == nil { + return 0 + } + return d.B +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetX sets the X field and marks it as non-optional; +// SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2) SetX(x float64) { - d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2FieldX) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) SetR(r int) { + d.R = r + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColorFieldR) } -// SetY sets the Y field and marks it as non-optional; +// SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2) SetY(y float64) { - d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2FieldY) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) SetG(g int) { + d.G = g + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColorFieldG) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2 +// SetB sets the B field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) SetB(b int) { + d.B = b + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColorFieldB) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -99776,8 +105472,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor var marshaler = struct { embed }{ @@ -99787,7 +105483,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPo return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP2) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) String() string { if d == nil { return "" } @@ -99802,14 +105498,70 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPo return fmt.Sprintf("%#v", d) } +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyText DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily = "text" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyCheckbox DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily = "checkbox" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyRadio DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily = "radio" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyCombobox DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily = "combobox" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyListbox DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily = "listbox" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyPushbutton DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily = "pushbutton" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilySignature DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily = "signature" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyUnknown DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily = "unknown" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily, error) { + switch s { + case "text": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyText, nil + case "checkbox": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyCheckbox, nil + case "radio": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyRadio, nil + case "combobox": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyCombobox, nil + case "listbox": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyListbox, nil + case "pushbutton": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyPushbutton, nil + case "signature": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilySignature, nil + case "unknown": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyUnknown, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily { + return &d +} + var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3FieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3FieldY = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldInvisible = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldHidden = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldPrint = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldNoZoom = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldNoRotate = big.NewInt(1 << 4) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldNoView = big.NewInt(1 << 5) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldReadOnly = big.NewInt(1 << 6) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldLocked = big.NewInt(1 << 7) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldToggleNoView = big.NewInt(1 << 8) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldLockedContents = big.NewInt(1 << 9) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3 struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags struct { + Invisible bool `json:"invisible" url:"invisible"` + Hidden bool `json:"hidden" url:"hidden"` + Print bool `json:"print" url:"print"` + NoZoom bool `json:"noZoom" url:"noZoom"` + NoRotate bool `json:"noRotate" url:"noRotate"` + NoView bool `json:"noView" url:"noView"` + ReadOnly bool `json:"readOnly" url:"readOnly"` + Locked bool `json:"locked" url:"locked"` + ToggleNoView bool `json:"toggleNoView" url:"toggleNoView"` + LockedContents bool `json:"lockedContents" url:"lockedContents"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -99818,155 +105570,167 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPoints rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3) GetX() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) GetInvisible() bool { if d == nil { - return 0 + return false } - return d.X + return d.Invisible } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3) GetY() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) GetHidden() bool { if d == nil { - return 0 + return false } - return d.Y + return d.Hidden } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) GetPrint() bool { if d == nil { - return nil + return false } - return d.extraProperties + return d.Print } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) GetNoZoom() bool { + if d == nil { + return false } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetX sets the X field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3) SetX(x float64) { - d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3FieldX) -} - -// SetY sets the Y field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3) SetY(y float64) { - d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3FieldY) + return d.NoZoom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3 - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) GetNoRotate() bool { + if d == nil { + return false } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil + return d.NoRotate } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3 - var marshaler = struct { - embed - }{ - embed: embed(*d), +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) GetNoView() bool { + if d == nil { + return false } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + return d.NoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP3) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) GetReadOnly() bool { if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value + return false } - return fmt.Sprintf("%#v", d) + return d.ReadOnly } -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4FieldX = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4FieldY = big.NewInt(1 << 1) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4 struct { - X float64 `json:"x" url:"x"` - Y float64 `json:"y" url:"y"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) GetLocked() bool { + if d == nil { + return false + } + return d.Locked } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4) GetX() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) GetToggleNoView() bool { if d == nil { - return 0 + return false } - return d.X + return d.ToggleNoView } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4) GetY() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) GetLockedContents() bool { if d == nil { - return 0 + return false } - return d.Y + return d.LockedContents } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetX sets the X field and marks it as non-optional; +// SetInvisible sets the Invisible field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4) SetX(x float64) { - d.X = x - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4FieldX) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) SetInvisible(invisible bool) { + d.Invisible = invisible + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldInvisible) } -// SetY sets the Y field and marks it as non-optional; +// SetHidden sets the Hidden field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4) SetY(y float64) { - d.Y = y - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4FieldY) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) SetHidden(hidden bool) { + d.Hidden = hidden + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldHidden) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4 +// SetPrint sets the Print field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) SetPrint(print bool) { + d.Print = print + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldPrint) +} + +// SetNoZoom sets the NoZoom field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) SetNoZoom(noZoom bool) { + d.NoZoom = noZoom + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldNoZoom) +} + +// SetNoRotate sets the NoRotate field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) SetNoRotate(noRotate bool) { + d.NoRotate = noRotate + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldNoRotate) +} + +// SetNoView sets the NoView field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) SetNoView(noView bool) { + d.NoView = noView + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldNoView) +} + +// SetReadOnly sets the ReadOnly field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) SetReadOnly(readOnly bool) { + d.ReadOnly = readOnly + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldReadOnly) +} + +// SetLocked sets the Locked field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) SetLocked(locked bool) { + d.Locked = locked + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldLocked) +} + +// SetToggleNoView sets the ToggleNoView field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) SetToggleNoView(toggleNoView bool) { + d.ToggleNoView = toggleNoView + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldToggleNoView) +} + +// SetLockedContents sets the LockedContents field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) SetLockedContents(lockedContents bool) { + d.LockedContents = lockedContents + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldLockedContents) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -99976,8 +105740,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4 +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags var marshaler = struct { embed }{ @@ -99987,7 +105751,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPo return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPointsItemP4) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) String() string { if d == nil { return "" } @@ -100003,17 +105767,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineQuadPo } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRectFieldTop = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect struct { - Left float64 `json:"left" url:"left"` - Bottom float64 `json:"bottom" url:"bottom"` - Right float64 `json:"right" url:"right"` - Top float64 `json:"top" url:"top"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -100022,83 +105784,69 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect struc rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) GetLeft() float64 { - if d == nil { - return 0 - } - return d.Left -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) GetBottom() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) GetR() int { if d == nil { return 0 } - return d.Bottom + return d.R } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) GetG() int { if d == nil { return 0 } - return d.Right + return d.G } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) GetB() int { if d == nil { return 0 } - return d.Top + return d.B } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetLeft sets the Left field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRectFieldLeft) -} - -// SetBottom sets the Bottom field and marks it as non-optional; +// SetR sets the R field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRectFieldBottom) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) SetR(r int) { + d.R = r + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColorFieldR) } -// SetRight sets the Right field and marks it as non-optional; +// SetG sets the G field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRectFieldRight) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) SetG(g int) { + d.G = g + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColorFieldG) } -// SetTop sets the Top field and marks it as non-optional; +// SetB sets the B field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRectFieldTop) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) SetB(b int) { + d.B = b + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColorFieldB) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -100108,8 +105856,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor var marshaler = struct { embed }{ @@ -100119,7 +105867,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) String() string { if d == nil { return "" } @@ -100134,44 +105882,124 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRect) return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyCourier DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "courier" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyCourierBold DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "courier-bold" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyCourierBoldOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "courier-bold-oblique" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyCourierOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "courier-oblique" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyHelvetica DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "helvetica" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyHelveticaBold DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "helvetica-bold" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyHelveticaBoldOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "helvetica-bold-oblique" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyHelveticaOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "helvetica-oblique" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyTimesRoman DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "times-roman" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyTimesBold DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "times-bold" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyTimesBoldItalic DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "times-bold-italic" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyTimesItalic DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "times-italic" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilySymbol DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "symbol" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyZapfDingbats DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "zapf-dingbats" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily, error) { + switch s { + case "courier": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyCourier, nil + case "courier-bold": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyCourierBold, nil + case "courier-bold-oblique": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyCourierBoldOblique, nil + case "courier-oblique": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyCourierOblique, nil + case "helvetica": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyHelvetica, nil + case "helvetica-bold": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyHelveticaBold, nil + case "helvetica-bold-oblique": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyHelveticaBoldOblique, nil + case "helvetica-oblique": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyHelveticaOblique, nil + case "times-roman": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyTimesRoman, nil + case "times-bold": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyTimesBold, nil + case "times-bold-italic": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyTimesBoldItalic, nil + case "times-italic": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyTimesItalic, nil + case "symbol": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilySymbol, nil + case "zapf-dingbats": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyZapfDingbats, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily { + return &d +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQuality string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQuality = "durable" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQuality = "weak" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQuality, error) { + switch s { + case "durable": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQualityDurable, nil + case "weak": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQualityWeak, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQuality + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQuality { + return &d +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -100184,19 +106012,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) U } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -100206,7 +106034,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) U return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -100225,13 +106053,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) Ma return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -100244,7 +106072,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) A return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -100285,15 +106113,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRef) v } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -100302,35 +106130,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex s rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -100339,32 +106167,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefInd // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -100374,8 +106202,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefInd return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex var marshaler = struct { embed }{ @@ -100385,7 +106213,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefInd return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) String() string { if d == nil { return "" } @@ -100401,12 +106229,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefInd } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -100418,35 +106246,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRe rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -100455,32 +106283,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefInd // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -100490,8 +106318,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefInd return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision var marshaler = struct { embed }{ @@ -100501,7 +106329,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefInd return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) String() string { if d == nil { return "" } @@ -100517,11 +106345,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefInd } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -100532,28 +106360,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm stru rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -100562,25 +106390,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -100590,8 +106418,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm var marshaler = struct { embed }{ @@ -100601,7 +106429,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm) String() string { if d == nil { return "" } @@ -100617,11 +106445,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefNm) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -100632,28 +106460,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectN rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -100662,475 +106490,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObj // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { - d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumberFieldAnnotObjectNumber) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineRefObjectNumber) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyType string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyType = "reply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyType = "group" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyType, error) { - switch s { - case "reply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyTypeReply, nil - case "group": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyTypeGroup, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyType - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnderlineReplyType { - return &d -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldRef = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldIndex = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldNm = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldFlags = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldRect = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldContents = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldSubject = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldAuthor = big.NewInt(1 << 9) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldCreated = big.NewInt(1 << 10) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldModified = big.NewInt(1 << 11) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldReplyType = big.NewInt(1 << 14) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldUserID = big.NewInt(1 << 15) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldGroupID = big.NewInt(1 << 16) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldActions = big.NewInt(1 << 19) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldRawSubtypeCode = big.NewInt(1 << 20) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldRawSubtypeName = big.NewInt(1 << 21) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported struct { - Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - RawSubtypeCode int `json:"rawSubtypeCode" url:"rawSubtypeCode"` - RawSubtypeName *string `json:"rawSubtypeName,omitempty" url:"rawSubtypeName,omitempty"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef { - if d == nil { - return nil - } - return d.Ref -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetIndex() int { - if d == nil { - return 0 - } - return d.Index -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQuality { - if d == nil { - return "" - } - return d.IdentityQuality -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetNm() *string { - if d == nil { - return nil - } - return d.Nm -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags { - if d == nil { - return nil - } - return d.Flags -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect { - if d == nil { - return nil - } - return d.Rect -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetContents() *string { - if d == nil { - return nil - } - return d.Contents -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetSubject() *string { - if d == nil { - return nil - } - return d.Subject -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetAuthor() *string { - if d == nil { - return nil - } - return d.Author -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetCreated() *time.Time { - if d == nil { - return nil - } - return d.Created -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetModified() *time.Time { - if d == nil { - return nil - } - return d.Modified -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode { - if d == nil { - return "" - } - return d.BlendMode -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo { - if d == nil { - return nil - } - return d.InReplyTo -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyType { - if d == nil { - return nil - } - return d.ReplyType -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetUserID() *string { - if d == nil { - return nil - } - return d.UserID -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetGroupID() *string { - if d == nil { - return nil - } - return d.GroupID -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetCreatedBy() *string { - if d == nil { - return nil - } - return d.CreatedBy -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetUpdatedBy() *string { - if d == nil { - return nil - } - return d.UpdatedBy -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetActions() *PdfAnnotationActions { - if d == nil { - return nil - } - return d.Actions -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetRawSubtypeCode() int { - if d == nil { - return 0 - } - return d.RawSubtypeCode -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetRawSubtypeName() *string { - if d == nil { - return nil - } - return d.RawSubtypeName -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetRef sets the Ref field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef) { - d.Ref = ref - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldRef) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldPageObjectNumber) -} - -// SetIndex sets the Index field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetIndex(index int) { - d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldIndex) -} - -// SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQuality) { - d.IdentityQuality = identityQuality - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldIdentityQuality) -} - -// SetNm sets the Nm field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetNm(nm *string) { - d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldNm) -} - -// SetFlags sets the Flags field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) { - d.Flags = flags - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldFlags) -} - -// SetRect sets the Rect field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) { - d.Rect = rect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldRect) -} - -// SetContents sets the Contents field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetContents(contents *string) { - d.Contents = contents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldContents) -} - -// SetSubject sets the Subject field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetSubject(subject *string) { - d.Subject = subject - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldSubject) -} - -// SetAuthor sets the Author field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetAuthor(author *string) { - d.Author = author - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldAuthor) -} - -// SetCreated sets the Created field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetCreated(created *time.Time) { - d.Created = created - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldCreated) -} - -// SetModified sets the Modified field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetModified(modified *time.Time) { - d.Modified = modified - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldModified) -} - -// SetBlendMode sets the BlendMode field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode) { - d.BlendMode = blendMode - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldBlendMode) -} - -// SetInReplyTo sets the InReplyTo field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo) { - d.InReplyTo = inReplyTo - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldInReplyTo) -} - -// SetReplyType sets the ReplyType field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyType) { - d.ReplyType = replyType - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldReplyType) -} - -// SetUserID sets the UserID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetUserID(userID *string) { - d.UserID = userID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldUserID) -} - -// SetGroupID sets the GroupID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetGroupID(groupID *string) { - d.GroupID = groupID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldGroupID) -} - -// SetCreatedBy sets the CreatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetCreatedBy(createdBy *string) { - d.CreatedBy = createdBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldCreatedBy) -} - -// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetUpdatedBy(updatedBy *string) { - d.UpdatedBy = updatedBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldUpdatedBy) -} - -// SetActions sets the Actions field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetActions(actions *PdfAnnotationActions) { - d.Actions = actions - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldActions) -} - -// SetRawSubtypeCode sets the RawSubtypeCode field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetRawSubtypeCode(rawSubtypeCode int) { - d.RawSubtypeCode = rawSubtypeCode - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldRawSubtypeCode) -} - -// SetRawSubtypeName sets the RawSubtypeName field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) SetRawSubtypeName(rawSubtypeName *string) { - d.RawSubtypeName = rawSubtypeName - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFieldRawSubtypeName) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported - var unmarshaler = struct { - embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` - }{ - embed: embed(*d), - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { + d.AnnotObjectNumber = annotObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumberFieldAnnotObjectNumber) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported(unmarshaler.embed) - d.Created = unmarshaler.Created.TimePtr() - d.Modified = unmarshaler.Modified.TimePtr() + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -101140,22 +106518,18 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) Un return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber var marshaler = struct { embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` }{ - embed: embed(*d), - Created: internal.NewOptionalDateTime(d.Created), - Modified: internal.NewOptionalDateTime(d.Modified), + embed: embed(*d), } explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber) String() string { if d == nil { return "" } @@ -101170,94 +106544,16 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupported) St return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "normal" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "multiply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "screen" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "overlay" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "darken" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "lighten" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "color-dodge" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "color-burn" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "hard-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "soft-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "difference" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "exclusion" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "hue" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "saturation" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "color" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode = "luminosity" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode, error) { - switch s { - case "normal": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeNormal, nil - case "multiply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeMultiply, nil - case "screen": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeScreen, nil - case "overlay": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeOverlay, nil - case "darken": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeDarken, nil - case "lighten": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeLighten, nil - case "color-dodge": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeColorDodge, nil - case "color-burn": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeColorBurn, nil - case "hard-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeHardLight, nil - case "soft-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeSoftLight, nil - case "difference": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeDifference, nil - case "exclusion": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeExclusion, nil - case "hue": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeHue, nil - case "saturation": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeSaturation, nil - case "color": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeColor, nil - case "luminosity": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendModeLuminosity, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedBlendMode { - return &d -} - var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldLockedContents = big.NewInt(1 << 9) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColorFieldR = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColorFieldG = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColorFieldB = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags struct { - Invisible bool `json:"invisible" url:"invisible"` - Hidden bool `json:"hidden" url:"hidden"` - Print bool `json:"print" url:"print"` - NoZoom bool `json:"noZoom" url:"noZoom"` - NoRotate bool `json:"noRotate" url:"noRotate"` - NoView bool `json:"noView" url:"noView"` - ReadOnly bool `json:"readOnly" url:"readOnly"` - Locked bool `json:"locked" url:"locked"` - ToggleNoView bool `json:"toggleNoView" url:"toggleNoView"` - LockedContents bool `json:"lockedContents" url:"lockedContents"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor struct { + R int `json:"r" url:"r"` + G int `json:"g" url:"g"` + B int `json:"b" url:"b"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -101266,167 +106562,201 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags st rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) GetInvisible() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) GetR() int { if d == nil { - return false + return 0 } - return d.Invisible + return d.R } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) GetHidden() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) GetG() int { if d == nil { - return false + return 0 } - return d.Hidden + return d.G } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) GetPrint() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) GetB() int { if d == nil { - return false + return 0 } - return d.Print + return d.B } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) GetNoZoom() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) GetExtraProperties() map[string]interface{} { if d == nil { - return false + return nil } - return d.NoZoom + return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) GetNoRotate() bool { - if d == nil { - return false +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) } - return d.NoRotate + d.explicitFields.Or(d.explicitFields, field) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) GetNoView() bool { +// SetR sets the R field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) SetR(r int) { + d.R = r + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColorFieldR) +} + +// SetG sets the G field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) SetG(g int) { + d.G = g + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColorFieldG) +} + +// SetB sets the B field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) SetB(b int) { + d.B = b + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColorFieldB) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) String() string { if d == nil { - return false + return "" } - return d.NoView + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) GetReadOnly() bool { +var ( + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRectFieldLeft = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRectFieldBottom = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRectFieldRight = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRectFieldTop = big.NewInt(1 << 3) +) + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect struct { + Left float64 `json:"left" url:"left"` + Bottom float64 `json:"bottom" url:"bottom"` + Right float64 `json:"right" url:"right"` + Top float64 `json:"top" url:"top"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) GetLeft() float64 { if d == nil { - return false + return 0 } - return d.ReadOnly + return d.Left } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) GetLocked() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) GetBottom() float64 { if d == nil { - return false + return 0 } - return d.Locked + return d.Bottom } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) GetToggleNoView() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) GetRight() float64 { if d == nil { - return false + return 0 } - return d.ToggleNoView + return d.Right } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) GetLockedContents() bool { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) GetTop() float64 { if d == nil { - return false + return 0 } - return d.LockedContents + return d.Top } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetInvisible sets the Invisible field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) SetInvisible(invisible bool) { - d.Invisible = invisible - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldInvisible) -} - -// SetHidden sets the Hidden field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) SetHidden(hidden bool) { - d.Hidden = hidden - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldHidden) -} - -// SetPrint sets the Print field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) SetPrint(print bool) { - d.Print = print - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldPrint) -} - -// SetNoZoom sets the NoZoom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) SetNoZoom(noZoom bool) { - d.NoZoom = noZoom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldNoZoom) -} - -// SetNoRotate sets the NoRotate field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) SetNoRotate(noRotate bool) { - d.NoRotate = noRotate - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldNoRotate) -} - -// SetNoView sets the NoView field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) SetNoView(noView bool) { - d.NoView = noView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldNoView) -} - -// SetReadOnly sets the ReadOnly field and marks it as non-optional; +// SetLeft sets the Left field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) SetReadOnly(readOnly bool) { - d.ReadOnly = readOnly - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldReadOnly) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) SetLeft(left float64) { + d.Left = left + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRectFieldLeft) } -// SetLocked sets the Locked field and marks it as non-optional; +// SetBottom sets the Bottom field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) SetLocked(locked bool) { - d.Locked = locked - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldLocked) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) SetBottom(bottom float64) { + d.Bottom = bottom + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRectFieldBottom) } -// SetToggleNoView sets the ToggleNoView field and marks it as non-optional; +// SetRight sets the Right field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) SetToggleNoView(toggleNoView bool) { - d.ToggleNoView = toggleNoView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldToggleNoView) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) SetRight(right float64) { + d.Right = right + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRectFieldRight) } -// SetLockedContents sets the LockedContents field and marks it as non-optional; +// SetTop sets the Top field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) SetLockedContents(lockedContents bool) { - d.LockedContents = lockedContents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlagsFieldLockedContents) +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) SetTop(top float64) { + d.Top = top + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRectFieldTop) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -101436,8 +106766,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlag return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect var marshaler = struct { embed }{ @@ -101447,7 +106777,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlag return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlags) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) String() string { if d == nil { return "" } @@ -101462,66 +106792,44 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedFlag return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQuality string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQuality = "durable" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQuality = "weak" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQuality, error) { - switch s { - case "durable": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQualityDurable, nil - case "weak": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQualityWeak, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQuality - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedIdentityQuality { - return &d -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex + ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber + Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm + Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm { if d == nil { return nil } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex { if d == nil { return nil } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -101534,19 +106842,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInRe } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm) if err := json.Unmarshal(data, &value); err != nil { return err } d.Nm = value case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) + value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -101556,7 +106864,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInRe return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -101575,13 +106883,13 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInRep return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) error +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefVisitor interface { + VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber) error + VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm) error + VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToVisitor) error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -101594,7 +106902,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInRe return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyTo) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -101635,15 +106943,15 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInRe } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexFieldIndex = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexFieldRevision = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Index int `json:"index" url:"index"` + Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision `json:"revision" url:"revision"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -101652,35 +106960,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyT rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) GetIndex() int { if d == nil { return 0 } return d.Index } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision { if d == nil { return nil } return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -101689,32 +106997,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInRe // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexFieldPageObjectNumber) } // SetIndex sets the Index field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) SetIndex(index int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) SetIndex(index int) { d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexFieldIndex) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexFieldIndex) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) { d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexFieldRevision) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexFieldRevision) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -101724,8 +107032,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInRe return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex var marshaler = struct { embed }{ @@ -101735,7 +107043,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInRe return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) String() string { if d == nil { return "" } @@ -101751,12 +107059,12 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInRe } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -101768,35 +107076,35 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyT rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -101805,32 +107113,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInRe // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) SetDocSessionID(docSessionID string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevisionFieldDocSessionID) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevisionFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) SetGeneration(generation int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevisionFieldGeneration) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -101840,8 +107148,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInRe return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision var marshaler = struct { embed }{ @@ -101851,7 +107159,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInRe return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) String() string { if d == nil { return "" } @@ -101867,11 +107175,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInRe } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNmFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNmFieldNm = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Nm string `json:"nm" url:"nm"` @@ -101882,28 +107190,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyT rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm) GetNm() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm) GetNm() string { if d == nil { return "" } return d.Nm } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -101912,25 +107220,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInRe // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNmFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNmFieldPageObjectNumber) } // SetNm sets the Nm field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm) SetNm(nm string) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm) SetNm(nm string) { d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNmFieldNm) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNmFieldNm) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -101940,8 +107248,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInRe return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm var marshaler = struct { embed }{ @@ -101951,7 +107259,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInRe return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToNm) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm) String() string { if d == nil { return "" } @@ -101967,11 +107275,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInRe } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber struct { +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` @@ -101982,28 +107290,28 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyT rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -102012,25 +107320,25 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInRe // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumberFieldPageObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumberFieldPageObjectNumber) } // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumberFieldAnnotObjectNumber) + d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumberFieldAnnotObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber(value) + *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -102040,8 +107348,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInRe return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber var marshaler = struct { embed }{ @@ -102051,7 +107359,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInRe return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInReplyToObjectNumber) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber) String() string { if d == nil { return "" } @@ -102066,18 +107374,63 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedInRe return fmt.Sprintf("%#v", d) } +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyType string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyType = "reply" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyType = "group" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyType, error) { + switch s { + case "reply": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyTypeReply, nil + case "group": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyTypeGroup, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyType + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyType { + return &d +} + +type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign string + +const ( + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlignLeft DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign = "left" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlignCenter DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign = "center" + DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlignRight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign = "right" +) + +func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlignFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign, error) { + switch s { + case "left": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlignLeft, nil + case "center": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlignCenter, nil + case "right": + return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlignRight, nil + } + var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign { + return &d +} + var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRectFieldTop = big.NewInt(1 << 3) + docAnnotationsListAll200ResponsePagesItemPageStateFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemPageStateFieldRevision = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemPageStateFieldWeakAnnotationState = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect struct { - Left float64 `json:"left" url:"left"` - Bottom float64 `json:"bottom" url:"bottom"` - Right float64 `json:"right" url:"right"` - Top float64 `json:"top" url:"top"` +type DocAnnotationsListAll200ResponsePagesItemPageState struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Revision *DocAnnotationsListAll200ResponsePagesItemPageStateRevision `json:"revision" url:"revision"` + WeakAnnotationState *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -102086,83 +107439,185 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect str rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) GetLeft() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemPageState) GetPageObjectNumber() int { if d == nil { return 0 } - return d.Left + return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) GetBottom() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemPageState) GetRevision() *DocAnnotationsListAll200ResponsePagesItemPageStateRevision { if d == nil { - return 0 + return nil } - return d.Bottom + return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) GetRight() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemPageState) GetWeakAnnotationState() *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState { + if d == nil { + return nil + } + return d.WeakAnnotationState +} + +func (d *DocAnnotationsListAll200ResponsePagesItemPageState) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocAnnotationsListAll200ResponsePagesItemPageState) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemPageState) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemPageStateFieldPageObjectNumber) +} + +// SetRevision sets the Revision field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemPageState) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) { + d.Revision = revision + d.require(docAnnotationsListAll200ResponsePagesItemPageStateFieldRevision) +} + +// SetWeakAnnotationState sets the WeakAnnotationState field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll200ResponsePagesItemPageState) SetWeakAnnotationState(weakAnnotationState *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState) { + d.WeakAnnotationState = weakAnnotationState + d.require(docAnnotationsListAll200ResponsePagesItemPageStateFieldWeakAnnotationState) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemPageState) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemPageState + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsListAll200ResponsePagesItemPageState(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocAnnotationsListAll200ResponsePagesItemPageState) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemPageState + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocAnnotationsListAll200ResponsePagesItemPageState) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docAnnotationsListAll200ResponsePagesItemPageStateRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsListAll200ResponsePagesItemPageStateRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll200ResponsePagesItemPageStateRevisionFieldGeneration = big.NewInt(1 << 2) +) + +type DocAnnotationsListAll200ResponsePagesItemPageStateRevision struct { + DocSessionID string `json:"docSessionId" url:"docSessionId"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Generation int `json:"generation" url:"generation"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) GetDocSessionID() string { + if d == nil { + return "" + } + return d.DocSessionID +} + +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) GetPageObjectNumber() int { if d == nil { return 0 } - return d.Right + return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) GetTop() float64 { +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) GetGeneration() int { if d == nil { return 0 } - return d.Top + return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetLeft sets the Left field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRectFieldLeft) -} - -// SetBottom sets the Bottom field and marks it as non-optional; +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRectFieldBottom) +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docAnnotationsListAll200ResponsePagesItemPageStateRevisionFieldDocSessionID) } -// SetRight sets the Right field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRectFieldRight) +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsListAll200ResponsePagesItemPageStateRevisionFieldPageObjectNumber) } -// SetTop sets the Top field and marks it as non-optional; +// SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRectFieldTop) +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docAnnotationsListAll200ResponsePagesItemPageStateRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemPageStateRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect(value) + *d = DocAnnotationsListAll200ResponsePagesItemPageStateRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -102172,8 +107627,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemPageStateRevision var marshaler = struct { embed }{ @@ -102183,7 +107638,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) String() string { if d == nil { return "" } @@ -102198,44 +107653,36 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRect return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef struct { - Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex +type DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState struct { + Kind string + Unknown *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown + Known *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef) GetKind() string { +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber { - if d == nil { - return nil - } - return d.ObjectNumber -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm { +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState) GetUnknown() *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown { if d == nil { return nil } - return d.Nm + return d.Unknown } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex { +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState) GetKnown() *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown { if d == nil { return nil } - return d.Index + return d.Known } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef) UnmarshalJSON(data []byte) error { +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -102247,41 +107694,32 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef) return fmt.Errorf("%T did not include discriminant kind", d) } switch unmarshaler.Kind { - case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.ObjectNumber = value - case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm) + case "unknown": + value := new(DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Nm = value - case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) + d.Unknown = value + case "known": + value := new(DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Index = value + d.Known = value } d.rawJSON = json.RawMessage(data) return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef) MarshalJSON() ([]byte, error) { +func (d DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } - if d.ObjectNumber != nil { - return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") - } - if d.Nm != nil { - return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") + if d.Unknown != nil { + return internal.MarshalJSONWithExtraProperty(d.Unknown, "kind", "unknown") } - if d.Index != nil { - return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") + if d.Known != nil { + return internal.MarshalJSONWithExtraProperty(d.Known, "kind", "known") } if len(d.rawJSON) > 0 { return d.rawJSON, nil @@ -102289,38 +107727,31 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef) return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) error +type DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateVisitor interface { + VisitUnknown(*DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown) error + VisitKnown(*DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefVisitor) error { - if d.ObjectNumber != nil { - return visitor.VisitObjectNumber(d.ObjectNumber) - } - if d.Nm != nil { - return visitor.VisitNm(d.Nm) +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState) Accept(visitor DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateVisitor) error { + if d.Unknown != nil { + return visitor.VisitUnknown(d.Unknown) } - if d.Index != nil { - return visitor.VisitIndex(d.Index) + if d.Known != nil { + return visitor.VisitKnown(d.Known) } return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef) validate() error { +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } var fields []string - if d.ObjectNumber != nil { - fields = append(fields, "objectNumber") - } - if d.Nm != nil { - fields = append(fields, "nm") + if d.Unknown != nil { + fields = append(fields, "unknown") } - if d.Index != nil { - fields = append(fields, "index") + if d.Known != nil { + fields = append(fields, "known") } if len(fields) == 0 { if d.Kind != "" { @@ -102349,15 +107780,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRef) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown struct { + HasAnyWeakAnnotations bool `json:"hasAnyWeakAnnotations" url:"hasAnyWeakAnnotations"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -102366,69 +107793,41 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) GetIndex() int { - if d == nil { - return 0 - } - return d.Index -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision { +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { if d == nil { - return nil + return false } - return d.Revision + return d.HasAnyWeakAnnotations } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexFieldPageObjectNumber) -} - -// SetIndex sets the Index field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) SetIndex(index int) { - d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexFieldIndex) -} - -// SetRevision sets the Revision field and marks it as non-optional; +// SetHasAnyWeakAnnotations sets the HasAnyWeakAnnotations field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) { - d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexFieldRevision) +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { + d.HasAnyWeakAnnotations = hasAnyWeakAnnotations + d.require(docAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex(value) + *d = DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -102438,8 +107837,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefI return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown var marshaler = struct { embed }{ @@ -102449,7 +107848,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefI return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown) String() string { if d == nil { return "" } @@ -102464,16 +107863,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefI return fmt.Sprintf("%#v", d) } -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision struct { - DocSessionID string `json:"docSessionId" url:"docSessionId"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Generation int `json:"generation" url:"generation"` +type DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -102482,69 +107872,27 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndex rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) GetDocSessionID() string { - if d == nil { - return "" - } - return d.DocSessionID -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) GetGeneration() int { - if d == nil { - return 0 - } - return d.Generation -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetDocSessionID sets the DocSessionID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) SetDocSessionID(docSessionID string) { - d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevisionFieldDocSessionID) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevisionFieldPageObjectNumber) -} - -// SetGeneration sets the Generation field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) SetGeneration(generation int) { - d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevisionFieldGeneration) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision(value) + *d = DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -102554,8 +107902,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefI return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown var marshaler = struct { embed }{ @@ -102565,7 +107913,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefI return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefIndexRevision) String() string { +func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown) String() string { if d == nil { return "" } @@ -102581,13 +107929,17 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefI } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNmFieldNm = big.NewInt(1 << 1) + docAnnotationsListAll404ResponseFieldName = big.NewInt(1 << 0) + docAnnotationsListAll404ResponseFieldCode = big.NewInt(1 << 1) + docAnnotationsListAll404ResponseFieldMessage = big.NewInt(1 << 2) + docAnnotationsListAll404ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Nm string `json:"nm" url:"nm"` +type DocAnnotationsListAll404Response struct { + Name DocAnnotationsListAll404ResponseName `json:"name" url:"name"` + Code DocAnnotationsListAll404ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -102596,55 +107948,83 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm st rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll404Response) GetName() DocAnnotationsListAll404ResponseName { if d == nil { - return 0 + return "" } - return d.PageObjectNumber + return d.Name } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm) GetNm() string { +func (d *DocAnnotationsListAll404Response) GetCode() DocAnnotationsListAll404ResponseCode { if d == nil { return "" } - return d.Nm + return d.Code } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll404Response) GetMessage() string { + if d == nil { + return "" + } + return d.Message +} + +func (d *DocAnnotationsListAll404Response) GetDetails() map[string]any { + if d == nil { + return nil + } + return d.Details +} + +func (d *DocAnnotationsListAll404Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm) require(field *big.Int) { +func (d *DocAnnotationsListAll404Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNmFieldPageObjectNumber) +func (d *DocAnnotationsListAll404Response) SetName(name DocAnnotationsListAll404ResponseName) { + d.Name = name + d.require(docAnnotationsListAll404ResponseFieldName) } -// SetNm sets the Nm field and marks it as non-optional; +// SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm) SetNm(nm string) { - d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNmFieldNm) +func (d *DocAnnotationsListAll404Response) SetCode(code DocAnnotationsListAll404ResponseCode) { + d.Code = code + d.require(docAnnotationsListAll404ResponseFieldCode) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm +// SetMessage sets the Message field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll404Response) SetMessage(message string) { + d.Message = message + d.require(docAnnotationsListAll404ResponseFieldMessage) +} + +// SetDetails sets the Details field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll404Response) SetDetails(details map[string]any) { + d.Details = details + d.require(docAnnotationsListAll404ResponseFieldDetails) +} + +func (d *DocAnnotationsListAll404Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll404Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm(value) + *d = DocAnnotationsListAll404Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -102654,8 +108034,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefN return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm +func (d *DocAnnotationsListAll404Response) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll404Response var marshaler = struct { embed }{ @@ -102665,7 +108045,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefN return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefNm) String() string { +func (d *DocAnnotationsListAll404Response) String() string { if d == nil { return "" } @@ -102680,14 +108060,110 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefN return fmt.Sprintf("%#v", d) } +type DocAnnotationsListAll404ResponseCode string + +const ( + DocAnnotationsListAll404ResponseCodeUnknown DocAnnotationsListAll404ResponseCode = "Unknown" + DocAnnotationsListAll404ResponseCodeInvalidArg DocAnnotationsListAll404ResponseCode = "InvalidArg" + DocAnnotationsListAll404ResponseCodeDocNotOpen DocAnnotationsListAll404ResponseCode = "DocNotOpen" + DocAnnotationsListAll404ResponseCodeDocOpenFailed DocAnnotationsListAll404ResponseCode = "DocOpenFailed" + DocAnnotationsListAll404ResponseCodeDocPasswordRequired DocAnnotationsListAll404ResponseCode = "DocPasswordRequired" + DocAnnotationsListAll404ResponseCodeDocPasswordIncorrect DocAnnotationsListAll404ResponseCode = "DocPasswordIncorrect" + DocAnnotationsListAll404ResponseCodeSharePasswordRequired DocAnnotationsListAll404ResponseCode = "SharePasswordRequired" + DocAnnotationsListAll404ResponseCodeAborted DocAnnotationsListAll404ResponseCode = "Aborted" + DocAnnotationsListAll404ResponseCodeNetwork DocAnnotationsListAll404ResponseCode = "Network" + DocAnnotationsListAll404ResponseCodeUnauthenticated DocAnnotationsListAll404ResponseCode = "Unauthenticated" + DocAnnotationsListAll404ResponseCodeForbidden DocAnnotationsListAll404ResponseCode = "Forbidden" + DocAnnotationsListAll404ResponseCodeNotFound DocAnnotationsListAll404ResponseCode = "NotFound" + DocAnnotationsListAll404ResponseCodeWireFormat DocAnnotationsListAll404ResponseCode = "WireFormat" + DocAnnotationsListAll404ResponseCodeRuntimeUnavailable DocAnnotationsListAll404ResponseCode = "RuntimeUnavailable" + DocAnnotationsListAll404ResponseCodeInvalidReference DocAnnotationsListAll404ResponseCode = "InvalidReference" + DocAnnotationsListAll404ResponseCodeWeakAnnotationSessionConflict DocAnnotationsListAll404ResponseCode = "WeakAnnotationSessionConflict" + DocAnnotationsListAll404ResponseCodeLayerVersionConflict DocAnnotationsListAll404ResponseCode = "LayerVersionConflict" + DocAnnotationsListAll404ResponseCodeNotImplemented DocAnnotationsListAll404ResponseCode = "NotImplemented" + DocAnnotationsListAll404ResponseCodeMalformedPdf DocAnnotationsListAll404ResponseCode = "MalformedPdf" +) + +func NewDocAnnotationsListAll404ResponseCodeFromString(s string) (DocAnnotationsListAll404ResponseCode, error) { + switch s { + case "Unknown": + return DocAnnotationsListAll404ResponseCodeUnknown, nil + case "InvalidArg": + return DocAnnotationsListAll404ResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocAnnotationsListAll404ResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocAnnotationsListAll404ResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocAnnotationsListAll404ResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocAnnotationsListAll404ResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocAnnotationsListAll404ResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocAnnotationsListAll404ResponseCodeAborted, nil + case "Network": + return DocAnnotationsListAll404ResponseCodeNetwork, nil + case "Unauthenticated": + return DocAnnotationsListAll404ResponseCodeUnauthenticated, nil + case "Forbidden": + return DocAnnotationsListAll404ResponseCodeForbidden, nil + case "NotFound": + return DocAnnotationsListAll404ResponseCodeNotFound, nil + case "WireFormat": + return DocAnnotationsListAll404ResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocAnnotationsListAll404ResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocAnnotationsListAll404ResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocAnnotationsListAll404ResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocAnnotationsListAll404ResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocAnnotationsListAll404ResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocAnnotationsListAll404ResponseCodeMalformedPdf, nil + } + var t DocAnnotationsListAll404ResponseCode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll404ResponseCode) Ptr() *DocAnnotationsListAll404ResponseCode { + return &d +} + +type DocAnnotationsListAll404ResponseName string + +const ( + DocAnnotationsListAll404ResponseNameEngineError DocAnnotationsListAll404ResponseName = "EngineError" +) + +func NewDocAnnotationsListAll404ResponseNameFromString(s string) (DocAnnotationsListAll404ResponseName, error) { + switch s { + case "EngineError": + return DocAnnotationsListAll404ResponseNameEngineError, nil + } + var t DocAnnotationsListAll404ResponseName + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll404ResponseName) Ptr() *DocAnnotationsListAll404ResponseName { + return &d +} + var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docAnnotationsListAll409ResponseFieldName = big.NewInt(1 << 0) + docAnnotationsListAll409ResponseFieldCode = big.NewInt(1 << 1) + docAnnotationsListAll409ResponseFieldMessage = big.NewInt(1 << 2) + docAnnotationsListAll409ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` +type DocAnnotationsListAll409Response struct { + Name DocAnnotationsListAll409ResponseName `json:"name" url:"name"` + Code DocAnnotationsListAll409ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -102696,55 +108172,83 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjec rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber) GetPageObjectNumber() int { +func (d *DocAnnotationsListAll409Response) GetName() DocAnnotationsListAll409ResponseName { if d == nil { - return 0 + return "" } - return d.PageObjectNumber + return d.Name } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocAnnotationsListAll409Response) GetCode() DocAnnotationsListAll409ResponseCode { if d == nil { - return 0 + return "" } - return d.AnnotObjectNumber + return d.Code } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsListAll409Response) GetMessage() string { + if d == nil { + return "" + } + return d.Message +} + +func (d *DocAnnotationsListAll409Response) GetDetails() map[string]any { + if d == nil { + return nil + } + return d.Details +} + +func (d *DocAnnotationsListAll409Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber) require(field *big.Int) { +func (d *DocAnnotationsListAll409Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumberFieldPageObjectNumber) +func (d *DocAnnotationsListAll409Response) SetName(name DocAnnotationsListAll409ResponseName) { + d.Name = name + d.require(docAnnotationsListAll409ResponseFieldName) } -// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { - d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumberFieldAnnotObjectNumber) +func (d *DocAnnotationsListAll409Response) SetCode(code DocAnnotationsListAll409ResponseCode) { + d.Code = code + d.require(docAnnotationsListAll409ResponseFieldCode) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber +// SetMessage sets the Message field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll409Response) SetMessage(message string) { + d.Message = message + d.require(docAnnotationsListAll409ResponseFieldMessage) +} + +// SetDetails sets the Details field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsListAll409Response) SetDetails(details map[string]any) { + d.Details = details + d.require(docAnnotationsListAll409ResponseFieldDetails) +} + +func (d *DocAnnotationsListAll409Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsListAll409Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber(value) + *d = DocAnnotationsListAll409Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -102754,8 +108258,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefO return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber +func (d *DocAnnotationsListAll409Response) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsListAll409Response var marshaler = struct { embed }{ @@ -102765,7 +108269,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefO return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefObjectNumber) String() string { +func (d *DocAnnotationsListAll409Response) String() string { if d == nil { return "" } @@ -102780,549 +108284,368 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedRefO return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyType string +type DocAnnotationsListAll409ResponseCode string const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyType = "reply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyType = "group" + DocAnnotationsListAll409ResponseCodeUnknown DocAnnotationsListAll409ResponseCode = "Unknown" + DocAnnotationsListAll409ResponseCodeInvalidArg DocAnnotationsListAll409ResponseCode = "InvalidArg" + DocAnnotationsListAll409ResponseCodeDocNotOpen DocAnnotationsListAll409ResponseCode = "DocNotOpen" + DocAnnotationsListAll409ResponseCodeDocOpenFailed DocAnnotationsListAll409ResponseCode = "DocOpenFailed" + DocAnnotationsListAll409ResponseCodeDocPasswordRequired DocAnnotationsListAll409ResponseCode = "DocPasswordRequired" + DocAnnotationsListAll409ResponseCodeDocPasswordIncorrect DocAnnotationsListAll409ResponseCode = "DocPasswordIncorrect" + DocAnnotationsListAll409ResponseCodeSharePasswordRequired DocAnnotationsListAll409ResponseCode = "SharePasswordRequired" + DocAnnotationsListAll409ResponseCodeAborted DocAnnotationsListAll409ResponseCode = "Aborted" + DocAnnotationsListAll409ResponseCodeNetwork DocAnnotationsListAll409ResponseCode = "Network" + DocAnnotationsListAll409ResponseCodeUnauthenticated DocAnnotationsListAll409ResponseCode = "Unauthenticated" + DocAnnotationsListAll409ResponseCodeForbidden DocAnnotationsListAll409ResponseCode = "Forbidden" + DocAnnotationsListAll409ResponseCodeNotFound DocAnnotationsListAll409ResponseCode = "NotFound" + DocAnnotationsListAll409ResponseCodeWireFormat DocAnnotationsListAll409ResponseCode = "WireFormat" + DocAnnotationsListAll409ResponseCodeRuntimeUnavailable DocAnnotationsListAll409ResponseCode = "RuntimeUnavailable" + DocAnnotationsListAll409ResponseCodeInvalidReference DocAnnotationsListAll409ResponseCode = "InvalidReference" + DocAnnotationsListAll409ResponseCodeWeakAnnotationSessionConflict DocAnnotationsListAll409ResponseCode = "WeakAnnotationSessionConflict" + DocAnnotationsListAll409ResponseCodeLayerVersionConflict DocAnnotationsListAll409ResponseCode = "LayerVersionConflict" + DocAnnotationsListAll409ResponseCodeNotImplemented DocAnnotationsListAll409ResponseCode = "NotImplemented" + DocAnnotationsListAll409ResponseCodeMalformedPdf DocAnnotationsListAll409ResponseCode = "MalformedPdf" ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyType, error) { +func NewDocAnnotationsListAll409ResponseCodeFromString(s string) (DocAnnotationsListAll409ResponseCode, error) { switch s { - case "reply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyTypeReply, nil - case "group": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyTypeGroup, nil + case "Unknown": + return DocAnnotationsListAll409ResponseCodeUnknown, nil + case "InvalidArg": + return DocAnnotationsListAll409ResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocAnnotationsListAll409ResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocAnnotationsListAll409ResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocAnnotationsListAll409ResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocAnnotationsListAll409ResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocAnnotationsListAll409ResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocAnnotationsListAll409ResponseCodeAborted, nil + case "Network": + return DocAnnotationsListAll409ResponseCodeNetwork, nil + case "Unauthenticated": + return DocAnnotationsListAll409ResponseCodeUnauthenticated, nil + case "Forbidden": + return DocAnnotationsListAll409ResponseCodeForbidden, nil + case "NotFound": + return DocAnnotationsListAll409ResponseCodeNotFound, nil + case "WireFormat": + return DocAnnotationsListAll409ResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocAnnotationsListAll409ResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocAnnotationsListAll409ResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocAnnotationsListAll409ResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocAnnotationsListAll409ResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocAnnotationsListAll409ResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocAnnotationsListAll409ResponseCodeMalformedPdf, nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyType + var t DocAnnotationsListAll409ResponseCode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemUnsupportedReplyType { +func (d DocAnnotationsListAll409ResponseCode) Ptr() *DocAnnotationsListAll409ResponseCode { + return &d +} + +type DocAnnotationsListAll409ResponseName string + +const ( + DocAnnotationsListAll409ResponseNameEngineError DocAnnotationsListAll409ResponseName = "EngineError" +) + +func NewDocAnnotationsListAll409ResponseNameFromString(s string) (DocAnnotationsListAll409ResponseName, error) { + switch s { + case "EngineError": + return DocAnnotationsListAll409ResponseNameEngineError, nil + } + var t DocAnnotationsListAll409ResponseName + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsListAll409ResponseName) Ptr() *DocAnnotationsListAll409ResponseName { return &d } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldRef = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldIndex = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldIdentityQuality = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldNm = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFlags = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldRect = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldContents = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldSubject = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldAuthor = big.NewInt(1 << 9) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldCreated = big.NewInt(1 << 10) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldModified = big.NewInt(1 << 11) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldBlendMode = big.NewInt(1 << 12) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldInReplyTo = big.NewInt(1 << 13) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldReplyType = big.NewInt(1 << 14) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldUserID = big.NewInt(1 << 15) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldGroupID = big.NewInt(1 << 16) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldCreatedBy = big.NewInt(1 << 17) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldUpdatedBy = big.NewInt(1 << 18) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldActions = big.NewInt(1 << 19) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldColor = big.NewInt(1 << 20) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldInteriorColor = big.NewInt(1 << 21) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldStrokeWidth = big.NewInt(1 << 22) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldBorderStyle = big.NewInt(1 << 23) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFontFamily = big.NewInt(1 << 24) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFontSize = big.NewInt(1 << 25) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFontColor = big.NewInt(1 << 26) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldTextAlign = big.NewInt(1 << 27) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFieldObjectNumber = big.NewInt(1 << 28) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFieldFamily = big.NewInt(1 << 29) + docAnnotationsUpdate200ResponseFieldMeta = big.NewInt(1 << 0) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget struct { - Ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef `json:"ref" url:"ref"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - IdentityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQuality `json:"identityQuality" url:"identityQuality"` - Nm *string `json:"nm,omitempty" url:"nm,omitempty"` - Flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags `json:"flags" url:"flags"` - Rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect `json:"rect" url:"rect"` - Contents *string `json:"contents,omitempty" url:"contents,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - BlendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode `json:"blendMode" url:"blendMode"` - InReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo `json:"inReplyTo,omitempty" url:"inReplyTo,omitempty"` - ReplyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyType `json:"replyType,omitempty" url:"replyType,omitempty"` - UserID *string `json:"userId,omitempty" url:"userId,omitempty"` - GroupID *string `json:"groupId,omitempty" url:"groupId,omitempty"` - CreatedBy *string `json:"createdBy,omitempty" url:"createdBy,omitempty"` - UpdatedBy *string `json:"updatedBy,omitempty" url:"updatedBy,omitempty"` - Actions *PdfAnnotationActions `json:"actions,omitempty" url:"actions,omitempty"` - Color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor `json:"color,omitempty" url:"color,omitempty"` - InteriorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor `json:"interiorColor,omitempty" url:"interiorColor,omitempty"` - StrokeWidth float64 `json:"strokeWidth" url:"strokeWidth"` - BorderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle `json:"borderStyle" url:"borderStyle"` - FontFamily *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily `json:"fontFamily,omitempty" url:"fontFamily,omitempty"` - FontSize *float64 `json:"fontSize,omitempty" url:"fontSize,omitempty"` - FontColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor `json:"fontColor,omitempty" url:"fontColor,omitempty"` - TextAlign DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign `json:"textAlign" url:"textAlign"` - FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` - FieldFamily DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily `json:"fieldFamily" url:"fieldFamily"` +type DocAnnotationsUpdate200Response struct { + Meta *DocAnnotationsUpdate200ResponseMeta `json:"meta" url:"meta"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` - extraProperties map[string]interface{} - rawJSON json.RawMessage + ExtraProperties map[string]interface{} `json:"-" url:"-"` + + rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetRef() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef { +func (d *DocAnnotationsUpdate200Response) GetMeta() *DocAnnotationsUpdate200ResponseMeta { if d == nil { return nil } - return d.Ref + return d.Meta } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetPageObjectNumber() int { +func (d *DocAnnotationsUpdate200Response) GetExtraProperties() map[string]interface{} { if d == nil { - return 0 + return nil } - return d.PageObjectNumber + return d.ExtraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetIndex() int { - if d == nil { - return 0 +func (d *DocAnnotationsUpdate200Response) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) } - return d.Index + d.explicitFields.Or(d.explicitFields, field) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetIdentityQuality() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQuality { - if d == nil { - return "" - } - return d.IdentityQuality +// SetMeta sets the Meta field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsUpdate200Response) SetMeta(meta *DocAnnotationsUpdate200ResponseMeta) { + d.Meta = meta + d.require(docAnnotationsUpdate200ResponseFieldMeta) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetNm() *string { - if d == nil { - return nil +func (d *DocAnnotationsUpdate200Response) UnmarshalJSON(data []byte) error { + type embed DocAnnotationsUpdate200Response + var unmarshaler = struct { + embed + }{ + embed: embed(*d), } - return d.Nm -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetFlags() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags { - if d == nil { - return nil + if err := json.Unmarshal(data, &unmarshaler); err != nil { + return err } - return d.Flags -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetRect() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect { - if d == nil { - return nil + *d = DocAnnotationsUpdate200Response(unmarshaler.embed) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err } - return d.Rect + d.ExtraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetContents() *string { - if d == nil { - return nil +func (d *DocAnnotationsUpdate200Response) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsUpdate200Response + var marshaler = struct { + embed + }{ + embed: embed(*d), } - return d.Contents + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return internal.MarshalJSONWithExtraProperties(explicitMarshaler, d.ExtraProperties) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetSubject() *string { +func (d *DocAnnotationsUpdate200Response) String() string { if d == nil { - return nil + return "" } - return d.Subject -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetAuthor() *string { - if d == nil { - return nil + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } } - return d.Author -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetCreated() *time.Time { - if d == nil { - return nil + if value, err := internal.StringifyJSON(d); err == nil { + return value } - return d.Created + return fmt.Sprintf("%#v", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetModified() *time.Time { - if d == nil { - return nil - } - return d.Modified -} +var ( + docAnnotationsUpdate200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) + docAnnotationsUpdate200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) +) -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetBlendMode() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode { - if d == nil { - return "" - } - return d.BlendMode -} +type DocAnnotationsUpdate200ResponseMeta struct { + AffectedPages []*DocAnnotationsUpdate200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` + CacheDelta *DocAnnotationsUpdate200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetInReplyTo() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo { - if d == nil { - return nil - } - return d.InReplyTo -} + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetReplyType() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyType { - if d == nil { - return nil - } - return d.ReplyType + extraProperties map[string]interface{} + rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetUserID() *string { +func (d *DocAnnotationsUpdate200ResponseMeta) GetAffectedPages() []*DocAnnotationsUpdate200ResponseMetaAffectedPagesItem { if d == nil { return nil } - return d.UserID + return d.AffectedPages } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetGroupID() *string { +func (d *DocAnnotationsUpdate200ResponseMeta) GetCacheDelta() *DocAnnotationsUpdate200ResponseMetaCacheDelta { if d == nil { return nil } - return d.GroupID + return d.CacheDelta } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetCreatedBy() *string { +func (d *DocAnnotationsUpdate200ResponseMeta) GetExtraProperties() map[string]interface{} { if d == nil { return nil } - return d.CreatedBy + return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetUpdatedBy() *string { - if d == nil { - return nil +func (d *DocAnnotationsUpdate200ResponseMeta) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) } - return d.UpdatedBy + d.explicitFields.Or(d.explicitFields, field) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetActions() *PdfAnnotationActions { - if d == nil { - return nil - } - return d.Actions +// SetAffectedPages sets the AffectedPages field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsUpdate200ResponseMeta) SetAffectedPages(affectedPages []*DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) { + d.AffectedPages = affectedPages + d.require(docAnnotationsUpdate200ResponseMetaFieldAffectedPages) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor { - if d == nil { - return nil - } - return d.Color +// SetCacheDelta sets the CacheDelta field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsUpdate200ResponseMeta) SetCacheDelta(cacheDelta *DocAnnotationsUpdate200ResponseMetaCacheDelta) { + d.CacheDelta = cacheDelta + d.require(docAnnotationsUpdate200ResponseMetaFieldCacheDelta) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetInteriorColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor { - if d == nil { - return nil +func (d *DocAnnotationsUpdate200ResponseMeta) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsUpdate200ResponseMeta + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err } - return d.InteriorColor -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetStrokeWidth() float64 { - if d == nil { - return 0 + *d = DocAnnotationsUpdate200ResponseMeta(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err } - return d.StrokeWidth + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetBorderStyle() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle { - if d == nil { - return "" +func (d *DocAnnotationsUpdate200ResponseMeta) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsUpdate200ResponseMeta + var marshaler = struct { + embed + }{ + embed: embed(*d), } - return d.BorderStyle + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetFontFamily() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily { +func (d *DocAnnotationsUpdate200ResponseMeta) String() string { if d == nil { - return nil + return "" } - return d.FontFamily -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetFontSize() *float64 { - if d == nil { - return nil + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } } - return d.FontSize + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetFontColor() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor { - if d == nil { - return nil - } - return d.FontColor +var ( + docAnnotationsUpdate200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsUpdate200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) + docAnnotationsUpdate200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) +) + +type DocAnnotationsUpdate200ResponseMetaAffectedPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Revision *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` + WeakAnnotationState *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetTextAlign() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign { +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { if d == nil { - return "" + return 0 } - return d.TextAlign + return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetFieldObjectNumber() int { +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) GetRevision() *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision { if d == nil { - return 0 + return nil } - return d.FieldObjectNumber + return d.Revision } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetFieldFamily() DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily { +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState { if d == nil { - return "" + return nil } - return d.FieldFamily + return d.WeakAnnotationState } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) require(field *big.Int) { +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetRef sets the Ref field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetRef(ref *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef) { - d.Ref = ref - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldRef) -} - // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldPageObjectNumber) -} - -// SetIndex sets the Index field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetIndex(index int) { - d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldIndex) -} - -// SetIdentityQuality sets the IdentityQuality field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetIdentityQuality(identityQuality DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQuality) { - d.IdentityQuality = identityQuality - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldIdentityQuality) -} - -// SetNm sets the Nm field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetNm(nm *string) { - d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldNm) -} - -// SetFlags sets the Flags field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetFlags(flags *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) { - d.Flags = flags - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFlags) -} - -// SetRect sets the Rect field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetRect(rect *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) { - d.Rect = rect - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldRect) -} - -// SetContents sets the Contents field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetContents(contents *string) { - d.Contents = contents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldContents) -} - -// SetSubject sets the Subject field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetSubject(subject *string) { - d.Subject = subject - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldSubject) -} - -// SetAuthor sets the Author field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetAuthor(author *string) { - d.Author = author - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldAuthor) -} - -// SetCreated sets the Created field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetCreated(created *time.Time) { - d.Created = created - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldCreated) -} - -// SetModified sets the Modified field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetModified(modified *time.Time) { - d.Modified = modified - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldModified) -} - -// SetBlendMode sets the BlendMode field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetBlendMode(blendMode DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode) { - d.BlendMode = blendMode - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldBlendMode) -} - -// SetInReplyTo sets the InReplyTo field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetInReplyTo(inReplyTo *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo) { - d.InReplyTo = inReplyTo - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldInReplyTo) -} - -// SetReplyType sets the ReplyType field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetReplyType(replyType *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyType) { - d.ReplyType = replyType - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldReplyType) -} - -// SetUserID sets the UserID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetUserID(userID *string) { - d.UserID = userID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldUserID) -} - -// SetGroupID sets the GroupID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetGroupID(groupID *string) { - d.GroupID = groupID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldGroupID) -} - -// SetCreatedBy sets the CreatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetCreatedBy(createdBy *string) { - d.CreatedBy = createdBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldCreatedBy) -} - -// SetUpdatedBy sets the UpdatedBy field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetUpdatedBy(updatedBy *string) { - d.UpdatedBy = updatedBy - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldUpdatedBy) -} - -// SetActions sets the Actions field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetActions(actions *PdfAnnotationActions) { - d.Actions = actions - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldActions) -} - -// SetColor sets the Color field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetColor(color *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) { - d.Color = color - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldColor) -} - -// SetInteriorColor sets the InteriorColor field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetInteriorColor(interiorColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) { - d.InteriorColor = interiorColor - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldInteriorColor) -} - -// SetStrokeWidth sets the StrokeWidth field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetStrokeWidth(strokeWidth float64) { - d.StrokeWidth = strokeWidth - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldStrokeWidth) -} - -// SetBorderStyle sets the BorderStyle field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetBorderStyle(borderStyle DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle) { - d.BorderStyle = borderStyle - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldBorderStyle) -} - -// SetFontFamily sets the FontFamily field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetFontFamily(fontFamily *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily) { - d.FontFamily = fontFamily - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFontFamily) -} - -// SetFontSize sets the FontSize field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetFontSize(fontSize *float64) { - d.FontSize = fontSize - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFontSize) -} - -// SetFontColor sets the FontColor field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetFontColor(fontColor *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) { - d.FontColor = fontColor - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFontColor) -} - -// SetTextAlign sets the TextAlign field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetTextAlign(textAlign DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign) { - d.TextAlign = textAlign - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldTextAlign) + d.require(docAnnotationsUpdate200ResponseMetaAffectedPagesItemFieldPageObjectNumber) } -// SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; +// SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetFieldObjectNumber(fieldObjectNumber int) { - d.FieldObjectNumber = fieldObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFieldObjectNumber) +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) SetRevision(revision *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) { + d.Revision = revision + d.require(docAnnotationsUpdate200ResponseMetaAffectedPagesItemFieldRevision) } -// SetFieldFamily sets the FieldFamily field and marks it as non-optional; +// SetWeakAnnotationState sets the WeakAnnotationState field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) SetFieldFamily(fieldFamily DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily) { - d.FieldFamily = fieldFamily - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFieldFamily) +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState) { + d.WeakAnnotationState = weakAnnotationState + d.require(docAnnotationsUpdate200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget - var unmarshaler = struct { - embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` - }{ - embed: embed(*d), - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsUpdate200ResponseMetaAffectedPagesItem + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget(unmarshaler.embed) - d.Created = unmarshaler.Created.TimePtr() - d.Modified = unmarshaler.Modified.TimePtr() + *d = DocAnnotationsUpdate200ResponseMetaAffectedPagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -103332,22 +108655,18 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) Unmarsh return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsUpdate200ResponseMetaAffectedPagesItem var marshaler = struct { embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` }{ - embed: embed(*d), - Created: internal.NewOptionalDateTime(d.Created), - Modified: internal.NewOptionalDateTime(d.Modified), + embed: embed(*d), } explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) String() string { +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) String() string { if d == nil { return "" } @@ -103359,111 +108678,19 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidget) String( if value, err := internal.StringifyJSON(d); err == nil { return value } - return fmt.Sprintf("%#v", d) -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeNormal DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "normal" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeMultiply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "multiply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeScreen DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "screen" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeOverlay DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "overlay" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeDarken DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "darken" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeLighten DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "lighten" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeColorDodge DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "color-dodge" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeColorBurn DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "color-burn" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeHardLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "hard-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeSoftLight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "soft-light" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeDifference DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "difference" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeExclusion DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "exclusion" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeHue DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "hue" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeSaturation DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "saturation" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeColor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "color" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeLuminosity DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode = "luminosity" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode, error) { - switch s { - case "normal": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeNormal, nil - case "multiply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeMultiply, nil - case "screen": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeScreen, nil - case "overlay": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeOverlay, nil - case "darken": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeDarken, nil - case "lighten": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeLighten, nil - case "color-dodge": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeColorDodge, nil - case "color-burn": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeColorBurn, nil - case "hard-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeHardLight, nil - case "soft-light": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeSoftLight, nil - case "difference": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeDifference, nil - case "exclusion": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeExclusion, nil - case "hue": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeHue, nil - case "saturation": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeSaturation, nil - case "color": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeColor, nil - case "luminosity": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendModeLuminosity, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBlendMode { - return &d -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyleSolid DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle = "solid" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyleDashed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle = "dashed" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyleBeveled DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle = "beveled" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyleInset DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle = "inset" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyleFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle, error) { - switch s { - case "solid": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyleSolid, nil - case "dashed": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyleDashed, nil - case "beveled": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyleBeveled, nil - case "inset": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyleInset, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetBorderStyle { - return &d + return fmt.Sprintf("%#v", d) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColorFieldB = big.NewInt(1 << 2) + docAnnotationsUpdate200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) + docAnnotationsUpdate200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docAnnotationsUpdate200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` +type DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision struct { + DocSessionID string `json:"docSessionId" url:"docSessionId"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Generation int `json:"generation" url:"generation"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -103472,69 +108699,69 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor struct rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) GetR() int { +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { if d == nil { - return 0 + return "" } - return d.R + return d.DocSessionID } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) GetG() int { +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { if d == nil { return 0 } - return d.G + return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) GetB() int { +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { if d == nil { return 0 } - return d.B + return d.Generation } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) require(field *big.Int) { +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetR sets the R field and marks it as non-optional; +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) SetR(r int) { - d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColorFieldR) +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docAnnotationsUpdate200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) } -// SetG sets the G field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) SetG(g int) { - d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColorFieldG) +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsUpdate200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) } -// SetB sets the B field and marks it as non-optional; +// SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) SetB(b int) { - d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColorFieldB) +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docAnnotationsUpdate200ResponseMetaAffectedPagesItemRevisionFieldGeneration) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor(value) + *d = DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -103544,8 +108771,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) Un return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision var marshaler = struct { embed }{ @@ -103555,7 +108782,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) Ma return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) String() string { +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) String() string { if d == nil { return "" } @@ -103570,239 +108797,246 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetColor) St return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyText DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily = "text" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyCheckbox DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily = "checkbox" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyRadio DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily = "radio" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyCombobox DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily = "combobox" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyListbox DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily = "listbox" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyPushbutton DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily = "pushbutton" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilySignature DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily = "signature" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyUnknown DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily = "unknown" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily, error) { - switch s { - case "text": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyText, nil - case "checkbox": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyCheckbox, nil - case "radio": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyRadio, nil - case "combobox": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyCombobox, nil - case "listbox": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyListbox, nil - case "pushbutton": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyPushbutton, nil - case "signature": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilySignature, nil - case "unknown": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamilyUnknown, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFieldFamily { - return &d -} - -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldInvisible = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldHidden = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldPrint = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldNoZoom = big.NewInt(1 << 3) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldNoRotate = big.NewInt(1 << 4) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldNoView = big.NewInt(1 << 5) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldReadOnly = big.NewInt(1 << 6) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldLocked = big.NewInt(1 << 7) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldToggleNoView = big.NewInt(1 << 8) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldLockedContents = big.NewInt(1 << 9) -) - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags struct { - Invisible bool `json:"invisible" url:"invisible"` - Hidden bool `json:"hidden" url:"hidden"` - Print bool `json:"print" url:"print"` - NoZoom bool `json:"noZoom" url:"noZoom"` - NoRotate bool `json:"noRotate" url:"noRotate"` - NoView bool `json:"noView" url:"noView"` - ReadOnly bool `json:"readOnly" url:"readOnly"` - Locked bool `json:"locked" url:"locked"` - ToggleNoView bool `json:"toggleNoView" url:"toggleNoView"` - LockedContents bool `json:"lockedContents" url:"lockedContents"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` +type DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState struct { + Kind string + Unknown *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + Known *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown - extraProperties map[string]interface{} - rawJSON json.RawMessage + rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) GetInvisible() bool { +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { if d == nil { - return false + return "" } - return d.Invisible + return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) GetHidden() bool { +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { if d == nil { - return false + return nil } - return d.Hidden + return d.Unknown } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) GetPrint() bool { +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { if d == nil { - return false + return nil } - return d.Print + return d.Known } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) GetNoZoom() bool { - if d == nil { - return false +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { + var unmarshaler struct { + Kind string `json:"kind"` } - return d.NoZoom + if err := json.Unmarshal(data, &unmarshaler); err != nil { + return err + } + d.Kind = unmarshaler.Kind + if unmarshaler.Kind == "" { + return fmt.Errorf("%T did not include discriminant kind", d) + } + switch unmarshaler.Kind { + case "unknown": + value := new(DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Unknown = value + case "known": + value := new(DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Known = value + } + d.rawJSON = json.RawMessage(data) + return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) GetNoRotate() bool { - if d == nil { - return false +func (d DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { + if err := d.validate(); err != nil { + return nil, err } - return d.NoRotate + if d.Unknown != nil { + return internal.MarshalJSONWithExtraProperty(d.Unknown, "kind", "unknown") + } + if d.Known != nil { + return internal.MarshalJSONWithExtraProperty(d.Known, "kind", "known") + } + if len(d.rawJSON) > 0 { + return d.rawJSON, nil + } + return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) GetNoView() bool { - if d == nil { - return false - } - return d.NoView +type DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { + VisitUnknown(*DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error + VisitKnown(*DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) GetReadOnly() bool { - if d == nil { - return false +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { + if d.Unknown != nil { + return visitor.VisitUnknown(d.Unknown) } - return d.ReadOnly + if d.Known != nil { + return visitor.VisitKnown(d.Known) + } + return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) GetLocked() bool { +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { if d == nil { - return false + return fmt.Errorf("type %T is nil", d) } - return d.Locked + var fields []string + if d.Unknown != nil { + fields = append(fields, "unknown") + } + if d.Known != nil { + fields = append(fields, "known") + } + if len(fields) == 0 { + if d.Kind != "" { + if len(d.rawJSON) > 0 { + return nil + } + return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) + } + return fmt.Errorf("type %T is empty", d) + } + if len(fields) > 1 { + return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) + } + if d.Kind != "" { + field := fields[0] + if d.Kind != field { + return fmt.Errorf( + "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", + d, + d.Kind, + d, + ) + } + } + return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) GetToggleNoView() bool { - if d == nil { - return false - } - return d.ToggleNoView +var ( + docAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) +) + +type DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { + HasAnyWeakAnnotations bool `json:"hasAnyWeakAnnotations" url:"hasAnyWeakAnnotations"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) GetLockedContents() bool { +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { if d == nil { return false } - return d.LockedContents + return d.HasAnyWeakAnnotations } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) require(field *big.Int) { +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetInvisible sets the Invisible field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) SetInvisible(invisible bool) { - d.Invisible = invisible - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldInvisible) -} - -// SetHidden sets the Hidden field and marks it as non-optional; +// SetHasAnyWeakAnnotations sets the HasAnyWeakAnnotations field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) SetHidden(hidden bool) { - d.Hidden = hidden - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldHidden) +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { + d.HasAnyWeakAnnotations = hasAnyWeakAnnotations + d.require(docAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) } -// SetPrint sets the Print field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) SetPrint(print bool) { - d.Print = print - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldPrint) +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil } -// SetNoZoom sets the NoZoom field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) SetNoZoom(noZoom bool) { - d.NoZoom = noZoom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldNoZoom) +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) } -// SetNoRotate sets the NoRotate field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) SetNoRotate(noRotate bool) { - d.NoRotate = noRotate - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldNoRotate) +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } -// SetNoView sets the NoView field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) SetNoView(noView bool) { - d.NoView = noView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldNoView) -} +type DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { -// SetReadOnly sets the ReadOnly field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) SetReadOnly(readOnly bool) { - d.ReadOnly = readOnly - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldReadOnly) -} + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` -// SetLocked sets the Locked field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) SetLocked(locked bool) { - d.Locked = locked - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldLocked) + extraProperties map[string]interface{} + rawJSON json.RawMessage } -// SetToggleNoView sets the ToggleNoView field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) SetToggleNoView(toggleNoView bool) { - d.ToggleNoView = toggleNoView - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldToggleNoView) +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties } -// SetLockedContents sets the LockedContents field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) SetLockedContents(lockedContents bool) { - d.LockedContents = lockedContents - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlagsFieldLockedContents) +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags(value) + *d = DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -103812,8 +109046,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) Un return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var marshaler = struct { embed }{ @@ -103823,7 +109057,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) Ma return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) String() string { +func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { if d == nil { return "" } @@ -103839,15 +109073,17 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags) St } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColorFieldB = big.NewInt(1 << 2) + docAnnotationsUpdate200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) + docAnnotationsUpdate200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) + docAnnotationsUpdate200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) + docAnnotationsUpdate200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` +type DocAnnotationsUpdate200ResponseMetaCacheDelta struct { + PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` + DocVersion int `json:"docVersion" url:"docVersion"` + AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` + Pages []*DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -103856,69 +109092,83 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor str rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) GetR() int { +func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) GetPreviousDocVersion() int { if d == nil { return 0 } - return d.R + return d.PreviousDocVersion } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) GetG() int { +func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) GetDocVersion() int { if d == nil { return 0 } - return d.G + return d.DocVersion } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) GetB() int { +func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { if d == nil { - return 0 + return nil } - return d.B + return d.AnnotationsVersion } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) GetPages() []*DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem { + if d == nil { + return nil + } + return d.Pages +} + +func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) require(field *big.Int) { +func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetR sets the R field and marks it as non-optional; +// SetPreviousDocVersion sets the PreviousDocVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) SetR(r int) { - d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColorFieldR) +func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { + d.PreviousDocVersion = previousDocVersion + d.require(docAnnotationsUpdate200ResponseMetaCacheDeltaFieldPreviousDocVersion) } -// SetG sets the G field and marks it as non-optional; +// SetDocVersion sets the DocVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) SetG(g int) { - d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColorFieldG) +func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { + d.DocVersion = docVersion + d.require(docAnnotationsUpdate200ResponseMetaCacheDeltaFieldDocVersion) } -// SetB sets the B field and marks it as non-optional; +// SetAnnotationsVersion sets the AnnotationsVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) SetB(b int) { - d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColorFieldB) +func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { + d.AnnotationsVersion = annotationsVersion + d.require(docAnnotationsUpdate200ResponseMetaCacheDeltaFieldAnnotationsVersion) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor +// SetPages sets the Pages field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) SetPages(pages []*DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem) { + d.Pages = pages + d.require(docAnnotationsUpdate200ResponseMetaCacheDeltaFieldPages) +} + +func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsUpdate200ResponseMetaCacheDelta var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor(value) + *d = DocAnnotationsUpdate200ResponseMetaCacheDelta(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -103928,8 +109178,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor +func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsUpdate200ResponseMetaCacheDelta var marshaler = struct { embed }{ @@ -103939,7 +109189,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor) String() string { +func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) String() string { if d == nil { return "" } @@ -103954,246 +109204,114 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyCourier DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "courier" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyCourierBold DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "courier-bold" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyCourierBoldOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "courier-bold-oblique" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyCourierOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "courier-oblique" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyHelvetica DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "helvetica" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyHelveticaBold DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "helvetica-bold" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyHelveticaBoldOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "helvetica-bold-oblique" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyHelveticaOblique DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "helvetica-oblique" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyTimesRoman DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "times-roman" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyTimesBold DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "times-bold" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyTimesBoldItalic DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "times-bold-italic" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyTimesItalic DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "times-italic" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilySymbol DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "symbol" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyZapfDingbats DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily = "zapf-dingbats" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily, error) { - switch s { - case "courier": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyCourier, nil - case "courier-bold": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyCourierBold, nil - case "courier-bold-oblique": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyCourierBoldOblique, nil - case "courier-oblique": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyCourierOblique, nil - case "helvetica": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyHelvetica, nil - case "helvetica-bold": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyHelveticaBold, nil - case "helvetica-bold-oblique": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyHelveticaBoldOblique, nil - case "helvetica-oblique": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyHelveticaOblique, nil - case "times-roman": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyTimesRoman, nil - case "times-bold": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyTimesBold, nil - case "times-bold-italic": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyTimesBoldItalic, nil - case "times-italic": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyTimesItalic, nil - case "symbol": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilySymbol, nil - case "zapf-dingbats": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamilyZapfDingbats, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontFamily { - return &d -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQuality string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQualityDurable DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQuality = "durable" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQualityWeak DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQuality = "weak" +var ( + docAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) ) -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQualityFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQuality, error) { - switch s { - case "durable": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQualityDurable, nil - case "weak": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQualityWeak, nil - } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQuality - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQuality) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIdentityQuality { - return &d -} +type DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Cache *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo struct { - Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` - rawJSON json.RawMessage + extraProperties map[string]interface{} + rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo) GetKind() string { +func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { if d == nil { - return "" + return 0 } - return d.Kind + return d.PageObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber { +func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem) GetCache() *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache { if d == nil { return nil } - return d.ObjectNumber + return d.Cache } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm { +func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } - return d.Nm + return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex { - if d == nil { - return nil +func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) } - return d.Index + d.explicitFields.Or(d.explicitFields, field) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo) UnmarshalJSON(data []byte) error { - var unmarshaler struct { - Kind string `json:"kind"` - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) +} + +// SetCache sets the Cache field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) { + d.Cache = cache + d.require(docAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemFieldCache) +} + +func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { return err } - d.Kind = unmarshaler.Kind - if unmarshaler.Kind == "" { - return fmt.Errorf("%T did not include discriminant kind", d) - } - switch unmarshaler.Kind { - case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.ObjectNumber = value - case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Nm = value - case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Index = value + *d = DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err } + d.extraProperties = extraProperties d.rawJSON = json.RawMessage(data) return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo) MarshalJSON() ([]byte, error) { - if err := d.validate(); err != nil { - return nil, err - } - if d.ObjectNumber != nil { - return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") - } - if d.Nm != nil { - return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") - } - if d.Index != nil { - return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") - } - if len(d.rawJSON) > 0 { - return d.rawJSON, nil - } - return nil, fmt.Errorf("type %T does not define a non-empty union type", d) -} - -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) error -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToVisitor) error { - if d.ObjectNumber != nil { - return visitor.VisitObjectNumber(d.ObjectNumber) - } - if d.Nm != nil { - return visitor.VisitNm(d.Nm) - } - if d.Index != nil { - return visitor.VisitIndex(d.Index) +func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem + var marshaler = struct { + embed + }{ + embed: embed(*d), } - return fmt.Errorf("type %T does not define a non-empty union type", d) + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo) validate() error { +func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem) String() string { if d == nil { - return fmt.Errorf("type %T is nil", d) - } - var fields []string - if d.ObjectNumber != nil { - fields = append(fields, "objectNumber") - } - if d.Nm != nil { - fields = append(fields, "nm") - } - if d.Index != nil { - fields = append(fields, "index") + return "" } - if len(fields) == 0 { - if d.Kind != "" { - if len(d.rawJSON) > 0 { - return nil - } - return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value } - return fmt.Errorf("type %T is empty", d) - } - if len(fields) > 1 { - return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) } - if d.Kind != "" { - field := fields[0] - if d.Kind != field { - return fmt.Errorf( - "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", - d, - d.Kind, - d, - ) - } + if value, err := internal.StringifyJSON(d); err == nil { + return value } - return nil + return fmt.Sprintf("%#v", d) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexFieldRevision = big.NewInt(1 << 2) + docAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) + docAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision `json:"revision" url:"revision"` +type DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache struct { + ContentVersion int `json:"contentVersion" url:"contentVersion"` + AnnotationVersion int `json:"annotationVersion" url:"annotationVersion"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -104202,69 +109320,55 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToInde rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) GetPageObjectNumber() int { +func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { if d == nil { return 0 } - return d.PageObjectNumber + return d.ContentVersion } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) GetIndex() int { +func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { if d == nil { return 0 } - return d.Index -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision { - if d == nil { - return nil - } - return d.Revision + return d.AnnotationVersion } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) require(field *big.Int) { +func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexFieldPageObjectNumber) -} - -// SetIndex sets the Index field and marks it as non-optional; +// SetContentVersion sets the ContentVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) SetIndex(index int) { - d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexFieldIndex) +func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { + d.ContentVersion = contentVersion + d.require(docAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) } -// SetRevision sets the Revision field and marks it as non-optional; +// SetAnnotationVersion sets the AnnotationVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) { - d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexFieldRevision) +func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { + d.AnnotationVersion = annotationVersion + d.require(docAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex +func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex(value) + *d = DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -104274,8 +109378,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex +func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache var marshaler = struct { embed }{ @@ -104285,7 +109389,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex) String() string { +func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) String() string { if d == nil { return "" } @@ -104301,15 +109405,17 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docAnnotationsUpdate400ResponseFieldName = big.NewInt(1 << 0) + docAnnotationsUpdate400ResponseFieldCode = big.NewInt(1 << 1) + docAnnotationsUpdate400ResponseFieldMessage = big.NewInt(1 << 2) + docAnnotationsUpdate400ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision struct { - DocSessionID string `json:"docSessionId" url:"docSessionId"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Generation int `json:"generation" url:"generation"` +type DocAnnotationsUpdate400Response struct { + Name DocAnnotationsUpdate400ResponseName `json:"name" url:"name"` + Code DocAnnotationsUpdate400ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -104318,69 +109424,83 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToInde rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) GetDocSessionID() string { +func (d *DocAnnotationsUpdate400Response) GetName() DocAnnotationsUpdate400ResponseName { if d == nil { return "" } - return d.DocSessionID + return d.Name } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) GetPageObjectNumber() int { +func (d *DocAnnotationsUpdate400Response) GetCode() DocAnnotationsUpdate400ResponseCode { if d == nil { - return 0 + return "" } - return d.PageObjectNumber + return d.Code } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) GetGeneration() int { +func (d *DocAnnotationsUpdate400Response) GetMessage() string { if d == nil { - return 0 + return "" } - return d.Generation + return d.Message } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsUpdate400Response) GetDetails() map[string]any { + if d == nil { + return nil + } + return d.Details +} + +func (d *DocAnnotationsUpdate400Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) require(field *big.Int) { +func (d *DocAnnotationsUpdate400Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetDocSessionID sets the DocSessionID field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) SetDocSessionID(docSessionID string) { - d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevisionFieldDocSessionID) +func (d *DocAnnotationsUpdate400Response) SetName(name DocAnnotationsUpdate400ResponseName) { + d.Name = name + d.require(docAnnotationsUpdate400ResponseFieldName) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevisionFieldPageObjectNumber) +func (d *DocAnnotationsUpdate400Response) SetCode(code DocAnnotationsUpdate400ResponseCode) { + d.Code = code + d.require(docAnnotationsUpdate400ResponseFieldCode) } -// SetGeneration sets the Generation field and marks it as non-optional; +// SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) SetGeneration(generation int) { - d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevisionFieldGeneration) +func (d *DocAnnotationsUpdate400Response) SetMessage(message string) { + d.Message = message + d.require(docAnnotationsUpdate400ResponseFieldMessage) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision +// SetDetails sets the Details field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsUpdate400Response) SetDetails(details map[string]any) { + d.Details = details + d.require(docAnnotationsUpdate400ResponseFieldDetails) +} + +func (d *DocAnnotationsUpdate400Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsUpdate400Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision(value) + *d = DocAnnotationsUpdate400Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -104390,8 +109510,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision +func (d *DocAnnotationsUpdate400Response) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsUpdate400Response var marshaler = struct { embed }{ @@ -104401,7 +109521,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision) String() string { +func (d *DocAnnotationsUpdate400Response) String() string { if d == nil { return "" } @@ -104416,14 +109536,110 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo return fmt.Sprintf("%#v", d) } +type DocAnnotationsUpdate400ResponseCode string + +const ( + DocAnnotationsUpdate400ResponseCodeUnknown DocAnnotationsUpdate400ResponseCode = "Unknown" + DocAnnotationsUpdate400ResponseCodeInvalidArg DocAnnotationsUpdate400ResponseCode = "InvalidArg" + DocAnnotationsUpdate400ResponseCodeDocNotOpen DocAnnotationsUpdate400ResponseCode = "DocNotOpen" + DocAnnotationsUpdate400ResponseCodeDocOpenFailed DocAnnotationsUpdate400ResponseCode = "DocOpenFailed" + DocAnnotationsUpdate400ResponseCodeDocPasswordRequired DocAnnotationsUpdate400ResponseCode = "DocPasswordRequired" + DocAnnotationsUpdate400ResponseCodeDocPasswordIncorrect DocAnnotationsUpdate400ResponseCode = "DocPasswordIncorrect" + DocAnnotationsUpdate400ResponseCodeSharePasswordRequired DocAnnotationsUpdate400ResponseCode = "SharePasswordRequired" + DocAnnotationsUpdate400ResponseCodeAborted DocAnnotationsUpdate400ResponseCode = "Aborted" + DocAnnotationsUpdate400ResponseCodeNetwork DocAnnotationsUpdate400ResponseCode = "Network" + DocAnnotationsUpdate400ResponseCodeUnauthenticated DocAnnotationsUpdate400ResponseCode = "Unauthenticated" + DocAnnotationsUpdate400ResponseCodeForbidden DocAnnotationsUpdate400ResponseCode = "Forbidden" + DocAnnotationsUpdate400ResponseCodeNotFound DocAnnotationsUpdate400ResponseCode = "NotFound" + DocAnnotationsUpdate400ResponseCodeWireFormat DocAnnotationsUpdate400ResponseCode = "WireFormat" + DocAnnotationsUpdate400ResponseCodeRuntimeUnavailable DocAnnotationsUpdate400ResponseCode = "RuntimeUnavailable" + DocAnnotationsUpdate400ResponseCodeInvalidReference DocAnnotationsUpdate400ResponseCode = "InvalidReference" + DocAnnotationsUpdate400ResponseCodeWeakAnnotationSessionConflict DocAnnotationsUpdate400ResponseCode = "WeakAnnotationSessionConflict" + DocAnnotationsUpdate400ResponseCodeLayerVersionConflict DocAnnotationsUpdate400ResponseCode = "LayerVersionConflict" + DocAnnotationsUpdate400ResponseCodeNotImplemented DocAnnotationsUpdate400ResponseCode = "NotImplemented" + DocAnnotationsUpdate400ResponseCodeMalformedPdf DocAnnotationsUpdate400ResponseCode = "MalformedPdf" +) + +func NewDocAnnotationsUpdate400ResponseCodeFromString(s string) (DocAnnotationsUpdate400ResponseCode, error) { + switch s { + case "Unknown": + return DocAnnotationsUpdate400ResponseCodeUnknown, nil + case "InvalidArg": + return DocAnnotationsUpdate400ResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocAnnotationsUpdate400ResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocAnnotationsUpdate400ResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocAnnotationsUpdate400ResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocAnnotationsUpdate400ResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocAnnotationsUpdate400ResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocAnnotationsUpdate400ResponseCodeAborted, nil + case "Network": + return DocAnnotationsUpdate400ResponseCodeNetwork, nil + case "Unauthenticated": + return DocAnnotationsUpdate400ResponseCodeUnauthenticated, nil + case "Forbidden": + return DocAnnotationsUpdate400ResponseCodeForbidden, nil + case "NotFound": + return DocAnnotationsUpdate400ResponseCodeNotFound, nil + case "WireFormat": + return DocAnnotationsUpdate400ResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocAnnotationsUpdate400ResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocAnnotationsUpdate400ResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocAnnotationsUpdate400ResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocAnnotationsUpdate400ResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocAnnotationsUpdate400ResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocAnnotationsUpdate400ResponseCodeMalformedPdf, nil + } + var t DocAnnotationsUpdate400ResponseCode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsUpdate400ResponseCode) Ptr() *DocAnnotationsUpdate400ResponseCode { + return &d +} + +type DocAnnotationsUpdate400ResponseName string + +const ( + DocAnnotationsUpdate400ResponseNameEngineError DocAnnotationsUpdate400ResponseName = "EngineError" +) + +func NewDocAnnotationsUpdate400ResponseNameFromString(s string) (DocAnnotationsUpdate400ResponseName, error) { + switch s { + case "EngineError": + return DocAnnotationsUpdate400ResponseNameEngineError, nil + } + var t DocAnnotationsUpdate400ResponseName + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsUpdate400ResponseName) Ptr() *DocAnnotationsUpdate400ResponseName { + return &d +} + var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNmFieldNm = big.NewInt(1 << 1) + docAnnotationsUpdate404ResponseFieldName = big.NewInt(1 << 0) + docAnnotationsUpdate404ResponseFieldCode = big.NewInt(1 << 1) + docAnnotationsUpdate404ResponseFieldMessage = big.NewInt(1 << 2) + docAnnotationsUpdate404ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Nm string `json:"nm" url:"nm"` +type DocAnnotationsUpdate404Response struct { + Name DocAnnotationsUpdate404ResponseName `json:"name" url:"name"` + Code DocAnnotationsUpdate404ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -104432,55 +109648,83 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm s rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm) GetPageObjectNumber() int { +func (d *DocAnnotationsUpdate404Response) GetName() DocAnnotationsUpdate404ResponseName { if d == nil { - return 0 + return "" } - return d.PageObjectNumber + return d.Name } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm) GetNm() string { +func (d *DocAnnotationsUpdate404Response) GetCode() DocAnnotationsUpdate404ResponseCode { if d == nil { return "" } - return d.Nm + return d.Code +} + +func (d *DocAnnotationsUpdate404Response) GetMessage() string { + if d == nil { + return "" + } + return d.Message +} + +func (d *DocAnnotationsUpdate404Response) GetDetails() map[string]any { + if d == nil { + return nil + } + return d.Details } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm) GetExtraProperties() map[string]interface{} { +func (d *DocAnnotationsUpdate404Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm) require(field *big.Int) { +func (d *DocAnnotationsUpdate404Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNmFieldPageObjectNumber) +func (d *DocAnnotationsUpdate404Response) SetName(name DocAnnotationsUpdate404ResponseName) { + d.Name = name + d.require(docAnnotationsUpdate404ResponseFieldName) } -// SetNm sets the Nm field and marks it as non-optional; +// SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm) SetNm(nm string) { - d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNmFieldNm) +func (d *DocAnnotationsUpdate404Response) SetCode(code DocAnnotationsUpdate404ResponseCode) { + d.Code = code + d.require(docAnnotationsUpdate404ResponseFieldCode) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm +// SetMessage sets the Message field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsUpdate404Response) SetMessage(message string) { + d.Message = message + d.require(docAnnotationsUpdate404ResponseFieldMessage) +} + +// SetDetails sets the Details field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocAnnotationsUpdate404Response) SetDetails(details map[string]any) { + d.Details = details + d.require(docAnnotationsUpdate404ResponseFieldDetails) +} + +func (d *DocAnnotationsUpdate404Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocAnnotationsUpdate404Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm(value) + *d = DocAnnotationsUpdate404Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -104490,8 +109734,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm +func (d *DocAnnotationsUpdate404Response) MarshalJSON() ([]byte, error) { + type embed DocAnnotationsUpdate404Response var marshaler = struct { embed }{ @@ -104501,7 +109745,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm) String() string { +func (d *DocAnnotationsUpdate404Response) String() string { if d == nil { return "" } @@ -104516,14 +109760,112 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo return fmt.Sprintf("%#v", d) } +type DocAnnotationsUpdate404ResponseCode string + +const ( + DocAnnotationsUpdate404ResponseCodeUnknown DocAnnotationsUpdate404ResponseCode = "Unknown" + DocAnnotationsUpdate404ResponseCodeInvalidArg DocAnnotationsUpdate404ResponseCode = "InvalidArg" + DocAnnotationsUpdate404ResponseCodeDocNotOpen DocAnnotationsUpdate404ResponseCode = "DocNotOpen" + DocAnnotationsUpdate404ResponseCodeDocOpenFailed DocAnnotationsUpdate404ResponseCode = "DocOpenFailed" + DocAnnotationsUpdate404ResponseCodeDocPasswordRequired DocAnnotationsUpdate404ResponseCode = "DocPasswordRequired" + DocAnnotationsUpdate404ResponseCodeDocPasswordIncorrect DocAnnotationsUpdate404ResponseCode = "DocPasswordIncorrect" + DocAnnotationsUpdate404ResponseCodeSharePasswordRequired DocAnnotationsUpdate404ResponseCode = "SharePasswordRequired" + DocAnnotationsUpdate404ResponseCodeAborted DocAnnotationsUpdate404ResponseCode = "Aborted" + DocAnnotationsUpdate404ResponseCodeNetwork DocAnnotationsUpdate404ResponseCode = "Network" + DocAnnotationsUpdate404ResponseCodeUnauthenticated DocAnnotationsUpdate404ResponseCode = "Unauthenticated" + DocAnnotationsUpdate404ResponseCodeForbidden DocAnnotationsUpdate404ResponseCode = "Forbidden" + DocAnnotationsUpdate404ResponseCodeNotFound DocAnnotationsUpdate404ResponseCode = "NotFound" + DocAnnotationsUpdate404ResponseCodeWireFormat DocAnnotationsUpdate404ResponseCode = "WireFormat" + DocAnnotationsUpdate404ResponseCodeRuntimeUnavailable DocAnnotationsUpdate404ResponseCode = "RuntimeUnavailable" + DocAnnotationsUpdate404ResponseCodeInvalidReference DocAnnotationsUpdate404ResponseCode = "InvalidReference" + DocAnnotationsUpdate404ResponseCodeWeakAnnotationSessionConflict DocAnnotationsUpdate404ResponseCode = "WeakAnnotationSessionConflict" + DocAnnotationsUpdate404ResponseCodeLayerVersionConflict DocAnnotationsUpdate404ResponseCode = "LayerVersionConflict" + DocAnnotationsUpdate404ResponseCodeNotImplemented DocAnnotationsUpdate404ResponseCode = "NotImplemented" + DocAnnotationsUpdate404ResponseCodeMalformedPdf DocAnnotationsUpdate404ResponseCode = "MalformedPdf" +) + +func NewDocAnnotationsUpdate404ResponseCodeFromString(s string) (DocAnnotationsUpdate404ResponseCode, error) { + switch s { + case "Unknown": + return DocAnnotationsUpdate404ResponseCodeUnknown, nil + case "InvalidArg": + return DocAnnotationsUpdate404ResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocAnnotationsUpdate404ResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocAnnotationsUpdate404ResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocAnnotationsUpdate404ResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocAnnotationsUpdate404ResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocAnnotationsUpdate404ResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocAnnotationsUpdate404ResponseCodeAborted, nil + case "Network": + return DocAnnotationsUpdate404ResponseCodeNetwork, nil + case "Unauthenticated": + return DocAnnotationsUpdate404ResponseCodeUnauthenticated, nil + case "Forbidden": + return DocAnnotationsUpdate404ResponseCodeForbidden, nil + case "NotFound": + return DocAnnotationsUpdate404ResponseCodeNotFound, nil + case "WireFormat": + return DocAnnotationsUpdate404ResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocAnnotationsUpdate404ResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocAnnotationsUpdate404ResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocAnnotationsUpdate404ResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocAnnotationsUpdate404ResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocAnnotationsUpdate404ResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocAnnotationsUpdate404ResponseCodeMalformedPdf, nil + } + var t DocAnnotationsUpdate404ResponseCode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsUpdate404ResponseCode) Ptr() *DocAnnotationsUpdate404ResponseCode { + return &d +} + +type DocAnnotationsUpdate404ResponseName string + +const ( + DocAnnotationsUpdate404ResponseNameEngineError DocAnnotationsUpdate404ResponseName = "EngineError" +) + +func NewDocAnnotationsUpdate404ResponseNameFromString(s string) (DocAnnotationsUpdate404ResponseName, error) { + switch s { + case "EngineError": + return DocAnnotationsUpdate404ResponseNameEngineError, nil + } + var t DocAnnotationsUpdate404ResponseName + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocAnnotationsUpdate404ResponseName) Ptr() *DocAnnotationsUpdate404ResponseName { + return &d +} + +type DocAnnotationsUpdateRequest = map[string]any + var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docDownloadResponseFieldName = big.NewInt(1 << 0) + docDownloadResponseFieldCode = big.NewInt(1 << 1) + docDownloadResponseFieldMessage = big.NewInt(1 << 2) + docDownloadResponseFieldDetails = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` +type DocDownloadResponse struct { + Name DocDownloadResponseName `json:"name" url:"name"` + Code DocDownloadResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -104532,55 +109874,83 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObje rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber) GetPageObjectNumber() int { +func (d *DocDownloadResponse) GetName() DocDownloadResponseName { if d == nil { - return 0 + return "" } - return d.PageObjectNumber + return d.Name } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber) GetAnnotObjectNumber() int { +func (d *DocDownloadResponse) GetCode() DocDownloadResponseCode { if d == nil { - return 0 + return "" } - return d.AnnotObjectNumber + return d.Code } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocDownloadResponse) GetMessage() string { + if d == nil { + return "" + } + return d.Message +} + +func (d *DocDownloadResponse) GetDetails() map[string]any { + if d == nil { + return nil + } + return d.Details +} + +func (d *DocDownloadResponse) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber) require(field *big.Int) { +func (d *DocDownloadResponse) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumberFieldPageObjectNumber) +func (d *DocDownloadResponse) SetName(name DocDownloadResponseName) { + d.Name = name + d.require(docDownloadResponseFieldName) } -// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { - d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumberFieldAnnotObjectNumber) +func (d *DocDownloadResponse) SetCode(code DocDownloadResponseCode) { + d.Code = code + d.require(docDownloadResponseFieldCode) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber +// SetMessage sets the Message field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocDownloadResponse) SetMessage(message string) { + d.Message = message + d.require(docDownloadResponseFieldMessage) +} + +// SetDetails sets the Details field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocDownloadResponse) SetDetails(details map[string]any) { + d.Details = details + d.require(docDownloadResponseFieldDetails) +} + +func (d *DocDownloadResponse) UnmarshalJSON(data []byte) error { + type unmarshaler DocDownloadResponse var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber(value) + *d = DocDownloadResponse(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -104590,8 +109960,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber +func (d *DocDownloadResponse) MarshalJSON() ([]byte, error) { + type embed DocDownloadResponse var marshaler = struct { embed }{ @@ -104601,7 +109971,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber) String() string { +func (d *DocDownloadResponse) String() string { if d == nil { return "" } @@ -104616,16 +109986,110 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo return fmt.Sprintf("%#v", d) } +type DocDownloadResponseCode string + +const ( + DocDownloadResponseCodeUnknown DocDownloadResponseCode = "Unknown" + DocDownloadResponseCodeInvalidArg DocDownloadResponseCode = "InvalidArg" + DocDownloadResponseCodeDocNotOpen DocDownloadResponseCode = "DocNotOpen" + DocDownloadResponseCodeDocOpenFailed DocDownloadResponseCode = "DocOpenFailed" + DocDownloadResponseCodeDocPasswordRequired DocDownloadResponseCode = "DocPasswordRequired" + DocDownloadResponseCodeDocPasswordIncorrect DocDownloadResponseCode = "DocPasswordIncorrect" + DocDownloadResponseCodeSharePasswordRequired DocDownloadResponseCode = "SharePasswordRequired" + DocDownloadResponseCodeAborted DocDownloadResponseCode = "Aborted" + DocDownloadResponseCodeNetwork DocDownloadResponseCode = "Network" + DocDownloadResponseCodeUnauthenticated DocDownloadResponseCode = "Unauthenticated" + DocDownloadResponseCodeForbidden DocDownloadResponseCode = "Forbidden" + DocDownloadResponseCodeNotFound DocDownloadResponseCode = "NotFound" + DocDownloadResponseCodeWireFormat DocDownloadResponseCode = "WireFormat" + DocDownloadResponseCodeRuntimeUnavailable DocDownloadResponseCode = "RuntimeUnavailable" + DocDownloadResponseCodeInvalidReference DocDownloadResponseCode = "InvalidReference" + DocDownloadResponseCodeWeakAnnotationSessionConflict DocDownloadResponseCode = "WeakAnnotationSessionConflict" + DocDownloadResponseCodeLayerVersionConflict DocDownloadResponseCode = "LayerVersionConflict" + DocDownloadResponseCodeNotImplemented DocDownloadResponseCode = "NotImplemented" + DocDownloadResponseCodeMalformedPdf DocDownloadResponseCode = "MalformedPdf" +) + +func NewDocDownloadResponseCodeFromString(s string) (DocDownloadResponseCode, error) { + switch s { + case "Unknown": + return DocDownloadResponseCodeUnknown, nil + case "InvalidArg": + return DocDownloadResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocDownloadResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocDownloadResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocDownloadResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocDownloadResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocDownloadResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocDownloadResponseCodeAborted, nil + case "Network": + return DocDownloadResponseCodeNetwork, nil + case "Unauthenticated": + return DocDownloadResponseCodeUnauthenticated, nil + case "Forbidden": + return DocDownloadResponseCodeForbidden, nil + case "NotFound": + return DocDownloadResponseCodeNotFound, nil + case "WireFormat": + return DocDownloadResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocDownloadResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocDownloadResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocDownloadResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocDownloadResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocDownloadResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocDownloadResponseCodeMalformedPdf, nil + } + var t DocDownloadResponseCode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocDownloadResponseCode) Ptr() *DocDownloadResponseCode { + return &d +} + +type DocDownloadResponseName string + +const ( + DocDownloadResponseNameEngineError DocDownloadResponseName = "EngineError" +) + +func NewDocDownloadResponseNameFromString(s string) (DocDownloadResponseName, error) { + switch s { + case "EngineError": + return DocDownloadResponseNameEngineError, nil + } + var t DocDownloadResponseName + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocDownloadResponseName) Ptr() *DocDownloadResponseName { + return &d +} + var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColorFieldR = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColorFieldG = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColorFieldB = big.NewInt(1 << 2) + docFormsExportDataResponseFieldName = big.NewInt(1 << 0) + docFormsExportDataResponseFieldCode = big.NewInt(1 << 1) + docFormsExportDataResponseFieldMessage = big.NewInt(1 << 2) + docFormsExportDataResponseFieldDetails = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor struct { - R int `json:"r" url:"r"` - G int `json:"g" url:"g"` - B int `json:"b" url:"b"` +type DocFormsExportDataResponse struct { + Name DocFormsExportDataResponseName `json:"name" url:"name"` + Code DocFormsExportDataResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -104634,69 +110098,83 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) GetR() int { +func (d *DocFormsExportDataResponse) GetName() DocFormsExportDataResponseName { if d == nil { - return 0 + return "" } - return d.R + return d.Name } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) GetG() int { +func (d *DocFormsExportDataResponse) GetCode() DocFormsExportDataResponseCode { if d == nil { - return 0 + return "" } - return d.G + return d.Code } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) GetB() int { +func (d *DocFormsExportDataResponse) GetMessage() string { if d == nil { - return 0 + return "" } - return d.B + return d.Message } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) GetExtraProperties() map[string]interface{} { +func (d *DocFormsExportDataResponse) GetDetails() map[string]any { + if d == nil { + return nil + } + return d.Details +} + +func (d *DocFormsExportDataResponse) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) require(field *big.Int) { +func (d *DocFormsExportDataResponse) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetR sets the R field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) SetR(r int) { - d.R = r - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColorFieldR) +func (d *DocFormsExportDataResponse) SetName(name DocFormsExportDataResponseName) { + d.Name = name + d.require(docFormsExportDataResponseFieldName) } -// SetG sets the G field and marks it as non-optional; +// SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) SetG(g int) { - d.G = g - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColorFieldG) +func (d *DocFormsExportDataResponse) SetCode(code DocFormsExportDataResponseCode) { + d.Code = code + d.require(docFormsExportDataResponseFieldCode) } -// SetB sets the B field and marks it as non-optional; +// SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) SetB(b int) { - d.B = b - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColorFieldB) +func (d *DocFormsExportDataResponse) SetMessage(message string) { + d.Message = message + d.require(docFormsExportDataResponseFieldMessage) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor +// SetDetails sets the Details field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsExportDataResponse) SetDetails(details map[string]any) { + d.Details = details + d.require(docFormsExportDataResponseFieldDetails) +} + +func (d *DocFormsExportDataResponse) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsExportDataResponse var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor(value) + *d = DocFormsExportDataResponse(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -104706,8 +110184,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorC return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor +func (d *DocFormsExportDataResponse) MarshalJSON() ([]byte, error) { + type embed DocFormsExportDataResponse var marshaler = struct { embed }{ @@ -104717,7 +110195,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorC return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor) String() string { +func (d *DocFormsExportDataResponse) String() string { if d == nil { return "" } @@ -104732,18 +110210,110 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorC return fmt.Sprintf("%#v", d) } +type DocFormsExportDataResponseCode string + +const ( + DocFormsExportDataResponseCodeUnknown DocFormsExportDataResponseCode = "Unknown" + DocFormsExportDataResponseCodeInvalidArg DocFormsExportDataResponseCode = "InvalidArg" + DocFormsExportDataResponseCodeDocNotOpen DocFormsExportDataResponseCode = "DocNotOpen" + DocFormsExportDataResponseCodeDocOpenFailed DocFormsExportDataResponseCode = "DocOpenFailed" + DocFormsExportDataResponseCodeDocPasswordRequired DocFormsExportDataResponseCode = "DocPasswordRequired" + DocFormsExportDataResponseCodeDocPasswordIncorrect DocFormsExportDataResponseCode = "DocPasswordIncorrect" + DocFormsExportDataResponseCodeSharePasswordRequired DocFormsExportDataResponseCode = "SharePasswordRequired" + DocFormsExportDataResponseCodeAborted DocFormsExportDataResponseCode = "Aborted" + DocFormsExportDataResponseCodeNetwork DocFormsExportDataResponseCode = "Network" + DocFormsExportDataResponseCodeUnauthenticated DocFormsExportDataResponseCode = "Unauthenticated" + DocFormsExportDataResponseCodeForbidden DocFormsExportDataResponseCode = "Forbidden" + DocFormsExportDataResponseCodeNotFound DocFormsExportDataResponseCode = "NotFound" + DocFormsExportDataResponseCodeWireFormat DocFormsExportDataResponseCode = "WireFormat" + DocFormsExportDataResponseCodeRuntimeUnavailable DocFormsExportDataResponseCode = "RuntimeUnavailable" + DocFormsExportDataResponseCodeInvalidReference DocFormsExportDataResponseCode = "InvalidReference" + DocFormsExportDataResponseCodeWeakAnnotationSessionConflict DocFormsExportDataResponseCode = "WeakAnnotationSessionConflict" + DocFormsExportDataResponseCodeLayerVersionConflict DocFormsExportDataResponseCode = "LayerVersionConflict" + DocFormsExportDataResponseCodeNotImplemented DocFormsExportDataResponseCode = "NotImplemented" + DocFormsExportDataResponseCodeMalformedPdf DocFormsExportDataResponseCode = "MalformedPdf" +) + +func NewDocFormsExportDataResponseCodeFromString(s string) (DocFormsExportDataResponseCode, error) { + switch s { + case "Unknown": + return DocFormsExportDataResponseCodeUnknown, nil + case "InvalidArg": + return DocFormsExportDataResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocFormsExportDataResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocFormsExportDataResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocFormsExportDataResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocFormsExportDataResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocFormsExportDataResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocFormsExportDataResponseCodeAborted, nil + case "Network": + return DocFormsExportDataResponseCodeNetwork, nil + case "Unauthenticated": + return DocFormsExportDataResponseCodeUnauthenticated, nil + case "Forbidden": + return DocFormsExportDataResponseCodeForbidden, nil + case "NotFound": + return DocFormsExportDataResponseCodeNotFound, nil + case "WireFormat": + return DocFormsExportDataResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocFormsExportDataResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocFormsExportDataResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocFormsExportDataResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocFormsExportDataResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocFormsExportDataResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocFormsExportDataResponseCodeMalformedPdf, nil + } + var t DocFormsExportDataResponseCode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocFormsExportDataResponseCode) Ptr() *DocFormsExportDataResponseCode { + return &d +} + +type DocFormsExportDataResponseName string + +const ( + DocFormsExportDataResponseNameEngineError DocFormsExportDataResponseName = "EngineError" +) + +func NewDocFormsExportDataResponseNameFromString(s string) (DocFormsExportDataResponseName, error) { + switch s { + case "EngineError": + return DocFormsExportDataResponseNameEngineError, nil + } + var t DocFormsExportDataResponseName + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocFormsExportDataResponseName) Ptr() *DocFormsExportDataResponseName { + return &d +} + var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRectFieldLeft = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRectFieldBottom = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRectFieldRight = big.NewInt(1 << 2) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRectFieldTop = big.NewInt(1 << 3) + docFormsGet200ResponseFieldFormKind = big.NewInt(1 << 0) + docFormsGet200ResponseFieldNeedsAppearances = big.NewInt(1 << 1) + docFormsGet200ResponseFieldFields = big.NewInt(1 << 2) + docFormsGet200ResponseFieldCalculationOrder = big.NewInt(1 << 3) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect struct { - Left float64 `json:"left" url:"left"` - Bottom float64 `json:"bottom" url:"bottom"` - Right float64 `json:"right" url:"right"` - Top float64 `json:"top" url:"top"` +type DocFormsGet200Response struct { + FormKind DocFormsGet200ResponseFormKind `json:"formKind" url:"formKind"` + NeedsAppearances bool `json:"needsAppearances" url:"needsAppearances"` + Fields []*DocFormsGet200ResponseFieldsItem `json:"fields" url:"fields"` + CalculationOrder []*DocFormsGet200ResponseCalculationOrderItem `json:"calculationOrder" url:"calculationOrder"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -104752,83 +110322,83 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) GetLeft() float64 { +func (d *DocFormsGet200Response) GetFormKind() DocFormsGet200ResponseFormKind { if d == nil { - return 0 + return "" } - return d.Left + return d.FormKind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) GetBottom() float64 { +func (d *DocFormsGet200Response) GetNeedsAppearances() bool { if d == nil { - return 0 + return false } - return d.Bottom + return d.NeedsAppearances } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) GetRight() float64 { +func (d *DocFormsGet200Response) GetFields() []*DocFormsGet200ResponseFieldsItem { if d == nil { - return 0 + return nil } - return d.Right + return d.Fields } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) GetTop() float64 { +func (d *DocFormsGet200Response) GetCalculationOrder() []*DocFormsGet200ResponseCalculationOrderItem { if d == nil { - return 0 + return nil } - return d.Top + return d.CalculationOrder } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) require(field *big.Int) { +func (d *DocFormsGet200Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetLeft sets the Left field and marks it as non-optional; +// SetFormKind sets the FormKind field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) SetLeft(left float64) { - d.Left = left - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRectFieldLeft) +func (d *DocFormsGet200Response) SetFormKind(formKind DocFormsGet200ResponseFormKind) { + d.FormKind = formKind + d.require(docFormsGet200ResponseFieldFormKind) } -// SetBottom sets the Bottom field and marks it as non-optional; +// SetNeedsAppearances sets the NeedsAppearances field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) SetBottom(bottom float64) { - d.Bottom = bottom - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRectFieldBottom) +func (d *DocFormsGet200Response) SetNeedsAppearances(needsAppearances bool) { + d.NeedsAppearances = needsAppearances + d.require(docFormsGet200ResponseFieldNeedsAppearances) } -// SetRight sets the Right field and marks it as non-optional; +// SetFields sets the Fields field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) SetRight(right float64) { - d.Right = right - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRectFieldRight) +func (d *DocFormsGet200Response) SetFields(fields []*DocFormsGet200ResponseFieldsItem) { + d.Fields = fields + d.require(docFormsGet200ResponseFieldFields) } -// SetTop sets the Top field and marks it as non-optional; +// SetCalculationOrder sets the CalculationOrder field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) SetTop(top float64) { - d.Top = top - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRectFieldTop) +func (d *DocFormsGet200Response) SetCalculationOrder(calculationOrder []*DocFormsGet200ResponseCalculationOrderItem) { + d.CalculationOrder = calculationOrder + d.require(docFormsGet200ResponseFieldCalculationOrder) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect +func (d *DocFormsGet200Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect(value) + *d = DocFormsGet200Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -104838,8 +110408,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) Unm return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect +func (d *DocFormsGet200Response) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200Response var marshaler = struct { embed }{ @@ -104849,7 +110419,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) Mar return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) String() string { +func (d *DocFormsGet200Response) String() string { if d == nil { return "" } @@ -104864,44 +110434,36 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect) Str return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef struct { +type DocFormsGet200ResponseCalculationOrderItem struct { Kind string - ObjectNumber *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber - Nm *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm - Index *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex + ObjectNumber *DocFormsGet200ResponseCalculationOrderItemObjectNumber + Fqn *DocFormsGet200ResponseCalculationOrderItemFqn rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef) GetKind() string { +func (d *DocFormsGet200ResponseCalculationOrderItem) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef) GetObjectNumber() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber { +func (d *DocFormsGet200ResponseCalculationOrderItem) GetObjectNumber() *DocFormsGet200ResponseCalculationOrderItemObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef) GetNm() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm { - if d == nil { - return nil - } - return d.Nm -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef) GetIndex() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex { +func (d *DocFormsGet200ResponseCalculationOrderItem) GetFqn() *DocFormsGet200ResponseCalculationOrderItemFqn { if d == nil { return nil } - return d.Index + return d.Fqn } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseCalculationOrderItem) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -104914,40 +110476,31 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef) Unma } switch unmarshaler.Kind { case "objectNumber": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber) + value := new(DocFormsGet200ResponseCalculationOrderItemObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value - case "nm": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Nm = value - case "index": - value := new(DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) + case "fqn": + value := new(DocFormsGet200ResponseCalculationOrderItemFqn) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Index = value + d.Fqn = value } d.rawJSON = json.RawMessage(data) return nil } -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseCalculationOrderItem) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } if d.ObjectNumber != nil { return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") } - if d.Nm != nil { - return internal.MarshalJSONWithExtraProperty(d.Nm, "kind", "nm") - } - if d.Index != nil { - return internal.MarshalJSONWithExtraProperty(d.Index, "kind", "index") + if d.Fqn != nil { + return internal.MarshalJSONWithExtraProperty(d.Fqn, "kind", "fqn") } if len(d.rawJSON) > 0 { return d.rawJSON, nil @@ -104955,26 +110508,22 @@ func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef) Marsh return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefVisitor interface { - VisitObjectNumber(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber) error - VisitNm(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm) error - VisitIndex(*DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) error +type DocFormsGet200ResponseCalculationOrderItemVisitor interface { + VisitObjectNumber(*DocFormsGet200ResponseCalculationOrderItemObjectNumber) error + VisitFqn(*DocFormsGet200ResponseCalculationOrderItemFqn) error } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef) Accept(visitor DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefVisitor) error { +func (d *DocFormsGet200ResponseCalculationOrderItem) Accept(visitor DocFormsGet200ResponseCalculationOrderItemVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } - if d.Nm != nil { - return visitor.VisitNm(d.Nm) - } - if d.Index != nil { - return visitor.VisitIndex(d.Index) + if d.Fqn != nil { + return visitor.VisitFqn(d.Fqn) } return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef) validate() error { +func (d *DocFormsGet200ResponseCalculationOrderItem) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -104982,11 +110531,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef) vali if d.ObjectNumber != nil { fields = append(fields, "objectNumber") } - if d.Nm != nil { - fields = append(fields, "nm") - } - if d.Index != nil { - fields = append(fields, "index") + if d.Fqn != nil { + fields = append(fields, "fqn") } if len(fields) == 0 { if d.Kind != "" { @@ -105015,15 +110561,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef) vali } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexFieldIndex = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexFieldRevision = big.NewInt(1 << 2) + docFormsGet200ResponseCalculationOrderItemFqnFieldName = big.NewInt(1 << 0) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Index int `json:"index" url:"index"` - Revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision `json:"revision" url:"revision"` +type DocFormsGet200ResponseCalculationOrderItemFqn struct { + Name string `json:"name" url:"name"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -105032,69 +110574,41 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex stru rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) GetIndex() int { - if d == nil { - return 0 - } - return d.Index -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) GetRevision() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision { +func (d *DocFormsGet200ResponseCalculationOrderItemFqn) GetName() string { if d == nil { - return nil + return "" } - return d.Revision + return d.Name } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseCalculationOrderItemFqn) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) require(field *big.Int) { +func (d *DocFormsGet200ResponseCalculationOrderItemFqn) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexFieldPageObjectNumber) -} - -// SetIndex sets the Index field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) SetIndex(index int) { - d.Index = index - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexFieldIndex) -} - -// SetRevision sets the Revision field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) { - d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexFieldRevision) +func (d *DocFormsGet200ResponseCalculationOrderItemFqn) SetName(name string) { + d.Name = name + d.require(docFormsGet200ResponseCalculationOrderItemFqnFieldName) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex +func (d *DocFormsGet200ResponseCalculationOrderItemFqn) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseCalculationOrderItemFqn var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex(value) + *d = DocFormsGet200ResponseCalculationOrderItemFqn(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -105104,8 +110618,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex +func (d *DocFormsGet200ResponseCalculationOrderItemFqn) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseCalculationOrderItemFqn var marshaler = struct { embed }{ @@ -105115,7 +110629,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) String() string { +func (d *DocFormsGet200ResponseCalculationOrderItemFqn) String() string { if d == nil { return "" } @@ -105131,15 +110645,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex) } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevisionFieldGeneration = big.NewInt(1 << 2) + docFormsGet200ResponseCalculationOrderItemObjectNumberFieldFieldObjectNumber = big.NewInt(1 << 0) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision struct { - DocSessionID string `json:"docSessionId" url:"docSessionId"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Generation int `json:"generation" url:"generation"` +type DocFormsGet200ResponseCalculationOrderItemObjectNumber struct { + FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -105148,69 +110658,41 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevis rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) GetDocSessionID() string { - if d == nil { - return "" - } - return d.DocSessionID -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) GetGeneration() int { +func (d *DocFormsGet200ResponseCalculationOrderItemObjectNumber) GetFieldObjectNumber() int { if d == nil { return 0 } - return d.Generation + return d.FieldObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseCalculationOrderItemObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) require(field *big.Int) { +func (d *DocFormsGet200ResponseCalculationOrderItemObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetDocSessionID sets the DocSessionID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) SetDocSessionID(docSessionID string) { - d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevisionFieldDocSessionID) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevisionFieldPageObjectNumber) -} - -// SetGeneration sets the Generation field and marks it as non-optional; +// SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) SetGeneration(generation int) { - d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevisionFieldGeneration) +func (d *DocFormsGet200ResponseCalculationOrderItemObjectNumber) SetFieldObjectNumber(fieldObjectNumber int) { + d.FieldObjectNumber = fieldObjectNumber + d.require(docFormsGet200ResponseCalculationOrderItemObjectNumberFieldFieldObjectNumber) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision +func (d *DocFormsGet200ResponseCalculationOrderItemObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseCalculationOrderItemObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision(value) + *d = DocFormsGet200ResponseCalculationOrderItemObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -105220,8 +110702,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexR return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision +func (d *DocFormsGet200ResponseCalculationOrderItemObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseCalculationOrderItemObjectNumber var marshaler = struct { embed }{ @@ -105231,7 +110713,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexR return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision) String() string { +func (d *DocFormsGet200ResponseCalculationOrderItemObjectNumber) String() string { if d == nil { return "" } @@ -105246,114 +110728,306 @@ func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexR return fmt.Sprintf("%#v", d) } -var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNmFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNmFieldNm = big.NewInt(1 << 1) -) +type DocFormsGet200ResponseFieldsItem struct { + Family string + Text *DocFormsGet200ResponseFieldsItemText + Checkbox *DocFormsGet200ResponseFieldsItemCheckbox + Radio *DocFormsGet200ResponseFieldsItemRadio + Combobox *DocFormsGet200ResponseFieldsItemCombobox + Listbox *DocFormsGet200ResponseFieldsItemListbox + Pushbutton *DocFormsGet200ResponseFieldsItemPushbutton + Signature *DocFormsGet200ResponseFieldsItemSignature + Unknown *DocFormsGet200ResponseFieldsItemUnknown -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Nm string `json:"nm" url:"nm"` + rawJSON json.RawMessage +} - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` +func (d *DocFormsGet200ResponseFieldsItem) GetFamily() string { + if d == nil { + return "" + } + return d.Family +} - extraProperties map[string]interface{} - rawJSON json.RawMessage +func (d *DocFormsGet200ResponseFieldsItem) GetText() *DocFormsGet200ResponseFieldsItemText { + if d == nil { + return nil + } + return d.Text } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm) GetPageObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItem) GetCheckbox() *DocFormsGet200ResponseFieldsItemCheckbox { if d == nil { - return 0 + return nil } - return d.PageObjectNumber + return d.Checkbox } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm) GetNm() string { +func (d *DocFormsGet200ResponseFieldsItem) GetRadio() *DocFormsGet200ResponseFieldsItemRadio { if d == nil { - return "" + return nil } - return d.Nm + return d.Radio } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItem) GetCombobox() *DocFormsGet200ResponseFieldsItemCombobox { if d == nil { return nil } - return d.extraProperties + return d.Combobox } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) +func (d *DocFormsGet200ResponseFieldsItem) GetListbox() *DocFormsGet200ResponseFieldsItemListbox { + if d == nil { + return nil } - d.explicitFields.Or(d.explicitFields, field) + return d.Listbox } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNmFieldPageObjectNumber) +func (d *DocFormsGet200ResponseFieldsItem) GetPushbutton() *DocFormsGet200ResponseFieldsItemPushbutton { + if d == nil { + return nil + } + return d.Pushbutton } -// SetNm sets the Nm field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm) SetNm(nm string) { - d.Nm = nm - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNmFieldNm) +func (d *DocFormsGet200ResponseFieldsItem) GetSignature() *DocFormsGet200ResponseFieldsItemSignature { + if d == nil { + return nil + } + return d.Signature } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err +func (d *DocFormsGet200ResponseFieldsItem) GetUnknown() *DocFormsGet200ResponseFieldsItemUnknown { + if d == nil { + return nil } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { + return d.Unknown +} + +func (d *DocFormsGet200ResponseFieldsItem) UnmarshalJSON(data []byte) error { + var unmarshaler struct { + Family string `json:"family"` + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - d.extraProperties = extraProperties + d.Family = unmarshaler.Family + if unmarshaler.Family == "" { + return fmt.Errorf("%T did not include discriminant family", d) + } + switch unmarshaler.Family { + case "text": + value := new(DocFormsGet200ResponseFieldsItemText) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Text = value + case "checkbox": + value := new(DocFormsGet200ResponseFieldsItemCheckbox) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Checkbox = value + case "radio": + value := new(DocFormsGet200ResponseFieldsItemRadio) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Radio = value + case "combobox": + value := new(DocFormsGet200ResponseFieldsItemCombobox) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Combobox = value + case "listbox": + value := new(DocFormsGet200ResponseFieldsItemListbox) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Listbox = value + case "pushbutton": + value := new(DocFormsGet200ResponseFieldsItemPushbutton) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Pushbutton = value + case "signature": + value := new(DocFormsGet200ResponseFieldsItemSignature) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Signature = value + case "unknown": + value := new(DocFormsGet200ResponseFieldsItemUnknown) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Unknown = value + } d.rawJSON = json.RawMessage(data) return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm - var marshaler = struct { - embed - }{ - embed: embed(*d), +func (d DocFormsGet200ResponseFieldsItem) MarshalJSON() ([]byte, error) { + if err := d.validate(); err != nil { + return nil, err } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + if d.Text != nil { + return internal.MarshalJSONWithExtraProperty(d.Text, "family", "text") + } + if d.Checkbox != nil { + return internal.MarshalJSONWithExtraProperty(d.Checkbox, "family", "checkbox") + } + if d.Radio != nil { + return internal.MarshalJSONWithExtraProperty(d.Radio, "family", "radio") + } + if d.Combobox != nil { + return internal.MarshalJSONWithExtraProperty(d.Combobox, "family", "combobox") + } + if d.Listbox != nil { + return internal.MarshalJSONWithExtraProperty(d.Listbox, "family", "listbox") + } + if d.Pushbutton != nil { + return internal.MarshalJSONWithExtraProperty(d.Pushbutton, "family", "pushbutton") + } + if d.Signature != nil { + return internal.MarshalJSONWithExtraProperty(d.Signature, "family", "signature") + } + if d.Unknown != nil { + return internal.MarshalJSONWithExtraProperty(d.Unknown, "family", "unknown") + } + if len(d.rawJSON) > 0 { + return d.rawJSON, nil + } + return nil, fmt.Errorf("type %T does not define a non-empty union type", d) +} + +type DocFormsGet200ResponseFieldsItemVisitor interface { + VisitText(*DocFormsGet200ResponseFieldsItemText) error + VisitCheckbox(*DocFormsGet200ResponseFieldsItemCheckbox) error + VisitRadio(*DocFormsGet200ResponseFieldsItemRadio) error + VisitCombobox(*DocFormsGet200ResponseFieldsItemCombobox) error + VisitListbox(*DocFormsGet200ResponseFieldsItemListbox) error + VisitPushbutton(*DocFormsGet200ResponseFieldsItemPushbutton) error + VisitSignature(*DocFormsGet200ResponseFieldsItemSignature) error + VisitUnknown(*DocFormsGet200ResponseFieldsItemUnknown) error +} + +func (d *DocFormsGet200ResponseFieldsItem) Accept(visitor DocFormsGet200ResponseFieldsItemVisitor) error { + if d.Text != nil { + return visitor.VisitText(d.Text) + } + if d.Checkbox != nil { + return visitor.VisitCheckbox(d.Checkbox) + } + if d.Radio != nil { + return visitor.VisitRadio(d.Radio) + } + if d.Combobox != nil { + return visitor.VisitCombobox(d.Combobox) + } + if d.Listbox != nil { + return visitor.VisitListbox(d.Listbox) + } + if d.Pushbutton != nil { + return visitor.VisitPushbutton(d.Pushbutton) + } + if d.Signature != nil { + return visitor.VisitSignature(d.Signature) + } + if d.Unknown != nil { + return visitor.VisitUnknown(d.Unknown) + } + return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm) String() string { +func (d *DocFormsGet200ResponseFieldsItem) validate() error { if d == nil { - return "" + return fmt.Errorf("type %T is nil", d) } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value + var fields []string + if d.Text != nil { + fields = append(fields, "text") + } + if d.Checkbox != nil { + fields = append(fields, "checkbox") + } + if d.Radio != nil { + fields = append(fields, "radio") + } + if d.Combobox != nil { + fields = append(fields, "combobox") + } + if d.Listbox != nil { + fields = append(fields, "listbox") + } + if d.Pushbutton != nil { + fields = append(fields, "pushbutton") + } + if d.Signature != nil { + fields = append(fields, "signature") + } + if d.Unknown != nil { + fields = append(fields, "unknown") + } + if len(fields) == 0 { + if d.Family != "" { + if len(d.rawJSON) > 0 { + return nil + } + return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Family) } + return fmt.Errorf("type %T is empty", d) } - if value, err := internal.StringifyJSON(d); err == nil { - return value + if len(fields) > 1 { + return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) } - return fmt.Sprintf("%#v", d) + if d.Family != "" { + field := fields[0] + if d.Family != field { + return fmt.Errorf( + "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", + d, + d.Family, + d, + ) + } + } + return nil } var ( - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumberFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumberFieldAnnotObjectNumber = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemCheckboxFieldRef = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemCheckboxFieldFieldObjectNumber = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemCheckboxFieldName = big.NewInt(1 << 2) + docFormsGet200ResponseFieldsItemCheckboxFieldOrigin = big.NewInt(1 << 3) + docFormsGet200ResponseFieldsItemCheckboxFieldFlags = big.NewInt(1 << 4) + docFormsGet200ResponseFieldsItemCheckboxFieldAlternateName = big.NewInt(1 << 5) + docFormsGet200ResponseFieldsItemCheckboxFieldMappingName = big.NewInt(1 << 6) + docFormsGet200ResponseFieldsItemCheckboxFieldValueEntry = big.NewInt(1 << 7) + docFormsGet200ResponseFieldsItemCheckboxFieldDefaultValueEntry = big.NewInt(1 << 8) + docFormsGet200ResponseFieldsItemCheckboxFieldActions = big.NewInt(1 << 9) + docFormsGet200ResponseFieldsItemCheckboxFieldWidgets = big.NewInt(1 << 10) + docFormsGet200ResponseFieldsItemCheckboxFieldChecked = big.NewInt(1 << 11) + docFormsGet200ResponseFieldsItemCheckboxFieldExportValue = big.NewInt(1 << 12) ) -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` +type DocFormsGet200ResponseFieldsItemCheckbox struct { + Ref *DocFormsGet200ResponseFieldsItemCheckboxRef `json:"ref" url:"ref"` + FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` + Name string `json:"name" url:"name"` + Origin DocFormsGet200ResponseFieldsItemCheckboxOrigin `json:"origin" url:"origin"` + Flags *DocFormsGet200ResponseFieldsItemCheckboxFlags `json:"flags" url:"flags"` + AlternateName *string `json:"alternateName,omitempty" url:"alternateName,omitempty"` + MappingName *string `json:"mappingName,omitempty" url:"mappingName,omitempty"` + ValueEntry *DocFormsGet200ResponseFieldsItemCheckboxValueEntry `json:"valueEntry" url:"valueEntry"` + DefaultValueEntry *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry `json:"defaultValueEntry" url:"defaultValueEntry"` + Actions *PdfFieldActions `json:"actions,omitempty" url:"actions,omitempty"` + Widgets []*DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem `json:"widgets" url:"widgets"` + Checked bool `json:"checked" url:"checked"` + ExportValue string `json:"exportValue" url:"exportValue"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -105362,334 +111036,209 @@ type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumb rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber) GetPageObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetRef() *DocFormsGet200ResponseFieldsItemCheckboxRef { if d == nil { - return 0 + return nil } - return d.PageObjectNumber + return d.Ref } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber) GetAnnotObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetFieldObjectNumber() int { if d == nil { return 0 } - return d.AnnotObjectNumber + return d.FieldObjectNumber } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetName() string { if d == nil { - return nil + return "" } - return d.extraProperties + return d.Name } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) +func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetOrigin() DocFormsGet200ResponseFieldsItemCheckboxOrigin { + if d == nil { + return "" } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumberFieldPageObjectNumber) -} - -// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber) SetAnnotObjectNumber(annotObjectNumber int) { - d.AnnotObjectNumber = annotObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumberFieldAnnotObjectNumber) + return d.Origin } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err +func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetFlags() *DocFormsGet200ResponseFieldsItemCheckboxFlags { + if d == nil { + return nil } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil + return d.Flags } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber - var marshaler = struct { - embed - }{ - embed: embed(*d), +func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetAlternateName() *string { + if d == nil { + return nil } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + return d.AlternateName } -func (d *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber) String() string { +func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetMappingName() *string { if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value + return nil } - return fmt.Sprintf("%#v", d) + return d.MappingName } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyType string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyTypeReply DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyType = "reply" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyTypeGroup DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyType = "group" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyTypeFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyType, error) { - switch s { - case "reply": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyTypeReply, nil - case "group": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyTypeGroup, nil +func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetValueEntry() *DocFormsGet200ResponseFieldsItemCheckboxValueEntry { + if d == nil { + return nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyType - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyType) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetReplyType { - return &d + return d.ValueEntry } -type DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign string - -const ( - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlignLeft DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign = "left" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlignCenter DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign = "center" - DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlignRight DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign = "right" -) - -func NewDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlignFromString(s string) (DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign, error) { - switch s { - case "left": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlignLeft, nil - case "center": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlignCenter, nil - case "right": - return DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlignRight, nil +func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetDefaultValueEntry() *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry { + if d == nil { + return nil } - var t DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign) Ptr() *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetTextAlign { - return &d + return d.DefaultValueEntry } -var ( - docAnnotationsListAll200ResponsePagesItemPageStateFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemPageStateFieldRevision = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemPageStateFieldWeakAnnotationState = big.NewInt(1 << 2) -) - -type DocAnnotationsListAll200ResponsePagesItemPageState struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Revision *DocAnnotationsListAll200ResponsePagesItemPageStateRevision `json:"revision" url:"revision"` - WeakAnnotationState *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage +func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetActions() *PdfFieldActions { + if d == nil { + return nil + } + return d.Actions } -func (d *DocAnnotationsListAll200ResponsePagesItemPageState) GetPageObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetWidgets() []*DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem { if d == nil { - return 0 + return nil } - return d.PageObjectNumber + return d.Widgets } -func (d *DocAnnotationsListAll200ResponsePagesItemPageState) GetRevision() *DocAnnotationsListAll200ResponsePagesItemPageStateRevision { +func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetChecked() bool { if d == nil { - return nil + return false } - return d.Revision + return d.Checked } -func (d *DocAnnotationsListAll200ResponsePagesItemPageState) GetWeakAnnotationState() *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState { +func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetExportValue() string { if d == nil { - return nil + return "" } - return d.WeakAnnotationState + return d.ExportValue } -func (d *DocAnnotationsListAll200ResponsePagesItemPageState) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemPageState) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemCheckbox) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemPageState) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemPageStateFieldPageObjectNumber) +func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetRef(ref *DocFormsGet200ResponseFieldsItemCheckboxRef) { + d.Ref = ref + d.require(docFormsGet200ResponseFieldsItemCheckboxFieldRef) } -// SetRevision sets the Revision field and marks it as non-optional; +// SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemPageState) SetRevision(revision *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) { - d.Revision = revision - d.require(docAnnotationsListAll200ResponsePagesItemPageStateFieldRevision) +func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetFieldObjectNumber(fieldObjectNumber int) { + d.FieldObjectNumber = fieldObjectNumber + d.require(docFormsGet200ResponseFieldsItemCheckboxFieldFieldObjectNumber) } -// SetWeakAnnotationState sets the WeakAnnotationState field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemPageState) SetWeakAnnotationState(weakAnnotationState *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState) { - d.WeakAnnotationState = weakAnnotationState - d.require(docAnnotationsListAll200ResponsePagesItemPageStateFieldWeakAnnotationState) -} - -func (d *DocAnnotationsListAll200ResponsePagesItemPageState) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemPageState - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocAnnotationsListAll200ResponsePagesItemPageState(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocAnnotationsListAll200ResponsePagesItemPageState) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemPageState - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) +func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetName(name string) { + d.Name = name + d.require(docFormsGet200ResponseFieldsItemCheckboxFieldName) } -func (d *DocAnnotationsListAll200ResponsePagesItemPageState) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) +// SetOrigin sets the Origin field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetOrigin(origin DocFormsGet200ResponseFieldsItemCheckboxOrigin) { + d.Origin = origin + d.require(docFormsGet200ResponseFieldsItemCheckboxFieldOrigin) } -var ( - docAnnotationsListAll200ResponsePagesItemPageStateRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsListAll200ResponsePagesItemPageStateRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsListAll200ResponsePagesItemPageStateRevisionFieldGeneration = big.NewInt(1 << 2) -) - -type DocAnnotationsListAll200ResponsePagesItemPageStateRevision struct { - DocSessionID string `json:"docSessionId" url:"docSessionId"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Generation int `json:"generation" url:"generation"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage +// SetFlags sets the Flags field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetFlags(flags *DocFormsGet200ResponseFieldsItemCheckboxFlags) { + d.Flags = flags + d.require(docFormsGet200ResponseFieldsItemCheckboxFieldFlags) } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) GetDocSessionID() string { - if d == nil { - return "" - } - return d.DocSessionID +// SetAlternateName sets the AlternateName field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetAlternateName(alternateName *string) { + d.AlternateName = alternateName + d.require(docFormsGet200ResponseFieldsItemCheckboxFieldAlternateName) } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber +// SetMappingName sets the MappingName field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetMappingName(mappingName *string) { + d.MappingName = mappingName + d.require(docFormsGet200ResponseFieldsItemCheckboxFieldMappingName) } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) GetGeneration() int { - if d == nil { - return 0 - } - return d.Generation +// SetValueEntry sets the ValueEntry field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetValueEntry(valueEntry *DocFormsGet200ResponseFieldsItemCheckboxValueEntry) { + d.ValueEntry = valueEntry + d.require(docFormsGet200ResponseFieldsItemCheckboxFieldValueEntry) } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties +// SetDefaultValueEntry sets the DefaultValueEntry field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetDefaultValueEntry(defaultValueEntry *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) { + d.DefaultValueEntry = defaultValueEntry + d.require(docFormsGet200ResponseFieldsItemCheckboxFieldDefaultValueEntry) } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) +// SetActions sets the Actions field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetActions(actions *PdfFieldActions) { + d.Actions = actions + d.require(docFormsGet200ResponseFieldsItemCheckboxFieldActions) } -// SetDocSessionID sets the DocSessionID field and marks it as non-optional; +// SetWidgets sets the Widgets field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) SetDocSessionID(docSessionID string) { - d.DocSessionID = docSessionID - d.require(docAnnotationsListAll200ResponsePagesItemPageStateRevisionFieldDocSessionID) +func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetWidgets(widgets []*DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) { + d.Widgets = widgets + d.require(docFormsGet200ResponseFieldsItemCheckboxFieldWidgets) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetChecked sets the Checked field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsListAll200ResponsePagesItemPageStateRevisionFieldPageObjectNumber) +func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetChecked(checked bool) { + d.Checked = checked + d.require(docFormsGet200ResponseFieldsItemCheckboxFieldChecked) } -// SetGeneration sets the Generation field and marks it as non-optional; +// SetExportValue sets the ExportValue field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) SetGeneration(generation int) { - d.Generation = generation - d.require(docAnnotationsListAll200ResponsePagesItemPageStateRevisionFieldGeneration) +func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetExportValue(exportValue string) { + d.ExportValue = exportValue + d.require(docFormsGet200ResponseFieldsItemCheckboxFieldExportValue) } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemPageStateRevision +func (d *DocFormsGet200ResponseFieldsItemCheckbox) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemCheckbox var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemPageStateRevision(value) + *d = DocFormsGet200ResponseFieldsItemCheckbox(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -105699,8 +111248,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) UnmarshalJS return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemPageStateRevision +func (d *DocFormsGet200ResponseFieldsItemCheckbox) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemCheckbox var marshaler = struct { embed }{ @@ -105710,7 +111259,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) MarshalJSON return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) String() string { +func (d *DocFormsGet200ResponseFieldsItemCheckbox) String() string { if d == nil { return "" } @@ -105725,36 +111274,52 @@ func (d *DocAnnotationsListAll200ResponsePagesItemPageStateRevision) String() st return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState struct { - Kind string - Unknown *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown - Known *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown +type DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry struct { + Kind string + None *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone + Scalar *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar + Array *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray + Unsupported *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState) GetKind() string { +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState) GetUnknown() *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown { +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone { if d == nil { return nil } - return d.Unknown + return d.None } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState) GetKnown() *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown { +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar { if d == nil { return nil } - return d.Known + return d.Scalar } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray { + if d == nil { + return nil + } + return d.Array +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported { + if d == nil { + return nil + } + return d.Unsupported +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -105766,32 +111331,50 @@ func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState) return fmt.Errorf("%T did not include discriminant kind", d) } switch unmarshaler.Kind { - case "unknown": - value := new(DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown) + case "none": + value := new(DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Unknown = value - case "known": - value := new(DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown) + d.None = value + case "scalar": + value := new(DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Known = value + d.Scalar = value + case "array": + value := new(DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Array = value + case "unsupported": + value := new(DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Unsupported = value } d.rawJSON = json.RawMessage(data) return nil } -func (d DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } - if d.Unknown != nil { - return internal.MarshalJSONWithExtraProperty(d.Unknown, "kind", "unknown") + if d.None != nil { + return internal.MarshalJSONWithExtraProperty(d.None, "kind", "none") } - if d.Known != nil { - return internal.MarshalJSONWithExtraProperty(d.Known, "kind", "known") + if d.Scalar != nil { + return internal.MarshalJSONWithExtraProperty(d.Scalar, "kind", "scalar") + } + if d.Array != nil { + return internal.MarshalJSONWithExtraProperty(d.Array, "kind", "array") + } + if d.Unsupported != nil { + return internal.MarshalJSONWithExtraProperty(d.Unsupported, "kind", "unsupported") } if len(d.rawJSON) > 0 { return d.rawJSON, nil @@ -105799,31 +111382,45 @@ func (d DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState) M return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateVisitor interface { - VisitUnknown(*DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown) error - VisitKnown(*DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown) error +type DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryVisitor interface { + VisitNone(*DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone) error + VisitScalar(*DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar) error + VisitArray(*DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray) error + VisitUnsupported(*DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported) error } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState) Accept(visitor DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateVisitor) error { - if d.Unknown != nil { - return visitor.VisitUnknown(d.Unknown) +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryVisitor) error { + if d.None != nil { + return visitor.VisitNone(d.None) } - if d.Known != nil { - return visitor.VisitKnown(d.Known) + if d.Scalar != nil { + return visitor.VisitScalar(d.Scalar) + } + if d.Array != nil { + return visitor.VisitArray(d.Array) + } + if d.Unsupported != nil { + return visitor.VisitUnsupported(d.Unsupported) } return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState) validate() error { +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } var fields []string - if d.Unknown != nil { - fields = append(fields, "unknown") + if d.None != nil { + fields = append(fields, "none") } - if d.Known != nil { - fields = append(fields, "known") + if d.Scalar != nil { + fields = append(fields, "scalar") + } + if d.Array != nil { + fields = append(fields, "array") + } + if d.Unsupported != nil { + fields = append(fields, "unsupported") } if len(fields) == 0 { if d.Kind != "" { @@ -105852,11 +111449,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState) } var ( - docAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArrayFieldValues = big.NewInt(1 << 0) ) -type DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown struct { - HasAnyWeakAnnotations bool `json:"hasAnyWeakAnnotations" url:"hasAnyWeakAnnotations"` +type DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray struct { + Values []string `json:"values" url:"values"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -105865,41 +111462,41 @@ type DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray) GetValues() []string { if d == nil { - return false + return nil } - return d.HasAnyWeakAnnotations + return d.Values } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetHasAnyWeakAnnotations sets the HasAnyWeakAnnotations field and marks it as non-optional; +// SetValues sets the Values field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { - d.HasAnyWeakAnnotations = hasAnyWeakAnnotations - d.require(docAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray) SetValues(values []string) { + d.Values = values + d.require(docFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArrayFieldValues) } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown(value) + *d = DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -105909,8 +111506,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKn return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray var marshaler = struct { embed }{ @@ -105920,7 +111517,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKn return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown) String() string { +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray) String() string { if d == nil { return "" } @@ -105935,7 +111532,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKn return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown struct { +type DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -105944,27 +111541,27 @@ type DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknow rawJSON json.RawMessage } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown(value) + *d = DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -105974,8 +111571,8 @@ func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUn return nil } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone var marshaler = struct { embed }{ @@ -105985,7 +111582,7 @@ func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUn return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown) String() string { +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone) String() string { if d == nil { return "" } @@ -106001,17 +111598,11 @@ func (d *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUn } var ( - docAnnotationsListAll404ResponseFieldName = big.NewInt(1 << 0) - docAnnotationsListAll404ResponseFieldCode = big.NewInt(1 << 1) - docAnnotationsListAll404ResponseFieldMessage = big.NewInt(1 << 2) - docAnnotationsListAll404ResponseFieldDetails = big.NewInt(1 << 3) + docFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalarFieldValue = big.NewInt(1 << 0) ) -type DocAnnotationsListAll404Response struct { - Name DocAnnotationsListAll404ResponseName `json:"name" url:"name"` - Code DocAnnotationsListAll404ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar struct { + Value string `json:"value" url:"value"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -106020,83 +111611,41 @@ type DocAnnotationsListAll404Response struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll404Response) GetName() DocAnnotationsListAll404ResponseName { - if d == nil { - return "" - } - return d.Name -} - -func (d *DocAnnotationsListAll404Response) GetCode() DocAnnotationsListAll404ResponseCode { - if d == nil { - return "" - } - return d.Code -} - -func (d *DocAnnotationsListAll404Response) GetMessage() string { +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar) GetValue() string { if d == nil { return "" } - return d.Message -} - -func (d *DocAnnotationsListAll404Response) GetDetails() map[string]any { - if d == nil { - return nil - } - return d.Details + return d.Value } -func (d *DocAnnotationsListAll404Response) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll404Response) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetName sets the Name field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll404Response) SetName(name DocAnnotationsListAll404ResponseName) { - d.Name = name - d.require(docAnnotationsListAll404ResponseFieldName) -} - -// SetCode sets the Code field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll404Response) SetCode(code DocAnnotationsListAll404ResponseCode) { - d.Code = code - d.require(docAnnotationsListAll404ResponseFieldCode) -} - -// SetMessage sets the Message field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll404Response) SetMessage(message string) { - d.Message = message - d.require(docAnnotationsListAll404ResponseFieldMessage) -} - -// SetDetails sets the Details field and marks it as non-optional; +// SetValue sets the Value field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll404Response) SetDetails(details map[string]any) { - d.Details = details - d.require(docAnnotationsListAll404ResponseFieldDetails) +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar) SetValue(value string) { + d.Value = value + d.require(docFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalarFieldValue) } -func (d *DocAnnotationsListAll404Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll404Response +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll404Response(value) + *d = DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -106106,8 +111655,8 @@ func (d *DocAnnotationsListAll404Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocAnnotationsListAll404Response) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll404Response +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar var marshaler = struct { embed }{ @@ -106117,7 +111666,7 @@ func (d *DocAnnotationsListAll404Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll404Response) String() string { +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar) String() string { if d == nil { return "" } @@ -106132,110 +111681,7 @@ func (d *DocAnnotationsListAll404Response) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll404ResponseCode string - -const ( - DocAnnotationsListAll404ResponseCodeUnknown DocAnnotationsListAll404ResponseCode = "Unknown" - DocAnnotationsListAll404ResponseCodeInvalidArg DocAnnotationsListAll404ResponseCode = "InvalidArg" - DocAnnotationsListAll404ResponseCodeDocNotOpen DocAnnotationsListAll404ResponseCode = "DocNotOpen" - DocAnnotationsListAll404ResponseCodeDocOpenFailed DocAnnotationsListAll404ResponseCode = "DocOpenFailed" - DocAnnotationsListAll404ResponseCodeDocPasswordRequired DocAnnotationsListAll404ResponseCode = "DocPasswordRequired" - DocAnnotationsListAll404ResponseCodeDocPasswordIncorrect DocAnnotationsListAll404ResponseCode = "DocPasswordIncorrect" - DocAnnotationsListAll404ResponseCodeSharePasswordRequired DocAnnotationsListAll404ResponseCode = "SharePasswordRequired" - DocAnnotationsListAll404ResponseCodeAborted DocAnnotationsListAll404ResponseCode = "Aborted" - DocAnnotationsListAll404ResponseCodeNetwork DocAnnotationsListAll404ResponseCode = "Network" - DocAnnotationsListAll404ResponseCodeUnauthenticated DocAnnotationsListAll404ResponseCode = "Unauthenticated" - DocAnnotationsListAll404ResponseCodeForbidden DocAnnotationsListAll404ResponseCode = "Forbidden" - DocAnnotationsListAll404ResponseCodeNotFound DocAnnotationsListAll404ResponseCode = "NotFound" - DocAnnotationsListAll404ResponseCodeWireFormat DocAnnotationsListAll404ResponseCode = "WireFormat" - DocAnnotationsListAll404ResponseCodeRuntimeUnavailable DocAnnotationsListAll404ResponseCode = "RuntimeUnavailable" - DocAnnotationsListAll404ResponseCodeInvalidReference DocAnnotationsListAll404ResponseCode = "InvalidReference" - DocAnnotationsListAll404ResponseCodeWeakAnnotationSessionConflict DocAnnotationsListAll404ResponseCode = "WeakAnnotationSessionConflict" - DocAnnotationsListAll404ResponseCodeLayerVersionConflict DocAnnotationsListAll404ResponseCode = "LayerVersionConflict" - DocAnnotationsListAll404ResponseCodeNotImplemented DocAnnotationsListAll404ResponseCode = "NotImplemented" - DocAnnotationsListAll404ResponseCodeMalformedPdf DocAnnotationsListAll404ResponseCode = "MalformedPdf" -) - -func NewDocAnnotationsListAll404ResponseCodeFromString(s string) (DocAnnotationsListAll404ResponseCode, error) { - switch s { - case "Unknown": - return DocAnnotationsListAll404ResponseCodeUnknown, nil - case "InvalidArg": - return DocAnnotationsListAll404ResponseCodeInvalidArg, nil - case "DocNotOpen": - return DocAnnotationsListAll404ResponseCodeDocNotOpen, nil - case "DocOpenFailed": - return DocAnnotationsListAll404ResponseCodeDocOpenFailed, nil - case "DocPasswordRequired": - return DocAnnotationsListAll404ResponseCodeDocPasswordRequired, nil - case "DocPasswordIncorrect": - return DocAnnotationsListAll404ResponseCodeDocPasswordIncorrect, nil - case "SharePasswordRequired": - return DocAnnotationsListAll404ResponseCodeSharePasswordRequired, nil - case "Aborted": - return DocAnnotationsListAll404ResponseCodeAborted, nil - case "Network": - return DocAnnotationsListAll404ResponseCodeNetwork, nil - case "Unauthenticated": - return DocAnnotationsListAll404ResponseCodeUnauthenticated, nil - case "Forbidden": - return DocAnnotationsListAll404ResponseCodeForbidden, nil - case "NotFound": - return DocAnnotationsListAll404ResponseCodeNotFound, nil - case "WireFormat": - return DocAnnotationsListAll404ResponseCodeWireFormat, nil - case "RuntimeUnavailable": - return DocAnnotationsListAll404ResponseCodeRuntimeUnavailable, nil - case "InvalidReference": - return DocAnnotationsListAll404ResponseCodeInvalidReference, nil - case "WeakAnnotationSessionConflict": - return DocAnnotationsListAll404ResponseCodeWeakAnnotationSessionConflict, nil - case "LayerVersionConflict": - return DocAnnotationsListAll404ResponseCodeLayerVersionConflict, nil - case "NotImplemented": - return DocAnnotationsListAll404ResponseCodeNotImplemented, nil - case "MalformedPdf": - return DocAnnotationsListAll404ResponseCodeMalformedPdf, nil - } - var t DocAnnotationsListAll404ResponseCode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll404ResponseCode) Ptr() *DocAnnotationsListAll404ResponseCode { - return &d -} - -type DocAnnotationsListAll404ResponseName string - -const ( - DocAnnotationsListAll404ResponseNameEngineError DocAnnotationsListAll404ResponseName = "EngineError" -) - -func NewDocAnnotationsListAll404ResponseNameFromString(s string) (DocAnnotationsListAll404ResponseName, error) { - switch s { - case "EngineError": - return DocAnnotationsListAll404ResponseNameEngineError, nil - } - var t DocAnnotationsListAll404ResponseName - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll404ResponseName) Ptr() *DocAnnotationsListAll404ResponseName { - return &d -} - -var ( - docAnnotationsListAll409ResponseFieldName = big.NewInt(1 << 0) - docAnnotationsListAll409ResponseFieldCode = big.NewInt(1 << 1) - docAnnotationsListAll409ResponseFieldMessage = big.NewInt(1 << 2) - docAnnotationsListAll409ResponseFieldDetails = big.NewInt(1 << 3) -) - -type DocAnnotationsListAll409Response struct { - Name DocAnnotationsListAll409ResponseName `json:"name" url:"name"` - Code DocAnnotationsListAll409ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -106244,83 +111690,27 @@ type DocAnnotationsListAll409Response struct { rawJSON json.RawMessage } -func (d *DocAnnotationsListAll409Response) GetName() DocAnnotationsListAll409ResponseName { - if d == nil { - return "" - } - return d.Name -} - -func (d *DocAnnotationsListAll409Response) GetCode() DocAnnotationsListAll409ResponseCode { - if d == nil { - return "" - } - return d.Code -} - -func (d *DocAnnotationsListAll409Response) GetMessage() string { - if d == nil { - return "" - } - return d.Message -} - -func (d *DocAnnotationsListAll409Response) GetDetails() map[string]any { - if d == nil { - return nil - } - return d.Details -} - -func (d *DocAnnotationsListAll409Response) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsListAll409Response) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetName sets the Name field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll409Response) SetName(name DocAnnotationsListAll409ResponseName) { - d.Name = name - d.require(docAnnotationsListAll409ResponseFieldName) -} - -// SetCode sets the Code field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll409Response) SetCode(code DocAnnotationsListAll409ResponseCode) { - d.Code = code - d.require(docAnnotationsListAll409ResponseFieldCode) -} - -// SetMessage sets the Message field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll409Response) SetMessage(message string) { - d.Message = message - d.require(docAnnotationsListAll409ResponseFieldMessage) -} - -// SetDetails sets the Details field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsListAll409Response) SetDetails(details map[string]any) { - d.Details = details - d.require(docAnnotationsListAll409ResponseFieldDetails) -} - -func (d *DocAnnotationsListAll409Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsListAll409Response +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsListAll409Response(value) + *d = DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -106330,8 +111720,8 @@ func (d *DocAnnotationsListAll409Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocAnnotationsListAll409Response) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsListAll409Response +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported var marshaler = struct { embed }{ @@ -106341,7 +111731,7 @@ func (d *DocAnnotationsListAll409Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsListAll409Response) String() string { +func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported) String() string { if d == nil { return "" } @@ -106356,173 +111746,124 @@ func (d *DocAnnotationsListAll409Response) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsListAll409ResponseCode string - -const ( - DocAnnotationsListAll409ResponseCodeUnknown DocAnnotationsListAll409ResponseCode = "Unknown" - DocAnnotationsListAll409ResponseCodeInvalidArg DocAnnotationsListAll409ResponseCode = "InvalidArg" - DocAnnotationsListAll409ResponseCodeDocNotOpen DocAnnotationsListAll409ResponseCode = "DocNotOpen" - DocAnnotationsListAll409ResponseCodeDocOpenFailed DocAnnotationsListAll409ResponseCode = "DocOpenFailed" - DocAnnotationsListAll409ResponseCodeDocPasswordRequired DocAnnotationsListAll409ResponseCode = "DocPasswordRequired" - DocAnnotationsListAll409ResponseCodeDocPasswordIncorrect DocAnnotationsListAll409ResponseCode = "DocPasswordIncorrect" - DocAnnotationsListAll409ResponseCodeSharePasswordRequired DocAnnotationsListAll409ResponseCode = "SharePasswordRequired" - DocAnnotationsListAll409ResponseCodeAborted DocAnnotationsListAll409ResponseCode = "Aborted" - DocAnnotationsListAll409ResponseCodeNetwork DocAnnotationsListAll409ResponseCode = "Network" - DocAnnotationsListAll409ResponseCodeUnauthenticated DocAnnotationsListAll409ResponseCode = "Unauthenticated" - DocAnnotationsListAll409ResponseCodeForbidden DocAnnotationsListAll409ResponseCode = "Forbidden" - DocAnnotationsListAll409ResponseCodeNotFound DocAnnotationsListAll409ResponseCode = "NotFound" - DocAnnotationsListAll409ResponseCodeWireFormat DocAnnotationsListAll409ResponseCode = "WireFormat" - DocAnnotationsListAll409ResponseCodeRuntimeUnavailable DocAnnotationsListAll409ResponseCode = "RuntimeUnavailable" - DocAnnotationsListAll409ResponseCodeInvalidReference DocAnnotationsListAll409ResponseCode = "InvalidReference" - DocAnnotationsListAll409ResponseCodeWeakAnnotationSessionConflict DocAnnotationsListAll409ResponseCode = "WeakAnnotationSessionConflict" - DocAnnotationsListAll409ResponseCodeLayerVersionConflict DocAnnotationsListAll409ResponseCode = "LayerVersionConflict" - DocAnnotationsListAll409ResponseCodeNotImplemented DocAnnotationsListAll409ResponseCode = "NotImplemented" - DocAnnotationsListAll409ResponseCodeMalformedPdf DocAnnotationsListAll409ResponseCode = "MalformedPdf" +var ( + docFormsGet200ResponseFieldsItemCheckboxFlagsFieldReadOnly = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemCheckboxFlagsFieldRequired = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemCheckboxFlagsFieldNoExport = big.NewInt(1 << 2) + docFormsGet200ResponseFieldsItemCheckboxFlagsFieldRaw = big.NewInt(1 << 3) ) -func NewDocAnnotationsListAll409ResponseCodeFromString(s string) (DocAnnotationsListAll409ResponseCode, error) { - switch s { - case "Unknown": - return DocAnnotationsListAll409ResponseCodeUnknown, nil - case "InvalidArg": - return DocAnnotationsListAll409ResponseCodeInvalidArg, nil - case "DocNotOpen": - return DocAnnotationsListAll409ResponseCodeDocNotOpen, nil - case "DocOpenFailed": - return DocAnnotationsListAll409ResponseCodeDocOpenFailed, nil - case "DocPasswordRequired": - return DocAnnotationsListAll409ResponseCodeDocPasswordRequired, nil - case "DocPasswordIncorrect": - return DocAnnotationsListAll409ResponseCodeDocPasswordIncorrect, nil - case "SharePasswordRequired": - return DocAnnotationsListAll409ResponseCodeSharePasswordRequired, nil - case "Aborted": - return DocAnnotationsListAll409ResponseCodeAborted, nil - case "Network": - return DocAnnotationsListAll409ResponseCodeNetwork, nil - case "Unauthenticated": - return DocAnnotationsListAll409ResponseCodeUnauthenticated, nil - case "Forbidden": - return DocAnnotationsListAll409ResponseCodeForbidden, nil - case "NotFound": - return DocAnnotationsListAll409ResponseCodeNotFound, nil - case "WireFormat": - return DocAnnotationsListAll409ResponseCodeWireFormat, nil - case "RuntimeUnavailable": - return DocAnnotationsListAll409ResponseCodeRuntimeUnavailable, nil - case "InvalidReference": - return DocAnnotationsListAll409ResponseCodeInvalidReference, nil - case "WeakAnnotationSessionConflict": - return DocAnnotationsListAll409ResponseCodeWeakAnnotationSessionConflict, nil - case "LayerVersionConflict": - return DocAnnotationsListAll409ResponseCodeLayerVersionConflict, nil - case "NotImplemented": - return DocAnnotationsListAll409ResponseCodeNotImplemented, nil - case "MalformedPdf": - return DocAnnotationsListAll409ResponseCodeMalformedPdf, nil - } - var t DocAnnotationsListAll409ResponseCode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsListAll409ResponseCode) Ptr() *DocAnnotationsListAll409ResponseCode { - return &d -} +type DocFormsGet200ResponseFieldsItemCheckboxFlags struct { + ReadOnly bool `json:"readOnly" url:"readOnly"` + Required bool `json:"required" url:"required"` + NoExport bool `json:"noExport" url:"noExport"` + Raw int `json:"raw" url:"raw"` -type DocAnnotationsListAll409ResponseName string + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` -const ( - DocAnnotationsListAll409ResponseNameEngineError DocAnnotationsListAll409ResponseName = "EngineError" -) + extraProperties map[string]interface{} + rawJSON json.RawMessage +} -func NewDocAnnotationsListAll409ResponseNameFromString(s string) (DocAnnotationsListAll409ResponseName, error) { - switch s { - case "EngineError": - return DocAnnotationsListAll409ResponseNameEngineError, nil +func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) GetReadOnly() bool { + if d == nil { + return false } - var t DocAnnotationsListAll409ResponseName - return "", fmt.Errorf("%s is not a valid %T", s, t) + return d.ReadOnly } -func (d DocAnnotationsListAll409ResponseName) Ptr() *DocAnnotationsListAll409ResponseName { - return &d +func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) GetRequired() bool { + if d == nil { + return false + } + return d.Required } -var ( - docAnnotationsUpdate200ResponseFieldMeta = big.NewInt(1 << 0) -) - -type DocAnnotationsUpdate200Response struct { - Meta *DocAnnotationsUpdate200ResponseMeta `json:"meta" url:"meta"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - ExtraProperties map[string]interface{} `json:"-" url:"-"` - - rawJSON json.RawMessage +func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) GetNoExport() bool { + if d == nil { + return false + } + return d.NoExport } -func (d *DocAnnotationsUpdate200Response) GetMeta() *DocAnnotationsUpdate200ResponseMeta { +func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) GetRaw() int { if d == nil { - return nil + return 0 } - return d.Meta + return d.Raw } -func (d *DocAnnotationsUpdate200Response) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } - return d.ExtraProperties + return d.extraProperties } -func (d *DocAnnotationsUpdate200Response) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetMeta sets the Meta field and marks it as non-optional; +// SetReadOnly sets the ReadOnly field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) SetReadOnly(readOnly bool) { + d.ReadOnly = readOnly + d.require(docFormsGet200ResponseFieldsItemCheckboxFlagsFieldReadOnly) +} + +// SetRequired sets the Required field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) SetRequired(required bool) { + d.Required = required + d.require(docFormsGet200ResponseFieldsItemCheckboxFlagsFieldRequired) +} + +// SetNoExport sets the NoExport field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) SetNoExport(noExport bool) { + d.NoExport = noExport + d.require(docFormsGet200ResponseFieldsItemCheckboxFlagsFieldNoExport) +} + +// SetRaw sets the Raw field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate200Response) SetMeta(meta *DocAnnotationsUpdate200ResponseMeta) { - d.Meta = meta - d.require(docAnnotationsUpdate200ResponseFieldMeta) +func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) SetRaw(raw int) { + d.Raw = raw + d.require(docFormsGet200ResponseFieldsItemCheckboxFlagsFieldRaw) } -func (d *DocAnnotationsUpdate200Response) UnmarshalJSON(data []byte) error { - type embed DocAnnotationsUpdate200Response - var unmarshaler = struct { - embed - }{ - embed: embed(*d), - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { +func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxFlags + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsUpdate200Response(unmarshaler.embed) + *d = DocFormsGet200ResponseFieldsItemCheckboxFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err } - d.ExtraProperties = extraProperties + d.extraProperties = extraProperties d.rawJSON = json.RawMessage(data) return nil } -func (d *DocAnnotationsUpdate200Response) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsUpdate200Response +func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemCheckboxFlags var marshaler = struct { embed }{ embed: embed(*d), } explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return internal.MarshalJSONWithExtraProperties(explicitMarshaler, d.ExtraProperties) + return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsUpdate200Response) String() string { +func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) String() string { if d == nil { return "" } @@ -106537,116 +111878,160 @@ func (d *DocAnnotationsUpdate200Response) String() string { return fmt.Sprintf("%#v", d) } -var ( - docAnnotationsUpdate200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) - docAnnotationsUpdate200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) +type DocFormsGet200ResponseFieldsItemCheckboxOrigin string + +const ( + DocFormsGet200ResponseFieldsItemCheckboxOriginAcroform DocFormsGet200ResponseFieldsItemCheckboxOrigin = "acroform" + DocFormsGet200ResponseFieldsItemCheckboxOriginRecovered DocFormsGet200ResponseFieldsItemCheckboxOrigin = "recovered" ) -type DocAnnotationsUpdate200ResponseMeta struct { - AffectedPages []*DocAnnotationsUpdate200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` - CacheDelta *DocAnnotationsUpdate200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` +func NewDocFormsGet200ResponseFieldsItemCheckboxOriginFromString(s string) (DocFormsGet200ResponseFieldsItemCheckboxOrigin, error) { + switch s { + case "acroform": + return DocFormsGet200ResponseFieldsItemCheckboxOriginAcroform, nil + case "recovered": + return DocFormsGet200ResponseFieldsItemCheckboxOriginRecovered, nil + } + var t DocFormsGet200ResponseFieldsItemCheckboxOrigin + return "", fmt.Errorf("%s is not a valid %T", s, t) +} - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` +func (d DocFormsGet200ResponseFieldsItemCheckboxOrigin) Ptr() *DocFormsGet200ResponseFieldsItemCheckboxOrigin { + return &d +} - extraProperties map[string]interface{} - rawJSON json.RawMessage +type DocFormsGet200ResponseFieldsItemCheckboxRef struct { + Kind string + ObjectNumber *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber + Fqn *DocFormsGet200ResponseFieldsItemCheckboxRefFqn + + rawJSON json.RawMessage } -func (d *DocAnnotationsUpdate200ResponseMeta) GetAffectedPages() []*DocAnnotationsUpdate200ResponseMetaAffectedPagesItem { +func (d *DocFormsGet200ResponseFieldsItemCheckboxRef) GetKind() string { if d == nil { - return nil + return "" } - return d.AffectedPages + return d.Kind } -func (d *DocAnnotationsUpdate200ResponseMeta) GetCacheDelta() *DocAnnotationsUpdate200ResponseMetaCacheDelta { +func (d *DocFormsGet200ResponseFieldsItemCheckboxRef) GetObjectNumber() *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber { if d == nil { return nil } - return d.CacheDelta + return d.ObjectNumber } -func (d *DocAnnotationsUpdate200ResponseMeta) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemCheckboxRef) GetFqn() *DocFormsGet200ResponseFieldsItemCheckboxRefFqn { if d == nil { return nil } - return d.extraProperties + return d.Fqn } -func (d *DocAnnotationsUpdate200ResponseMeta) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) +func (d *DocFormsGet200ResponseFieldsItemCheckboxRef) UnmarshalJSON(data []byte) error { + var unmarshaler struct { + Kind string `json:"kind"` } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetAffectedPages sets the AffectedPages field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate200ResponseMeta) SetAffectedPages(affectedPages []*DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) { - d.AffectedPages = affectedPages - d.require(docAnnotationsUpdate200ResponseMetaFieldAffectedPages) -} - -// SetCacheDelta sets the CacheDelta field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate200ResponseMeta) SetCacheDelta(cacheDelta *DocAnnotationsUpdate200ResponseMetaCacheDelta) { - d.CacheDelta = cacheDelta - d.require(docAnnotationsUpdate200ResponseMetaFieldCacheDelta) -} - -func (d *DocAnnotationsUpdate200ResponseMeta) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsUpdate200ResponseMeta - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { + if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocAnnotationsUpdate200ResponseMeta(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err + d.Kind = unmarshaler.Kind + if unmarshaler.Kind == "" { + return fmt.Errorf("%T did not include discriminant kind", d) + } + switch unmarshaler.Kind { + case "objectNumber": + value := new(DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.ObjectNumber = value + case "fqn": + value := new(DocFormsGet200ResponseFieldsItemCheckboxRefFqn) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Fqn = value } - d.extraProperties = extraProperties d.rawJSON = json.RawMessage(data) return nil } -func (d *DocAnnotationsUpdate200ResponseMeta) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsUpdate200ResponseMeta - var marshaler = struct { - embed - }{ - embed: embed(*d), +func (d DocFormsGet200ResponseFieldsItemCheckboxRef) MarshalJSON() ([]byte, error) { + if err := d.validate(); err != nil { + return nil, err } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + if d.ObjectNumber != nil { + return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") + } + if d.Fqn != nil { + return internal.MarshalJSONWithExtraProperty(d.Fqn, "kind", "fqn") + } + if len(d.rawJSON) > 0 { + return d.rawJSON, nil + } + return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsUpdate200ResponseMeta) String() string { +type DocFormsGet200ResponseFieldsItemCheckboxRefVisitor interface { + VisitObjectNumber(*DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber) error + VisitFqn(*DocFormsGet200ResponseFieldsItemCheckboxRefFqn) error +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxRef) Accept(visitor DocFormsGet200ResponseFieldsItemCheckboxRefVisitor) error { + if d.ObjectNumber != nil { + return visitor.VisitObjectNumber(d.ObjectNumber) + } + if d.Fqn != nil { + return visitor.VisitFqn(d.Fqn) + } + return fmt.Errorf("type %T does not define a non-empty union type", d) +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxRef) validate() error { if d == nil { - return "" + return fmt.Errorf("type %T is nil", d) } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value + var fields []string + if d.ObjectNumber != nil { + fields = append(fields, "objectNumber") + } + if d.Fqn != nil { + fields = append(fields, "fqn") + } + if len(fields) == 0 { + if d.Kind != "" { + if len(d.rawJSON) > 0 { + return nil + } + return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) } + return fmt.Errorf("type %T is empty", d) } - if value, err := internal.StringifyJSON(d); err == nil { - return value + if len(fields) > 1 { + return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) } - return fmt.Sprintf("%#v", d) + if d.Kind != "" { + field := fields[0] + if d.Kind != field { + return fmt.Errorf( + "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", + d, + d.Kind, + d, + ) + } + } + return nil } var ( - docAnnotationsUpdate200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsUpdate200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) - docAnnotationsUpdate200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) + docFormsGet200ResponseFieldsItemCheckboxRefFqnFieldName = big.NewInt(1 << 0) ) -type DocAnnotationsUpdate200ResponseMetaAffectedPagesItem struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Revision *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` - WeakAnnotationState *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` +type DocFormsGet200ResponseFieldsItemCheckboxRefFqn struct { + Name string `json:"name" url:"name"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -106655,69 +112040,41 @@ type DocAnnotationsUpdate200ResponseMetaAffectedPagesItem struct { rawJSON json.RawMessage } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) GetRevision() *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision { - if d == nil { - return nil - } - return d.Revision -} - -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState { +func (d *DocFormsGet200ResponseFieldsItemCheckboxRefFqn) GetName() string { if d == nil { - return nil + return "" } - return d.WeakAnnotationState + return d.Name } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemCheckboxRefFqn) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemCheckboxRefFqn) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsUpdate200ResponseMetaAffectedPagesItemFieldPageObjectNumber) -} - -// SetRevision sets the Revision field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) SetRevision(revision *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) { - d.Revision = revision - d.require(docAnnotationsUpdate200ResponseMetaAffectedPagesItemFieldRevision) -} - -// SetWeakAnnotationState sets the WeakAnnotationState field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState) { - d.WeakAnnotationState = weakAnnotationState - d.require(docAnnotationsUpdate200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) +func (d *DocFormsGet200ResponseFieldsItemCheckboxRefFqn) SetName(name string) { + d.Name = name + d.require(docFormsGet200ResponseFieldsItemCheckboxRefFqnFieldName) } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsUpdate200ResponseMetaAffectedPagesItem +func (d *DocFormsGet200ResponseFieldsItemCheckboxRefFqn) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxRefFqn var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsUpdate200ResponseMetaAffectedPagesItem(value) + *d = DocFormsGet200ResponseFieldsItemCheckboxRefFqn(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -106727,8 +112084,8 @@ func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) UnmarshalJSON(dat return nil } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsUpdate200ResponseMetaAffectedPagesItem +func (d *DocFormsGet200ResponseFieldsItemCheckboxRefFqn) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemCheckboxRefFqn var marshaler = struct { embed }{ @@ -106738,7 +112095,7 @@ func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) MarshalJSON() ([] return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) String() string { +func (d *DocFormsGet200ResponseFieldsItemCheckboxRefFqn) String() string { if d == nil { return "" } @@ -106754,15 +112111,11 @@ func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem) String() string { } var ( - docAnnotationsUpdate200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) - docAnnotationsUpdate200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docAnnotationsUpdate200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) + docFormsGet200ResponseFieldsItemCheckboxRefObjectNumberFieldFieldObjectNumber = big.NewInt(1 << 0) ) -type DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision struct { - DocSessionID string `json:"docSessionId" url:"docSessionId"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Generation int `json:"generation" url:"generation"` +type DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber struct { + FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -106771,69 +112124,41 @@ type DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision struct { rawJSON json.RawMessage } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { - if d == nil { - return "" - } - return d.DocSessionID -} - -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { +func (d *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber) GetFieldObjectNumber() int { if d == nil { return 0 } - return d.Generation + return d.FieldObjectNumber } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetDocSessionID sets the DocSessionID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { - d.DocSessionID = docSessionID - d.require(docAnnotationsUpdate200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsUpdate200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) -} - -// SetGeneration sets the Generation field and marks it as non-optional; +// SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { - d.Generation = generation - d.require(docAnnotationsUpdate200ResponseMetaAffectedPagesItemRevisionFieldGeneration) +func (d *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber) SetFieldObjectNumber(fieldObjectNumber int) { + d.FieldObjectNumber = fieldObjectNumber + d.require(docFormsGet200ResponseFieldsItemCheckboxRefObjectNumberFieldFieldObjectNumber) } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision +func (d *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision(value) + *d = DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -106843,8 +112168,8 @@ func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) Unmarshal return nil } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision +func (d *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber var marshaler = struct { embed }{ @@ -106854,7 +112179,7 @@ func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) MarshalJS return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) String() string { +func (d *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber) String() string { if d == nil { return "" } @@ -106869,36 +112194,52 @@ func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision) String() return fmt.Sprintf("%#v", d) } -type DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState struct { - Kind string - Unknown *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown - Known *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown +type DocFormsGet200ResponseFieldsItemCheckboxValueEntry struct { + Kind string + None *DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone + Scalar *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar + Array *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray + Unsupported *DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported rawJSON json.RawMessage } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntry) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone { if d == nil { return nil } - return d.Unknown + return d.None } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar { if d == nil { return nil } - return d.Known + return d.Scalar } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray { + if d == nil { + return nil + } + return d.Array +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported { + if d == nil { + return nil + } + return d.Unsupported +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntry) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -106910,32 +112251,50 @@ func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState return fmt.Errorf("%T did not include discriminant kind", d) } switch unmarshaler.Kind { - case "unknown": - value := new(DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) + case "none": + value := new(DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Unknown = value - case "known": - value := new(DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) + d.None = value + case "scalar": + value := new(DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Known = value + d.Scalar = value + case "array": + value := new(DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Array = value + case "unsupported": + value := new(DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Unsupported = value } d.rawJSON = json.RawMessage(data) return nil } -func (d DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseFieldsItemCheckboxValueEntry) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } - if d.Unknown != nil { - return internal.MarshalJSONWithExtraProperty(d.Unknown, "kind", "unknown") + if d.None != nil { + return internal.MarshalJSONWithExtraProperty(d.None, "kind", "none") } - if d.Known != nil { - return internal.MarshalJSONWithExtraProperty(d.Known, "kind", "known") + if d.Scalar != nil { + return internal.MarshalJSONWithExtraProperty(d.Scalar, "kind", "scalar") + } + if d.Array != nil { + return internal.MarshalJSONWithExtraProperty(d.Array, "kind", "array") + } + if d.Unsupported != nil { + return internal.MarshalJSONWithExtraProperty(d.Unsupported, "kind", "unsupported") } if len(d.rawJSON) > 0 { return d.rawJSON, nil @@ -106943,31 +112302,45 @@ func (d DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState) return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { - VisitUnknown(*DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error - VisitKnown(*DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error +type DocFormsGet200ResponseFieldsItemCheckboxValueEntryVisitor interface { + VisitNone(*DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone) error + VisitScalar(*DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar) error + VisitArray(*DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray) error + VisitUnsupported(*DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported) error } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { - if d.Unknown != nil { - return visitor.VisitUnknown(d.Unknown) +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemCheckboxValueEntryVisitor) error { + if d.None != nil { + return visitor.VisitNone(d.None) } - if d.Known != nil { - return visitor.VisitKnown(d.Known) + if d.Scalar != nil { + return visitor.VisitScalar(d.Scalar) + } + if d.Array != nil { + return visitor.VisitArray(d.Array) + } + if d.Unsupported != nil { + return visitor.VisitUnsupported(d.Unsupported) } return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntry) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } var fields []string - if d.Unknown != nil { - fields = append(fields, "unknown") + if d.None != nil { + fields = append(fields, "none") } - if d.Known != nil { - fields = append(fields, "known") + if d.Scalar != nil { + fields = append(fields, "scalar") + } + if d.Array != nil { + fields = append(fields, "array") + } + if d.Unsupported != nil { + fields = append(fields, "unsupported") } if len(fields) == 0 { if d.Kind != "" { @@ -106996,11 +112369,11 @@ func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState } var ( - docAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemCheckboxValueEntryArrayFieldValues = big.NewInt(1 << 0) ) -type DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { - HasAnyWeakAnnotations bool `json:"hasAnyWeakAnnotations" url:"hasAnyWeakAnnotations"` +type DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray struct { + Values []string `json:"values" url:"values"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -107009,41 +112382,41 @@ type DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnow rawJSON json.RawMessage } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray) GetValues() []string { if d == nil { - return false + return nil } - return d.HasAnyWeakAnnotations + return d.Values } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetHasAnyWeakAnnotations sets the HasAnyWeakAnnotations field and marks it as non-optional; +// SetValues sets the Values field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { - d.HasAnyWeakAnnotations = hasAnyWeakAnnotations - d.require(docAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray) SetValues(values []string) { + d.Values = values + d.require(docFormsGet200ResponseFieldsItemCheckboxValueEntryArrayFieldValues) } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) + *d = DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -107053,8 +112426,8 @@ func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState return nil } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray var marshaler = struct { embed }{ @@ -107064,7 +112437,7 @@ func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray) String() string { if d == nil { return "" } @@ -107079,7 +112452,7 @@ func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState return fmt.Sprintf("%#v", d) } -type DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { +type DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -107088,27 +112461,27 @@ type DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnkn rawJSON json.RawMessage } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) + *d = DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -107118,8 +112491,8 @@ func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState return nil } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone var marshaler = struct { embed }{ @@ -107129,7 +112502,7 @@ func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone) String() string { if d == nil { return "" } @@ -107145,17 +112518,11 @@ func (d *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState } var ( - docAnnotationsUpdate200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) - docAnnotationsUpdate200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) - docAnnotationsUpdate200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) - docAnnotationsUpdate200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) + docFormsGet200ResponseFieldsItemCheckboxValueEntryScalarFieldValue = big.NewInt(1 << 0) ) -type DocAnnotationsUpdate200ResponseMetaCacheDelta struct { - PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` - DocVersion int `json:"docVersion" url:"docVersion"` - AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` - Pages []*DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` +type DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar struct { + Value string `json:"value" url:"value"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -107164,83 +112531,562 @@ type DocAnnotationsUpdate200ResponseMetaCacheDelta struct { rawJSON json.RawMessage } -func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) GetPreviousDocVersion() int { +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar) GetValue() string { + if d == nil { + return "" + } + return d.Value +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetValue sets the Value field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar) SetValue(value string) { + d.Value = value + d.require(docFormsGet200ResponseFieldsItemCheckboxValueEntryScalarFieldValue) +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported struct { + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docFormsGet200ResponseFieldsItemCheckboxWidgetsItemFieldAnnotObjectNumber = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemCheckboxWidgetsItemFieldPageObjectNumber = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemCheckboxWidgetsItemFieldOnState = big.NewInt(1 << 2) + docFormsGet200ResponseFieldsItemCheckboxWidgetsItemFieldExportValue = big.NewInt(1 << 3) + docFormsGet200ResponseFieldsItemCheckboxWidgetsItemFieldChecked = big.NewInt(1 << 4) +) + +type DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem struct { + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + OnState string `json:"onState" url:"onState"` + ExportValue string `json:"exportValue" url:"exportValue"` + Checked bool `json:"checked" url:"checked"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) GetAnnotObjectNumber() int { if d == nil { return 0 } - return d.PreviousDocVersion + return d.AnnotObjectNumber } -func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) GetDocVersion() int { +func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) GetPageObjectNumber() int { if d == nil { return 0 } - return d.DocVersion + return d.PageObjectNumber } -func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { +func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) GetOnState() string { + if d == nil { + return "" + } + return d.OnState +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) GetExportValue() string { + if d == nil { + return "" + } + return d.ExportValue +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) GetChecked() bool { + if d == nil { + return false + } + return d.Checked +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } - return d.AnnotationsVersion + return d.extraProperties } -func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) GetPages() []*DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem { +func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) SetAnnotObjectNumber(annotObjectNumber int) { + d.AnnotObjectNumber = annotObjectNumber + d.require(docFormsGet200ResponseFieldsItemCheckboxWidgetsItemFieldAnnotObjectNumber) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docFormsGet200ResponseFieldsItemCheckboxWidgetsItemFieldPageObjectNumber) +} + +// SetOnState sets the OnState field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) SetOnState(onState string) { + d.OnState = onState + d.require(docFormsGet200ResponseFieldsItemCheckboxWidgetsItemFieldOnState) +} + +// SetExportValue sets the ExportValue field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) SetExportValue(exportValue string) { + d.ExportValue = exportValue + d.require(docFormsGet200ResponseFieldsItemCheckboxWidgetsItemFieldExportValue) +} + +// SetChecked sets the Checked field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) SetChecked(checked bool) { + d.Checked = checked + d.require(docFormsGet200ResponseFieldsItemCheckboxWidgetsItemFieldChecked) +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docFormsGet200ResponseFieldsItemComboboxFieldRef = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemComboboxFieldFieldObjectNumber = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemComboboxFieldName = big.NewInt(1 << 2) + docFormsGet200ResponseFieldsItemComboboxFieldOrigin = big.NewInt(1 << 3) + docFormsGet200ResponseFieldsItemComboboxFieldFlags = big.NewInt(1 << 4) + docFormsGet200ResponseFieldsItemComboboxFieldAlternateName = big.NewInt(1 << 5) + docFormsGet200ResponseFieldsItemComboboxFieldMappingName = big.NewInt(1 << 6) + docFormsGet200ResponseFieldsItemComboboxFieldValueEntry = big.NewInt(1 << 7) + docFormsGet200ResponseFieldsItemComboboxFieldDefaultValueEntry = big.NewInt(1 << 8) + docFormsGet200ResponseFieldsItemComboboxFieldActions = big.NewInt(1 << 9) + docFormsGet200ResponseFieldsItemComboboxFieldWidgets = big.NewInt(1 << 10) + docFormsGet200ResponseFieldsItemComboboxFieldValue = big.NewInt(1 << 11) + docFormsGet200ResponseFieldsItemComboboxFieldDefaultValue = big.NewInt(1 << 12) + docFormsGet200ResponseFieldsItemComboboxFieldEdit = big.NewInt(1 << 13) + docFormsGet200ResponseFieldsItemComboboxFieldOptions = big.NewInt(1 << 14) +) + +type DocFormsGet200ResponseFieldsItemCombobox struct { + Ref *DocFormsGet200ResponseFieldsItemComboboxRef `json:"ref" url:"ref"` + FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` + Name string `json:"name" url:"name"` + Origin DocFormsGet200ResponseFieldsItemComboboxOrigin `json:"origin" url:"origin"` + Flags *DocFormsGet200ResponseFieldsItemComboboxFlags `json:"flags" url:"flags"` + AlternateName *string `json:"alternateName,omitempty" url:"alternateName,omitempty"` + MappingName *string `json:"mappingName,omitempty" url:"mappingName,omitempty"` + ValueEntry *DocFormsGet200ResponseFieldsItemComboboxValueEntry `json:"valueEntry" url:"valueEntry"` + DefaultValueEntry *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry `json:"defaultValueEntry" url:"defaultValueEntry"` + Actions *PdfFieldActions `json:"actions,omitempty" url:"actions,omitempty"` + Widgets []*DocFormsGet200ResponseFieldsItemComboboxWidgetsItem `json:"widgets" url:"widgets"` + Value string `json:"value" url:"value"` + DefaultValue string `json:"defaultValue" url:"defaultValue"` + Edit bool `json:"edit" url:"edit"` + Options []*DocFormsGet200ResponseFieldsItemComboboxOptionsItem `json:"options" url:"options"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocFormsGet200ResponseFieldsItemCombobox) GetRef() *DocFormsGet200ResponseFieldsItemComboboxRef { if d == nil { return nil } - return d.Pages + return d.Ref } -func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemCombobox) GetFieldObjectNumber() int { + if d == nil { + return 0 + } + return d.FieldObjectNumber +} + +func (d *DocFormsGet200ResponseFieldsItemCombobox) GetName() string { + if d == nil { + return "" + } + return d.Name +} + +func (d *DocFormsGet200ResponseFieldsItemCombobox) GetOrigin() DocFormsGet200ResponseFieldsItemComboboxOrigin { + if d == nil { + return "" + } + return d.Origin +} + +func (d *DocFormsGet200ResponseFieldsItemCombobox) GetFlags() *DocFormsGet200ResponseFieldsItemComboboxFlags { + if d == nil { + return nil + } + return d.Flags +} + +func (d *DocFormsGet200ResponseFieldsItemCombobox) GetAlternateName() *string { + if d == nil { + return nil + } + return d.AlternateName +} + +func (d *DocFormsGet200ResponseFieldsItemCombobox) GetMappingName() *string { + if d == nil { + return nil + } + return d.MappingName +} + +func (d *DocFormsGet200ResponseFieldsItemCombobox) GetValueEntry() *DocFormsGet200ResponseFieldsItemComboboxValueEntry { + if d == nil { + return nil + } + return d.ValueEntry +} + +func (d *DocFormsGet200ResponseFieldsItemCombobox) GetDefaultValueEntry() *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry { + if d == nil { + return nil + } + return d.DefaultValueEntry +} + +func (d *DocFormsGet200ResponseFieldsItemCombobox) GetActions() *PdfFieldActions { + if d == nil { + return nil + } + return d.Actions +} + +func (d *DocFormsGet200ResponseFieldsItemCombobox) GetWidgets() []*DocFormsGet200ResponseFieldsItemComboboxWidgetsItem { + if d == nil { + return nil + } + return d.Widgets +} + +func (d *DocFormsGet200ResponseFieldsItemCombobox) GetValue() string { + if d == nil { + return "" + } + return d.Value +} + +func (d *DocFormsGet200ResponseFieldsItemCombobox) GetDefaultValue() string { + if d == nil { + return "" + } + return d.DefaultValue +} + +func (d *DocFormsGet200ResponseFieldsItemCombobox) GetEdit() bool { + if d == nil { + return false + } + return d.Edit +} + +func (d *DocFormsGet200ResponseFieldsItemCombobox) GetOptions() []*DocFormsGet200ResponseFieldsItemComboboxOptionsItem { + if d == nil { + return nil + } + return d.Options +} + +func (d *DocFormsGet200ResponseFieldsItemCombobox) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemCombobox) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPreviousDocVersion sets the PreviousDocVersion field and marks it as non-optional; +// SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { - d.PreviousDocVersion = previousDocVersion - d.require(docAnnotationsUpdate200ResponseMetaCacheDeltaFieldPreviousDocVersion) +func (d *DocFormsGet200ResponseFieldsItemCombobox) SetRef(ref *DocFormsGet200ResponseFieldsItemComboboxRef) { + d.Ref = ref + d.require(docFormsGet200ResponseFieldsItemComboboxFieldRef) +} + +// SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCombobox) SetFieldObjectNumber(fieldObjectNumber int) { + d.FieldObjectNumber = fieldObjectNumber + d.require(docFormsGet200ResponseFieldsItemComboboxFieldFieldObjectNumber) +} + +// SetName sets the Name field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCombobox) SetName(name string) { + d.Name = name + d.require(docFormsGet200ResponseFieldsItemComboboxFieldName) +} + +// SetOrigin sets the Origin field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCombobox) SetOrigin(origin DocFormsGet200ResponseFieldsItemComboboxOrigin) { + d.Origin = origin + d.require(docFormsGet200ResponseFieldsItemComboboxFieldOrigin) +} + +// SetFlags sets the Flags field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCombobox) SetFlags(flags *DocFormsGet200ResponseFieldsItemComboboxFlags) { + d.Flags = flags + d.require(docFormsGet200ResponseFieldsItemComboboxFieldFlags) +} + +// SetAlternateName sets the AlternateName field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCombobox) SetAlternateName(alternateName *string) { + d.AlternateName = alternateName + d.require(docFormsGet200ResponseFieldsItemComboboxFieldAlternateName) +} + +// SetMappingName sets the MappingName field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCombobox) SetMappingName(mappingName *string) { + d.MappingName = mappingName + d.require(docFormsGet200ResponseFieldsItemComboboxFieldMappingName) +} + +// SetValueEntry sets the ValueEntry field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCombobox) SetValueEntry(valueEntry *DocFormsGet200ResponseFieldsItemComboboxValueEntry) { + d.ValueEntry = valueEntry + d.require(docFormsGet200ResponseFieldsItemComboboxFieldValueEntry) +} + +// SetDefaultValueEntry sets the DefaultValueEntry field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCombobox) SetDefaultValueEntry(defaultValueEntry *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) { + d.DefaultValueEntry = defaultValueEntry + d.require(docFormsGet200ResponseFieldsItemComboboxFieldDefaultValueEntry) +} + +// SetActions sets the Actions field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCombobox) SetActions(actions *PdfFieldActions) { + d.Actions = actions + d.require(docFormsGet200ResponseFieldsItemComboboxFieldActions) +} + +// SetWidgets sets the Widgets field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCombobox) SetWidgets(widgets []*DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) { + d.Widgets = widgets + d.require(docFormsGet200ResponseFieldsItemComboboxFieldWidgets) +} + +// SetValue sets the Value field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemCombobox) SetValue(value string) { + d.Value = value + d.require(docFormsGet200ResponseFieldsItemComboboxFieldValue) } -// SetDocVersion sets the DocVersion field and marks it as non-optional; +// SetDefaultValue sets the DefaultValue field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { - d.DocVersion = docVersion - d.require(docAnnotationsUpdate200ResponseMetaCacheDeltaFieldDocVersion) +func (d *DocFormsGet200ResponseFieldsItemCombobox) SetDefaultValue(defaultValue string) { + d.DefaultValue = defaultValue + d.require(docFormsGet200ResponseFieldsItemComboboxFieldDefaultValue) } -// SetAnnotationsVersion sets the AnnotationsVersion field and marks it as non-optional; +// SetEdit sets the Edit field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { - d.AnnotationsVersion = annotationsVersion - d.require(docAnnotationsUpdate200ResponseMetaCacheDeltaFieldAnnotationsVersion) +func (d *DocFormsGet200ResponseFieldsItemCombobox) SetEdit(edit bool) { + d.Edit = edit + d.require(docFormsGet200ResponseFieldsItemComboboxFieldEdit) } -// SetPages sets the Pages field and marks it as non-optional; +// SetOptions sets the Options field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) SetPages(pages []*DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem) { - d.Pages = pages - d.require(docAnnotationsUpdate200ResponseMetaCacheDeltaFieldPages) +func (d *DocFormsGet200ResponseFieldsItemCombobox) SetOptions(options []*DocFormsGet200ResponseFieldsItemComboboxOptionsItem) { + d.Options = options + d.require(docFormsGet200ResponseFieldsItemComboboxFieldOptions) } -func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsUpdate200ResponseMetaCacheDelta +func (d *DocFormsGet200ResponseFieldsItemCombobox) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemCombobox var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsUpdate200ResponseMetaCacheDelta(value) + *d = DocFormsGet200ResponseFieldsItemCombobox(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -107250,8 +113096,8 @@ func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) UnmarshalJSON(data []byt return nil } -func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsUpdate200ResponseMetaCacheDelta +func (d *DocFormsGet200ResponseFieldsItemCombobox) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemCombobox var marshaler = struct { embed }{ @@ -107261,7 +113107,7 @@ func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) MarshalJSON() ([]byte, e return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) String() string { +func (d *DocFormsGet200ResponseFieldsItemCombobox) String() string { if d == nil { return "" } @@ -107276,114 +113122,186 @@ func (d *DocAnnotationsUpdate200ResponseMetaCacheDelta) String() string { return fmt.Sprintf("%#v", d) } -var ( - docAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) - docAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) -) - -type DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Cache *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` +type DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry struct { + Kind string + None *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone + Scalar *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar + Array *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray + Unsupported *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported - extraProperties map[string]interface{} - rawJSON json.RawMessage + rawJSON json.RawMessage } -func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) GetKind() string { if d == nil { - return 0 + return "" } - return d.PageObjectNumber + return d.Kind } -func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem) GetCache() *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache { +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone { if d == nil { return nil } - return d.Cache + return d.None } -func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar { if d == nil { return nil } - return d.extraProperties + return d.Scalar } -func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray { + if d == nil { + return nil } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) + return d.Array } -// SetCache sets the Cache field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) { - d.Cache = cache - d.require(docAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemFieldCache) +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported { + if d == nil { + return nil + } + return d.Unsupported } -func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) UnmarshalJSON(data []byte) error { + var unmarshaler struct { + Kind string `json:"kind"` } - *d = DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { + if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - d.extraProperties = extraProperties + d.Kind = unmarshaler.Kind + if unmarshaler.Kind == "" { + return fmt.Errorf("%T did not include discriminant kind", d) + } + switch unmarshaler.Kind { + case "none": + value := new(DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.None = value + case "scalar": + value := new(DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Scalar = value + case "array": + value := new(DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Array = value + case "unsupported": + value := new(DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Unsupported = value + } d.rawJSON = json.RawMessage(data) return nil } -func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem - var marshaler = struct { - embed - }{ - embed: embed(*d), +func (d DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) MarshalJSON() ([]byte, error) { + if err := d.validate(); err != nil { + return nil, err } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + if d.None != nil { + return internal.MarshalJSONWithExtraProperty(d.None, "kind", "none") + } + if d.Scalar != nil { + return internal.MarshalJSONWithExtraProperty(d.Scalar, "kind", "scalar") + } + if d.Array != nil { + return internal.MarshalJSONWithExtraProperty(d.Array, "kind", "array") + } + if d.Unsupported != nil { + return internal.MarshalJSONWithExtraProperty(d.Unsupported, "kind", "unsupported") + } + if len(d.rawJSON) > 0 { + return d.rawJSON, nil + } + return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem) String() string { +type DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryVisitor interface { + VisitNone(*DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone) error + VisitScalar(*DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar) error + VisitArray(*DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray) error + VisitUnsupported(*DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported) error +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryVisitor) error { + if d.None != nil { + return visitor.VisitNone(d.None) + } + if d.Scalar != nil { + return visitor.VisitScalar(d.Scalar) + } + if d.Array != nil { + return visitor.VisitArray(d.Array) + } + if d.Unsupported != nil { + return visitor.VisitUnsupported(d.Unsupported) + } + return fmt.Errorf("type %T does not define a non-empty union type", d) +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) validate() error { if d == nil { - return "" + return fmt.Errorf("type %T is nil", d) } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value + var fields []string + if d.None != nil { + fields = append(fields, "none") + } + if d.Scalar != nil { + fields = append(fields, "scalar") + } + if d.Array != nil { + fields = append(fields, "array") + } + if d.Unsupported != nil { + fields = append(fields, "unsupported") + } + if len(fields) == 0 { + if d.Kind != "" { + if len(d.rawJSON) > 0 { + return nil + } + return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) } + return fmt.Errorf("type %T is empty", d) } - if value, err := internal.StringifyJSON(d); err == nil { - return value + if len(fields) > 1 { + return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) } - return fmt.Sprintf("%#v", d) + if d.Kind != "" { + field := fields[0] + if d.Kind != field { + return fmt.Errorf( + "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", + d, + d.Kind, + d, + ) + } + } + return nil } var ( - docAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) - docAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArrayFieldValues = big.NewInt(1 << 0) ) -type DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache struct { - ContentVersion int `json:"contentVersion" url:"contentVersion"` - AnnotationVersion int `json:"annotationVersion" url:"annotationVersion"` +type DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray struct { + Values []string `json:"values" url:"values"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -107392,55 +113310,41 @@ type DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache struct { rawJSON json.RawMessage } -func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { - if d == nil { - return 0 - } - return d.ContentVersion -} - -func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray) GetValues() []string { if d == nil { - return 0 + return nil } - return d.AnnotationVersion + return d.Values } -func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetContentVersion sets the ContentVersion field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { - d.ContentVersion = contentVersion - d.require(docAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) -} - -// SetAnnotationVersion sets the AnnotationVersion field and marks it as non-optional; +// SetValues sets the Values field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { - d.AnnotationVersion = annotationVersion - d.require(docAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray) SetValues(values []string) { + d.Values = values + d.require(docFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArrayFieldValues) } -func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache(value) + *d = DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -107450,8 +113354,8 @@ func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJ return nil } -func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray var marshaler = struct { embed }{ @@ -107461,7 +113365,7 @@ func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) MarshalJSO return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) String() string { +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray) String() string { if d == nil { return "" } @@ -107476,18 +113380,7 @@ func (d *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache) String() s return fmt.Sprintf("%#v", d) } -var ( - docAnnotationsUpdate400ResponseFieldName = big.NewInt(1 << 0) - docAnnotationsUpdate400ResponseFieldCode = big.NewInt(1 << 1) - docAnnotationsUpdate400ResponseFieldMessage = big.NewInt(1 << 2) - docAnnotationsUpdate400ResponseFieldDetails = big.NewInt(1 << 3) -) - -type DocAnnotationsUpdate400Response struct { - Name DocAnnotationsUpdate400ResponseName `json:"name" url:"name"` - Code DocAnnotationsUpdate400ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -107496,83 +113389,27 @@ type DocAnnotationsUpdate400Response struct { rawJSON json.RawMessage } -func (d *DocAnnotationsUpdate400Response) GetName() DocAnnotationsUpdate400ResponseName { - if d == nil { - return "" - } - return d.Name -} - -func (d *DocAnnotationsUpdate400Response) GetCode() DocAnnotationsUpdate400ResponseCode { - if d == nil { - return "" - } - return d.Code -} - -func (d *DocAnnotationsUpdate400Response) GetMessage() string { - if d == nil { - return "" - } - return d.Message -} - -func (d *DocAnnotationsUpdate400Response) GetDetails() map[string]any { - if d == nil { - return nil - } - return d.Details -} - -func (d *DocAnnotationsUpdate400Response) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsUpdate400Response) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetName sets the Name field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate400Response) SetName(name DocAnnotationsUpdate400ResponseName) { - d.Name = name - d.require(docAnnotationsUpdate400ResponseFieldName) -} - -// SetCode sets the Code field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate400Response) SetCode(code DocAnnotationsUpdate400ResponseCode) { - d.Code = code - d.require(docAnnotationsUpdate400ResponseFieldCode) -} - -// SetMessage sets the Message field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate400Response) SetMessage(message string) { - d.Message = message - d.require(docAnnotationsUpdate400ResponseFieldMessage) -} - -// SetDetails sets the Details field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate400Response) SetDetails(details map[string]any) { - d.Details = details - d.require(docAnnotationsUpdate400ResponseFieldDetails) -} - -func (d *DocAnnotationsUpdate400Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsUpdate400Response +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsUpdate400Response(value) + *d = DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -107582,8 +113419,8 @@ func (d *DocAnnotationsUpdate400Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocAnnotationsUpdate400Response) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsUpdate400Response +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone var marshaler = struct { embed }{ @@ -107593,7 +113430,7 @@ func (d *DocAnnotationsUpdate400Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsUpdate400Response) String() string { +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone) String() string { if d == nil { return "" } @@ -107608,110 +113445,12 @@ func (d *DocAnnotationsUpdate400Response) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsUpdate400ResponseCode string - -const ( - DocAnnotationsUpdate400ResponseCodeUnknown DocAnnotationsUpdate400ResponseCode = "Unknown" - DocAnnotationsUpdate400ResponseCodeInvalidArg DocAnnotationsUpdate400ResponseCode = "InvalidArg" - DocAnnotationsUpdate400ResponseCodeDocNotOpen DocAnnotationsUpdate400ResponseCode = "DocNotOpen" - DocAnnotationsUpdate400ResponseCodeDocOpenFailed DocAnnotationsUpdate400ResponseCode = "DocOpenFailed" - DocAnnotationsUpdate400ResponseCodeDocPasswordRequired DocAnnotationsUpdate400ResponseCode = "DocPasswordRequired" - DocAnnotationsUpdate400ResponseCodeDocPasswordIncorrect DocAnnotationsUpdate400ResponseCode = "DocPasswordIncorrect" - DocAnnotationsUpdate400ResponseCodeSharePasswordRequired DocAnnotationsUpdate400ResponseCode = "SharePasswordRequired" - DocAnnotationsUpdate400ResponseCodeAborted DocAnnotationsUpdate400ResponseCode = "Aborted" - DocAnnotationsUpdate400ResponseCodeNetwork DocAnnotationsUpdate400ResponseCode = "Network" - DocAnnotationsUpdate400ResponseCodeUnauthenticated DocAnnotationsUpdate400ResponseCode = "Unauthenticated" - DocAnnotationsUpdate400ResponseCodeForbidden DocAnnotationsUpdate400ResponseCode = "Forbidden" - DocAnnotationsUpdate400ResponseCodeNotFound DocAnnotationsUpdate400ResponseCode = "NotFound" - DocAnnotationsUpdate400ResponseCodeWireFormat DocAnnotationsUpdate400ResponseCode = "WireFormat" - DocAnnotationsUpdate400ResponseCodeRuntimeUnavailable DocAnnotationsUpdate400ResponseCode = "RuntimeUnavailable" - DocAnnotationsUpdate400ResponseCodeInvalidReference DocAnnotationsUpdate400ResponseCode = "InvalidReference" - DocAnnotationsUpdate400ResponseCodeWeakAnnotationSessionConflict DocAnnotationsUpdate400ResponseCode = "WeakAnnotationSessionConflict" - DocAnnotationsUpdate400ResponseCodeLayerVersionConflict DocAnnotationsUpdate400ResponseCode = "LayerVersionConflict" - DocAnnotationsUpdate400ResponseCodeNotImplemented DocAnnotationsUpdate400ResponseCode = "NotImplemented" - DocAnnotationsUpdate400ResponseCodeMalformedPdf DocAnnotationsUpdate400ResponseCode = "MalformedPdf" -) - -func NewDocAnnotationsUpdate400ResponseCodeFromString(s string) (DocAnnotationsUpdate400ResponseCode, error) { - switch s { - case "Unknown": - return DocAnnotationsUpdate400ResponseCodeUnknown, nil - case "InvalidArg": - return DocAnnotationsUpdate400ResponseCodeInvalidArg, nil - case "DocNotOpen": - return DocAnnotationsUpdate400ResponseCodeDocNotOpen, nil - case "DocOpenFailed": - return DocAnnotationsUpdate400ResponseCodeDocOpenFailed, nil - case "DocPasswordRequired": - return DocAnnotationsUpdate400ResponseCodeDocPasswordRequired, nil - case "DocPasswordIncorrect": - return DocAnnotationsUpdate400ResponseCodeDocPasswordIncorrect, nil - case "SharePasswordRequired": - return DocAnnotationsUpdate400ResponseCodeSharePasswordRequired, nil - case "Aborted": - return DocAnnotationsUpdate400ResponseCodeAborted, nil - case "Network": - return DocAnnotationsUpdate400ResponseCodeNetwork, nil - case "Unauthenticated": - return DocAnnotationsUpdate400ResponseCodeUnauthenticated, nil - case "Forbidden": - return DocAnnotationsUpdate400ResponseCodeForbidden, nil - case "NotFound": - return DocAnnotationsUpdate400ResponseCodeNotFound, nil - case "WireFormat": - return DocAnnotationsUpdate400ResponseCodeWireFormat, nil - case "RuntimeUnavailable": - return DocAnnotationsUpdate400ResponseCodeRuntimeUnavailable, nil - case "InvalidReference": - return DocAnnotationsUpdate400ResponseCodeInvalidReference, nil - case "WeakAnnotationSessionConflict": - return DocAnnotationsUpdate400ResponseCodeWeakAnnotationSessionConflict, nil - case "LayerVersionConflict": - return DocAnnotationsUpdate400ResponseCodeLayerVersionConflict, nil - case "NotImplemented": - return DocAnnotationsUpdate400ResponseCodeNotImplemented, nil - case "MalformedPdf": - return DocAnnotationsUpdate400ResponseCodeMalformedPdf, nil - } - var t DocAnnotationsUpdate400ResponseCode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsUpdate400ResponseCode) Ptr() *DocAnnotationsUpdate400ResponseCode { - return &d -} - -type DocAnnotationsUpdate400ResponseName string - -const ( - DocAnnotationsUpdate400ResponseNameEngineError DocAnnotationsUpdate400ResponseName = "EngineError" -) - -func NewDocAnnotationsUpdate400ResponseNameFromString(s string) (DocAnnotationsUpdate400ResponseName, error) { - switch s { - case "EngineError": - return DocAnnotationsUpdate400ResponseNameEngineError, nil - } - var t DocAnnotationsUpdate400ResponseName - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsUpdate400ResponseName) Ptr() *DocAnnotationsUpdate400ResponseName { - return &d -} - var ( - docAnnotationsUpdate404ResponseFieldName = big.NewInt(1 << 0) - docAnnotationsUpdate404ResponseFieldCode = big.NewInt(1 << 1) - docAnnotationsUpdate404ResponseFieldMessage = big.NewInt(1 << 2) - docAnnotationsUpdate404ResponseFieldDetails = big.NewInt(1 << 3) + docFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalarFieldValue = big.NewInt(1 << 0) ) -type DocAnnotationsUpdate404Response struct { - Name DocAnnotationsUpdate404ResponseName `json:"name" url:"name"` - Code DocAnnotationsUpdate404ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar struct { + Value string `json:"value" url:"value"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -107720,83 +113459,41 @@ type DocAnnotationsUpdate404Response struct { rawJSON json.RawMessage } -func (d *DocAnnotationsUpdate404Response) GetName() DocAnnotationsUpdate404ResponseName { - if d == nil { - return "" - } - return d.Name -} - -func (d *DocAnnotationsUpdate404Response) GetCode() DocAnnotationsUpdate404ResponseCode { - if d == nil { - return "" - } - return d.Code -} - -func (d *DocAnnotationsUpdate404Response) GetMessage() string { +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar) GetValue() string { if d == nil { return "" } - return d.Message -} - -func (d *DocAnnotationsUpdate404Response) GetDetails() map[string]any { - if d == nil { - return nil - } - return d.Details + return d.Value } -func (d *DocAnnotationsUpdate404Response) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocAnnotationsUpdate404Response) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetName sets the Name field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate404Response) SetName(name DocAnnotationsUpdate404ResponseName) { - d.Name = name - d.require(docAnnotationsUpdate404ResponseFieldName) -} - -// SetCode sets the Code field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate404Response) SetCode(code DocAnnotationsUpdate404ResponseCode) { - d.Code = code - d.require(docAnnotationsUpdate404ResponseFieldCode) -} - -// SetMessage sets the Message field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate404Response) SetMessage(message string) { - d.Message = message - d.require(docAnnotationsUpdate404ResponseFieldMessage) -} - -// SetDetails sets the Details field and marks it as non-optional; +// SetValue sets the Value field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocAnnotationsUpdate404Response) SetDetails(details map[string]any) { - d.Details = details - d.require(docAnnotationsUpdate404ResponseFieldDetails) +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar) SetValue(value string) { + d.Value = value + d.require(docFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalarFieldValue) } -func (d *DocAnnotationsUpdate404Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocAnnotationsUpdate404Response +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocAnnotationsUpdate404Response(value) + *d = DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -107806,8 +113503,8 @@ func (d *DocAnnotationsUpdate404Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocAnnotationsUpdate404Response) MarshalJSON() ([]byte, error) { - type embed DocAnnotationsUpdate404Response +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar var marshaler = struct { embed }{ @@ -107817,7 +113514,7 @@ func (d *DocAnnotationsUpdate404Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocAnnotationsUpdate404Response) String() string { +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar) String() string { if d == nil { return "" } @@ -107832,112 +113529,7 @@ func (d *DocAnnotationsUpdate404Response) String() string { return fmt.Sprintf("%#v", d) } -type DocAnnotationsUpdate404ResponseCode string - -const ( - DocAnnotationsUpdate404ResponseCodeUnknown DocAnnotationsUpdate404ResponseCode = "Unknown" - DocAnnotationsUpdate404ResponseCodeInvalidArg DocAnnotationsUpdate404ResponseCode = "InvalidArg" - DocAnnotationsUpdate404ResponseCodeDocNotOpen DocAnnotationsUpdate404ResponseCode = "DocNotOpen" - DocAnnotationsUpdate404ResponseCodeDocOpenFailed DocAnnotationsUpdate404ResponseCode = "DocOpenFailed" - DocAnnotationsUpdate404ResponseCodeDocPasswordRequired DocAnnotationsUpdate404ResponseCode = "DocPasswordRequired" - DocAnnotationsUpdate404ResponseCodeDocPasswordIncorrect DocAnnotationsUpdate404ResponseCode = "DocPasswordIncorrect" - DocAnnotationsUpdate404ResponseCodeSharePasswordRequired DocAnnotationsUpdate404ResponseCode = "SharePasswordRequired" - DocAnnotationsUpdate404ResponseCodeAborted DocAnnotationsUpdate404ResponseCode = "Aborted" - DocAnnotationsUpdate404ResponseCodeNetwork DocAnnotationsUpdate404ResponseCode = "Network" - DocAnnotationsUpdate404ResponseCodeUnauthenticated DocAnnotationsUpdate404ResponseCode = "Unauthenticated" - DocAnnotationsUpdate404ResponseCodeForbidden DocAnnotationsUpdate404ResponseCode = "Forbidden" - DocAnnotationsUpdate404ResponseCodeNotFound DocAnnotationsUpdate404ResponseCode = "NotFound" - DocAnnotationsUpdate404ResponseCodeWireFormat DocAnnotationsUpdate404ResponseCode = "WireFormat" - DocAnnotationsUpdate404ResponseCodeRuntimeUnavailable DocAnnotationsUpdate404ResponseCode = "RuntimeUnavailable" - DocAnnotationsUpdate404ResponseCodeInvalidReference DocAnnotationsUpdate404ResponseCode = "InvalidReference" - DocAnnotationsUpdate404ResponseCodeWeakAnnotationSessionConflict DocAnnotationsUpdate404ResponseCode = "WeakAnnotationSessionConflict" - DocAnnotationsUpdate404ResponseCodeLayerVersionConflict DocAnnotationsUpdate404ResponseCode = "LayerVersionConflict" - DocAnnotationsUpdate404ResponseCodeNotImplemented DocAnnotationsUpdate404ResponseCode = "NotImplemented" - DocAnnotationsUpdate404ResponseCodeMalformedPdf DocAnnotationsUpdate404ResponseCode = "MalformedPdf" -) - -func NewDocAnnotationsUpdate404ResponseCodeFromString(s string) (DocAnnotationsUpdate404ResponseCode, error) { - switch s { - case "Unknown": - return DocAnnotationsUpdate404ResponseCodeUnknown, nil - case "InvalidArg": - return DocAnnotationsUpdate404ResponseCodeInvalidArg, nil - case "DocNotOpen": - return DocAnnotationsUpdate404ResponseCodeDocNotOpen, nil - case "DocOpenFailed": - return DocAnnotationsUpdate404ResponseCodeDocOpenFailed, nil - case "DocPasswordRequired": - return DocAnnotationsUpdate404ResponseCodeDocPasswordRequired, nil - case "DocPasswordIncorrect": - return DocAnnotationsUpdate404ResponseCodeDocPasswordIncorrect, nil - case "SharePasswordRequired": - return DocAnnotationsUpdate404ResponseCodeSharePasswordRequired, nil - case "Aborted": - return DocAnnotationsUpdate404ResponseCodeAborted, nil - case "Network": - return DocAnnotationsUpdate404ResponseCodeNetwork, nil - case "Unauthenticated": - return DocAnnotationsUpdate404ResponseCodeUnauthenticated, nil - case "Forbidden": - return DocAnnotationsUpdate404ResponseCodeForbidden, nil - case "NotFound": - return DocAnnotationsUpdate404ResponseCodeNotFound, nil - case "WireFormat": - return DocAnnotationsUpdate404ResponseCodeWireFormat, nil - case "RuntimeUnavailable": - return DocAnnotationsUpdate404ResponseCodeRuntimeUnavailable, nil - case "InvalidReference": - return DocAnnotationsUpdate404ResponseCodeInvalidReference, nil - case "WeakAnnotationSessionConflict": - return DocAnnotationsUpdate404ResponseCodeWeakAnnotationSessionConflict, nil - case "LayerVersionConflict": - return DocAnnotationsUpdate404ResponseCodeLayerVersionConflict, nil - case "NotImplemented": - return DocAnnotationsUpdate404ResponseCodeNotImplemented, nil - case "MalformedPdf": - return DocAnnotationsUpdate404ResponseCodeMalformedPdf, nil - } - var t DocAnnotationsUpdate404ResponseCode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsUpdate404ResponseCode) Ptr() *DocAnnotationsUpdate404ResponseCode { - return &d -} - -type DocAnnotationsUpdate404ResponseName string - -const ( - DocAnnotationsUpdate404ResponseNameEngineError DocAnnotationsUpdate404ResponseName = "EngineError" -) - -func NewDocAnnotationsUpdate404ResponseNameFromString(s string) (DocAnnotationsUpdate404ResponseName, error) { - switch s { - case "EngineError": - return DocAnnotationsUpdate404ResponseNameEngineError, nil - } - var t DocAnnotationsUpdate404ResponseName - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocAnnotationsUpdate404ResponseName) Ptr() *DocAnnotationsUpdate404ResponseName { - return &d -} - -type DocAnnotationsUpdateRequest = map[string]any - -var ( - docDownloadResponseFieldName = big.NewInt(1 << 0) - docDownloadResponseFieldCode = big.NewInt(1 << 1) - docDownloadResponseFieldMessage = big.NewInt(1 << 2) - docDownloadResponseFieldDetails = big.NewInt(1 << 3) -) - -type DocDownloadResponse struct { - Name DocDownloadResponseName `json:"name" url:"name"` - Code DocDownloadResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -107946,83 +113538,27 @@ type DocDownloadResponse struct { rawJSON json.RawMessage } -func (d *DocDownloadResponse) GetName() DocDownloadResponseName { - if d == nil { - return "" - } - return d.Name -} - -func (d *DocDownloadResponse) GetCode() DocDownloadResponseCode { - if d == nil { - return "" - } - return d.Code -} - -func (d *DocDownloadResponse) GetMessage() string { - if d == nil { - return "" - } - return d.Message -} - -func (d *DocDownloadResponse) GetDetails() map[string]any { - if d == nil { - return nil - } - return d.Details -} - -func (d *DocDownloadResponse) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocDownloadResponse) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetName sets the Name field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocDownloadResponse) SetName(name DocDownloadResponseName) { - d.Name = name - d.require(docDownloadResponseFieldName) -} - -// SetCode sets the Code field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocDownloadResponse) SetCode(code DocDownloadResponseCode) { - d.Code = code - d.require(docDownloadResponseFieldCode) -} - -// SetMessage sets the Message field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocDownloadResponse) SetMessage(message string) { - d.Message = message - d.require(docDownloadResponseFieldMessage) -} - -// SetDetails sets the Details field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocDownloadResponse) SetDetails(details map[string]any) { - d.Details = details - d.require(docDownloadResponseFieldDetails) -} - -func (d *DocDownloadResponse) UnmarshalJSON(data []byte) error { - type unmarshaler DocDownloadResponse +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocDownloadResponse(value) + *d = DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -108032,8 +113568,8 @@ func (d *DocDownloadResponse) UnmarshalJSON(data []byte) error { return nil } -func (d *DocDownloadResponse) MarshalJSON() ([]byte, error) { - type embed DocDownloadResponse +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported var marshaler = struct { embed }{ @@ -108043,7 +113579,7 @@ func (d *DocDownloadResponse) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocDownloadResponse) String() string { +func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported) String() string { if d == nil { return "" } @@ -108058,110 +113594,18 @@ func (d *DocDownloadResponse) String() string { return fmt.Sprintf("%#v", d) } -type DocDownloadResponseCode string - -const ( - DocDownloadResponseCodeUnknown DocDownloadResponseCode = "Unknown" - DocDownloadResponseCodeInvalidArg DocDownloadResponseCode = "InvalidArg" - DocDownloadResponseCodeDocNotOpen DocDownloadResponseCode = "DocNotOpen" - DocDownloadResponseCodeDocOpenFailed DocDownloadResponseCode = "DocOpenFailed" - DocDownloadResponseCodeDocPasswordRequired DocDownloadResponseCode = "DocPasswordRequired" - DocDownloadResponseCodeDocPasswordIncorrect DocDownloadResponseCode = "DocPasswordIncorrect" - DocDownloadResponseCodeSharePasswordRequired DocDownloadResponseCode = "SharePasswordRequired" - DocDownloadResponseCodeAborted DocDownloadResponseCode = "Aborted" - DocDownloadResponseCodeNetwork DocDownloadResponseCode = "Network" - DocDownloadResponseCodeUnauthenticated DocDownloadResponseCode = "Unauthenticated" - DocDownloadResponseCodeForbidden DocDownloadResponseCode = "Forbidden" - DocDownloadResponseCodeNotFound DocDownloadResponseCode = "NotFound" - DocDownloadResponseCodeWireFormat DocDownloadResponseCode = "WireFormat" - DocDownloadResponseCodeRuntimeUnavailable DocDownloadResponseCode = "RuntimeUnavailable" - DocDownloadResponseCodeInvalidReference DocDownloadResponseCode = "InvalidReference" - DocDownloadResponseCodeWeakAnnotationSessionConflict DocDownloadResponseCode = "WeakAnnotationSessionConflict" - DocDownloadResponseCodeLayerVersionConflict DocDownloadResponseCode = "LayerVersionConflict" - DocDownloadResponseCodeNotImplemented DocDownloadResponseCode = "NotImplemented" - DocDownloadResponseCodeMalformedPdf DocDownloadResponseCode = "MalformedPdf" -) - -func NewDocDownloadResponseCodeFromString(s string) (DocDownloadResponseCode, error) { - switch s { - case "Unknown": - return DocDownloadResponseCodeUnknown, nil - case "InvalidArg": - return DocDownloadResponseCodeInvalidArg, nil - case "DocNotOpen": - return DocDownloadResponseCodeDocNotOpen, nil - case "DocOpenFailed": - return DocDownloadResponseCodeDocOpenFailed, nil - case "DocPasswordRequired": - return DocDownloadResponseCodeDocPasswordRequired, nil - case "DocPasswordIncorrect": - return DocDownloadResponseCodeDocPasswordIncorrect, nil - case "SharePasswordRequired": - return DocDownloadResponseCodeSharePasswordRequired, nil - case "Aborted": - return DocDownloadResponseCodeAborted, nil - case "Network": - return DocDownloadResponseCodeNetwork, nil - case "Unauthenticated": - return DocDownloadResponseCodeUnauthenticated, nil - case "Forbidden": - return DocDownloadResponseCodeForbidden, nil - case "NotFound": - return DocDownloadResponseCodeNotFound, nil - case "WireFormat": - return DocDownloadResponseCodeWireFormat, nil - case "RuntimeUnavailable": - return DocDownloadResponseCodeRuntimeUnavailable, nil - case "InvalidReference": - return DocDownloadResponseCodeInvalidReference, nil - case "WeakAnnotationSessionConflict": - return DocDownloadResponseCodeWeakAnnotationSessionConflict, nil - case "LayerVersionConflict": - return DocDownloadResponseCodeLayerVersionConflict, nil - case "NotImplemented": - return DocDownloadResponseCodeNotImplemented, nil - case "MalformedPdf": - return DocDownloadResponseCodeMalformedPdf, nil - } - var t DocDownloadResponseCode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocDownloadResponseCode) Ptr() *DocDownloadResponseCode { - return &d -} - -type DocDownloadResponseName string - -const ( - DocDownloadResponseNameEngineError DocDownloadResponseName = "EngineError" -) - -func NewDocDownloadResponseNameFromString(s string) (DocDownloadResponseName, error) { - switch s { - case "EngineError": - return DocDownloadResponseNameEngineError, nil - } - var t DocDownloadResponseName - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocDownloadResponseName) Ptr() *DocDownloadResponseName { - return &d -} - var ( - docFormsExportDataResponseFieldName = big.NewInt(1 << 0) - docFormsExportDataResponseFieldCode = big.NewInt(1 << 1) - docFormsExportDataResponseFieldMessage = big.NewInt(1 << 2) - docFormsExportDataResponseFieldDetails = big.NewInt(1 << 3) + docFormsGet200ResponseFieldsItemComboboxFlagsFieldReadOnly = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemComboboxFlagsFieldRequired = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemComboboxFlagsFieldNoExport = big.NewInt(1 << 2) + docFormsGet200ResponseFieldsItemComboboxFlagsFieldRaw = big.NewInt(1 << 3) ) -type DocFormsExportDataResponse struct { - Name DocFormsExportDataResponseName `json:"name" url:"name"` - Code DocFormsExportDataResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocFormsGet200ResponseFieldsItemComboboxFlags struct { + ReadOnly bool `json:"readOnly" url:"readOnly"` + Required bool `json:"required" url:"required"` + NoExport bool `json:"noExport" url:"noExport"` + Raw int `json:"raw" url:"raw"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -108170,83 +113614,83 @@ type DocFormsExportDataResponse struct { rawJSON json.RawMessage } -func (d *DocFormsExportDataResponse) GetName() DocFormsExportDataResponseName { +func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) GetReadOnly() bool { if d == nil { - return "" + return false } - return d.Name + return d.ReadOnly } -func (d *DocFormsExportDataResponse) GetCode() DocFormsExportDataResponseCode { +func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) GetRequired() bool { if d == nil { - return "" + return false } - return d.Code + return d.Required } -func (d *DocFormsExportDataResponse) GetMessage() string { +func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) GetNoExport() bool { if d == nil { - return "" + return false } - return d.Message + return d.NoExport } -func (d *DocFormsExportDataResponse) GetDetails() map[string]any { +func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) GetRaw() int { if d == nil { - return nil + return 0 } - return d.Details + return d.Raw } -func (d *DocFormsExportDataResponse) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsExportDataResponse) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetName sets the Name field and marks it as non-optional; +// SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsExportDataResponse) SetName(name DocFormsExportDataResponseName) { - d.Name = name - d.require(docFormsExportDataResponseFieldName) +func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) SetReadOnly(readOnly bool) { + d.ReadOnly = readOnly + d.require(docFormsGet200ResponseFieldsItemComboboxFlagsFieldReadOnly) } -// SetCode sets the Code field and marks it as non-optional; +// SetRequired sets the Required field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsExportDataResponse) SetCode(code DocFormsExportDataResponseCode) { - d.Code = code - d.require(docFormsExportDataResponseFieldCode) +func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) SetRequired(required bool) { + d.Required = required + d.require(docFormsGet200ResponseFieldsItemComboboxFlagsFieldRequired) } -// SetMessage sets the Message field and marks it as non-optional; +// SetNoExport sets the NoExport field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsExportDataResponse) SetMessage(message string) { - d.Message = message - d.require(docFormsExportDataResponseFieldMessage) +func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) SetNoExport(noExport bool) { + d.NoExport = noExport + d.require(docFormsGet200ResponseFieldsItemComboboxFlagsFieldNoExport) } -// SetDetails sets the Details field and marks it as non-optional; +// SetRaw sets the Raw field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsExportDataResponse) SetDetails(details map[string]any) { - d.Details = details - d.require(docFormsExportDataResponseFieldDetails) +func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) SetRaw(raw int) { + d.Raw = raw + d.require(docFormsGet200ResponseFieldsItemComboboxFlagsFieldRaw) } -func (d *DocFormsExportDataResponse) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsExportDataResponse +func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemComboboxFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsExportDataResponse(value) + *d = DocFormsGet200ResponseFieldsItemComboboxFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -108256,8 +113700,8 @@ func (d *DocFormsExportDataResponse) UnmarshalJSON(data []byte) error { return nil } -func (d *DocFormsExportDataResponse) MarshalJSON() ([]byte, error) { - type embed DocFormsExportDataResponse +func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemComboboxFlags var marshaler = struct { embed }{ @@ -108267,7 +113711,7 @@ func (d *DocFormsExportDataResponse) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocFormsExportDataResponse) String() string { +func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) String() string { if d == nil { return "" } @@ -108282,110 +113726,16 @@ func (d *DocFormsExportDataResponse) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsExportDataResponseCode string - -const ( - DocFormsExportDataResponseCodeUnknown DocFormsExportDataResponseCode = "Unknown" - DocFormsExportDataResponseCodeInvalidArg DocFormsExportDataResponseCode = "InvalidArg" - DocFormsExportDataResponseCodeDocNotOpen DocFormsExportDataResponseCode = "DocNotOpen" - DocFormsExportDataResponseCodeDocOpenFailed DocFormsExportDataResponseCode = "DocOpenFailed" - DocFormsExportDataResponseCodeDocPasswordRequired DocFormsExportDataResponseCode = "DocPasswordRequired" - DocFormsExportDataResponseCodeDocPasswordIncorrect DocFormsExportDataResponseCode = "DocPasswordIncorrect" - DocFormsExportDataResponseCodeSharePasswordRequired DocFormsExportDataResponseCode = "SharePasswordRequired" - DocFormsExportDataResponseCodeAborted DocFormsExportDataResponseCode = "Aborted" - DocFormsExportDataResponseCodeNetwork DocFormsExportDataResponseCode = "Network" - DocFormsExportDataResponseCodeUnauthenticated DocFormsExportDataResponseCode = "Unauthenticated" - DocFormsExportDataResponseCodeForbidden DocFormsExportDataResponseCode = "Forbidden" - DocFormsExportDataResponseCodeNotFound DocFormsExportDataResponseCode = "NotFound" - DocFormsExportDataResponseCodeWireFormat DocFormsExportDataResponseCode = "WireFormat" - DocFormsExportDataResponseCodeRuntimeUnavailable DocFormsExportDataResponseCode = "RuntimeUnavailable" - DocFormsExportDataResponseCodeInvalidReference DocFormsExportDataResponseCode = "InvalidReference" - DocFormsExportDataResponseCodeWeakAnnotationSessionConflict DocFormsExportDataResponseCode = "WeakAnnotationSessionConflict" - DocFormsExportDataResponseCodeLayerVersionConflict DocFormsExportDataResponseCode = "LayerVersionConflict" - DocFormsExportDataResponseCodeNotImplemented DocFormsExportDataResponseCode = "NotImplemented" - DocFormsExportDataResponseCodeMalformedPdf DocFormsExportDataResponseCode = "MalformedPdf" -) - -func NewDocFormsExportDataResponseCodeFromString(s string) (DocFormsExportDataResponseCode, error) { - switch s { - case "Unknown": - return DocFormsExportDataResponseCodeUnknown, nil - case "InvalidArg": - return DocFormsExportDataResponseCodeInvalidArg, nil - case "DocNotOpen": - return DocFormsExportDataResponseCodeDocNotOpen, nil - case "DocOpenFailed": - return DocFormsExportDataResponseCodeDocOpenFailed, nil - case "DocPasswordRequired": - return DocFormsExportDataResponseCodeDocPasswordRequired, nil - case "DocPasswordIncorrect": - return DocFormsExportDataResponseCodeDocPasswordIncorrect, nil - case "SharePasswordRequired": - return DocFormsExportDataResponseCodeSharePasswordRequired, nil - case "Aborted": - return DocFormsExportDataResponseCodeAborted, nil - case "Network": - return DocFormsExportDataResponseCodeNetwork, nil - case "Unauthenticated": - return DocFormsExportDataResponseCodeUnauthenticated, nil - case "Forbidden": - return DocFormsExportDataResponseCodeForbidden, nil - case "NotFound": - return DocFormsExportDataResponseCodeNotFound, nil - case "WireFormat": - return DocFormsExportDataResponseCodeWireFormat, nil - case "RuntimeUnavailable": - return DocFormsExportDataResponseCodeRuntimeUnavailable, nil - case "InvalidReference": - return DocFormsExportDataResponseCodeInvalidReference, nil - case "WeakAnnotationSessionConflict": - return DocFormsExportDataResponseCodeWeakAnnotationSessionConflict, nil - case "LayerVersionConflict": - return DocFormsExportDataResponseCodeLayerVersionConflict, nil - case "NotImplemented": - return DocFormsExportDataResponseCodeNotImplemented, nil - case "MalformedPdf": - return DocFormsExportDataResponseCodeMalformedPdf, nil - } - var t DocFormsExportDataResponseCode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocFormsExportDataResponseCode) Ptr() *DocFormsExportDataResponseCode { - return &d -} - -type DocFormsExportDataResponseName string - -const ( - DocFormsExportDataResponseNameEngineError DocFormsExportDataResponseName = "EngineError" -) - -func NewDocFormsExportDataResponseNameFromString(s string) (DocFormsExportDataResponseName, error) { - switch s { - case "EngineError": - return DocFormsExportDataResponseNameEngineError, nil - } - var t DocFormsExportDataResponseName - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocFormsExportDataResponseName) Ptr() *DocFormsExportDataResponseName { - return &d -} - var ( - docFormsGet200ResponseFieldFormKind = big.NewInt(1 << 0) - docFormsGet200ResponseFieldNeedsAppearances = big.NewInt(1 << 1) - docFormsGet200ResponseFieldFields = big.NewInt(1 << 2) - docFormsGet200ResponseFieldCalculationOrder = big.NewInt(1 << 3) + docFormsGet200ResponseFieldsItemComboboxOptionsItemFieldLabel = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemComboboxOptionsItemFieldValue = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemComboboxOptionsItemFieldSelected = big.NewInt(1 << 2) ) -type DocFormsGet200Response struct { - FormKind DocFormsGet200ResponseFormKind `json:"formKind" url:"formKind"` - NeedsAppearances bool `json:"needsAppearances" url:"needsAppearances"` - Fields []*DocFormsGet200ResponseFieldsItem `json:"fields" url:"fields"` - CalculationOrder []*DocFormsGet200ResponseCalculationOrderItem `json:"calculationOrder" url:"calculationOrder"` +type DocFormsGet200ResponseFieldsItemComboboxOptionsItem struct { + Label string `json:"label" url:"label"` + Value string `json:"value" url:"value"` + Selected bool `json:"selected" url:"selected"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -108394,83 +113744,69 @@ type DocFormsGet200Response struct { rawJSON json.RawMessage } -func (d *DocFormsGet200Response) GetFormKind() DocFormsGet200ResponseFormKind { +func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) GetLabel() string { if d == nil { return "" } - return d.FormKind -} - -func (d *DocFormsGet200Response) GetNeedsAppearances() bool { - if d == nil { - return false - } - return d.NeedsAppearances + return d.Label } -func (d *DocFormsGet200Response) GetFields() []*DocFormsGet200ResponseFieldsItem { +func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) GetValue() string { if d == nil { - return nil + return "" } - return d.Fields + return d.Value } -func (d *DocFormsGet200Response) GetCalculationOrder() []*DocFormsGet200ResponseCalculationOrderItem { +func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) GetSelected() bool { if d == nil { - return nil + return false } - return d.CalculationOrder + return d.Selected } -func (d *DocFormsGet200Response) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200Response) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetFormKind sets the FormKind field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200Response) SetFormKind(formKind DocFormsGet200ResponseFormKind) { - d.FormKind = formKind - d.require(docFormsGet200ResponseFieldFormKind) -} - -// SetNeedsAppearances sets the NeedsAppearances field and marks it as non-optional; +// SetLabel sets the Label field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200Response) SetNeedsAppearances(needsAppearances bool) { - d.NeedsAppearances = needsAppearances - d.require(docFormsGet200ResponseFieldNeedsAppearances) +func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) SetLabel(label string) { + d.Label = label + d.require(docFormsGet200ResponseFieldsItemComboboxOptionsItemFieldLabel) } -// SetFields sets the Fields field and marks it as non-optional; +// SetValue sets the Value field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200Response) SetFields(fields []*DocFormsGet200ResponseFieldsItem) { - d.Fields = fields - d.require(docFormsGet200ResponseFieldFields) +func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) SetValue(value string) { + d.Value = value + d.require(docFormsGet200ResponseFieldsItemComboboxOptionsItemFieldValue) } -// SetCalculationOrder sets the CalculationOrder field and marks it as non-optional; +// SetSelected sets the Selected field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200Response) SetCalculationOrder(calculationOrder []*DocFormsGet200ResponseCalculationOrderItem) { - d.CalculationOrder = calculationOrder - d.require(docFormsGet200ResponseFieldCalculationOrder) +func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) SetSelected(selected bool) { + d.Selected = selected + d.require(docFormsGet200ResponseFieldsItemComboboxOptionsItemFieldSelected) } -func (d *DocFormsGet200Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200Response +func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemComboboxOptionsItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200Response(value) + *d = DocFormsGet200ResponseFieldsItemComboboxOptionsItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -108480,8 +113816,8 @@ func (d *DocFormsGet200Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocFormsGet200Response) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200Response +func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemComboboxOptionsItem var marshaler = struct { embed }{ @@ -108491,7 +113827,7 @@ func (d *DocFormsGet200Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200Response) String() string { +func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) String() string { if d == nil { return "" } @@ -108506,36 +113842,58 @@ func (d *DocFormsGet200Response) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseCalculationOrderItem struct { +type DocFormsGet200ResponseFieldsItemComboboxOrigin string + +const ( + DocFormsGet200ResponseFieldsItemComboboxOriginAcroform DocFormsGet200ResponseFieldsItemComboboxOrigin = "acroform" + DocFormsGet200ResponseFieldsItemComboboxOriginRecovered DocFormsGet200ResponseFieldsItemComboboxOrigin = "recovered" +) + +func NewDocFormsGet200ResponseFieldsItemComboboxOriginFromString(s string) (DocFormsGet200ResponseFieldsItemComboboxOrigin, error) { + switch s { + case "acroform": + return DocFormsGet200ResponseFieldsItemComboboxOriginAcroform, nil + case "recovered": + return DocFormsGet200ResponseFieldsItemComboboxOriginRecovered, nil + } + var t DocFormsGet200ResponseFieldsItemComboboxOrigin + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocFormsGet200ResponseFieldsItemComboboxOrigin) Ptr() *DocFormsGet200ResponseFieldsItemComboboxOrigin { + return &d +} + +type DocFormsGet200ResponseFieldsItemComboboxRef struct { Kind string - ObjectNumber *DocFormsGet200ResponseCalculationOrderItemObjectNumber - Fqn *DocFormsGet200ResponseCalculationOrderItemFqn + ObjectNumber *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber + Fqn *DocFormsGet200ResponseFieldsItemComboboxRefFqn rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseCalculationOrderItem) GetKind() string { +func (d *DocFormsGet200ResponseFieldsItemComboboxRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsGet200ResponseCalculationOrderItem) GetObjectNumber() *DocFormsGet200ResponseCalculationOrderItemObjectNumber { +func (d *DocFormsGet200ResponseFieldsItemComboboxRef) GetObjectNumber() *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocFormsGet200ResponseCalculationOrderItem) GetFqn() *DocFormsGet200ResponseCalculationOrderItemFqn { +func (d *DocFormsGet200ResponseFieldsItemComboboxRef) GetFqn() *DocFormsGet200ResponseFieldsItemComboboxRefFqn { if d == nil { return nil } return d.Fqn } -func (d *DocFormsGet200ResponseCalculationOrderItem) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseFieldsItemComboboxRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -108548,13 +113906,13 @@ func (d *DocFormsGet200ResponseCalculationOrderItem) UnmarshalJSON(data []byte) } switch unmarshaler.Kind { case "objectNumber": - value := new(DocFormsGet200ResponseCalculationOrderItemObjectNumber) + value := new(DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "fqn": - value := new(DocFormsGet200ResponseCalculationOrderItemFqn) + value := new(DocFormsGet200ResponseFieldsItemComboboxRefFqn) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -108564,7 +113922,7 @@ func (d *DocFormsGet200ResponseCalculationOrderItem) UnmarshalJSON(data []byte) return nil } -func (d DocFormsGet200ResponseCalculationOrderItem) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseFieldsItemComboboxRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -108580,12 +113938,12 @@ func (d DocFormsGet200ResponseCalculationOrderItem) MarshalJSON() ([]byte, error return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsGet200ResponseCalculationOrderItemVisitor interface { - VisitObjectNumber(*DocFormsGet200ResponseCalculationOrderItemObjectNumber) error - VisitFqn(*DocFormsGet200ResponseCalculationOrderItemFqn) error +type DocFormsGet200ResponseFieldsItemComboboxRefVisitor interface { + VisitObjectNumber(*DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber) error + VisitFqn(*DocFormsGet200ResponseFieldsItemComboboxRefFqn) error } -func (d *DocFormsGet200ResponseCalculationOrderItem) Accept(visitor DocFormsGet200ResponseCalculationOrderItemVisitor) error { +func (d *DocFormsGet200ResponseFieldsItemComboboxRef) Accept(visitor DocFormsGet200ResponseFieldsItemComboboxRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -108595,7 +113953,7 @@ func (d *DocFormsGet200ResponseCalculationOrderItem) Accept(visitor DocFormsGet2 return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseCalculationOrderItem) validate() error { +func (d *DocFormsGet200ResponseFieldsItemComboboxRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -108633,10 +113991,10 @@ func (d *DocFormsGet200ResponseCalculationOrderItem) validate() error { } var ( - docFormsGet200ResponseCalculationOrderItemFqnFieldName = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemComboboxRefFqnFieldName = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseCalculationOrderItemFqn struct { +type DocFormsGet200ResponseFieldsItemComboboxRefFqn struct { Name string `json:"name" url:"name"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -108646,21 +114004,21 @@ type DocFormsGet200ResponseCalculationOrderItemFqn struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseCalculationOrderItemFqn) GetName() string { +func (d *DocFormsGet200ResponseFieldsItemComboboxRefFqn) GetName() string { if d == nil { return "" } return d.Name } -func (d *DocFormsGet200ResponseCalculationOrderItemFqn) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemComboboxRefFqn) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseCalculationOrderItemFqn) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemComboboxRefFqn) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -108669,18 +114027,18 @@ func (d *DocFormsGet200ResponseCalculationOrderItemFqn) require(field *big.Int) // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseCalculationOrderItemFqn) SetName(name string) { +func (d *DocFormsGet200ResponseFieldsItemComboboxRefFqn) SetName(name string) { d.Name = name - d.require(docFormsGet200ResponseCalculationOrderItemFqnFieldName) + d.require(docFormsGet200ResponseFieldsItemComboboxRefFqnFieldName) } -func (d *DocFormsGet200ResponseCalculationOrderItemFqn) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseCalculationOrderItemFqn +func (d *DocFormsGet200ResponseFieldsItemComboboxRefFqn) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemComboboxRefFqn var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseCalculationOrderItemFqn(value) + *d = DocFormsGet200ResponseFieldsItemComboboxRefFqn(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -108690,8 +114048,8 @@ func (d *DocFormsGet200ResponseCalculationOrderItemFqn) UnmarshalJSON(data []byt return nil } -func (d *DocFormsGet200ResponseCalculationOrderItemFqn) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseCalculationOrderItemFqn +func (d *DocFormsGet200ResponseFieldsItemComboboxRefFqn) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemComboboxRefFqn var marshaler = struct { embed }{ @@ -108701,7 +114059,7 @@ func (d *DocFormsGet200ResponseCalculationOrderItemFqn) MarshalJSON() ([]byte, e return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseCalculationOrderItemFqn) String() string { +func (d *DocFormsGet200ResponseFieldsItemComboboxRefFqn) String() string { if d == nil { return "" } @@ -108717,10 +114075,10 @@ func (d *DocFormsGet200ResponseCalculationOrderItemFqn) String() string { } var ( - docFormsGet200ResponseCalculationOrderItemObjectNumberFieldFieldObjectNumber = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemComboboxRefObjectNumberFieldFieldObjectNumber = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseCalculationOrderItemObjectNumber struct { +type DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber struct { FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -108730,21 +114088,21 @@ type DocFormsGet200ResponseCalculationOrderItemObjectNumber struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseCalculationOrderItemObjectNumber) GetFieldObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber) GetFieldObjectNumber() int { if d == nil { return 0 } return d.FieldObjectNumber } -func (d *DocFormsGet200ResponseCalculationOrderItemObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseCalculationOrderItemObjectNumber) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -108753,18 +114111,18 @@ func (d *DocFormsGet200ResponseCalculationOrderItemObjectNumber) require(field * // SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseCalculationOrderItemObjectNumber) SetFieldObjectNumber(fieldObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber) SetFieldObjectNumber(fieldObjectNumber int) { d.FieldObjectNumber = fieldObjectNumber - d.require(docFormsGet200ResponseCalculationOrderItemObjectNumberFieldFieldObjectNumber) + d.require(docFormsGet200ResponseFieldsItemComboboxRefObjectNumberFieldFieldObjectNumber) } -func (d *DocFormsGet200ResponseCalculationOrderItemObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseCalculationOrderItemObjectNumber +func (d *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseCalculationOrderItemObjectNumber(value) + *d = DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -108774,8 +114132,8 @@ func (d *DocFormsGet200ResponseCalculationOrderItemObjectNumber) UnmarshalJSON(d return nil } -func (d *DocFormsGet200ResponseCalculationOrderItemObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseCalculationOrderItemObjectNumber +func (d *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber var marshaler = struct { embed }{ @@ -108785,7 +114143,7 @@ func (d *DocFormsGet200ResponseCalculationOrderItemObjectNumber) MarshalJSON() ( return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseCalculationOrderItemObjectNumber) String() string { +func (d *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber) String() string { if d == nil { return "" } @@ -108800,175 +114158,107 @@ func (d *DocFormsGet200ResponseCalculationOrderItemObjectNumber) String() string return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItem struct { - Family string - Text *DocFormsGet200ResponseFieldsItemText - Checkbox *DocFormsGet200ResponseFieldsItemCheckbox - Radio *DocFormsGet200ResponseFieldsItemRadio - Combobox *DocFormsGet200ResponseFieldsItemCombobox - Listbox *DocFormsGet200ResponseFieldsItemListbox - Pushbutton *DocFormsGet200ResponseFieldsItemPushbutton - Signature *DocFormsGet200ResponseFieldsItemSignature - Unknown *DocFormsGet200ResponseFieldsItemUnknown +type DocFormsGet200ResponseFieldsItemComboboxValueEntry struct { + Kind string + None *DocFormsGet200ResponseFieldsItemComboboxValueEntryNone + Scalar *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar + Array *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray + Unsupported *DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItem) GetFamily() string { +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntry) GetKind() string { if d == nil { return "" } - return d.Family -} - -func (d *DocFormsGet200ResponseFieldsItem) GetText() *DocFormsGet200ResponseFieldsItemText { - if d == nil { - return nil - } - return d.Text -} - -func (d *DocFormsGet200ResponseFieldsItem) GetCheckbox() *DocFormsGet200ResponseFieldsItemCheckbox { - if d == nil { - return nil - } - return d.Checkbox -} - -func (d *DocFormsGet200ResponseFieldsItem) GetRadio() *DocFormsGet200ResponseFieldsItemRadio { - if d == nil { - return nil - } - return d.Radio -} - -func (d *DocFormsGet200ResponseFieldsItem) GetCombobox() *DocFormsGet200ResponseFieldsItemCombobox { - if d == nil { - return nil - } - return d.Combobox + return d.Kind } -func (d *DocFormsGet200ResponseFieldsItem) GetListbox() *DocFormsGet200ResponseFieldsItemListbox { +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemComboboxValueEntryNone { if d == nil { return nil } - return d.Listbox + return d.None } -func (d *DocFormsGet200ResponseFieldsItem) GetPushbutton() *DocFormsGet200ResponseFieldsItemPushbutton { +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar { if d == nil { return nil } - return d.Pushbutton + return d.Scalar } -func (d *DocFormsGet200ResponseFieldsItem) GetSignature() *DocFormsGet200ResponseFieldsItemSignature { +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray { if d == nil { return nil } - return d.Signature + return d.Array } -func (d *DocFormsGet200ResponseFieldsItem) GetUnknown() *DocFormsGet200ResponseFieldsItemUnknown { +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported { if d == nil { return nil } - return d.Unknown + return d.Unsupported } -func (d *DocFormsGet200ResponseFieldsItem) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntry) UnmarshalJSON(data []byte) error { var unmarshaler struct { - Family string `json:"family"` + Kind string `json:"kind"` } if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - d.Family = unmarshaler.Family - if unmarshaler.Family == "" { - return fmt.Errorf("%T did not include discriminant family", d) + d.Kind = unmarshaler.Kind + if unmarshaler.Kind == "" { + return fmt.Errorf("%T did not include discriminant kind", d) } - switch unmarshaler.Family { - case "text": - value := new(DocFormsGet200ResponseFieldsItemText) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Text = value - case "checkbox": - value := new(DocFormsGet200ResponseFieldsItemCheckbox) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Checkbox = value - case "radio": - value := new(DocFormsGet200ResponseFieldsItemRadio) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Radio = value - case "combobox": - value := new(DocFormsGet200ResponseFieldsItemCombobox) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Combobox = value - case "listbox": - value := new(DocFormsGet200ResponseFieldsItemListbox) + switch unmarshaler.Kind { + case "none": + value := new(DocFormsGet200ResponseFieldsItemComboboxValueEntryNone) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Listbox = value - case "pushbutton": - value := new(DocFormsGet200ResponseFieldsItemPushbutton) + d.None = value + case "scalar": + value := new(DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Pushbutton = value - case "signature": - value := new(DocFormsGet200ResponseFieldsItemSignature) + d.Scalar = value + case "array": + value := new(DocFormsGet200ResponseFieldsItemComboboxValueEntryArray) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Signature = value - case "unknown": - value := new(DocFormsGet200ResponseFieldsItemUnknown) + d.Array = value + case "unsupported": + value := new(DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Unknown = value + d.Unsupported = value } d.rawJSON = json.RawMessage(data) return nil } -func (d DocFormsGet200ResponseFieldsItem) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseFieldsItemComboboxValueEntry) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } - if d.Text != nil { - return internal.MarshalJSONWithExtraProperty(d.Text, "family", "text") - } - if d.Checkbox != nil { - return internal.MarshalJSONWithExtraProperty(d.Checkbox, "family", "checkbox") - } - if d.Radio != nil { - return internal.MarshalJSONWithExtraProperty(d.Radio, "family", "radio") - } - if d.Combobox != nil { - return internal.MarshalJSONWithExtraProperty(d.Combobox, "family", "combobox") - } - if d.Listbox != nil { - return internal.MarshalJSONWithExtraProperty(d.Listbox, "family", "listbox") + if d.None != nil { + return internal.MarshalJSONWithExtraProperty(d.None, "kind", "none") } - if d.Pushbutton != nil { - return internal.MarshalJSONWithExtraProperty(d.Pushbutton, "family", "pushbutton") + if d.Scalar != nil { + return internal.MarshalJSONWithExtraProperty(d.Scalar, "kind", "scalar") } - if d.Signature != nil { - return internal.MarshalJSONWithExtraProperty(d.Signature, "family", "signature") + if d.Array != nil { + return internal.MarshalJSONWithExtraProperty(d.Array, "kind", "array") } - if d.Unknown != nil { - return internal.MarshalJSONWithExtraProperty(d.Unknown, "family", "unknown") + if d.Unsupported != nil { + return internal.MarshalJSONWithExtraProperty(d.Unsupported, "kind", "unsupported") } if len(d.rawJSON) > 0 { return d.rawJSON, nil @@ -108976,93 +114266,65 @@ func (d DocFormsGet200ResponseFieldsItem) MarshalJSON() ([]byte, error) { return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsGet200ResponseFieldsItemVisitor interface { - VisitText(*DocFormsGet200ResponseFieldsItemText) error - VisitCheckbox(*DocFormsGet200ResponseFieldsItemCheckbox) error - VisitRadio(*DocFormsGet200ResponseFieldsItemRadio) error - VisitCombobox(*DocFormsGet200ResponseFieldsItemCombobox) error - VisitListbox(*DocFormsGet200ResponseFieldsItemListbox) error - VisitPushbutton(*DocFormsGet200ResponseFieldsItemPushbutton) error - VisitSignature(*DocFormsGet200ResponseFieldsItemSignature) error - VisitUnknown(*DocFormsGet200ResponseFieldsItemUnknown) error +type DocFormsGet200ResponseFieldsItemComboboxValueEntryVisitor interface { + VisitNone(*DocFormsGet200ResponseFieldsItemComboboxValueEntryNone) error + VisitScalar(*DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar) error + VisitArray(*DocFormsGet200ResponseFieldsItemComboboxValueEntryArray) error + VisitUnsupported(*DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported) error } -func (d *DocFormsGet200ResponseFieldsItem) Accept(visitor DocFormsGet200ResponseFieldsItemVisitor) error { - if d.Text != nil { - return visitor.VisitText(d.Text) - } - if d.Checkbox != nil { - return visitor.VisitCheckbox(d.Checkbox) - } - if d.Radio != nil { - return visitor.VisitRadio(d.Radio) - } - if d.Combobox != nil { - return visitor.VisitCombobox(d.Combobox) - } - if d.Listbox != nil { - return visitor.VisitListbox(d.Listbox) +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemComboboxValueEntryVisitor) error { + if d.None != nil { + return visitor.VisitNone(d.None) } - if d.Pushbutton != nil { - return visitor.VisitPushbutton(d.Pushbutton) + if d.Scalar != nil { + return visitor.VisitScalar(d.Scalar) } - if d.Signature != nil { - return visitor.VisitSignature(d.Signature) + if d.Array != nil { + return visitor.VisitArray(d.Array) } - if d.Unknown != nil { - return visitor.VisitUnknown(d.Unknown) + if d.Unsupported != nil { + return visitor.VisitUnsupported(d.Unsupported) } return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseFieldsItem) validate() error { +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntry) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } var fields []string - if d.Text != nil { - fields = append(fields, "text") - } - if d.Checkbox != nil { - fields = append(fields, "checkbox") - } - if d.Radio != nil { - fields = append(fields, "radio") - } - if d.Combobox != nil { - fields = append(fields, "combobox") - } - if d.Listbox != nil { - fields = append(fields, "listbox") + if d.None != nil { + fields = append(fields, "none") } - if d.Pushbutton != nil { - fields = append(fields, "pushbutton") + if d.Scalar != nil { + fields = append(fields, "scalar") } - if d.Signature != nil { - fields = append(fields, "signature") + if d.Array != nil { + fields = append(fields, "array") } - if d.Unknown != nil { - fields = append(fields, "unknown") + if d.Unsupported != nil { + fields = append(fields, "unsupported") } if len(fields) == 0 { - if d.Family != "" { + if d.Kind != "" { if len(d.rawJSON) > 0 { return nil } - return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Family) + return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) } return fmt.Errorf("type %T is empty", d) } if len(fields) > 1 { return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) } - if d.Family != "" { + if d.Kind != "" { field := fields[0] - if d.Family != field { + if d.Kind != field { return fmt.Errorf( "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", d, - d.Family, + d.Kind, d, ) } @@ -109071,35 +114333,11 @@ func (d *DocFormsGet200ResponseFieldsItem) validate() error { } var ( - docFormsGet200ResponseFieldsItemCheckboxFieldRef = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemCheckboxFieldFieldObjectNumber = big.NewInt(1 << 1) - docFormsGet200ResponseFieldsItemCheckboxFieldName = big.NewInt(1 << 2) - docFormsGet200ResponseFieldsItemCheckboxFieldOrigin = big.NewInt(1 << 3) - docFormsGet200ResponseFieldsItemCheckboxFieldFlags = big.NewInt(1 << 4) - docFormsGet200ResponseFieldsItemCheckboxFieldAlternateName = big.NewInt(1 << 5) - docFormsGet200ResponseFieldsItemCheckboxFieldMappingName = big.NewInt(1 << 6) - docFormsGet200ResponseFieldsItemCheckboxFieldValueEntry = big.NewInt(1 << 7) - docFormsGet200ResponseFieldsItemCheckboxFieldDefaultValueEntry = big.NewInt(1 << 8) - docFormsGet200ResponseFieldsItemCheckboxFieldActions = big.NewInt(1 << 9) - docFormsGet200ResponseFieldsItemCheckboxFieldWidgets = big.NewInt(1 << 10) - docFormsGet200ResponseFieldsItemCheckboxFieldChecked = big.NewInt(1 << 11) - docFormsGet200ResponseFieldsItemCheckboxFieldExportValue = big.NewInt(1 << 12) + docFormsGet200ResponseFieldsItemComboboxValueEntryArrayFieldValues = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemCheckbox struct { - Ref *DocFormsGet200ResponseFieldsItemCheckboxRef `json:"ref" url:"ref"` - FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` - Name string `json:"name" url:"name"` - Origin DocFormsGet200ResponseFieldsItemCheckboxOrigin `json:"origin" url:"origin"` - Flags *DocFormsGet200ResponseFieldsItemCheckboxFlags `json:"flags" url:"flags"` - AlternateName *string `json:"alternateName,omitempty" url:"alternateName,omitempty"` - MappingName *string `json:"mappingName,omitempty" url:"mappingName,omitempty"` - ValueEntry *DocFormsGet200ResponseFieldsItemCheckboxValueEntry `json:"valueEntry" url:"valueEntry"` - DefaultValueEntry *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry `json:"defaultValueEntry" url:"defaultValueEntry"` - Actions *PdfFieldActions `json:"actions,omitempty" url:"actions,omitempty"` - Widgets []*DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem `json:"widgets" url:"widgets"` - Checked bool `json:"checked" url:"checked"` - ExportValue string `json:"exportValue" url:"exportValue"` +type DocFormsGet200ResponseFieldsItemComboboxValueEntryArray struct { + Values []string `json:"values" url:"values"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -109108,105 +114346,536 @@ type DocFormsGet200ResponseFieldsItemCheckbox struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetRef() *DocFormsGet200ResponseFieldsItemCheckboxRef { +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray) GetValues() []string { + if d == nil { + return nil + } + return d.Values +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetValues sets the Values field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray) SetValues(values []string) { + d.Values = values + d.require(docFormsGet200ResponseFieldsItemComboboxValueEntryArrayFieldValues) +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemComboboxValueEntryArray + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocFormsGet200ResponseFieldsItemComboboxValueEntryArray(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemComboboxValueEntryArray + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocFormsGet200ResponseFieldsItemComboboxValueEntryNone struct { + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryNone) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryNone) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryNone) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemComboboxValueEntryNone + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocFormsGet200ResponseFieldsItemComboboxValueEntryNone(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryNone) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemComboboxValueEntryNone + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryNone) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docFormsGet200ResponseFieldsItemComboboxValueEntryScalarFieldValue = big.NewInt(1 << 0) +) + +type DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar struct { + Value string `json:"value" url:"value"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar) GetValue() string { + if d == nil { + return "" + } + return d.Value +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetValue sets the Value field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar) SetValue(value string) { + d.Value = value + d.require(docFormsGet200ResponseFieldsItemComboboxValueEntryScalarFieldValue) +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported struct { + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docFormsGet200ResponseFieldsItemComboboxWidgetsItemFieldAnnotObjectNumber = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemComboboxWidgetsItemFieldPageObjectNumber = big.NewInt(1 << 1) +) + +type DocFormsGet200ResponseFieldsItemComboboxWidgetsItem struct { + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) GetAnnotObjectNumber() int { + if d == nil { + return 0 + } + return d.AnnotObjectNumber +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) SetAnnotObjectNumber(annotObjectNumber int) { + d.AnnotObjectNumber = annotObjectNumber + d.require(docFormsGet200ResponseFieldsItemComboboxWidgetsItemFieldAnnotObjectNumber) +} + +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docFormsGet200ResponseFieldsItemComboboxWidgetsItemFieldPageObjectNumber) +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemComboboxWidgetsItem + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocFormsGet200ResponseFieldsItemComboboxWidgetsItem(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemComboboxWidgetsItem + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docFormsGet200ResponseFieldsItemListboxFieldRef = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemListboxFieldFieldObjectNumber = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemListboxFieldName = big.NewInt(1 << 2) + docFormsGet200ResponseFieldsItemListboxFieldOrigin = big.NewInt(1 << 3) + docFormsGet200ResponseFieldsItemListboxFieldFlags = big.NewInt(1 << 4) + docFormsGet200ResponseFieldsItemListboxFieldAlternateName = big.NewInt(1 << 5) + docFormsGet200ResponseFieldsItemListboxFieldMappingName = big.NewInt(1 << 6) + docFormsGet200ResponseFieldsItemListboxFieldValueEntry = big.NewInt(1 << 7) + docFormsGet200ResponseFieldsItemListboxFieldDefaultValueEntry = big.NewInt(1 << 8) + docFormsGet200ResponseFieldsItemListboxFieldActions = big.NewInt(1 << 9) + docFormsGet200ResponseFieldsItemListboxFieldWidgets = big.NewInt(1 << 10) + docFormsGet200ResponseFieldsItemListboxFieldSelectedValues = big.NewInt(1 << 11) + docFormsGet200ResponseFieldsItemListboxFieldMultiSelect = big.NewInt(1 << 12) + docFormsGet200ResponseFieldsItemListboxFieldOptions = big.NewInt(1 << 13) +) + +type DocFormsGet200ResponseFieldsItemListbox struct { + Ref *DocFormsGet200ResponseFieldsItemListboxRef `json:"ref" url:"ref"` + FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` + Name string `json:"name" url:"name"` + Origin DocFormsGet200ResponseFieldsItemListboxOrigin `json:"origin" url:"origin"` + Flags *DocFormsGet200ResponseFieldsItemListboxFlags `json:"flags" url:"flags"` + AlternateName *string `json:"alternateName,omitempty" url:"alternateName,omitempty"` + MappingName *string `json:"mappingName,omitempty" url:"mappingName,omitempty"` + ValueEntry *DocFormsGet200ResponseFieldsItemListboxValueEntry `json:"valueEntry" url:"valueEntry"` + DefaultValueEntry *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry `json:"defaultValueEntry" url:"defaultValueEntry"` + Actions *PdfFieldActions `json:"actions,omitempty" url:"actions,omitempty"` + Widgets []*DocFormsGet200ResponseFieldsItemListboxWidgetsItem `json:"widgets" url:"widgets"` + SelectedValues []string `json:"selectedValues" url:"selectedValues"` + MultiSelect bool `json:"multiSelect" url:"multiSelect"` + Options []*DocFormsGet200ResponseFieldsItemListboxOptionsItem `json:"options" url:"options"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocFormsGet200ResponseFieldsItemListbox) GetRef() *DocFormsGet200ResponseFieldsItemListboxRef { if d == nil { return nil } return d.Ref } -func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetFieldObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemListbox) GetFieldObjectNumber() int { if d == nil { return 0 } return d.FieldObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetName() string { +func (d *DocFormsGet200ResponseFieldsItemListbox) GetName() string { if d == nil { return "" } return d.Name } -func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetOrigin() DocFormsGet200ResponseFieldsItemCheckboxOrigin { +func (d *DocFormsGet200ResponseFieldsItemListbox) GetOrigin() DocFormsGet200ResponseFieldsItemListboxOrigin { if d == nil { return "" } return d.Origin } -func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetFlags() *DocFormsGet200ResponseFieldsItemCheckboxFlags { +func (d *DocFormsGet200ResponseFieldsItemListbox) GetFlags() *DocFormsGet200ResponseFieldsItemListboxFlags { if d == nil { return nil } return d.Flags } -func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetAlternateName() *string { +func (d *DocFormsGet200ResponseFieldsItemListbox) GetAlternateName() *string { if d == nil { return nil } return d.AlternateName } -func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetMappingName() *string { +func (d *DocFormsGet200ResponseFieldsItemListbox) GetMappingName() *string { if d == nil { return nil } return d.MappingName } -func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetValueEntry() *DocFormsGet200ResponseFieldsItemCheckboxValueEntry { +func (d *DocFormsGet200ResponseFieldsItemListbox) GetValueEntry() *DocFormsGet200ResponseFieldsItemListboxValueEntry { if d == nil { return nil } return d.ValueEntry } -func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetDefaultValueEntry() *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry { +func (d *DocFormsGet200ResponseFieldsItemListbox) GetDefaultValueEntry() *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry { if d == nil { return nil } return d.DefaultValueEntry } -func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetActions() *PdfFieldActions { +func (d *DocFormsGet200ResponseFieldsItemListbox) GetActions() *PdfFieldActions { if d == nil { return nil } return d.Actions } -func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetWidgets() []*DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem { +func (d *DocFormsGet200ResponseFieldsItemListbox) GetWidgets() []*DocFormsGet200ResponseFieldsItemListboxWidgetsItem { if d == nil { return nil } return d.Widgets } -func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetChecked() bool { +func (d *DocFormsGet200ResponseFieldsItemListbox) GetSelectedValues() []string { + if d == nil { + return nil + } + return d.SelectedValues +} + +func (d *DocFormsGet200ResponseFieldsItemListbox) GetMultiSelect() bool { if d == nil { return false } - return d.Checked + return d.MultiSelect } -func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetExportValue() string { +func (d *DocFormsGet200ResponseFieldsItemListbox) GetOptions() []*DocFormsGet200ResponseFieldsItemListboxOptionsItem { if d == nil { - return "" + return nil } - return d.ExportValue + return d.Options } -func (d *DocFormsGet200ResponseFieldsItemCheckbox) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemListbox) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemCheckbox) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemListbox) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -109215,102 +114884,109 @@ func (d *DocFormsGet200ResponseFieldsItemCheckbox) require(field *big.Int) { // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetRef(ref *DocFormsGet200ResponseFieldsItemCheckboxRef) { +func (d *DocFormsGet200ResponseFieldsItemListbox) SetRef(ref *DocFormsGet200ResponseFieldsItemListboxRef) { d.Ref = ref - d.require(docFormsGet200ResponseFieldsItemCheckboxFieldRef) + d.require(docFormsGet200ResponseFieldsItemListboxFieldRef) } // SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetFieldObjectNumber(fieldObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemListbox) SetFieldObjectNumber(fieldObjectNumber int) { d.FieldObjectNumber = fieldObjectNumber - d.require(docFormsGet200ResponseFieldsItemCheckboxFieldFieldObjectNumber) + d.require(docFormsGet200ResponseFieldsItemListboxFieldFieldObjectNumber) } // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetName(name string) { +func (d *DocFormsGet200ResponseFieldsItemListbox) SetName(name string) { d.Name = name - d.require(docFormsGet200ResponseFieldsItemCheckboxFieldName) + d.require(docFormsGet200ResponseFieldsItemListboxFieldName) } // SetOrigin sets the Origin field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetOrigin(origin DocFormsGet200ResponseFieldsItemCheckboxOrigin) { +func (d *DocFormsGet200ResponseFieldsItemListbox) SetOrigin(origin DocFormsGet200ResponseFieldsItemListboxOrigin) { d.Origin = origin - d.require(docFormsGet200ResponseFieldsItemCheckboxFieldOrigin) + d.require(docFormsGet200ResponseFieldsItemListboxFieldOrigin) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetFlags(flags *DocFormsGet200ResponseFieldsItemCheckboxFlags) { +func (d *DocFormsGet200ResponseFieldsItemListbox) SetFlags(flags *DocFormsGet200ResponseFieldsItemListboxFlags) { d.Flags = flags - d.require(docFormsGet200ResponseFieldsItemCheckboxFieldFlags) + d.require(docFormsGet200ResponseFieldsItemListboxFieldFlags) } // SetAlternateName sets the AlternateName field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetAlternateName(alternateName *string) { +func (d *DocFormsGet200ResponseFieldsItemListbox) SetAlternateName(alternateName *string) { d.AlternateName = alternateName - d.require(docFormsGet200ResponseFieldsItemCheckboxFieldAlternateName) + d.require(docFormsGet200ResponseFieldsItemListboxFieldAlternateName) } // SetMappingName sets the MappingName field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetMappingName(mappingName *string) { +func (d *DocFormsGet200ResponseFieldsItemListbox) SetMappingName(mappingName *string) { d.MappingName = mappingName - d.require(docFormsGet200ResponseFieldsItemCheckboxFieldMappingName) + d.require(docFormsGet200ResponseFieldsItemListboxFieldMappingName) } // SetValueEntry sets the ValueEntry field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetValueEntry(valueEntry *DocFormsGet200ResponseFieldsItemCheckboxValueEntry) { +func (d *DocFormsGet200ResponseFieldsItemListbox) SetValueEntry(valueEntry *DocFormsGet200ResponseFieldsItemListboxValueEntry) { d.ValueEntry = valueEntry - d.require(docFormsGet200ResponseFieldsItemCheckboxFieldValueEntry) + d.require(docFormsGet200ResponseFieldsItemListboxFieldValueEntry) } // SetDefaultValueEntry sets the DefaultValueEntry field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetDefaultValueEntry(defaultValueEntry *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) { +func (d *DocFormsGet200ResponseFieldsItemListbox) SetDefaultValueEntry(defaultValueEntry *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) { d.DefaultValueEntry = defaultValueEntry - d.require(docFormsGet200ResponseFieldsItemCheckboxFieldDefaultValueEntry) + d.require(docFormsGet200ResponseFieldsItemListboxFieldDefaultValueEntry) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetActions(actions *PdfFieldActions) { +func (d *DocFormsGet200ResponseFieldsItemListbox) SetActions(actions *PdfFieldActions) { d.Actions = actions - d.require(docFormsGet200ResponseFieldsItemCheckboxFieldActions) + d.require(docFormsGet200ResponseFieldsItemListboxFieldActions) } // SetWidgets sets the Widgets field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetWidgets(widgets []*DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) { +func (d *DocFormsGet200ResponseFieldsItemListbox) SetWidgets(widgets []*DocFormsGet200ResponseFieldsItemListboxWidgetsItem) { d.Widgets = widgets - d.require(docFormsGet200ResponseFieldsItemCheckboxFieldWidgets) + d.require(docFormsGet200ResponseFieldsItemListboxFieldWidgets) } -// SetChecked sets the Checked field and marks it as non-optional; +// SetSelectedValues sets the SelectedValues field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetChecked(checked bool) { - d.Checked = checked - d.require(docFormsGet200ResponseFieldsItemCheckboxFieldChecked) +func (d *DocFormsGet200ResponseFieldsItemListbox) SetSelectedValues(selectedValues []string) { + d.SelectedValues = selectedValues + d.require(docFormsGet200ResponseFieldsItemListboxFieldSelectedValues) } -// SetExportValue sets the ExportValue field and marks it as non-optional; +// SetMultiSelect sets the MultiSelect field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckbox) SetExportValue(exportValue string) { - d.ExportValue = exportValue - d.require(docFormsGet200ResponseFieldsItemCheckboxFieldExportValue) +func (d *DocFormsGet200ResponseFieldsItemListbox) SetMultiSelect(multiSelect bool) { + d.MultiSelect = multiSelect + d.require(docFormsGet200ResponseFieldsItemListboxFieldMultiSelect) } -func (d *DocFormsGet200ResponseFieldsItemCheckbox) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemCheckbox +// SetOptions sets the Options field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemListbox) SetOptions(options []*DocFormsGet200ResponseFieldsItemListboxOptionsItem) { + d.Options = options + d.require(docFormsGet200ResponseFieldsItemListboxFieldOptions) +} + +func (d *DocFormsGet200ResponseFieldsItemListbox) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemListbox var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemCheckbox(value) + *d = DocFormsGet200ResponseFieldsItemListbox(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -109320,8 +114996,8 @@ func (d *DocFormsGet200ResponseFieldsItemCheckbox) UnmarshalJSON(data []byte) er return nil } -func (d *DocFormsGet200ResponseFieldsItemCheckbox) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemCheckbox +func (d *DocFormsGet200ResponseFieldsItemListbox) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemListbox var marshaler = struct { embed }{ @@ -109331,7 +115007,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckbox) MarshalJSON() ([]byte, error) return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemCheckbox) String() string { +func (d *DocFormsGet200ResponseFieldsItemListbox) String() string { if d == nil { return "" } @@ -109346,52 +115022,52 @@ func (d *DocFormsGet200ResponseFieldsItemCheckbox) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry struct { +type DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry struct { Kind string - None *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone - Scalar *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar - Array *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray - Unsupported *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported + None *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone + Scalar *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar + Array *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray + Unsupported *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) GetKind() string { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone { if d == nil { return nil } return d.None } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar { if d == nil { return nil } return d.Scalar } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray { if d == nil { return nil } return d.Array } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported { if d == nil { return nil } return d.Unsupported } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -109404,25 +115080,25 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) UnmarshalJSO } switch unmarshaler.Kind { case "none": - value := new(DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone) + value := new(DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone) if err := json.Unmarshal(data, &value); err != nil { return err } d.None = value case "scalar": - value := new(DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar) + value := new(DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar) if err := json.Unmarshal(data, &value); err != nil { return err } d.Scalar = value case "array": - value := new(DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray) + value := new(DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray) if err := json.Unmarshal(data, &value); err != nil { return err } d.Array = value case "unsupported": - value := new(DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported) + value := new(DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -109432,7 +115108,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) UnmarshalJSO return nil } -func (d DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -109454,14 +115130,14 @@ func (d DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) MarshalJSON() return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryVisitor interface { - VisitNone(*DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone) error - VisitScalar(*DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar) error - VisitArray(*DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray) error - VisitUnsupported(*DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported) error +type DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryVisitor interface { + VisitNone(*DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone) error + VisitScalar(*DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar) error + VisitArray(*DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray) error + VisitUnsupported(*DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported) error } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryVisitor) error { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryVisitor) error { if d.None != nil { return visitor.VisitNone(d.None) } @@ -109477,7 +115153,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) Accept(visit return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) validate() error { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -109521,10 +115197,10 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry) validate() e } var ( - docFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArrayFieldValues = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemListboxDefaultValueEntryArrayFieldValues = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray struct { +type DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray struct { Values []string `json:"values" url:"values"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -109534,21 +115210,21 @@ type DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray) GetValues() []string { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray) GetValues() []string { if d == nil { return nil } return d.Values } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -109557,18 +115233,18 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray) require // SetValues sets the Values field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray) SetValues(values []string) { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray) SetValues(values []string) { d.Values = values - d.require(docFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArrayFieldValues) + d.require(docFormsGet200ResponseFieldsItemListboxDefaultValueEntryArrayFieldValues) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray(value) + *d = DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -109578,8 +115254,8 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray) Unmarsh return nil } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray var marshaler = struct { embed }{ @@ -109589,7 +115265,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray) Marshal return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray) String() string { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray) String() string { if d == nil { return "" } @@ -109604,7 +115280,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray) String( return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone struct { +type DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -109613,27 +115289,27 @@ type DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone(value) + *d = DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -109643,8 +115319,8 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone) Unmarsha return nil } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone var marshaler = struct { embed }{ @@ -109654,7 +115330,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone) MarshalJ return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone) String() string { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone) String() string { if d == nil { return "" } @@ -109670,10 +115346,10 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone) String() } var ( - docFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalarFieldValue = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalarFieldValue = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar struct { +type DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar struct { Value string `json:"value" url:"value"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -109683,21 +115359,21 @@ type DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar) GetValue() string { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar) GetValue() string { if d == nil { return "" } return d.Value } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -109706,18 +115382,18 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar) requir // SetValue sets the Value field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar) SetValue(value string) { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar) SetValue(value string) { d.Value = value - d.require(docFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalarFieldValue) + d.require(docFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalarFieldValue) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar(value) + *d = DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -109727,8 +115403,8 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar) Unmars return nil } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar var marshaler = struct { embed }{ @@ -109738,7 +115414,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar) String() string { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar) String() string { if d == nil { return "" } @@ -109753,7 +115429,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar) String return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported struct { +type DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -109762,27 +115438,27 @@ type DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported struct rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported(value) + *d = DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -109792,8 +115468,8 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported) U return nil } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported var marshaler = struct { embed }{ @@ -109803,7 +115479,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported) M return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported) String() string { +func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported) String() string { if d == nil { return "" } @@ -109819,13 +115495,13 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported) S } var ( - docFormsGet200ResponseFieldsItemCheckboxFlagsFieldReadOnly = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemCheckboxFlagsFieldRequired = big.NewInt(1 << 1) - docFormsGet200ResponseFieldsItemCheckboxFlagsFieldNoExport = big.NewInt(1 << 2) - docFormsGet200ResponseFieldsItemCheckboxFlagsFieldRaw = big.NewInt(1 << 3) + docFormsGet200ResponseFieldsItemListboxFlagsFieldReadOnly = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemListboxFlagsFieldRequired = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemListboxFlagsFieldNoExport = big.NewInt(1 << 2) + docFormsGet200ResponseFieldsItemListboxFlagsFieldRaw = big.NewInt(1 << 3) ) -type DocFormsGet200ResponseFieldsItemCheckboxFlags struct { +type DocFormsGet200ResponseFieldsItemListboxFlags struct { ReadOnly bool `json:"readOnly" url:"readOnly"` Required bool `json:"required" url:"required"` NoExport bool `json:"noExport" url:"noExport"` @@ -109838,42 +115514,42 @@ type DocFormsGet200ResponseFieldsItemCheckboxFlags struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) GetReadOnly() bool { +func (d *DocFormsGet200ResponseFieldsItemListboxFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) GetRequired() bool { +func (d *DocFormsGet200ResponseFieldsItemListboxFlags) GetRequired() bool { if d == nil { return false } return d.Required } -func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) GetNoExport() bool { +func (d *DocFormsGet200ResponseFieldsItemListboxFlags) GetNoExport() bool { if d == nil { return false } return d.NoExport } -func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) GetRaw() int { +func (d *DocFormsGet200ResponseFieldsItemListboxFlags) GetRaw() int { if d == nil { return 0 } return d.Raw } -func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemListboxFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemListboxFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -109882,39 +115558,39 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) require(field *big.Int) // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) SetReadOnly(readOnly bool) { +func (d *DocFormsGet200ResponseFieldsItemListboxFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docFormsGet200ResponseFieldsItemCheckboxFlagsFieldReadOnly) + d.require(docFormsGet200ResponseFieldsItemListboxFlagsFieldReadOnly) } // SetRequired sets the Required field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) SetRequired(required bool) { +func (d *DocFormsGet200ResponseFieldsItemListboxFlags) SetRequired(required bool) { d.Required = required - d.require(docFormsGet200ResponseFieldsItemCheckboxFlagsFieldRequired) + d.require(docFormsGet200ResponseFieldsItemListboxFlagsFieldRequired) } // SetNoExport sets the NoExport field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) SetNoExport(noExport bool) { +func (d *DocFormsGet200ResponseFieldsItemListboxFlags) SetNoExport(noExport bool) { d.NoExport = noExport - d.require(docFormsGet200ResponseFieldsItemCheckboxFlagsFieldNoExport) + d.require(docFormsGet200ResponseFieldsItemListboxFlagsFieldNoExport) } // SetRaw sets the Raw field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) SetRaw(raw int) { +func (d *DocFormsGet200ResponseFieldsItemListboxFlags) SetRaw(raw int) { d.Raw = raw - d.require(docFormsGet200ResponseFieldsItemCheckboxFlagsFieldRaw) + d.require(docFormsGet200ResponseFieldsItemListboxFlagsFieldRaw) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxFlags +func (d *DocFormsGet200ResponseFieldsItemListboxFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemListboxFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemCheckboxFlags(value) + *d = DocFormsGet200ResponseFieldsItemListboxFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -109924,8 +115600,8 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) UnmarshalJSON(data []byt return nil } -func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemCheckboxFlags +func (d *DocFormsGet200ResponseFieldsItemListboxFlags) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemListboxFlags var marshaler = struct { embed }{ @@ -109935,7 +115611,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) MarshalJSON() ([]byte, e return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) String() string { +func (d *DocFormsGet200ResponseFieldsItemListboxFlags) String() string { if d == nil { return "" } @@ -109950,58 +115626,174 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxFlags) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemCheckboxOrigin string +var ( + docFormsGet200ResponseFieldsItemListboxOptionsItemFieldLabel = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemListboxOptionsItemFieldValue = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemListboxOptionsItemFieldSelected = big.NewInt(1 << 2) +) + +type DocFormsGet200ResponseFieldsItemListboxOptionsItem struct { + Label string `json:"label" url:"label"` + Value string `json:"value" url:"value"` + Selected bool `json:"selected" url:"selected"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) GetLabel() string { + if d == nil { + return "" + } + return d.Label +} + +func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) GetValue() string { + if d == nil { + return "" + } + return d.Value +} + +func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) GetSelected() bool { + if d == nil { + return false + } + return d.Selected +} + +func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetLabel sets the Label field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) SetLabel(label string) { + d.Label = label + d.require(docFormsGet200ResponseFieldsItemListboxOptionsItemFieldLabel) +} + +// SetValue sets the Value field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) SetValue(value string) { + d.Value = value + d.require(docFormsGet200ResponseFieldsItemListboxOptionsItemFieldValue) +} + +// SetSelected sets the Selected field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) SetSelected(selected bool) { + d.Selected = selected + d.require(docFormsGet200ResponseFieldsItemListboxOptionsItemFieldSelected) +} + +func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemListboxOptionsItem + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocFormsGet200ResponseFieldsItemListboxOptionsItem(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemListboxOptionsItem + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocFormsGet200ResponseFieldsItemListboxOrigin string const ( - DocFormsGet200ResponseFieldsItemCheckboxOriginAcroform DocFormsGet200ResponseFieldsItemCheckboxOrigin = "acroform" - DocFormsGet200ResponseFieldsItemCheckboxOriginRecovered DocFormsGet200ResponseFieldsItemCheckboxOrigin = "recovered" + DocFormsGet200ResponseFieldsItemListboxOriginAcroform DocFormsGet200ResponseFieldsItemListboxOrigin = "acroform" + DocFormsGet200ResponseFieldsItemListboxOriginRecovered DocFormsGet200ResponseFieldsItemListboxOrigin = "recovered" ) -func NewDocFormsGet200ResponseFieldsItemCheckboxOriginFromString(s string) (DocFormsGet200ResponseFieldsItemCheckboxOrigin, error) { +func NewDocFormsGet200ResponseFieldsItemListboxOriginFromString(s string) (DocFormsGet200ResponseFieldsItemListboxOrigin, error) { switch s { case "acroform": - return DocFormsGet200ResponseFieldsItemCheckboxOriginAcroform, nil + return DocFormsGet200ResponseFieldsItemListboxOriginAcroform, nil case "recovered": - return DocFormsGet200ResponseFieldsItemCheckboxOriginRecovered, nil + return DocFormsGet200ResponseFieldsItemListboxOriginRecovered, nil } - var t DocFormsGet200ResponseFieldsItemCheckboxOrigin + var t DocFormsGet200ResponseFieldsItemListboxOrigin return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocFormsGet200ResponseFieldsItemCheckboxOrigin) Ptr() *DocFormsGet200ResponseFieldsItemCheckboxOrigin { +func (d DocFormsGet200ResponseFieldsItemListboxOrigin) Ptr() *DocFormsGet200ResponseFieldsItemListboxOrigin { return &d } -type DocFormsGet200ResponseFieldsItemCheckboxRef struct { +type DocFormsGet200ResponseFieldsItemListboxRef struct { Kind string - ObjectNumber *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber - Fqn *DocFormsGet200ResponseFieldsItemCheckboxRefFqn + ObjectNumber *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber + Fqn *DocFormsGet200ResponseFieldsItemListboxRefFqn rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemCheckboxRef) GetKind() string { +func (d *DocFormsGet200ResponseFieldsItemListboxRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsGet200ResponseFieldsItemCheckboxRef) GetObjectNumber() *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber { +func (d *DocFormsGet200ResponseFieldsItemListboxRef) GetObjectNumber() *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemCheckboxRef) GetFqn() *DocFormsGet200ResponseFieldsItemCheckboxRefFqn { +func (d *DocFormsGet200ResponseFieldsItemListboxRef) GetFqn() *DocFormsGet200ResponseFieldsItemListboxRefFqn { if d == nil { return nil } return d.Fqn } -func (d *DocFormsGet200ResponseFieldsItemCheckboxRef) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseFieldsItemListboxRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -110014,13 +115806,13 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxRef) UnmarshalJSON(data []byte) } switch unmarshaler.Kind { case "objectNumber": - value := new(DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber) + value := new(DocFormsGet200ResponseFieldsItemListboxRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "fqn": - value := new(DocFormsGet200ResponseFieldsItemCheckboxRefFqn) + value := new(DocFormsGet200ResponseFieldsItemListboxRefFqn) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -110030,7 +115822,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxRef) UnmarshalJSON(data []byte) return nil } -func (d DocFormsGet200ResponseFieldsItemCheckboxRef) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseFieldsItemListboxRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -110046,12 +115838,12 @@ func (d DocFormsGet200ResponseFieldsItemCheckboxRef) MarshalJSON() ([]byte, erro return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsGet200ResponseFieldsItemCheckboxRefVisitor interface { - VisitObjectNumber(*DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber) error - VisitFqn(*DocFormsGet200ResponseFieldsItemCheckboxRefFqn) error +type DocFormsGet200ResponseFieldsItemListboxRefVisitor interface { + VisitObjectNumber(*DocFormsGet200ResponseFieldsItemListboxRefObjectNumber) error + VisitFqn(*DocFormsGet200ResponseFieldsItemListboxRefFqn) error } -func (d *DocFormsGet200ResponseFieldsItemCheckboxRef) Accept(visitor DocFormsGet200ResponseFieldsItemCheckboxRefVisitor) error { +func (d *DocFormsGet200ResponseFieldsItemListboxRef) Accept(visitor DocFormsGet200ResponseFieldsItemListboxRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -110061,7 +115853,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxRef) Accept(visitor DocFormsGet return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxRef) validate() error { +func (d *DocFormsGet200ResponseFieldsItemListboxRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -110099,10 +115891,10 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxRef) validate() error { } var ( - docFormsGet200ResponseFieldsItemCheckboxRefFqnFieldName = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemListboxRefFqnFieldName = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemCheckboxRefFqn struct { +type DocFormsGet200ResponseFieldsItemListboxRefFqn struct { Name string `json:"name" url:"name"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -110112,21 +115904,21 @@ type DocFormsGet200ResponseFieldsItemCheckboxRefFqn struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemCheckboxRefFqn) GetName() string { +func (d *DocFormsGet200ResponseFieldsItemListboxRefFqn) GetName() string { if d == nil { return "" } return d.Name } -func (d *DocFormsGet200ResponseFieldsItemCheckboxRefFqn) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemListboxRefFqn) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemCheckboxRefFqn) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemListboxRefFqn) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -110135,18 +115927,18 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxRefFqn) require(field *big.Int) // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckboxRefFqn) SetName(name string) { +func (d *DocFormsGet200ResponseFieldsItemListboxRefFqn) SetName(name string) { d.Name = name - d.require(docFormsGet200ResponseFieldsItemCheckboxRefFqnFieldName) + d.require(docFormsGet200ResponseFieldsItemListboxRefFqnFieldName) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxRefFqn) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxRefFqn +func (d *DocFormsGet200ResponseFieldsItemListboxRefFqn) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemListboxRefFqn var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemCheckboxRefFqn(value) + *d = DocFormsGet200ResponseFieldsItemListboxRefFqn(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -110156,8 +115948,8 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxRefFqn) UnmarshalJSON(data []by return nil } -func (d *DocFormsGet200ResponseFieldsItemCheckboxRefFqn) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemCheckboxRefFqn +func (d *DocFormsGet200ResponseFieldsItemListboxRefFqn) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemListboxRefFqn var marshaler = struct { embed }{ @@ -110167,7 +115959,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxRefFqn) MarshalJSON() ([]byte, return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxRefFqn) String() string { +func (d *DocFormsGet200ResponseFieldsItemListboxRefFqn) String() string { if d == nil { return "" } @@ -110183,10 +115975,10 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxRefFqn) String() string { } var ( - docFormsGet200ResponseFieldsItemCheckboxRefObjectNumberFieldFieldObjectNumber = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemListboxRefObjectNumberFieldFieldObjectNumber = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber struct { +type DocFormsGet200ResponseFieldsItemListboxRefObjectNumber struct { FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -110196,21 +115988,21 @@ type DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber) GetFieldObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber) GetFieldObjectNumber() int { if d == nil { return 0 } return d.FieldObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -110219,18 +116011,18 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber) require(field // SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber) SetFieldObjectNumber(fieldObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber) SetFieldObjectNumber(fieldObjectNumber int) { d.FieldObjectNumber = fieldObjectNumber - d.require(docFormsGet200ResponseFieldsItemCheckboxRefObjectNumberFieldFieldObjectNumber) + d.require(docFormsGet200ResponseFieldsItemListboxRefObjectNumberFieldFieldObjectNumber) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber +func (d *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemListboxRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber(value) + *d = DocFormsGet200ResponseFieldsItemListboxRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -110240,8 +116032,8 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber) UnmarshalJSON( return nil } -func (d *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber +func (d *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemListboxRefObjectNumber var marshaler = struct { embed }{ @@ -110251,7 +116043,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber) String() string { +func (d *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber) String() string { if d == nil { return "" } @@ -110266,52 +116058,52 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber) String() strin return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemCheckboxValueEntry struct { +type DocFormsGet200ResponseFieldsItemListboxValueEntry struct { Kind string - None *DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone - Scalar *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar - Array *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray - Unsupported *DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported + None *DocFormsGet200ResponseFieldsItemListboxValueEntryNone + Scalar *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar + Array *DocFormsGet200ResponseFieldsItemListboxValueEntryArray + Unsupported *DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntry) GetKind() string { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntry) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemListboxValueEntryNone { if d == nil { return nil } return d.None } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar { if d == nil { return nil } return d.Scalar } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemListboxValueEntryArray { if d == nil { return nil } return d.Array } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported { if d == nil { return nil } return d.Unsupported } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntry) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntry) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -110324,25 +116116,25 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntry) UnmarshalJSON(data } switch unmarshaler.Kind { case "none": - value := new(DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone) + value := new(DocFormsGet200ResponseFieldsItemListboxValueEntryNone) if err := json.Unmarshal(data, &value); err != nil { return err } d.None = value case "scalar": - value := new(DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar) + value := new(DocFormsGet200ResponseFieldsItemListboxValueEntryScalar) if err := json.Unmarshal(data, &value); err != nil { return err } d.Scalar = value case "array": - value := new(DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray) + value := new(DocFormsGet200ResponseFieldsItemListboxValueEntryArray) if err := json.Unmarshal(data, &value); err != nil { return err } d.Array = value case "unsupported": - value := new(DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported) + value := new(DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -110352,7 +116144,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntry) UnmarshalJSON(data return nil } -func (d DocFormsGet200ResponseFieldsItemCheckboxValueEntry) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseFieldsItemListboxValueEntry) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -110374,14 +116166,14 @@ func (d DocFormsGet200ResponseFieldsItemCheckboxValueEntry) MarshalJSON() ([]byt return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsGet200ResponseFieldsItemCheckboxValueEntryVisitor interface { - VisitNone(*DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone) error - VisitScalar(*DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar) error - VisitArray(*DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray) error - VisitUnsupported(*DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported) error +type DocFormsGet200ResponseFieldsItemListboxValueEntryVisitor interface { + VisitNone(*DocFormsGet200ResponseFieldsItemListboxValueEntryNone) error + VisitScalar(*DocFormsGet200ResponseFieldsItemListboxValueEntryScalar) error + VisitArray(*DocFormsGet200ResponseFieldsItemListboxValueEntryArray) error + VisitUnsupported(*DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported) error } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemCheckboxValueEntryVisitor) error { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemListboxValueEntryVisitor) error { if d.None != nil { return visitor.VisitNone(d.None) } @@ -110397,7 +116189,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntry) Accept(visitor DocF return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntry) validate() error { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntry) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -110441,10 +116233,10 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntry) validate() error { } var ( - docFormsGet200ResponseFieldsItemCheckboxValueEntryArrayFieldValues = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemListboxValueEntryArrayFieldValues = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray struct { +type DocFormsGet200ResponseFieldsItemListboxValueEntryArray struct { Values []string `json:"values" url:"values"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -110454,21 +116246,21 @@ type DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray) GetValues() []string { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryArray) GetValues() []string { if d == nil { return nil } return d.Values } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryArray) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryArray) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -110477,18 +116269,18 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray) require(field // SetValues sets the Values field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray) SetValues(values []string) { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryArray) SetValues(values []string) { d.Values = values - d.require(docFormsGet200ResponseFieldsItemCheckboxValueEntryArrayFieldValues) + d.require(docFormsGet200ResponseFieldsItemListboxValueEntryArrayFieldValues) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryArray) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemListboxValueEntryArray var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray(value) + *d = DocFormsGet200ResponseFieldsItemListboxValueEntryArray(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -110498,8 +116290,8 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray) UnmarshalJSON( return nil } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryArray) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemListboxValueEntryArray var marshaler = struct { embed }{ @@ -110509,7 +116301,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray) String() string { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryArray) String() string { if d == nil { return "" } @@ -110524,7 +116316,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray) String() strin return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone struct { +type DocFormsGet200ResponseFieldsItemListboxValueEntryNone struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -110533,27 +116325,27 @@ type DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryNone) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryNone) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryNone) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemListboxValueEntryNone var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone(value) + *d = DocFormsGet200ResponseFieldsItemListboxValueEntryNone(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -110563,8 +116355,8 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone) UnmarshalJSON(d return nil } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryNone) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemListboxValueEntryNone var marshaler = struct { embed }{ @@ -110574,7 +116366,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone) MarshalJSON() ( return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone) String() string { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryNone) String() string { if d == nil { return "" } @@ -110590,10 +116382,10 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone) String() string } var ( - docFormsGet200ResponseFieldsItemCheckboxValueEntryScalarFieldValue = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemListboxValueEntryScalarFieldValue = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar struct { +type DocFormsGet200ResponseFieldsItemListboxValueEntryScalar struct { Value string `json:"value" url:"value"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -110603,21 +116395,21 @@ type DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar) GetValue() string { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar) GetValue() string { if d == nil { return "" } return d.Value } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -110626,18 +116418,18 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar) require(field // SetValue sets the Value field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar) SetValue(value string) { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar) SetValue(value string) { d.Value = value - d.require(docFormsGet200ResponseFieldsItemCheckboxValueEntryScalarFieldValue) + d.require(docFormsGet200ResponseFieldsItemListboxValueEntryScalarFieldValue) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemListboxValueEntryScalar var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar(value) + *d = DocFormsGet200ResponseFieldsItemListboxValueEntryScalar(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -110647,8 +116439,8 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar) UnmarshalJSON return nil } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemListboxValueEntryScalar var marshaler = struct { embed }{ @@ -110658,7 +116450,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar) String() string { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar) String() string { if d == nil { return "" } @@ -110673,7 +116465,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar) String() stri return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported struct { +type DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -110682,27 +116474,27 @@ type DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported(value) + *d = DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -110712,8 +116504,8 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported) Unmarsha return nil } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported var marshaler = struct { embed }{ @@ -110723,7 +116515,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported) MarshalJ return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported) String() string { +func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported) String() string { if d == nil { return "" } @@ -110739,19 +116531,13 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported) String() } var ( - docFormsGet200ResponseFieldsItemCheckboxWidgetsItemFieldAnnotObjectNumber = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemCheckboxWidgetsItemFieldPageObjectNumber = big.NewInt(1 << 1) - docFormsGet200ResponseFieldsItemCheckboxWidgetsItemFieldOnState = big.NewInt(1 << 2) - docFormsGet200ResponseFieldsItemCheckboxWidgetsItemFieldExportValue = big.NewInt(1 << 3) - docFormsGet200ResponseFieldsItemCheckboxWidgetsItemFieldChecked = big.NewInt(1 << 4) + docFormsGet200ResponseFieldsItemListboxWidgetsItemFieldAnnotObjectNumber = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemListboxWidgetsItemFieldPageObjectNumber = big.NewInt(1 << 1) ) -type DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem struct { - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - OnState string `json:"onState" url:"onState"` - ExportValue string `json:"exportValue" url:"exportValue"` - Checked bool `json:"checked" url:"checked"` +type DocFormsGet200ResponseFieldsItemListboxWidgetsItem struct { + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -110760,49 +116546,28 @@ type DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) GetAnnotObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemListboxWidgetsItem) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) GetPageObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemListboxWidgetsItem) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) GetOnState() string { - if d == nil { - return "" - } - return d.OnState -} - -func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) GetExportValue() string { - if d == nil { - return "" - } - return d.ExportValue -} - -func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) GetChecked() bool { - if d == nil { - return false - } - return d.Checked -} - -func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemListboxWidgetsItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemListboxWidgetsItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -110811,46 +116576,25 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) require(field *big // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemListboxWidgetsItem) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docFormsGet200ResponseFieldsItemCheckboxWidgetsItemFieldAnnotObjectNumber) + d.require(docFormsGet200ResponseFieldsItemListboxWidgetsItemFieldAnnotObjectNumber) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemListboxWidgetsItem) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docFormsGet200ResponseFieldsItemCheckboxWidgetsItemFieldPageObjectNumber) -} - -// SetOnState sets the OnState field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) SetOnState(onState string) { - d.OnState = onState - d.require(docFormsGet200ResponseFieldsItemCheckboxWidgetsItemFieldOnState) -} - -// SetExportValue sets the ExportValue field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) SetExportValue(exportValue string) { - d.ExportValue = exportValue - d.require(docFormsGet200ResponseFieldsItemCheckboxWidgetsItemFieldExportValue) -} - -// SetChecked sets the Checked field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) SetChecked(checked bool) { - d.Checked = checked - d.require(docFormsGet200ResponseFieldsItemCheckboxWidgetsItemFieldChecked) + d.require(docFormsGet200ResponseFieldsItemListboxWidgetsItemFieldPageObjectNumber) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem +func (d *DocFormsGet200ResponseFieldsItemListboxWidgetsItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemListboxWidgetsItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem(value) + *d = DocFormsGet200ResponseFieldsItemListboxWidgetsItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -110860,8 +116604,8 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) UnmarshalJSON(data return nil } -func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem +func (d *DocFormsGet200ResponseFieldsItemListboxWidgetsItem) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemListboxWidgetsItem var marshaler = struct { embed }{ @@ -110871,7 +116615,7 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) MarshalJSON() ([]b return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) String() string { +func (d *DocFormsGet200ResponseFieldsItemListboxWidgetsItem) String() string { if d == nil { return "" } @@ -110887,39 +116631,31 @@ func (d *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem) String() string { } var ( - docFormsGet200ResponseFieldsItemComboboxFieldRef = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemComboboxFieldFieldObjectNumber = big.NewInt(1 << 1) - docFormsGet200ResponseFieldsItemComboboxFieldName = big.NewInt(1 << 2) - docFormsGet200ResponseFieldsItemComboboxFieldOrigin = big.NewInt(1 << 3) - docFormsGet200ResponseFieldsItemComboboxFieldFlags = big.NewInt(1 << 4) - docFormsGet200ResponseFieldsItemComboboxFieldAlternateName = big.NewInt(1 << 5) - docFormsGet200ResponseFieldsItemComboboxFieldMappingName = big.NewInt(1 << 6) - docFormsGet200ResponseFieldsItemComboboxFieldValueEntry = big.NewInt(1 << 7) - docFormsGet200ResponseFieldsItemComboboxFieldDefaultValueEntry = big.NewInt(1 << 8) - docFormsGet200ResponseFieldsItemComboboxFieldActions = big.NewInt(1 << 9) - docFormsGet200ResponseFieldsItemComboboxFieldWidgets = big.NewInt(1 << 10) - docFormsGet200ResponseFieldsItemComboboxFieldValue = big.NewInt(1 << 11) - docFormsGet200ResponseFieldsItemComboboxFieldDefaultValue = big.NewInt(1 << 12) - docFormsGet200ResponseFieldsItemComboboxFieldEdit = big.NewInt(1 << 13) - docFormsGet200ResponseFieldsItemComboboxFieldOptions = big.NewInt(1 << 14) + docFormsGet200ResponseFieldsItemPushbuttonFieldRef = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemPushbuttonFieldFieldObjectNumber = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemPushbuttonFieldName = big.NewInt(1 << 2) + docFormsGet200ResponseFieldsItemPushbuttonFieldOrigin = big.NewInt(1 << 3) + docFormsGet200ResponseFieldsItemPushbuttonFieldFlags = big.NewInt(1 << 4) + docFormsGet200ResponseFieldsItemPushbuttonFieldAlternateName = big.NewInt(1 << 5) + docFormsGet200ResponseFieldsItemPushbuttonFieldMappingName = big.NewInt(1 << 6) + docFormsGet200ResponseFieldsItemPushbuttonFieldValueEntry = big.NewInt(1 << 7) + docFormsGet200ResponseFieldsItemPushbuttonFieldDefaultValueEntry = big.NewInt(1 << 8) + docFormsGet200ResponseFieldsItemPushbuttonFieldActions = big.NewInt(1 << 9) + docFormsGet200ResponseFieldsItemPushbuttonFieldWidgets = big.NewInt(1 << 10) ) -type DocFormsGet200ResponseFieldsItemCombobox struct { - Ref *DocFormsGet200ResponseFieldsItemComboboxRef `json:"ref" url:"ref"` - FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` - Name string `json:"name" url:"name"` - Origin DocFormsGet200ResponseFieldsItemComboboxOrigin `json:"origin" url:"origin"` - Flags *DocFormsGet200ResponseFieldsItemComboboxFlags `json:"flags" url:"flags"` - AlternateName *string `json:"alternateName,omitempty" url:"alternateName,omitempty"` - MappingName *string `json:"mappingName,omitempty" url:"mappingName,omitempty"` - ValueEntry *DocFormsGet200ResponseFieldsItemComboboxValueEntry `json:"valueEntry" url:"valueEntry"` - DefaultValueEntry *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry `json:"defaultValueEntry" url:"defaultValueEntry"` - Actions *PdfFieldActions `json:"actions,omitempty" url:"actions,omitempty"` - Widgets []*DocFormsGet200ResponseFieldsItemComboboxWidgetsItem `json:"widgets" url:"widgets"` - Value string `json:"value" url:"value"` - DefaultValue string `json:"defaultValue" url:"defaultValue"` - Edit bool `json:"edit" url:"edit"` - Options []*DocFormsGet200ResponseFieldsItemComboboxOptionsItem `json:"options" url:"options"` +type DocFormsGet200ResponseFieldsItemPushbutton struct { + Ref *DocFormsGet200ResponseFieldsItemPushbuttonRef `json:"ref" url:"ref"` + FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` + Name string `json:"name" url:"name"` + Origin DocFormsGet200ResponseFieldsItemPushbuttonOrigin `json:"origin" url:"origin"` + Flags *DocFormsGet200ResponseFieldsItemPushbuttonFlags `json:"flags" url:"flags"` + AlternateName *string `json:"alternateName,omitempty" url:"alternateName,omitempty"` + MappingName *string `json:"mappingName,omitempty" url:"mappingName,omitempty"` + ValueEntry *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry `json:"valueEntry" url:"valueEntry"` + DefaultValueEntry *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry `json:"defaultValueEntry" url:"defaultValueEntry"` + Actions *PdfFieldActions `json:"actions,omitempty" url:"actions,omitempty"` + Widgets []*DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem `json:"widgets" url:"widgets"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -110928,119 +116664,91 @@ type DocFormsGet200ResponseFieldsItemCombobox struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemCombobox) GetRef() *DocFormsGet200ResponseFieldsItemComboboxRef { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetRef() *DocFormsGet200ResponseFieldsItemPushbuttonRef { if d == nil { return nil } return d.Ref } -func (d *DocFormsGet200ResponseFieldsItemCombobox) GetFieldObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetFieldObjectNumber() int { if d == nil { return 0 } return d.FieldObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemCombobox) GetName() string { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetName() string { if d == nil { return "" } return d.Name } -func (d *DocFormsGet200ResponseFieldsItemCombobox) GetOrigin() DocFormsGet200ResponseFieldsItemComboboxOrigin { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetOrigin() DocFormsGet200ResponseFieldsItemPushbuttonOrigin { if d == nil { return "" } return d.Origin } -func (d *DocFormsGet200ResponseFieldsItemCombobox) GetFlags() *DocFormsGet200ResponseFieldsItemComboboxFlags { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetFlags() *DocFormsGet200ResponseFieldsItemPushbuttonFlags { if d == nil { return nil } return d.Flags } -func (d *DocFormsGet200ResponseFieldsItemCombobox) GetAlternateName() *string { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetAlternateName() *string { if d == nil { return nil } return d.AlternateName } -func (d *DocFormsGet200ResponseFieldsItemCombobox) GetMappingName() *string { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetMappingName() *string { if d == nil { return nil } return d.MappingName } -func (d *DocFormsGet200ResponseFieldsItemCombobox) GetValueEntry() *DocFormsGet200ResponseFieldsItemComboboxValueEntry { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetValueEntry() *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry { if d == nil { return nil } return d.ValueEntry } -func (d *DocFormsGet200ResponseFieldsItemCombobox) GetDefaultValueEntry() *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetDefaultValueEntry() *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry { if d == nil { return nil } return d.DefaultValueEntry } -func (d *DocFormsGet200ResponseFieldsItemCombobox) GetActions() *PdfFieldActions { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetActions() *PdfFieldActions { if d == nil { return nil } return d.Actions } -func (d *DocFormsGet200ResponseFieldsItemCombobox) GetWidgets() []*DocFormsGet200ResponseFieldsItemComboboxWidgetsItem { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetWidgets() []*DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem { if d == nil { return nil } return d.Widgets } -func (d *DocFormsGet200ResponseFieldsItemCombobox) GetValue() string { - if d == nil { - return "" - } - return d.Value -} - -func (d *DocFormsGet200ResponseFieldsItemCombobox) GetDefaultValue() string { - if d == nil { - return "" - } - return d.DefaultValue -} - -func (d *DocFormsGet200ResponseFieldsItemCombobox) GetEdit() bool { - if d == nil { - return false - } - return d.Edit -} - -func (d *DocFormsGet200ResponseFieldsItemCombobox) GetOptions() []*DocFormsGet200ResponseFieldsItemComboboxOptionsItem { - if d == nil { - return nil - } - return d.Options -} - -func (d *DocFormsGet200ResponseFieldsItemCombobox) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemCombobox) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -111049,116 +116757,88 @@ func (d *DocFormsGet200ResponseFieldsItemCombobox) require(field *big.Int) { // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCombobox) SetRef(ref *DocFormsGet200ResponseFieldsItemComboboxRef) { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) SetRef(ref *DocFormsGet200ResponseFieldsItemPushbuttonRef) { d.Ref = ref - d.require(docFormsGet200ResponseFieldsItemComboboxFieldRef) + d.require(docFormsGet200ResponseFieldsItemPushbuttonFieldRef) } // SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCombobox) SetFieldObjectNumber(fieldObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) SetFieldObjectNumber(fieldObjectNumber int) { d.FieldObjectNumber = fieldObjectNumber - d.require(docFormsGet200ResponseFieldsItemComboboxFieldFieldObjectNumber) + d.require(docFormsGet200ResponseFieldsItemPushbuttonFieldFieldObjectNumber) } // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCombobox) SetName(name string) { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) SetName(name string) { d.Name = name - d.require(docFormsGet200ResponseFieldsItemComboboxFieldName) + d.require(docFormsGet200ResponseFieldsItemPushbuttonFieldName) } // SetOrigin sets the Origin field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCombobox) SetOrigin(origin DocFormsGet200ResponseFieldsItemComboboxOrigin) { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) SetOrigin(origin DocFormsGet200ResponseFieldsItemPushbuttonOrigin) { d.Origin = origin - d.require(docFormsGet200ResponseFieldsItemComboboxFieldOrigin) + d.require(docFormsGet200ResponseFieldsItemPushbuttonFieldOrigin) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCombobox) SetFlags(flags *DocFormsGet200ResponseFieldsItemComboboxFlags) { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) SetFlags(flags *DocFormsGet200ResponseFieldsItemPushbuttonFlags) { d.Flags = flags - d.require(docFormsGet200ResponseFieldsItemComboboxFieldFlags) + d.require(docFormsGet200ResponseFieldsItemPushbuttonFieldFlags) } // SetAlternateName sets the AlternateName field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCombobox) SetAlternateName(alternateName *string) { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) SetAlternateName(alternateName *string) { d.AlternateName = alternateName - d.require(docFormsGet200ResponseFieldsItemComboboxFieldAlternateName) + d.require(docFormsGet200ResponseFieldsItemPushbuttonFieldAlternateName) } // SetMappingName sets the MappingName field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCombobox) SetMappingName(mappingName *string) { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) SetMappingName(mappingName *string) { d.MappingName = mappingName - d.require(docFormsGet200ResponseFieldsItemComboboxFieldMappingName) + d.require(docFormsGet200ResponseFieldsItemPushbuttonFieldMappingName) } // SetValueEntry sets the ValueEntry field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCombobox) SetValueEntry(valueEntry *DocFormsGet200ResponseFieldsItemComboboxValueEntry) { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) SetValueEntry(valueEntry *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) { d.ValueEntry = valueEntry - d.require(docFormsGet200ResponseFieldsItemComboboxFieldValueEntry) + d.require(docFormsGet200ResponseFieldsItemPushbuttonFieldValueEntry) } // SetDefaultValueEntry sets the DefaultValueEntry field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCombobox) SetDefaultValueEntry(defaultValueEntry *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) SetDefaultValueEntry(defaultValueEntry *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) { d.DefaultValueEntry = defaultValueEntry - d.require(docFormsGet200ResponseFieldsItemComboboxFieldDefaultValueEntry) + d.require(docFormsGet200ResponseFieldsItemPushbuttonFieldDefaultValueEntry) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCombobox) SetActions(actions *PdfFieldActions) { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) SetActions(actions *PdfFieldActions) { d.Actions = actions - d.require(docFormsGet200ResponseFieldsItemComboboxFieldActions) + d.require(docFormsGet200ResponseFieldsItemPushbuttonFieldActions) } // SetWidgets sets the Widgets field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCombobox) SetWidgets(widgets []*DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) SetWidgets(widgets []*DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) { d.Widgets = widgets - d.require(docFormsGet200ResponseFieldsItemComboboxFieldWidgets) -} - -// SetValue sets the Value field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCombobox) SetValue(value string) { - d.Value = value - d.require(docFormsGet200ResponseFieldsItemComboboxFieldValue) -} - -// SetDefaultValue sets the DefaultValue field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCombobox) SetDefaultValue(defaultValue string) { - d.DefaultValue = defaultValue - d.require(docFormsGet200ResponseFieldsItemComboboxFieldDefaultValue) -} - -// SetEdit sets the Edit field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCombobox) SetEdit(edit bool) { - d.Edit = edit - d.require(docFormsGet200ResponseFieldsItemComboboxFieldEdit) -} - -// SetOptions sets the Options field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemCombobox) SetOptions(options []*DocFormsGet200ResponseFieldsItemComboboxOptionsItem) { - d.Options = options - d.require(docFormsGet200ResponseFieldsItemComboboxFieldOptions) + d.require(docFormsGet200ResponseFieldsItemPushbuttonFieldWidgets) } -func (d *DocFormsGet200ResponseFieldsItemCombobox) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemCombobox +func (d *DocFormsGet200ResponseFieldsItemPushbutton) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemPushbutton var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemCombobox(value) + *d = DocFormsGet200ResponseFieldsItemPushbutton(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -111168,8 +116848,8 @@ func (d *DocFormsGet200ResponseFieldsItemCombobox) UnmarshalJSON(data []byte) er return nil } -func (d *DocFormsGet200ResponseFieldsItemCombobox) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemCombobox +func (d *DocFormsGet200ResponseFieldsItemPushbutton) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemPushbutton var marshaler = struct { embed }{ @@ -111179,7 +116859,7 @@ func (d *DocFormsGet200ResponseFieldsItemCombobox) MarshalJSON() ([]byte, error) return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemCombobox) String() string { +func (d *DocFormsGet200ResponseFieldsItemPushbutton) String() string { if d == nil { return "" } @@ -111194,52 +116874,52 @@ func (d *DocFormsGet200ResponseFieldsItemCombobox) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry struct { +type DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry struct { Kind string - None *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone - Scalar *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar - Array *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray - Unsupported *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported + None *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone + Scalar *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar + Array *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray + Unsupported *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) GetKind() string { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone { if d == nil { return nil } return d.None } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar { if d == nil { return nil } return d.Scalar } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray { if d == nil { return nil } return d.Array } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported { if d == nil { return nil } return d.Unsupported } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -111252,25 +116932,25 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) UnmarshalJSO } switch unmarshaler.Kind { case "none": - value := new(DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone) + value := new(DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone) if err := json.Unmarshal(data, &value); err != nil { return err } d.None = value case "scalar": - value := new(DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar) + value := new(DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar) if err := json.Unmarshal(data, &value); err != nil { return err } d.Scalar = value case "array": - value := new(DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray) + value := new(DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray) if err := json.Unmarshal(data, &value); err != nil { return err } d.Array = value case "unsupported": - value := new(DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported) + value := new(DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -111280,7 +116960,7 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) UnmarshalJSO return nil } -func (d DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -111302,14 +116982,14 @@ func (d DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) MarshalJSON() return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryVisitor interface { - VisitNone(*DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone) error - VisitScalar(*DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar) error - VisitArray(*DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray) error - VisitUnsupported(*DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported) error +type DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryVisitor interface { + VisitNone(*DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone) error + VisitScalar(*DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar) error + VisitArray(*DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray) error + VisitUnsupported(*DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported) error } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryVisitor) error { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryVisitor) error { if d.None != nil { return visitor.VisitNone(d.None) } @@ -111325,7 +117005,7 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) Accept(visit return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) validate() error { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -111369,10 +117049,10 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry) validate() e } var ( - docFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArrayFieldValues = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArrayFieldValues = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray struct { +type DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray struct { Values []string `json:"values" url:"values"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -111382,21 +117062,21 @@ type DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray) GetValues() []string { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray) GetValues() []string { if d == nil { return nil } return d.Values } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -111405,18 +117085,18 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray) require // SetValues sets the Values field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray) SetValues(values []string) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray) SetValues(values []string) { d.Values = values - d.require(docFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArrayFieldValues) + d.require(docFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArrayFieldValues) } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray(value) + *d = DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -111426,8 +117106,8 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray) Unmarsh return nil } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray var marshaler = struct { embed }{ @@ -111437,7 +117117,7 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray) Marshal return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray) String() string { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray) String() string { if d == nil { return "" } @@ -111452,7 +117132,7 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray) String( return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone struct { +type DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -111461,27 +117141,27 @@ type DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone(value) + *d = DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -111491,8 +117171,8 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone) Unmarsha return nil } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone var marshaler = struct { embed }{ @@ -111502,7 +117182,7 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone) MarshalJ return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone) String() string { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone) String() string { if d == nil { return "" } @@ -111518,10 +117198,10 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone) String() } var ( - docFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalarFieldValue = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalarFieldValue = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar struct { +type DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar struct { Value string `json:"value" url:"value"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -111531,21 +117211,21 @@ type DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar) GetValue() string { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar) GetValue() string { if d == nil { return "" } return d.Value } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -111554,18 +117234,18 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar) requir // SetValue sets the Value field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar) SetValue(value string) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar) SetValue(value string) { d.Value = value - d.require(docFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalarFieldValue) + d.require(docFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalarFieldValue) } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar(value) + *d = DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -111575,8 +117255,8 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar) Unmars return nil } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar var marshaler = struct { embed }{ @@ -111586,7 +117266,7 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar) String() string { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar) String() string { if d == nil { return "" } @@ -111601,7 +117281,7 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar) String return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported struct { +type DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -111610,27 +117290,27 @@ type DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported struct rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported(value) + *d = DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -111640,8 +117320,8 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported) U return nil } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported var marshaler = struct { embed }{ @@ -111651,7 +117331,7 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported) M return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported) String() string { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported) String() string { if d == nil { return "" } @@ -111667,13 +117347,13 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported) S } var ( - docFormsGet200ResponseFieldsItemComboboxFlagsFieldReadOnly = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemComboboxFlagsFieldRequired = big.NewInt(1 << 1) - docFormsGet200ResponseFieldsItemComboboxFlagsFieldNoExport = big.NewInt(1 << 2) - docFormsGet200ResponseFieldsItemComboboxFlagsFieldRaw = big.NewInt(1 << 3) + docFormsGet200ResponseFieldsItemPushbuttonFlagsFieldReadOnly = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemPushbuttonFlagsFieldRequired = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemPushbuttonFlagsFieldNoExport = big.NewInt(1 << 2) + docFormsGet200ResponseFieldsItemPushbuttonFlagsFieldRaw = big.NewInt(1 << 3) ) -type DocFormsGet200ResponseFieldsItemComboboxFlags struct { +type DocFormsGet200ResponseFieldsItemPushbuttonFlags struct { ReadOnly bool `json:"readOnly" url:"readOnly"` Required bool `json:"required" url:"required"` NoExport bool `json:"noExport" url:"noExport"` @@ -111686,42 +117366,42 @@ type DocFormsGet200ResponseFieldsItemComboboxFlags struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) GetReadOnly() bool { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) GetRequired() bool { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) GetRequired() bool { if d == nil { return false } return d.Required } -func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) GetNoExport() bool { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) GetNoExport() bool { if d == nil { return false } return d.NoExport } -func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) GetRaw() int { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) GetRaw() int { if d == nil { return 0 } return d.Raw } -func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -111730,155 +117410,39 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) require(field *big.Int) // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) SetReadOnly(readOnly bool) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docFormsGet200ResponseFieldsItemComboboxFlagsFieldReadOnly) + d.require(docFormsGet200ResponseFieldsItemPushbuttonFlagsFieldReadOnly) } // SetRequired sets the Required field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) SetRequired(required bool) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) SetRequired(required bool) { d.Required = required - d.require(docFormsGet200ResponseFieldsItemComboboxFlagsFieldRequired) + d.require(docFormsGet200ResponseFieldsItemPushbuttonFlagsFieldRequired) } // SetNoExport sets the NoExport field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) SetNoExport(noExport bool) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) SetNoExport(noExport bool) { d.NoExport = noExport - d.require(docFormsGet200ResponseFieldsItemComboboxFlagsFieldNoExport) + d.require(docFormsGet200ResponseFieldsItemPushbuttonFlagsFieldNoExport) } // SetRaw sets the Raw field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) SetRaw(raw int) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) SetRaw(raw int) { d.Raw = raw - d.require(docFormsGet200ResponseFieldsItemComboboxFlagsFieldRaw) -} - -func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemComboboxFlags - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocFormsGet200ResponseFieldsItemComboboxFlags(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemComboboxFlags - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocFormsGet200ResponseFieldsItemComboboxFlags) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docFormsGet200ResponseFieldsItemComboboxOptionsItemFieldLabel = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemComboboxOptionsItemFieldValue = big.NewInt(1 << 1) - docFormsGet200ResponseFieldsItemComboboxOptionsItemFieldSelected = big.NewInt(1 << 2) -) - -type DocFormsGet200ResponseFieldsItemComboboxOptionsItem struct { - Label string `json:"label" url:"label"` - Value string `json:"value" url:"value"` - Selected bool `json:"selected" url:"selected"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) GetLabel() string { - if d == nil { - return "" - } - return d.Label -} - -func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) GetValue() string { - if d == nil { - return "" - } - return d.Value -} - -func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) GetSelected() bool { - if d == nil { - return false - } - return d.Selected -} - -func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetLabel sets the Label field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) SetLabel(label string) { - d.Label = label - d.require(docFormsGet200ResponseFieldsItemComboboxOptionsItemFieldLabel) -} - -// SetValue sets the Value field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) SetValue(value string) { - d.Value = value - d.require(docFormsGet200ResponseFieldsItemComboboxOptionsItemFieldValue) -} - -// SetSelected sets the Selected field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) SetSelected(selected bool) { - d.Selected = selected - d.require(docFormsGet200ResponseFieldsItemComboboxOptionsItemFieldSelected) + d.require(docFormsGet200ResponseFieldsItemPushbuttonFlagsFieldRaw) } -func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemComboboxOptionsItem +func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemComboboxOptionsItem(value) + *d = DocFormsGet200ResponseFieldsItemPushbuttonFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -111888,8 +117452,8 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) UnmarshalJSON(data return nil } -func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemComboboxOptionsItem +func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemPushbuttonFlags var marshaler = struct { embed }{ @@ -111899,7 +117463,7 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) MarshalJSON() ([]b return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) String() string { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) String() string { if d == nil { return "" } @@ -111914,58 +117478,58 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxOptionsItem) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemComboboxOrigin string +type DocFormsGet200ResponseFieldsItemPushbuttonOrigin string const ( - DocFormsGet200ResponseFieldsItemComboboxOriginAcroform DocFormsGet200ResponseFieldsItemComboboxOrigin = "acroform" - DocFormsGet200ResponseFieldsItemComboboxOriginRecovered DocFormsGet200ResponseFieldsItemComboboxOrigin = "recovered" + DocFormsGet200ResponseFieldsItemPushbuttonOriginAcroform DocFormsGet200ResponseFieldsItemPushbuttonOrigin = "acroform" + DocFormsGet200ResponseFieldsItemPushbuttonOriginRecovered DocFormsGet200ResponseFieldsItemPushbuttonOrigin = "recovered" ) -func NewDocFormsGet200ResponseFieldsItemComboboxOriginFromString(s string) (DocFormsGet200ResponseFieldsItemComboboxOrigin, error) { +func NewDocFormsGet200ResponseFieldsItemPushbuttonOriginFromString(s string) (DocFormsGet200ResponseFieldsItemPushbuttonOrigin, error) { switch s { case "acroform": - return DocFormsGet200ResponseFieldsItemComboboxOriginAcroform, nil + return DocFormsGet200ResponseFieldsItemPushbuttonOriginAcroform, nil case "recovered": - return DocFormsGet200ResponseFieldsItemComboboxOriginRecovered, nil + return DocFormsGet200ResponseFieldsItemPushbuttonOriginRecovered, nil } - var t DocFormsGet200ResponseFieldsItemComboboxOrigin + var t DocFormsGet200ResponseFieldsItemPushbuttonOrigin return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocFormsGet200ResponseFieldsItemComboboxOrigin) Ptr() *DocFormsGet200ResponseFieldsItemComboboxOrigin { +func (d DocFormsGet200ResponseFieldsItemPushbuttonOrigin) Ptr() *DocFormsGet200ResponseFieldsItemPushbuttonOrigin { return &d } -type DocFormsGet200ResponseFieldsItemComboboxRef struct { +type DocFormsGet200ResponseFieldsItemPushbuttonRef struct { Kind string - ObjectNumber *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber - Fqn *DocFormsGet200ResponseFieldsItemComboboxRefFqn + ObjectNumber *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber + Fqn *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemComboboxRef) GetKind() string { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsGet200ResponseFieldsItemComboboxRef) GetObjectNumber() *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonRef) GetObjectNumber() *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemComboboxRef) GetFqn() *DocFormsGet200ResponseFieldsItemComboboxRefFqn { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonRef) GetFqn() *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn { if d == nil { return nil } return d.Fqn } -func (d *DocFormsGet200ResponseFieldsItemComboboxRef) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -111978,13 +117542,13 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxRef) UnmarshalJSON(data []byte) } switch unmarshaler.Kind { case "objectNumber": - value := new(DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber) + value := new(DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "fqn": - value := new(DocFormsGet200ResponseFieldsItemComboboxRefFqn) + value := new(DocFormsGet200ResponseFieldsItemPushbuttonRefFqn) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -111994,7 +117558,7 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxRef) UnmarshalJSON(data []byte) return nil } -func (d DocFormsGet200ResponseFieldsItemComboboxRef) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseFieldsItemPushbuttonRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -112010,12 +117574,12 @@ func (d DocFormsGet200ResponseFieldsItemComboboxRef) MarshalJSON() ([]byte, erro return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsGet200ResponseFieldsItemComboboxRefVisitor interface { - VisitObjectNumber(*DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber) error - VisitFqn(*DocFormsGet200ResponseFieldsItemComboboxRefFqn) error +type DocFormsGet200ResponseFieldsItemPushbuttonRefVisitor interface { + VisitObjectNumber(*DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber) error + VisitFqn(*DocFormsGet200ResponseFieldsItemPushbuttonRefFqn) error } -func (d *DocFormsGet200ResponseFieldsItemComboboxRef) Accept(visitor DocFormsGet200ResponseFieldsItemComboboxRefVisitor) error { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonRef) Accept(visitor DocFormsGet200ResponseFieldsItemPushbuttonRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -112025,7 +117589,7 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxRef) Accept(visitor DocFormsGet return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseFieldsItemComboboxRef) validate() error { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -112063,10 +117627,10 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxRef) validate() error { } var ( - docFormsGet200ResponseFieldsItemComboboxRefFqnFieldName = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemPushbuttonRefFqnFieldName = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemComboboxRefFqn struct { +type DocFormsGet200ResponseFieldsItemPushbuttonRefFqn struct { Name string `json:"name" url:"name"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -112076,21 +117640,21 @@ type DocFormsGet200ResponseFieldsItemComboboxRefFqn struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemComboboxRefFqn) GetName() string { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn) GetName() string { if d == nil { return "" } return d.Name } -func (d *DocFormsGet200ResponseFieldsItemComboboxRefFqn) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemComboboxRefFqn) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -112099,18 +117663,18 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxRefFqn) require(field *big.Int) // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemComboboxRefFqn) SetName(name string) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn) SetName(name string) { d.Name = name - d.require(docFormsGet200ResponseFieldsItemComboboxRefFqnFieldName) + d.require(docFormsGet200ResponseFieldsItemPushbuttonRefFqnFieldName) } -func (d *DocFormsGet200ResponseFieldsItemComboboxRefFqn) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemComboboxRefFqn +func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonRefFqn var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemComboboxRefFqn(value) + *d = DocFormsGet200ResponseFieldsItemPushbuttonRefFqn(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -112120,8 +117684,8 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxRefFqn) UnmarshalJSON(data []by return nil } -func (d *DocFormsGet200ResponseFieldsItemComboboxRefFqn) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemComboboxRefFqn +func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemPushbuttonRefFqn var marshaler = struct { embed }{ @@ -112131,7 +117695,7 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxRefFqn) MarshalJSON() ([]byte, return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemComboboxRefFqn) String() string { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn) String() string { if d == nil { return "" } @@ -112147,10 +117711,10 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxRefFqn) String() string { } var ( - docFormsGet200ResponseFieldsItemComboboxRefObjectNumberFieldFieldObjectNumber = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemPushbuttonRefObjectNumberFieldFieldObjectNumber = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber struct { +type DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber struct { FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -112160,21 +117724,21 @@ type DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber) GetFieldObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber) GetFieldObjectNumber() int { if d == nil { return 0 } return d.FieldObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -112183,18 +117747,18 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber) require(field // SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber) SetFieldObjectNumber(fieldObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber) SetFieldObjectNumber(fieldObjectNumber int) { d.FieldObjectNumber = fieldObjectNumber - d.require(docFormsGet200ResponseFieldsItemComboboxRefObjectNumberFieldFieldObjectNumber) + d.require(docFormsGet200ResponseFieldsItemPushbuttonRefObjectNumberFieldFieldObjectNumber) } -func (d *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber +func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber(value) + *d = DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -112204,8 +117768,8 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber) UnmarshalJSON( return nil } -func (d *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber +func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber var marshaler = struct { embed }{ @@ -112215,7 +117779,7 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber) String() string { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber) String() string { if d == nil { return "" } @@ -112230,52 +117794,52 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber) String() strin return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemComboboxValueEntry struct { +type DocFormsGet200ResponseFieldsItemPushbuttonValueEntry struct { Kind string - None *DocFormsGet200ResponseFieldsItemComboboxValueEntryNone - Scalar *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar - Array *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray - Unsupported *DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported + None *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone + Scalar *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar + Array *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray + Unsupported *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntry) GetKind() string { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemComboboxValueEntryNone { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone { if d == nil { return nil } return d.None } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar { if d == nil { return nil } return d.Scalar } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray { if d == nil { return nil } return d.Array } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported { if d == nil { return nil } return d.Unsupported } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntry) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -112288,25 +117852,25 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntry) UnmarshalJSON(data } switch unmarshaler.Kind { case "none": - value := new(DocFormsGet200ResponseFieldsItemComboboxValueEntryNone) + value := new(DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone) if err := json.Unmarshal(data, &value); err != nil { return err } d.None = value case "scalar": - value := new(DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar) + value := new(DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar) if err := json.Unmarshal(data, &value); err != nil { return err } d.Scalar = value case "array": - value := new(DocFormsGet200ResponseFieldsItemComboboxValueEntryArray) + value := new(DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray) if err := json.Unmarshal(data, &value); err != nil { return err } d.Array = value case "unsupported": - value := new(DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported) + value := new(DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -112316,7 +117880,7 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntry) UnmarshalJSON(data return nil } -func (d DocFormsGet200ResponseFieldsItemComboboxValueEntry) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -112338,14 +117902,14 @@ func (d DocFormsGet200ResponseFieldsItemComboboxValueEntry) MarshalJSON() ([]byt return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsGet200ResponseFieldsItemComboboxValueEntryVisitor interface { - VisitNone(*DocFormsGet200ResponseFieldsItemComboboxValueEntryNone) error - VisitScalar(*DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar) error - VisitArray(*DocFormsGet200ResponseFieldsItemComboboxValueEntryArray) error - VisitUnsupported(*DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported) error +type DocFormsGet200ResponseFieldsItemPushbuttonValueEntryVisitor interface { + VisitNone(*DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone) error + VisitScalar(*DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar) error + VisitArray(*DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray) error + VisitUnsupported(*DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported) error } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemComboboxValueEntryVisitor) error { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemPushbuttonValueEntryVisitor) error { if d.None != nil { return visitor.VisitNone(d.None) } @@ -112361,7 +117925,7 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntry) Accept(visitor DocF return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntry) validate() error { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -112405,10 +117969,10 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntry) validate() error { } var ( - docFormsGet200ResponseFieldsItemComboboxValueEntryArrayFieldValues = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemPushbuttonValueEntryArrayFieldValues = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemComboboxValueEntryArray struct { +type DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray struct { Values []string `json:"values" url:"values"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -112418,21 +117982,21 @@ type DocFormsGet200ResponseFieldsItemComboboxValueEntryArray struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray) GetValues() []string { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray) GetValues() []string { if d == nil { return nil } return d.Values } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -112441,18 +118005,18 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray) require(field // SetValues sets the Values field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray) SetValues(values []string) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray) SetValues(values []string) { d.Values = values - d.require(docFormsGet200ResponseFieldsItemComboboxValueEntryArrayFieldValues) + d.require(docFormsGet200ResponseFieldsItemPushbuttonValueEntryArrayFieldValues) } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemComboboxValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemComboboxValueEntryArray(value) + *d = DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -112462,8 +118026,8 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray) UnmarshalJSON( return nil } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemComboboxValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray var marshaler = struct { embed }{ @@ -112473,7 +118037,7 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray) String() string { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray) String() string { if d == nil { return "" } @@ -112488,7 +118052,7 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray) String() strin return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemComboboxValueEntryNone struct { +type DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -112497,27 +118061,27 @@ type DocFormsGet200ResponseFieldsItemComboboxValueEntryNone struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryNone) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryNone) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryNone) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemComboboxValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemComboboxValueEntryNone(value) + *d = DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -112527,8 +118091,8 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryNone) UnmarshalJSON(d return nil } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryNone) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemComboboxValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone var marshaler = struct { embed }{ @@ -112538,7 +118102,7 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryNone) MarshalJSON() ( return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryNone) String() string { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone) String() string { if d == nil { return "" } @@ -112554,10 +118118,10 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryNone) String() string } var ( - docFormsGet200ResponseFieldsItemComboboxValueEntryScalarFieldValue = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemPushbuttonValueEntryScalarFieldValue = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar struct { +type DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar struct { Value string `json:"value" url:"value"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -112567,21 +118131,21 @@ type DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar) GetValue() string { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar) GetValue() string { if d == nil { return "" } return d.Value } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -112590,18 +118154,18 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar) require(field // SetValue sets the Value field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar) SetValue(value string) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar) SetValue(value string) { d.Value = value - d.require(docFormsGet200ResponseFieldsItemComboboxValueEntryScalarFieldValue) + d.require(docFormsGet200ResponseFieldsItemPushbuttonValueEntryScalarFieldValue) } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar(value) + *d = DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -112611,8 +118175,8 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar) UnmarshalJSON return nil } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar var marshaler = struct { embed }{ @@ -112622,7 +118186,7 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar) String() string { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar) String() string { if d == nil { return "" } @@ -112637,7 +118201,7 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar) String() stri return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported struct { +type DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -112646,27 +118210,27 @@ type DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported(value) + *d = DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -112676,8 +118240,8 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported) Unmarsha return nil } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported var marshaler = struct { embed }{ @@ -112687,7 +118251,7 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported) MarshalJ return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported) String() string { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported) String() string { if d == nil { return "" } @@ -112703,11 +118267,11 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported) String() } var ( - docFormsGet200ResponseFieldsItemComboboxWidgetsItemFieldAnnotObjectNumber = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemComboboxWidgetsItemFieldPageObjectNumber = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemPushbuttonWidgetsItemFieldAnnotObjectNumber = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemPushbuttonWidgetsItemFieldPageObjectNumber = big.NewInt(1 << 1) ) -type DocFormsGet200ResponseFieldsItemComboboxWidgetsItem struct { +type DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem struct { AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` @@ -112718,28 +118282,28 @@ type DocFormsGet200ResponseFieldsItemComboboxWidgetsItem struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) GetAnnotObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) GetPageObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -112748,25 +118312,25 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) require(field *big // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docFormsGet200ResponseFieldsItemComboboxWidgetsItemFieldAnnotObjectNumber) + d.require(docFormsGet200ResponseFieldsItemPushbuttonWidgetsItemFieldAnnotObjectNumber) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docFormsGet200ResponseFieldsItemComboboxWidgetsItemFieldPageObjectNumber) + d.require(docFormsGet200ResponseFieldsItemPushbuttonWidgetsItemFieldPageObjectNumber) } -func (d *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemComboboxWidgetsItem +func (d *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemComboboxWidgetsItem(value) + *d = DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -112776,8 +118340,8 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) UnmarshalJSON(data return nil } -func (d *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemComboboxWidgetsItem +func (d *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem var marshaler = struct { embed }{ @@ -112787,7 +118351,7 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) MarshalJSON() ([]b return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) String() string { +func (d *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) String() string { if d == nil { return "" } @@ -112803,37 +118367,37 @@ func (d *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem) String() string { } var ( - docFormsGet200ResponseFieldsItemListboxFieldRef = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemListboxFieldFieldObjectNumber = big.NewInt(1 << 1) - docFormsGet200ResponseFieldsItemListboxFieldName = big.NewInt(1 << 2) - docFormsGet200ResponseFieldsItemListboxFieldOrigin = big.NewInt(1 << 3) - docFormsGet200ResponseFieldsItemListboxFieldFlags = big.NewInt(1 << 4) - docFormsGet200ResponseFieldsItemListboxFieldAlternateName = big.NewInt(1 << 5) - docFormsGet200ResponseFieldsItemListboxFieldMappingName = big.NewInt(1 << 6) - docFormsGet200ResponseFieldsItemListboxFieldValueEntry = big.NewInt(1 << 7) - docFormsGet200ResponseFieldsItemListboxFieldDefaultValueEntry = big.NewInt(1 << 8) - docFormsGet200ResponseFieldsItemListboxFieldActions = big.NewInt(1 << 9) - docFormsGet200ResponseFieldsItemListboxFieldWidgets = big.NewInt(1 << 10) - docFormsGet200ResponseFieldsItemListboxFieldSelectedValues = big.NewInt(1 << 11) - docFormsGet200ResponseFieldsItemListboxFieldMultiSelect = big.NewInt(1 << 12) - docFormsGet200ResponseFieldsItemListboxFieldOptions = big.NewInt(1 << 13) + docFormsGet200ResponseFieldsItemRadioFieldRef = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemRadioFieldFieldObjectNumber = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemRadioFieldName = big.NewInt(1 << 2) + docFormsGet200ResponseFieldsItemRadioFieldOrigin = big.NewInt(1 << 3) + docFormsGet200ResponseFieldsItemRadioFieldFlags = big.NewInt(1 << 4) + docFormsGet200ResponseFieldsItemRadioFieldAlternateName = big.NewInt(1 << 5) + docFormsGet200ResponseFieldsItemRadioFieldMappingName = big.NewInt(1 << 6) + docFormsGet200ResponseFieldsItemRadioFieldValueEntry = big.NewInt(1 << 7) + docFormsGet200ResponseFieldsItemRadioFieldDefaultValueEntry = big.NewInt(1 << 8) + docFormsGet200ResponseFieldsItemRadioFieldActions = big.NewInt(1 << 9) + docFormsGet200ResponseFieldsItemRadioFieldWidgets = big.NewInt(1 << 10) + docFormsGet200ResponseFieldsItemRadioFieldValue = big.NewInt(1 << 11) + docFormsGet200ResponseFieldsItemRadioFieldRadiosInUnison = big.NewInt(1 << 12) + docFormsGet200ResponseFieldsItemRadioFieldNoToggleToOff = big.NewInt(1 << 13) ) -type DocFormsGet200ResponseFieldsItemListbox struct { - Ref *DocFormsGet200ResponseFieldsItemListboxRef `json:"ref" url:"ref"` - FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` - Name string `json:"name" url:"name"` - Origin DocFormsGet200ResponseFieldsItemListboxOrigin `json:"origin" url:"origin"` - Flags *DocFormsGet200ResponseFieldsItemListboxFlags `json:"flags" url:"flags"` - AlternateName *string `json:"alternateName,omitempty" url:"alternateName,omitempty"` - MappingName *string `json:"mappingName,omitempty" url:"mappingName,omitempty"` - ValueEntry *DocFormsGet200ResponseFieldsItemListboxValueEntry `json:"valueEntry" url:"valueEntry"` - DefaultValueEntry *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry `json:"defaultValueEntry" url:"defaultValueEntry"` - Actions *PdfFieldActions `json:"actions,omitempty" url:"actions,omitempty"` - Widgets []*DocFormsGet200ResponseFieldsItemListboxWidgetsItem `json:"widgets" url:"widgets"` - SelectedValues []string `json:"selectedValues" url:"selectedValues"` - MultiSelect bool `json:"multiSelect" url:"multiSelect"` - Options []*DocFormsGet200ResponseFieldsItemListboxOptionsItem `json:"options" url:"options"` +type DocFormsGet200ResponseFieldsItemRadio struct { + Ref *DocFormsGet200ResponseFieldsItemRadioRef `json:"ref" url:"ref"` + FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` + Name string `json:"name" url:"name"` + Origin DocFormsGet200ResponseFieldsItemRadioOrigin `json:"origin" url:"origin"` + Flags *DocFormsGet200ResponseFieldsItemRadioFlags `json:"flags" url:"flags"` + AlternateName *string `json:"alternateName,omitempty" url:"alternateName,omitempty"` + MappingName *string `json:"mappingName,omitempty" url:"mappingName,omitempty"` + ValueEntry *DocFormsGet200ResponseFieldsItemRadioValueEntry `json:"valueEntry" url:"valueEntry"` + DefaultValueEntry *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry `json:"defaultValueEntry" url:"defaultValueEntry"` + Actions *PdfFieldActions `json:"actions,omitempty" url:"actions,omitempty"` + Widgets []*DocFormsGet200ResponseFieldsItemRadioWidgetsItem `json:"widgets" url:"widgets"` + Value string `json:"value" url:"value"` + RadiosInUnison bool `json:"radiosInUnison" url:"radiosInUnison"` + NoToggleToOff bool `json:"noToggleToOff" url:"noToggleToOff"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -112842,112 +118406,112 @@ type DocFormsGet200ResponseFieldsItemListbox struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemListbox) GetRef() *DocFormsGet200ResponseFieldsItemListboxRef { +func (d *DocFormsGet200ResponseFieldsItemRadio) GetRef() *DocFormsGet200ResponseFieldsItemRadioRef { if d == nil { return nil } return d.Ref } -func (d *DocFormsGet200ResponseFieldsItemListbox) GetFieldObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemRadio) GetFieldObjectNumber() int { if d == nil { return 0 } return d.FieldObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemListbox) GetName() string { +func (d *DocFormsGet200ResponseFieldsItemRadio) GetName() string { if d == nil { return "" } return d.Name } -func (d *DocFormsGet200ResponseFieldsItemListbox) GetOrigin() DocFormsGet200ResponseFieldsItemListboxOrigin { +func (d *DocFormsGet200ResponseFieldsItemRadio) GetOrigin() DocFormsGet200ResponseFieldsItemRadioOrigin { if d == nil { return "" } return d.Origin } -func (d *DocFormsGet200ResponseFieldsItemListbox) GetFlags() *DocFormsGet200ResponseFieldsItemListboxFlags { +func (d *DocFormsGet200ResponseFieldsItemRadio) GetFlags() *DocFormsGet200ResponseFieldsItemRadioFlags { if d == nil { return nil } return d.Flags } -func (d *DocFormsGet200ResponseFieldsItemListbox) GetAlternateName() *string { +func (d *DocFormsGet200ResponseFieldsItemRadio) GetAlternateName() *string { if d == nil { return nil } return d.AlternateName } -func (d *DocFormsGet200ResponseFieldsItemListbox) GetMappingName() *string { +func (d *DocFormsGet200ResponseFieldsItemRadio) GetMappingName() *string { if d == nil { return nil } return d.MappingName } -func (d *DocFormsGet200ResponseFieldsItemListbox) GetValueEntry() *DocFormsGet200ResponseFieldsItemListboxValueEntry { +func (d *DocFormsGet200ResponseFieldsItemRadio) GetValueEntry() *DocFormsGet200ResponseFieldsItemRadioValueEntry { if d == nil { return nil } return d.ValueEntry } -func (d *DocFormsGet200ResponseFieldsItemListbox) GetDefaultValueEntry() *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry { +func (d *DocFormsGet200ResponseFieldsItemRadio) GetDefaultValueEntry() *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry { if d == nil { return nil } return d.DefaultValueEntry } -func (d *DocFormsGet200ResponseFieldsItemListbox) GetActions() *PdfFieldActions { +func (d *DocFormsGet200ResponseFieldsItemRadio) GetActions() *PdfFieldActions { if d == nil { return nil } return d.Actions } -func (d *DocFormsGet200ResponseFieldsItemListbox) GetWidgets() []*DocFormsGet200ResponseFieldsItemListboxWidgetsItem { +func (d *DocFormsGet200ResponseFieldsItemRadio) GetWidgets() []*DocFormsGet200ResponseFieldsItemRadioWidgetsItem { if d == nil { return nil } return d.Widgets } -func (d *DocFormsGet200ResponseFieldsItemListbox) GetSelectedValues() []string { +func (d *DocFormsGet200ResponseFieldsItemRadio) GetValue() string { if d == nil { - return nil + return "" } - return d.SelectedValues + return d.Value } -func (d *DocFormsGet200ResponseFieldsItemListbox) GetMultiSelect() bool { +func (d *DocFormsGet200ResponseFieldsItemRadio) GetRadiosInUnison() bool { if d == nil { return false } - return d.MultiSelect + return d.RadiosInUnison } -func (d *DocFormsGet200ResponseFieldsItemListbox) GetOptions() []*DocFormsGet200ResponseFieldsItemListboxOptionsItem { +func (d *DocFormsGet200ResponseFieldsItemRadio) GetNoToggleToOff() bool { if d == nil { - return nil + return false } - return d.Options + return d.NoToggleToOff } -func (d *DocFormsGet200ResponseFieldsItemListbox) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemRadio) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemListbox) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemRadio) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -112956,109 +118520,109 @@ func (d *DocFormsGet200ResponseFieldsItemListbox) require(field *big.Int) { // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListbox) SetRef(ref *DocFormsGet200ResponseFieldsItemListboxRef) { +func (d *DocFormsGet200ResponseFieldsItemRadio) SetRef(ref *DocFormsGet200ResponseFieldsItemRadioRef) { d.Ref = ref - d.require(docFormsGet200ResponseFieldsItemListboxFieldRef) + d.require(docFormsGet200ResponseFieldsItemRadioFieldRef) } // SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListbox) SetFieldObjectNumber(fieldObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemRadio) SetFieldObjectNumber(fieldObjectNumber int) { d.FieldObjectNumber = fieldObjectNumber - d.require(docFormsGet200ResponseFieldsItemListboxFieldFieldObjectNumber) + d.require(docFormsGet200ResponseFieldsItemRadioFieldFieldObjectNumber) } // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListbox) SetName(name string) { +func (d *DocFormsGet200ResponseFieldsItemRadio) SetName(name string) { d.Name = name - d.require(docFormsGet200ResponseFieldsItemListboxFieldName) + d.require(docFormsGet200ResponseFieldsItemRadioFieldName) } // SetOrigin sets the Origin field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListbox) SetOrigin(origin DocFormsGet200ResponseFieldsItemListboxOrigin) { +func (d *DocFormsGet200ResponseFieldsItemRadio) SetOrigin(origin DocFormsGet200ResponseFieldsItemRadioOrigin) { d.Origin = origin - d.require(docFormsGet200ResponseFieldsItemListboxFieldOrigin) + d.require(docFormsGet200ResponseFieldsItemRadioFieldOrigin) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListbox) SetFlags(flags *DocFormsGet200ResponseFieldsItemListboxFlags) { +func (d *DocFormsGet200ResponseFieldsItemRadio) SetFlags(flags *DocFormsGet200ResponseFieldsItemRadioFlags) { d.Flags = flags - d.require(docFormsGet200ResponseFieldsItemListboxFieldFlags) + d.require(docFormsGet200ResponseFieldsItemRadioFieldFlags) } // SetAlternateName sets the AlternateName field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListbox) SetAlternateName(alternateName *string) { +func (d *DocFormsGet200ResponseFieldsItemRadio) SetAlternateName(alternateName *string) { d.AlternateName = alternateName - d.require(docFormsGet200ResponseFieldsItemListboxFieldAlternateName) + d.require(docFormsGet200ResponseFieldsItemRadioFieldAlternateName) } // SetMappingName sets the MappingName field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListbox) SetMappingName(mappingName *string) { +func (d *DocFormsGet200ResponseFieldsItemRadio) SetMappingName(mappingName *string) { d.MappingName = mappingName - d.require(docFormsGet200ResponseFieldsItemListboxFieldMappingName) + d.require(docFormsGet200ResponseFieldsItemRadioFieldMappingName) } // SetValueEntry sets the ValueEntry field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListbox) SetValueEntry(valueEntry *DocFormsGet200ResponseFieldsItemListboxValueEntry) { +func (d *DocFormsGet200ResponseFieldsItemRadio) SetValueEntry(valueEntry *DocFormsGet200ResponseFieldsItemRadioValueEntry) { d.ValueEntry = valueEntry - d.require(docFormsGet200ResponseFieldsItemListboxFieldValueEntry) + d.require(docFormsGet200ResponseFieldsItemRadioFieldValueEntry) } // SetDefaultValueEntry sets the DefaultValueEntry field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListbox) SetDefaultValueEntry(defaultValueEntry *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) { +func (d *DocFormsGet200ResponseFieldsItemRadio) SetDefaultValueEntry(defaultValueEntry *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) { d.DefaultValueEntry = defaultValueEntry - d.require(docFormsGet200ResponseFieldsItemListboxFieldDefaultValueEntry) + d.require(docFormsGet200ResponseFieldsItemRadioFieldDefaultValueEntry) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListbox) SetActions(actions *PdfFieldActions) { +func (d *DocFormsGet200ResponseFieldsItemRadio) SetActions(actions *PdfFieldActions) { d.Actions = actions - d.require(docFormsGet200ResponseFieldsItemListboxFieldActions) + d.require(docFormsGet200ResponseFieldsItemRadioFieldActions) } // SetWidgets sets the Widgets field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListbox) SetWidgets(widgets []*DocFormsGet200ResponseFieldsItemListboxWidgetsItem) { +func (d *DocFormsGet200ResponseFieldsItemRadio) SetWidgets(widgets []*DocFormsGet200ResponseFieldsItemRadioWidgetsItem) { d.Widgets = widgets - d.require(docFormsGet200ResponseFieldsItemListboxFieldWidgets) + d.require(docFormsGet200ResponseFieldsItemRadioFieldWidgets) } -// SetSelectedValues sets the SelectedValues field and marks it as non-optional; +// SetValue sets the Value field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListbox) SetSelectedValues(selectedValues []string) { - d.SelectedValues = selectedValues - d.require(docFormsGet200ResponseFieldsItemListboxFieldSelectedValues) +func (d *DocFormsGet200ResponseFieldsItemRadio) SetValue(value string) { + d.Value = value + d.require(docFormsGet200ResponseFieldsItemRadioFieldValue) } -// SetMultiSelect sets the MultiSelect field and marks it as non-optional; +// SetRadiosInUnison sets the RadiosInUnison field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListbox) SetMultiSelect(multiSelect bool) { - d.MultiSelect = multiSelect - d.require(docFormsGet200ResponseFieldsItemListboxFieldMultiSelect) +func (d *DocFormsGet200ResponseFieldsItemRadio) SetRadiosInUnison(radiosInUnison bool) { + d.RadiosInUnison = radiosInUnison + d.require(docFormsGet200ResponseFieldsItemRadioFieldRadiosInUnison) } -// SetOptions sets the Options field and marks it as non-optional; +// SetNoToggleToOff sets the NoToggleToOff field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListbox) SetOptions(options []*DocFormsGet200ResponseFieldsItemListboxOptionsItem) { - d.Options = options - d.require(docFormsGet200ResponseFieldsItemListboxFieldOptions) +func (d *DocFormsGet200ResponseFieldsItemRadio) SetNoToggleToOff(noToggleToOff bool) { + d.NoToggleToOff = noToggleToOff + d.require(docFormsGet200ResponseFieldsItemRadioFieldNoToggleToOff) } -func (d *DocFormsGet200ResponseFieldsItemListbox) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemListbox +func (d *DocFormsGet200ResponseFieldsItemRadio) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemRadio var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemListbox(value) + *d = DocFormsGet200ResponseFieldsItemRadio(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -113068,8 +118632,8 @@ func (d *DocFormsGet200ResponseFieldsItemListbox) UnmarshalJSON(data []byte) err return nil } -func (d *DocFormsGet200ResponseFieldsItemListbox) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemListbox +func (d *DocFormsGet200ResponseFieldsItemRadio) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemRadio var marshaler = struct { embed }{ @@ -113079,7 +118643,7 @@ func (d *DocFormsGet200ResponseFieldsItemListbox) MarshalJSON() ([]byte, error) return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemListbox) String() string { +func (d *DocFormsGet200ResponseFieldsItemRadio) String() string { if d == nil { return "" } @@ -113094,52 +118658,52 @@ func (d *DocFormsGet200ResponseFieldsItemListbox) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry struct { +type DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry struct { Kind string - None *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone - Scalar *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar - Array *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray - Unsupported *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported + None *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone + Scalar *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar + Array *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray + Unsupported *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) GetKind() string { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone { if d == nil { return nil } return d.None } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar { if d == nil { return nil } return d.Scalar } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray { if d == nil { return nil } return d.Array } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported { if d == nil { return nil } return d.Unsupported } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -113152,25 +118716,25 @@ func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) UnmarshalJSON } switch unmarshaler.Kind { case "none": - value := new(DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone) + value := new(DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone) if err := json.Unmarshal(data, &value); err != nil { return err } d.None = value case "scalar": - value := new(DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar) + value := new(DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar) if err := json.Unmarshal(data, &value); err != nil { return err } d.Scalar = value case "array": - value := new(DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray) + value := new(DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray) if err := json.Unmarshal(data, &value); err != nil { return err } d.Array = value case "unsupported": - value := new(DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported) + value := new(DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -113180,7 +118744,7 @@ func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) UnmarshalJSON return nil } -func (d DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -113202,14 +118766,14 @@ func (d DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) MarshalJSON() return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryVisitor interface { - VisitNone(*DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone) error - VisitScalar(*DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar) error - VisitArray(*DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray) error - VisitUnsupported(*DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported) error +type DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryVisitor interface { + VisitNone(*DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone) error + VisitScalar(*DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar) error + VisitArray(*DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray) error + VisitUnsupported(*DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported) error } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryVisitor) error { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryVisitor) error { if d.None != nil { return visitor.VisitNone(d.None) } @@ -113225,7 +118789,7 @@ func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) Accept(visito return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) validate() error { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -113269,10 +118833,10 @@ func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry) validate() er } var ( - docFormsGet200ResponseFieldsItemListboxDefaultValueEntryArrayFieldValues = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemRadioDefaultValueEntryArrayFieldValues = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray struct { +type DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray struct { Values []string `json:"values" url:"values"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -113282,21 +118846,21 @@ type DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray) GetValues() []string { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray) GetValues() []string { if d == nil { return nil } return d.Values } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -113305,18 +118869,18 @@ func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray) require( // SetValues sets the Values field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray) SetValues(values []string) { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray) SetValues(values []string) { d.Values = values - d.require(docFormsGet200ResponseFieldsItemListboxDefaultValueEntryArrayFieldValues) + d.require(docFormsGet200ResponseFieldsItemRadioDefaultValueEntryArrayFieldValues) } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray(value) + *d = DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -113326,8 +118890,8 @@ func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray) Unmarsha return nil } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray var marshaler = struct { embed }{ @@ -113337,7 +118901,7 @@ func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray) MarshalJ return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray) String() string { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray) String() string { if d == nil { return "" } @@ -113352,7 +118916,7 @@ func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray) String() return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone struct { +type DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -113361,27 +118925,27 @@ type DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone(value) + *d = DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -113391,8 +118955,8 @@ func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone) Unmarshal return nil } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone var marshaler = struct { embed }{ @@ -113402,7 +118966,7 @@ func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone) MarshalJS return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone) String() string { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone) String() string { if d == nil { return "" } @@ -113418,10 +118982,10 @@ func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone) String() } var ( - docFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalarFieldValue = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalarFieldValue = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar struct { +type DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar struct { Value string `json:"value" url:"value"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -113431,21 +118995,21 @@ type DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar) GetValue() string { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar) GetValue() string { if d == nil { return "" } return d.Value } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -113454,18 +119018,18 @@ func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar) require // SetValue sets the Value field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar) SetValue(value string) { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar) SetValue(value string) { d.Value = value - d.require(docFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalarFieldValue) + d.require(docFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalarFieldValue) } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar(value) + *d = DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -113475,8 +119039,8 @@ func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar) Unmarsh return nil } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar var marshaler = struct { embed }{ @@ -113486,7 +119050,7 @@ func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar) Marshal return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar) String() string { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar) String() string { if d == nil { return "" } @@ -113501,7 +119065,7 @@ func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar) String( return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported struct { +type DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -113510,27 +119074,27 @@ type DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported struct rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported(value) + *d = DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -113540,8 +119104,8 @@ func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported) Un return nil } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported var marshaler = struct { embed }{ @@ -113551,7 +119115,7 @@ func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported) Ma return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported) String() string { +func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported) String() string { if d == nil { return "" } @@ -113567,13 +119131,13 @@ func (d *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported) St } var ( - docFormsGet200ResponseFieldsItemListboxFlagsFieldReadOnly = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemListboxFlagsFieldRequired = big.NewInt(1 << 1) - docFormsGet200ResponseFieldsItemListboxFlagsFieldNoExport = big.NewInt(1 << 2) - docFormsGet200ResponseFieldsItemListboxFlagsFieldRaw = big.NewInt(1 << 3) + docFormsGet200ResponseFieldsItemRadioFlagsFieldReadOnly = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemRadioFlagsFieldRequired = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemRadioFlagsFieldNoExport = big.NewInt(1 << 2) + docFormsGet200ResponseFieldsItemRadioFlagsFieldRaw = big.NewInt(1 << 3) ) -type DocFormsGet200ResponseFieldsItemListboxFlags struct { +type DocFormsGet200ResponseFieldsItemRadioFlags struct { ReadOnly bool `json:"readOnly" url:"readOnly"` Required bool `json:"required" url:"required"` NoExport bool `json:"noExport" url:"noExport"` @@ -113586,42 +119150,42 @@ type DocFormsGet200ResponseFieldsItemListboxFlags struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemListboxFlags) GetReadOnly() bool { +func (d *DocFormsGet200ResponseFieldsItemRadioFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocFormsGet200ResponseFieldsItemListboxFlags) GetRequired() bool { +func (d *DocFormsGet200ResponseFieldsItemRadioFlags) GetRequired() bool { if d == nil { return false } return d.Required } -func (d *DocFormsGet200ResponseFieldsItemListboxFlags) GetNoExport() bool { +func (d *DocFormsGet200ResponseFieldsItemRadioFlags) GetNoExport() bool { if d == nil { return false } return d.NoExport } -func (d *DocFormsGet200ResponseFieldsItemListboxFlags) GetRaw() int { +func (d *DocFormsGet200ResponseFieldsItemRadioFlags) GetRaw() int { if d == nil { return 0 } return d.Raw } -func (d *DocFormsGet200ResponseFieldsItemListboxFlags) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemRadioFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemListboxFlags) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemRadioFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -113630,155 +119194,39 @@ func (d *DocFormsGet200ResponseFieldsItemListboxFlags) require(field *big.Int) { // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListboxFlags) SetReadOnly(readOnly bool) { +func (d *DocFormsGet200ResponseFieldsItemRadioFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docFormsGet200ResponseFieldsItemListboxFlagsFieldReadOnly) + d.require(docFormsGet200ResponseFieldsItemRadioFlagsFieldReadOnly) } // SetRequired sets the Required field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListboxFlags) SetRequired(required bool) { +func (d *DocFormsGet200ResponseFieldsItemRadioFlags) SetRequired(required bool) { d.Required = required - d.require(docFormsGet200ResponseFieldsItemListboxFlagsFieldRequired) + d.require(docFormsGet200ResponseFieldsItemRadioFlagsFieldRequired) } // SetNoExport sets the NoExport field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListboxFlags) SetNoExport(noExport bool) { +func (d *DocFormsGet200ResponseFieldsItemRadioFlags) SetNoExport(noExport bool) { d.NoExport = noExport - d.require(docFormsGet200ResponseFieldsItemListboxFlagsFieldNoExport) + d.require(docFormsGet200ResponseFieldsItemRadioFlagsFieldNoExport) } // SetRaw sets the Raw field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListboxFlags) SetRaw(raw int) { +func (d *DocFormsGet200ResponseFieldsItemRadioFlags) SetRaw(raw int) { d.Raw = raw - d.require(docFormsGet200ResponseFieldsItemListboxFlagsFieldRaw) -} - -func (d *DocFormsGet200ResponseFieldsItemListboxFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemListboxFlags - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocFormsGet200ResponseFieldsItemListboxFlags(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocFormsGet200ResponseFieldsItemListboxFlags) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemListboxFlags - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocFormsGet200ResponseFieldsItemListboxFlags) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docFormsGet200ResponseFieldsItemListboxOptionsItemFieldLabel = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemListboxOptionsItemFieldValue = big.NewInt(1 << 1) - docFormsGet200ResponseFieldsItemListboxOptionsItemFieldSelected = big.NewInt(1 << 2) -) - -type DocFormsGet200ResponseFieldsItemListboxOptionsItem struct { - Label string `json:"label" url:"label"` - Value string `json:"value" url:"value"` - Selected bool `json:"selected" url:"selected"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) GetLabel() string { - if d == nil { - return "" - } - return d.Label -} - -func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) GetValue() string { - if d == nil { - return "" - } - return d.Value -} - -func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) GetSelected() bool { - if d == nil { - return false - } - return d.Selected -} - -func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetLabel sets the Label field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) SetLabel(label string) { - d.Label = label - d.require(docFormsGet200ResponseFieldsItemListboxOptionsItemFieldLabel) -} - -// SetValue sets the Value field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) SetValue(value string) { - d.Value = value - d.require(docFormsGet200ResponseFieldsItemListboxOptionsItemFieldValue) -} - -// SetSelected sets the Selected field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) SetSelected(selected bool) { - d.Selected = selected - d.require(docFormsGet200ResponseFieldsItemListboxOptionsItemFieldSelected) + d.require(docFormsGet200ResponseFieldsItemRadioFlagsFieldRaw) } -func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemListboxOptionsItem +func (d *DocFormsGet200ResponseFieldsItemRadioFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemRadioFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemListboxOptionsItem(value) + *d = DocFormsGet200ResponseFieldsItemRadioFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -113788,8 +119236,8 @@ func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) UnmarshalJSON(data return nil } -func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemListboxOptionsItem +func (d *DocFormsGet200ResponseFieldsItemRadioFlags) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemRadioFlags var marshaler = struct { embed }{ @@ -113799,7 +119247,7 @@ func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) MarshalJSON() ([]by return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) String() string { +func (d *DocFormsGet200ResponseFieldsItemRadioFlags) String() string { if d == nil { return "" } @@ -113814,58 +119262,58 @@ func (d *DocFormsGet200ResponseFieldsItemListboxOptionsItem) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemListboxOrigin string +type DocFormsGet200ResponseFieldsItemRadioOrigin string const ( - DocFormsGet200ResponseFieldsItemListboxOriginAcroform DocFormsGet200ResponseFieldsItemListboxOrigin = "acroform" - DocFormsGet200ResponseFieldsItemListboxOriginRecovered DocFormsGet200ResponseFieldsItemListboxOrigin = "recovered" + DocFormsGet200ResponseFieldsItemRadioOriginAcroform DocFormsGet200ResponseFieldsItemRadioOrigin = "acroform" + DocFormsGet200ResponseFieldsItemRadioOriginRecovered DocFormsGet200ResponseFieldsItemRadioOrigin = "recovered" ) -func NewDocFormsGet200ResponseFieldsItemListboxOriginFromString(s string) (DocFormsGet200ResponseFieldsItemListboxOrigin, error) { +func NewDocFormsGet200ResponseFieldsItemRadioOriginFromString(s string) (DocFormsGet200ResponseFieldsItemRadioOrigin, error) { switch s { case "acroform": - return DocFormsGet200ResponseFieldsItemListboxOriginAcroform, nil + return DocFormsGet200ResponseFieldsItemRadioOriginAcroform, nil case "recovered": - return DocFormsGet200ResponseFieldsItemListboxOriginRecovered, nil + return DocFormsGet200ResponseFieldsItemRadioOriginRecovered, nil } - var t DocFormsGet200ResponseFieldsItemListboxOrigin + var t DocFormsGet200ResponseFieldsItemRadioOrigin return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocFormsGet200ResponseFieldsItemListboxOrigin) Ptr() *DocFormsGet200ResponseFieldsItemListboxOrigin { +func (d DocFormsGet200ResponseFieldsItemRadioOrigin) Ptr() *DocFormsGet200ResponseFieldsItemRadioOrigin { return &d } -type DocFormsGet200ResponseFieldsItemListboxRef struct { +type DocFormsGet200ResponseFieldsItemRadioRef struct { Kind string - ObjectNumber *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber - Fqn *DocFormsGet200ResponseFieldsItemListboxRefFqn + ObjectNumber *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber + Fqn *DocFormsGet200ResponseFieldsItemRadioRefFqn rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemListboxRef) GetKind() string { +func (d *DocFormsGet200ResponseFieldsItemRadioRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsGet200ResponseFieldsItemListboxRef) GetObjectNumber() *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber { +func (d *DocFormsGet200ResponseFieldsItemRadioRef) GetObjectNumber() *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemListboxRef) GetFqn() *DocFormsGet200ResponseFieldsItemListboxRefFqn { +func (d *DocFormsGet200ResponseFieldsItemRadioRef) GetFqn() *DocFormsGet200ResponseFieldsItemRadioRefFqn { if d == nil { return nil } return d.Fqn } -func (d *DocFormsGet200ResponseFieldsItemListboxRef) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseFieldsItemRadioRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -113878,13 +119326,13 @@ func (d *DocFormsGet200ResponseFieldsItemListboxRef) UnmarshalJSON(data []byte) } switch unmarshaler.Kind { case "objectNumber": - value := new(DocFormsGet200ResponseFieldsItemListboxRefObjectNumber) + value := new(DocFormsGet200ResponseFieldsItemRadioRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "fqn": - value := new(DocFormsGet200ResponseFieldsItemListboxRefFqn) + value := new(DocFormsGet200ResponseFieldsItemRadioRefFqn) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -113894,7 +119342,7 @@ func (d *DocFormsGet200ResponseFieldsItemListboxRef) UnmarshalJSON(data []byte) return nil } -func (d DocFormsGet200ResponseFieldsItemListboxRef) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseFieldsItemRadioRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -113910,12 +119358,12 @@ func (d DocFormsGet200ResponseFieldsItemListboxRef) MarshalJSON() ([]byte, error return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsGet200ResponseFieldsItemListboxRefVisitor interface { - VisitObjectNumber(*DocFormsGet200ResponseFieldsItemListboxRefObjectNumber) error - VisitFqn(*DocFormsGet200ResponseFieldsItemListboxRefFqn) error +type DocFormsGet200ResponseFieldsItemRadioRefVisitor interface { + VisitObjectNumber(*DocFormsGet200ResponseFieldsItemRadioRefObjectNumber) error + VisitFqn(*DocFormsGet200ResponseFieldsItemRadioRefFqn) error } -func (d *DocFormsGet200ResponseFieldsItemListboxRef) Accept(visitor DocFormsGet200ResponseFieldsItemListboxRefVisitor) error { +func (d *DocFormsGet200ResponseFieldsItemRadioRef) Accept(visitor DocFormsGet200ResponseFieldsItemRadioRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -113925,7 +119373,7 @@ func (d *DocFormsGet200ResponseFieldsItemListboxRef) Accept(visitor DocFormsGet2 return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseFieldsItemListboxRef) validate() error { +func (d *DocFormsGet200ResponseFieldsItemRadioRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -113963,10 +119411,10 @@ func (d *DocFormsGet200ResponseFieldsItemListboxRef) validate() error { } var ( - docFormsGet200ResponseFieldsItemListboxRefFqnFieldName = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemRadioRefFqnFieldName = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemListboxRefFqn struct { +type DocFormsGet200ResponseFieldsItemRadioRefFqn struct { Name string `json:"name" url:"name"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -113976,21 +119424,21 @@ type DocFormsGet200ResponseFieldsItemListboxRefFqn struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemListboxRefFqn) GetName() string { +func (d *DocFormsGet200ResponseFieldsItemRadioRefFqn) GetName() string { if d == nil { return "" } return d.Name } -func (d *DocFormsGet200ResponseFieldsItemListboxRefFqn) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemRadioRefFqn) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemListboxRefFqn) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemRadioRefFqn) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -113999,18 +119447,18 @@ func (d *DocFormsGet200ResponseFieldsItemListboxRefFqn) require(field *big.Int) // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListboxRefFqn) SetName(name string) { +func (d *DocFormsGet200ResponseFieldsItemRadioRefFqn) SetName(name string) { d.Name = name - d.require(docFormsGet200ResponseFieldsItemListboxRefFqnFieldName) + d.require(docFormsGet200ResponseFieldsItemRadioRefFqnFieldName) } -func (d *DocFormsGet200ResponseFieldsItemListboxRefFqn) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemListboxRefFqn +func (d *DocFormsGet200ResponseFieldsItemRadioRefFqn) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemRadioRefFqn var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemListboxRefFqn(value) + *d = DocFormsGet200ResponseFieldsItemRadioRefFqn(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -114020,8 +119468,8 @@ func (d *DocFormsGet200ResponseFieldsItemListboxRefFqn) UnmarshalJSON(data []byt return nil } -func (d *DocFormsGet200ResponseFieldsItemListboxRefFqn) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemListboxRefFqn +func (d *DocFormsGet200ResponseFieldsItemRadioRefFqn) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemRadioRefFqn var marshaler = struct { embed }{ @@ -114031,7 +119479,7 @@ func (d *DocFormsGet200ResponseFieldsItemListboxRefFqn) MarshalJSON() ([]byte, e return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemListboxRefFqn) String() string { +func (d *DocFormsGet200ResponseFieldsItemRadioRefFqn) String() string { if d == nil { return "" } @@ -114047,10 +119495,10 @@ func (d *DocFormsGet200ResponseFieldsItemListboxRefFqn) String() string { } var ( - docFormsGet200ResponseFieldsItemListboxRefObjectNumberFieldFieldObjectNumber = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemRadioRefObjectNumberFieldFieldObjectNumber = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemListboxRefObjectNumber struct { +type DocFormsGet200ResponseFieldsItemRadioRefObjectNumber struct { FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -114060,21 +119508,21 @@ type DocFormsGet200ResponseFieldsItemListboxRefObjectNumber struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber) GetFieldObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber) GetFieldObjectNumber() int { if d == nil { return 0 } return d.FieldObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -114083,18 +119531,18 @@ func (d *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber) require(field * // SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber) SetFieldObjectNumber(fieldObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber) SetFieldObjectNumber(fieldObjectNumber int) { d.FieldObjectNumber = fieldObjectNumber - d.require(docFormsGet200ResponseFieldsItemListboxRefObjectNumberFieldFieldObjectNumber) + d.require(docFormsGet200ResponseFieldsItemRadioRefObjectNumberFieldFieldObjectNumber) } -func (d *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemListboxRefObjectNumber +func (d *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemRadioRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemListboxRefObjectNumber(value) + *d = DocFormsGet200ResponseFieldsItemRadioRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -114104,8 +119552,8 @@ func (d *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber) UnmarshalJSON(d return nil } -func (d *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemListboxRefObjectNumber +func (d *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemRadioRefObjectNumber var marshaler = struct { embed }{ @@ -114115,7 +119563,7 @@ func (d *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber) MarshalJSON() ( return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber) String() string { +func (d *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber) String() string { if d == nil { return "" } @@ -114130,52 +119578,52 @@ func (d *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber) String() string return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemListboxValueEntry struct { +type DocFormsGet200ResponseFieldsItemRadioValueEntry struct { Kind string - None *DocFormsGet200ResponseFieldsItemListboxValueEntryNone - Scalar *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar - Array *DocFormsGet200ResponseFieldsItemListboxValueEntryArray - Unsupported *DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported + None *DocFormsGet200ResponseFieldsItemRadioValueEntryNone + Scalar *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar + Array *DocFormsGet200ResponseFieldsItemRadioValueEntryArray + Unsupported *DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntry) GetKind() string { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntry) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemListboxValueEntryNone { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemRadioValueEntryNone { if d == nil { return nil } return d.None } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar { if d == nil { return nil } return d.Scalar } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemListboxValueEntryArray { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemRadioValueEntryArray { if d == nil { return nil } return d.Array } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported { if d == nil { return nil } return d.Unsupported } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntry) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntry) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -114188,25 +119636,25 @@ func (d *DocFormsGet200ResponseFieldsItemListboxValueEntry) UnmarshalJSON(data [ } switch unmarshaler.Kind { case "none": - value := new(DocFormsGet200ResponseFieldsItemListboxValueEntryNone) + value := new(DocFormsGet200ResponseFieldsItemRadioValueEntryNone) if err := json.Unmarshal(data, &value); err != nil { return err } d.None = value case "scalar": - value := new(DocFormsGet200ResponseFieldsItemListboxValueEntryScalar) + value := new(DocFormsGet200ResponseFieldsItemRadioValueEntryScalar) if err := json.Unmarshal(data, &value); err != nil { return err } d.Scalar = value case "array": - value := new(DocFormsGet200ResponseFieldsItemListboxValueEntryArray) + value := new(DocFormsGet200ResponseFieldsItemRadioValueEntryArray) if err := json.Unmarshal(data, &value); err != nil { return err } d.Array = value case "unsupported": - value := new(DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported) + value := new(DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -114216,7 +119664,7 @@ func (d *DocFormsGet200ResponseFieldsItemListboxValueEntry) UnmarshalJSON(data [ return nil } -func (d DocFormsGet200ResponseFieldsItemListboxValueEntry) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseFieldsItemRadioValueEntry) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -114238,14 +119686,14 @@ func (d DocFormsGet200ResponseFieldsItemListboxValueEntry) MarshalJSON() ([]byte return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsGet200ResponseFieldsItemListboxValueEntryVisitor interface { - VisitNone(*DocFormsGet200ResponseFieldsItemListboxValueEntryNone) error - VisitScalar(*DocFormsGet200ResponseFieldsItemListboxValueEntryScalar) error - VisitArray(*DocFormsGet200ResponseFieldsItemListboxValueEntryArray) error - VisitUnsupported(*DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported) error +type DocFormsGet200ResponseFieldsItemRadioValueEntryVisitor interface { + VisitNone(*DocFormsGet200ResponseFieldsItemRadioValueEntryNone) error + VisitScalar(*DocFormsGet200ResponseFieldsItemRadioValueEntryScalar) error + VisitArray(*DocFormsGet200ResponseFieldsItemRadioValueEntryArray) error + VisitUnsupported(*DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported) error } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemListboxValueEntryVisitor) error { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemRadioValueEntryVisitor) error { if d.None != nil { return visitor.VisitNone(d.None) } @@ -114261,7 +119709,7 @@ func (d *DocFormsGet200ResponseFieldsItemListboxValueEntry) Accept(visitor DocFo return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntry) validate() error { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntry) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -114305,10 +119753,10 @@ func (d *DocFormsGet200ResponseFieldsItemListboxValueEntry) validate() error { } var ( - docFormsGet200ResponseFieldsItemListboxValueEntryArrayFieldValues = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemRadioValueEntryArrayFieldValues = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemListboxValueEntryArray struct { +type DocFormsGet200ResponseFieldsItemRadioValueEntryArray struct { Values []string `json:"values" url:"values"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -114318,21 +119766,21 @@ type DocFormsGet200ResponseFieldsItemListboxValueEntryArray struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryArray) GetValues() []string { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryArray) GetValues() []string { if d == nil { return nil } return d.Values } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryArray) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryArray) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryArray) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryArray) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -114341,18 +119789,18 @@ func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryArray) require(field * // SetValues sets the Values field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryArray) SetValues(values []string) { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryArray) SetValues(values []string) { d.Values = values - d.require(docFormsGet200ResponseFieldsItemListboxValueEntryArrayFieldValues) + d.require(docFormsGet200ResponseFieldsItemRadioValueEntryArrayFieldValues) } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryArray) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemListboxValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryArray) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemRadioValueEntryArray var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemListboxValueEntryArray(value) + *d = DocFormsGet200ResponseFieldsItemRadioValueEntryArray(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -114362,8 +119810,8 @@ func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryArray) UnmarshalJSON(d return nil } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryArray) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemListboxValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryArray) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemRadioValueEntryArray var marshaler = struct { embed }{ @@ -114373,7 +119821,7 @@ func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryArray) MarshalJSON() ( return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryArray) String() string { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryArray) String() string { if d == nil { return "" } @@ -114388,7 +119836,7 @@ func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryArray) String() string return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemListboxValueEntryNone struct { +type DocFormsGet200ResponseFieldsItemRadioValueEntryNone struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -114397,27 +119845,27 @@ type DocFormsGet200ResponseFieldsItemListboxValueEntryNone struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryNone) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryNone) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryNone) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryNone) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryNone) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemListboxValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryNone) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemRadioValueEntryNone var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemListboxValueEntryNone(value) + *d = DocFormsGet200ResponseFieldsItemRadioValueEntryNone(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -114427,8 +119875,8 @@ func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryNone) UnmarshalJSON(da return nil } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryNone) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemListboxValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryNone) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemRadioValueEntryNone var marshaler = struct { embed }{ @@ -114438,7 +119886,7 @@ func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryNone) MarshalJSON() ([ return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryNone) String() string { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryNone) String() string { if d == nil { return "" } @@ -114454,10 +119902,10 @@ func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryNone) String() string } var ( - docFormsGet200ResponseFieldsItemListboxValueEntryScalarFieldValue = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemRadioValueEntryScalarFieldValue = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemListboxValueEntryScalar struct { +type DocFormsGet200ResponseFieldsItemRadioValueEntryScalar struct { Value string `json:"value" url:"value"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -114467,21 +119915,21 @@ type DocFormsGet200ResponseFieldsItemListboxValueEntryScalar struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar) GetValue() string { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar) GetValue() string { if d == nil { return "" } return d.Value } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -114490,18 +119938,18 @@ func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar) require(field // SetValue sets the Value field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar) SetValue(value string) { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar) SetValue(value string) { d.Value = value - d.require(docFormsGet200ResponseFieldsItemListboxValueEntryScalarFieldValue) + d.require(docFormsGet200ResponseFieldsItemRadioValueEntryScalarFieldValue) } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemListboxValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemRadioValueEntryScalar var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemListboxValueEntryScalar(value) + *d = DocFormsGet200ResponseFieldsItemRadioValueEntryScalar(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -114511,8 +119959,8 @@ func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar) UnmarshalJSON( return nil } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemListboxValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemRadioValueEntryScalar var marshaler = struct { embed }{ @@ -114522,7 +119970,7 @@ func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar) String() string { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar) String() string { if d == nil { return "" } @@ -114537,7 +119985,7 @@ func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar) String() strin return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported struct { +type DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -114546,27 +119994,27 @@ type DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported(value) + *d = DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -114576,8 +120024,8 @@ func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported) Unmarshal return nil } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported var marshaler = struct { embed }{ @@ -114587,7 +120035,7 @@ func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported) MarshalJS return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported) String() string { +func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported) String() string { if d == nil { return "" } @@ -114603,13 +120051,19 @@ func (d *DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported) String() } var ( - docFormsGet200ResponseFieldsItemListboxWidgetsItemFieldAnnotObjectNumber = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemListboxWidgetsItemFieldPageObjectNumber = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemRadioWidgetsItemFieldAnnotObjectNumber = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemRadioWidgetsItemFieldPageObjectNumber = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemRadioWidgetsItemFieldOnState = big.NewInt(1 << 2) + docFormsGet200ResponseFieldsItemRadioWidgetsItemFieldExportValue = big.NewInt(1 << 3) + docFormsGet200ResponseFieldsItemRadioWidgetsItemFieldChecked = big.NewInt(1 << 4) ) -type DocFormsGet200ResponseFieldsItemListboxWidgetsItem struct { - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` +type DocFormsGet200ResponseFieldsItemRadioWidgetsItem struct { + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + OnState string `json:"onState" url:"onState"` + ExportValue string `json:"exportValue" url:"exportValue"` + Checked bool `json:"checked" url:"checked"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -114618,28 +120072,49 @@ type DocFormsGet200ResponseFieldsItemListboxWidgetsItem struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemListboxWidgetsItem) GetAnnotObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemListboxWidgetsItem) GetPageObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemListboxWidgetsItem) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) GetOnState() string { + if d == nil { + return "" + } + return d.OnState +} + +func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) GetExportValue() string { + if d == nil { + return "" + } + return d.ExportValue +} + +func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) GetChecked() bool { + if d == nil { + return false + } + return d.Checked +} + +func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemListboxWidgetsItem) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -114648,25 +120123,46 @@ func (d *DocFormsGet200ResponseFieldsItemListboxWidgetsItem) require(field *big. // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListboxWidgetsItem) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docFormsGet200ResponseFieldsItemListboxWidgetsItemFieldAnnotObjectNumber) + d.require(docFormsGet200ResponseFieldsItemRadioWidgetsItemFieldAnnotObjectNumber) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemListboxWidgetsItem) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docFormsGet200ResponseFieldsItemListboxWidgetsItemFieldPageObjectNumber) + d.require(docFormsGet200ResponseFieldsItemRadioWidgetsItemFieldPageObjectNumber) } -func (d *DocFormsGet200ResponseFieldsItemListboxWidgetsItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemListboxWidgetsItem +// SetOnState sets the OnState field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) SetOnState(onState string) { + d.OnState = onState + d.require(docFormsGet200ResponseFieldsItemRadioWidgetsItemFieldOnState) +} + +// SetExportValue sets the ExportValue field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) SetExportValue(exportValue string) { + d.ExportValue = exportValue + d.require(docFormsGet200ResponseFieldsItemRadioWidgetsItemFieldExportValue) +} + +// SetChecked sets the Checked field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) SetChecked(checked bool) { + d.Checked = checked + d.require(docFormsGet200ResponseFieldsItemRadioWidgetsItemFieldChecked) +} + +func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemRadioWidgetsItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemListboxWidgetsItem(value) + *d = DocFormsGet200ResponseFieldsItemRadioWidgetsItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -114676,8 +120172,8 @@ func (d *DocFormsGet200ResponseFieldsItemListboxWidgetsItem) UnmarshalJSON(data return nil } -func (d *DocFormsGet200ResponseFieldsItemListboxWidgetsItem) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemListboxWidgetsItem +func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemRadioWidgetsItem var marshaler = struct { embed }{ @@ -114687,7 +120183,7 @@ func (d *DocFormsGet200ResponseFieldsItemListboxWidgetsItem) MarshalJSON() ([]by return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemListboxWidgetsItem) String() string { +func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) String() string { if d == nil { return "" } @@ -114703,31 +120199,31 @@ func (d *DocFormsGet200ResponseFieldsItemListboxWidgetsItem) String() string { } var ( - docFormsGet200ResponseFieldsItemPushbuttonFieldRef = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemPushbuttonFieldFieldObjectNumber = big.NewInt(1 << 1) - docFormsGet200ResponseFieldsItemPushbuttonFieldName = big.NewInt(1 << 2) - docFormsGet200ResponseFieldsItemPushbuttonFieldOrigin = big.NewInt(1 << 3) - docFormsGet200ResponseFieldsItemPushbuttonFieldFlags = big.NewInt(1 << 4) - docFormsGet200ResponseFieldsItemPushbuttonFieldAlternateName = big.NewInt(1 << 5) - docFormsGet200ResponseFieldsItemPushbuttonFieldMappingName = big.NewInt(1 << 6) - docFormsGet200ResponseFieldsItemPushbuttonFieldValueEntry = big.NewInt(1 << 7) - docFormsGet200ResponseFieldsItemPushbuttonFieldDefaultValueEntry = big.NewInt(1 << 8) - docFormsGet200ResponseFieldsItemPushbuttonFieldActions = big.NewInt(1 << 9) - docFormsGet200ResponseFieldsItemPushbuttonFieldWidgets = big.NewInt(1 << 10) + docFormsGet200ResponseFieldsItemSignatureFieldRef = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemSignatureFieldFieldObjectNumber = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemSignatureFieldName = big.NewInt(1 << 2) + docFormsGet200ResponseFieldsItemSignatureFieldOrigin = big.NewInt(1 << 3) + docFormsGet200ResponseFieldsItemSignatureFieldFlags = big.NewInt(1 << 4) + docFormsGet200ResponseFieldsItemSignatureFieldAlternateName = big.NewInt(1 << 5) + docFormsGet200ResponseFieldsItemSignatureFieldMappingName = big.NewInt(1 << 6) + docFormsGet200ResponseFieldsItemSignatureFieldValueEntry = big.NewInt(1 << 7) + docFormsGet200ResponseFieldsItemSignatureFieldDefaultValueEntry = big.NewInt(1 << 8) + docFormsGet200ResponseFieldsItemSignatureFieldActions = big.NewInt(1 << 9) + docFormsGet200ResponseFieldsItemSignatureFieldWidgets = big.NewInt(1 << 10) ) -type DocFormsGet200ResponseFieldsItemPushbutton struct { - Ref *DocFormsGet200ResponseFieldsItemPushbuttonRef `json:"ref" url:"ref"` - FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` - Name string `json:"name" url:"name"` - Origin DocFormsGet200ResponseFieldsItemPushbuttonOrigin `json:"origin" url:"origin"` - Flags *DocFormsGet200ResponseFieldsItemPushbuttonFlags `json:"flags" url:"flags"` - AlternateName *string `json:"alternateName,omitempty" url:"alternateName,omitempty"` - MappingName *string `json:"mappingName,omitempty" url:"mappingName,omitempty"` - ValueEntry *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry `json:"valueEntry" url:"valueEntry"` - DefaultValueEntry *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry `json:"defaultValueEntry" url:"defaultValueEntry"` - Actions *PdfFieldActions `json:"actions,omitempty" url:"actions,omitempty"` - Widgets []*DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem `json:"widgets" url:"widgets"` +type DocFormsGet200ResponseFieldsItemSignature struct { + Ref *DocFormsGet200ResponseFieldsItemSignatureRef `json:"ref" url:"ref"` + FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` + Name string `json:"name" url:"name"` + Origin DocFormsGet200ResponseFieldsItemSignatureOrigin `json:"origin" url:"origin"` + Flags *DocFormsGet200ResponseFieldsItemSignatureFlags `json:"flags" url:"flags"` + AlternateName *string `json:"alternateName,omitempty" url:"alternateName,omitempty"` + MappingName *string `json:"mappingName,omitempty" url:"mappingName,omitempty"` + ValueEntry *DocFormsGet200ResponseFieldsItemSignatureValueEntry `json:"valueEntry" url:"valueEntry"` + DefaultValueEntry *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry `json:"defaultValueEntry" url:"defaultValueEntry"` + Actions *PdfFieldActions `json:"actions,omitempty" url:"actions,omitempty"` + Widgets []*DocFormsGet200ResponseFieldsItemSignatureWidgetsItem `json:"widgets" url:"widgets"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -114736,91 +120232,91 @@ type DocFormsGet200ResponseFieldsItemPushbutton struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetRef() *DocFormsGet200ResponseFieldsItemPushbuttonRef { +func (d *DocFormsGet200ResponseFieldsItemSignature) GetRef() *DocFormsGet200ResponseFieldsItemSignatureRef { if d == nil { return nil } return d.Ref } -func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetFieldObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemSignature) GetFieldObjectNumber() int { if d == nil { return 0 } return d.FieldObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetName() string { +func (d *DocFormsGet200ResponseFieldsItemSignature) GetName() string { if d == nil { return "" } return d.Name } -func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetOrigin() DocFormsGet200ResponseFieldsItemPushbuttonOrigin { +func (d *DocFormsGet200ResponseFieldsItemSignature) GetOrigin() DocFormsGet200ResponseFieldsItemSignatureOrigin { if d == nil { return "" } return d.Origin } -func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetFlags() *DocFormsGet200ResponseFieldsItemPushbuttonFlags { +func (d *DocFormsGet200ResponseFieldsItemSignature) GetFlags() *DocFormsGet200ResponseFieldsItemSignatureFlags { if d == nil { return nil } return d.Flags } -func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetAlternateName() *string { +func (d *DocFormsGet200ResponseFieldsItemSignature) GetAlternateName() *string { if d == nil { return nil } return d.AlternateName } -func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetMappingName() *string { +func (d *DocFormsGet200ResponseFieldsItemSignature) GetMappingName() *string { if d == nil { return nil } return d.MappingName } -func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetValueEntry() *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry { +func (d *DocFormsGet200ResponseFieldsItemSignature) GetValueEntry() *DocFormsGet200ResponseFieldsItemSignatureValueEntry { if d == nil { return nil } return d.ValueEntry } -func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetDefaultValueEntry() *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry { +func (d *DocFormsGet200ResponseFieldsItemSignature) GetDefaultValueEntry() *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry { if d == nil { return nil } return d.DefaultValueEntry } -func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetActions() *PdfFieldActions { +func (d *DocFormsGet200ResponseFieldsItemSignature) GetActions() *PdfFieldActions { if d == nil { return nil } return d.Actions } -func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetWidgets() []*DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem { +func (d *DocFormsGet200ResponseFieldsItemSignature) GetWidgets() []*DocFormsGet200ResponseFieldsItemSignatureWidgetsItem { if d == nil { return nil } return d.Widgets } -func (d *DocFormsGet200ResponseFieldsItemPushbutton) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemSignature) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemPushbutton) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemSignature) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -114829,88 +120325,88 @@ func (d *DocFormsGet200ResponseFieldsItemPushbutton) require(field *big.Int) { // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbutton) SetRef(ref *DocFormsGet200ResponseFieldsItemPushbuttonRef) { +func (d *DocFormsGet200ResponseFieldsItemSignature) SetRef(ref *DocFormsGet200ResponseFieldsItemSignatureRef) { d.Ref = ref - d.require(docFormsGet200ResponseFieldsItemPushbuttonFieldRef) + d.require(docFormsGet200ResponseFieldsItemSignatureFieldRef) } // SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbutton) SetFieldObjectNumber(fieldObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemSignature) SetFieldObjectNumber(fieldObjectNumber int) { d.FieldObjectNumber = fieldObjectNumber - d.require(docFormsGet200ResponseFieldsItemPushbuttonFieldFieldObjectNumber) + d.require(docFormsGet200ResponseFieldsItemSignatureFieldFieldObjectNumber) } // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbutton) SetName(name string) { +func (d *DocFormsGet200ResponseFieldsItemSignature) SetName(name string) { d.Name = name - d.require(docFormsGet200ResponseFieldsItemPushbuttonFieldName) + d.require(docFormsGet200ResponseFieldsItemSignatureFieldName) } // SetOrigin sets the Origin field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbutton) SetOrigin(origin DocFormsGet200ResponseFieldsItemPushbuttonOrigin) { +func (d *DocFormsGet200ResponseFieldsItemSignature) SetOrigin(origin DocFormsGet200ResponseFieldsItemSignatureOrigin) { d.Origin = origin - d.require(docFormsGet200ResponseFieldsItemPushbuttonFieldOrigin) + d.require(docFormsGet200ResponseFieldsItemSignatureFieldOrigin) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbutton) SetFlags(flags *DocFormsGet200ResponseFieldsItemPushbuttonFlags) { +func (d *DocFormsGet200ResponseFieldsItemSignature) SetFlags(flags *DocFormsGet200ResponseFieldsItemSignatureFlags) { d.Flags = flags - d.require(docFormsGet200ResponseFieldsItemPushbuttonFieldFlags) + d.require(docFormsGet200ResponseFieldsItemSignatureFieldFlags) } // SetAlternateName sets the AlternateName field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbutton) SetAlternateName(alternateName *string) { +func (d *DocFormsGet200ResponseFieldsItemSignature) SetAlternateName(alternateName *string) { d.AlternateName = alternateName - d.require(docFormsGet200ResponseFieldsItemPushbuttonFieldAlternateName) + d.require(docFormsGet200ResponseFieldsItemSignatureFieldAlternateName) } // SetMappingName sets the MappingName field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbutton) SetMappingName(mappingName *string) { +func (d *DocFormsGet200ResponseFieldsItemSignature) SetMappingName(mappingName *string) { d.MappingName = mappingName - d.require(docFormsGet200ResponseFieldsItemPushbuttonFieldMappingName) + d.require(docFormsGet200ResponseFieldsItemSignatureFieldMappingName) } // SetValueEntry sets the ValueEntry field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbutton) SetValueEntry(valueEntry *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) { +func (d *DocFormsGet200ResponseFieldsItemSignature) SetValueEntry(valueEntry *DocFormsGet200ResponseFieldsItemSignatureValueEntry) { d.ValueEntry = valueEntry - d.require(docFormsGet200ResponseFieldsItemPushbuttonFieldValueEntry) + d.require(docFormsGet200ResponseFieldsItemSignatureFieldValueEntry) } // SetDefaultValueEntry sets the DefaultValueEntry field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbutton) SetDefaultValueEntry(defaultValueEntry *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) { +func (d *DocFormsGet200ResponseFieldsItemSignature) SetDefaultValueEntry(defaultValueEntry *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) { d.DefaultValueEntry = defaultValueEntry - d.require(docFormsGet200ResponseFieldsItemPushbuttonFieldDefaultValueEntry) + d.require(docFormsGet200ResponseFieldsItemSignatureFieldDefaultValueEntry) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbutton) SetActions(actions *PdfFieldActions) { +func (d *DocFormsGet200ResponseFieldsItemSignature) SetActions(actions *PdfFieldActions) { d.Actions = actions - d.require(docFormsGet200ResponseFieldsItemPushbuttonFieldActions) + d.require(docFormsGet200ResponseFieldsItemSignatureFieldActions) } // SetWidgets sets the Widgets field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbutton) SetWidgets(widgets []*DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) { +func (d *DocFormsGet200ResponseFieldsItemSignature) SetWidgets(widgets []*DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) { d.Widgets = widgets - d.require(docFormsGet200ResponseFieldsItemPushbuttonFieldWidgets) + d.require(docFormsGet200ResponseFieldsItemSignatureFieldWidgets) } -func (d *DocFormsGet200ResponseFieldsItemPushbutton) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemPushbutton +func (d *DocFormsGet200ResponseFieldsItemSignature) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemSignature var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemPushbutton(value) + *d = DocFormsGet200ResponseFieldsItemSignature(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -114920,8 +120416,8 @@ func (d *DocFormsGet200ResponseFieldsItemPushbutton) UnmarshalJSON(data []byte) return nil } -func (d *DocFormsGet200ResponseFieldsItemPushbutton) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemPushbutton +func (d *DocFormsGet200ResponseFieldsItemSignature) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemSignature var marshaler = struct { embed }{ @@ -114931,7 +120427,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbutton) MarshalJSON() ([]byte, erro return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemPushbutton) String() string { +func (d *DocFormsGet200ResponseFieldsItemSignature) String() string { if d == nil { return "" } @@ -114946,52 +120442,52 @@ func (d *DocFormsGet200ResponseFieldsItemPushbutton) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry struct { +type DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry struct { Kind string - None *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone - Scalar *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar - Array *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray - Unsupported *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported + None *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone + Scalar *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar + Array *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray + Unsupported *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) GetKind() string { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone { if d == nil { return nil } return d.None } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar { if d == nil { return nil } return d.Scalar } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray { if d == nil { return nil } return d.Array } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported { if d == nil { return nil } return d.Unsupported } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -115004,25 +120500,25 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) UnmarshalJ } switch unmarshaler.Kind { case "none": - value := new(DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone) + value := new(DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone) if err := json.Unmarshal(data, &value); err != nil { return err } d.None = value case "scalar": - value := new(DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar) + value := new(DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar) if err := json.Unmarshal(data, &value); err != nil { return err } d.Scalar = value case "array": - value := new(DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray) + value := new(DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray) if err := json.Unmarshal(data, &value); err != nil { return err } d.Array = value case "unsupported": - value := new(DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported) + value := new(DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -115032,7 +120528,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) UnmarshalJ return nil } -func (d DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -115054,14 +120550,14 @@ func (d DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) MarshalJSON return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryVisitor interface { - VisitNone(*DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone) error - VisitScalar(*DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar) error - VisitArray(*DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray) error - VisitUnsupported(*DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported) error +type DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryVisitor interface { + VisitNone(*DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone) error + VisitScalar(*DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar) error + VisitArray(*DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray) error + VisitUnsupported(*DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported) error } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryVisitor) error { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryVisitor) error { if d.None != nil { return visitor.VisitNone(d.None) } @@ -115077,7 +120573,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) Accept(vis return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) validate() error { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -115121,10 +120617,10 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry) validate() } var ( - docFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArrayFieldValues = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArrayFieldValues = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray struct { +type DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray struct { Values []string `json:"values" url:"values"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -115134,21 +120630,21 @@ type DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray) GetValues() []string { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray) GetValues() []string { if d == nil { return nil } return d.Values } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -115157,18 +120653,18 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray) requi // SetValues sets the Values field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray) SetValues(values []string) { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray) SetValues(values []string) { d.Values = values - d.require(docFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArrayFieldValues) + d.require(docFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArrayFieldValues) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray(value) + *d = DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -115178,8 +120674,8 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray) Unmar return nil } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray var marshaler = struct { embed }{ @@ -115189,7 +120685,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray) String() string { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray) String() string { if d == nil { return "" } @@ -115204,7 +120700,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray) Strin return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone struct { +type DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -115213,27 +120709,27 @@ type DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone(value) + *d = DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -115243,8 +120739,8 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone) Unmars return nil } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone var marshaler = struct { embed }{ @@ -115254,7 +120750,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone) String() string { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone) String() string { if d == nil { return "" } @@ -115270,10 +120766,10 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone) String } var ( - docFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalarFieldValue = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalarFieldValue = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar struct { +type DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar struct { Value string `json:"value" url:"value"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -115283,21 +120779,21 @@ type DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar) GetValue() string { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar) GetValue() string { if d == nil { return "" } return d.Value } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -115306,18 +120802,18 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar) requ // SetValue sets the Value field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar) SetValue(value string) { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar) SetValue(value string) { d.Value = value - d.require(docFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalarFieldValue) + d.require(docFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalarFieldValue) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar(value) + *d = DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -115327,8 +120823,8 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar) Unma return nil } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar var marshaler = struct { embed }{ @@ -115338,7 +120834,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar) Mars return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar) String() string { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar) String() string { if d == nil { return "" } @@ -115353,7 +120849,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar) Stri return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported struct { +type DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -115362,27 +120858,27 @@ type DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported stru rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported(value) + *d = DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -115392,8 +120888,8 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported) return nil } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported var marshaler = struct { embed }{ @@ -115403,7 +120899,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported) return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported) String() string { +func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported) String() string { if d == nil { return "" } @@ -115419,13 +120915,13 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported) } var ( - docFormsGet200ResponseFieldsItemPushbuttonFlagsFieldReadOnly = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemPushbuttonFlagsFieldRequired = big.NewInt(1 << 1) - docFormsGet200ResponseFieldsItemPushbuttonFlagsFieldNoExport = big.NewInt(1 << 2) - docFormsGet200ResponseFieldsItemPushbuttonFlagsFieldRaw = big.NewInt(1 << 3) + docFormsGet200ResponseFieldsItemSignatureFlagsFieldReadOnly = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemSignatureFlagsFieldRequired = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemSignatureFlagsFieldNoExport = big.NewInt(1 << 2) + docFormsGet200ResponseFieldsItemSignatureFlagsFieldRaw = big.NewInt(1 << 3) ) -type DocFormsGet200ResponseFieldsItemPushbuttonFlags struct { +type DocFormsGet200ResponseFieldsItemSignatureFlags struct { ReadOnly bool `json:"readOnly" url:"readOnly"` Required bool `json:"required" url:"required"` NoExport bool `json:"noExport" url:"noExport"` @@ -115438,42 +120934,42 @@ type DocFormsGet200ResponseFieldsItemPushbuttonFlags struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) GetReadOnly() bool { +func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) GetRequired() bool { +func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) GetRequired() bool { if d == nil { return false } return d.Required } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) GetNoExport() bool { +func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) GetNoExport() bool { if d == nil { return false } return d.NoExport } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) GetRaw() int { +func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) GetRaw() int { if d == nil { return 0 } return d.Raw } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -115482,39 +120978,39 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) require(field *big.Int // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) SetReadOnly(readOnly bool) { +func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docFormsGet200ResponseFieldsItemPushbuttonFlagsFieldReadOnly) + d.require(docFormsGet200ResponseFieldsItemSignatureFlagsFieldReadOnly) } // SetRequired sets the Required field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) SetRequired(required bool) { +func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) SetRequired(required bool) { d.Required = required - d.require(docFormsGet200ResponseFieldsItemPushbuttonFlagsFieldRequired) + d.require(docFormsGet200ResponseFieldsItemSignatureFlagsFieldRequired) } // SetNoExport sets the NoExport field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) SetNoExport(noExport bool) { +func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) SetNoExport(noExport bool) { d.NoExport = noExport - d.require(docFormsGet200ResponseFieldsItemPushbuttonFlagsFieldNoExport) + d.require(docFormsGet200ResponseFieldsItemSignatureFlagsFieldNoExport) } // SetRaw sets the Raw field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) SetRaw(raw int) { +func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) SetRaw(raw int) { d.Raw = raw - d.require(docFormsGet200ResponseFieldsItemPushbuttonFlagsFieldRaw) + d.require(docFormsGet200ResponseFieldsItemSignatureFlagsFieldRaw) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonFlags +func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemSignatureFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemPushbuttonFlags(value) + *d = DocFormsGet200ResponseFieldsItemSignatureFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -115524,8 +121020,8 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) UnmarshalJSON(data []b return nil } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemPushbuttonFlags +func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemSignatureFlags var marshaler = struct { embed }{ @@ -115535,7 +121031,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) MarshalJSON() ([]byte, return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) String() string { +func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) String() string { if d == nil { return "" } @@ -115550,58 +121046,58 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonFlags) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemPushbuttonOrigin string +type DocFormsGet200ResponseFieldsItemSignatureOrigin string const ( - DocFormsGet200ResponseFieldsItemPushbuttonOriginAcroform DocFormsGet200ResponseFieldsItemPushbuttonOrigin = "acroform" - DocFormsGet200ResponseFieldsItemPushbuttonOriginRecovered DocFormsGet200ResponseFieldsItemPushbuttonOrigin = "recovered" + DocFormsGet200ResponseFieldsItemSignatureOriginAcroform DocFormsGet200ResponseFieldsItemSignatureOrigin = "acroform" + DocFormsGet200ResponseFieldsItemSignatureOriginRecovered DocFormsGet200ResponseFieldsItemSignatureOrigin = "recovered" ) -func NewDocFormsGet200ResponseFieldsItemPushbuttonOriginFromString(s string) (DocFormsGet200ResponseFieldsItemPushbuttonOrigin, error) { +func NewDocFormsGet200ResponseFieldsItemSignatureOriginFromString(s string) (DocFormsGet200ResponseFieldsItemSignatureOrigin, error) { switch s { case "acroform": - return DocFormsGet200ResponseFieldsItemPushbuttonOriginAcroform, nil + return DocFormsGet200ResponseFieldsItemSignatureOriginAcroform, nil case "recovered": - return DocFormsGet200ResponseFieldsItemPushbuttonOriginRecovered, nil + return DocFormsGet200ResponseFieldsItemSignatureOriginRecovered, nil } - var t DocFormsGet200ResponseFieldsItemPushbuttonOrigin + var t DocFormsGet200ResponseFieldsItemSignatureOrigin return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocFormsGet200ResponseFieldsItemPushbuttonOrigin) Ptr() *DocFormsGet200ResponseFieldsItemPushbuttonOrigin { +func (d DocFormsGet200ResponseFieldsItemSignatureOrigin) Ptr() *DocFormsGet200ResponseFieldsItemSignatureOrigin { return &d } -type DocFormsGet200ResponseFieldsItemPushbuttonRef struct { +type DocFormsGet200ResponseFieldsItemSignatureRef struct { Kind string - ObjectNumber *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber - Fqn *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn + ObjectNumber *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber + Fqn *DocFormsGet200ResponseFieldsItemSignatureRefFqn rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonRef) GetKind() string { +func (d *DocFormsGet200ResponseFieldsItemSignatureRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonRef) GetObjectNumber() *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber { +func (d *DocFormsGet200ResponseFieldsItemSignatureRef) GetObjectNumber() *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonRef) GetFqn() *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn { +func (d *DocFormsGet200ResponseFieldsItemSignatureRef) GetFqn() *DocFormsGet200ResponseFieldsItemSignatureRefFqn { if d == nil { return nil } return d.Fqn } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonRef) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseFieldsItemSignatureRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -115614,13 +121110,13 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonRef) UnmarshalJSON(data []byt } switch unmarshaler.Kind { case "objectNumber": - value := new(DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber) + value := new(DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "fqn": - value := new(DocFormsGet200ResponseFieldsItemPushbuttonRefFqn) + value := new(DocFormsGet200ResponseFieldsItemSignatureRefFqn) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -115630,7 +121126,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonRef) UnmarshalJSON(data []byt return nil } -func (d DocFormsGet200ResponseFieldsItemPushbuttonRef) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseFieldsItemSignatureRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -115646,12 +121142,12 @@ func (d DocFormsGet200ResponseFieldsItemPushbuttonRef) MarshalJSON() ([]byte, er return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsGet200ResponseFieldsItemPushbuttonRefVisitor interface { - VisitObjectNumber(*DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber) error - VisitFqn(*DocFormsGet200ResponseFieldsItemPushbuttonRefFqn) error +type DocFormsGet200ResponseFieldsItemSignatureRefVisitor interface { + VisitObjectNumber(*DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber) error + VisitFqn(*DocFormsGet200ResponseFieldsItemSignatureRefFqn) error } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonRef) Accept(visitor DocFormsGet200ResponseFieldsItemPushbuttonRefVisitor) error { +func (d *DocFormsGet200ResponseFieldsItemSignatureRef) Accept(visitor DocFormsGet200ResponseFieldsItemSignatureRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -115661,7 +121157,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonRef) Accept(visitor DocFormsG return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonRef) validate() error { +func (d *DocFormsGet200ResponseFieldsItemSignatureRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -115699,10 +121195,10 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonRef) validate() error { } var ( - docFormsGet200ResponseFieldsItemPushbuttonRefFqnFieldName = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemSignatureRefFqnFieldName = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemPushbuttonRefFqn struct { +type DocFormsGet200ResponseFieldsItemSignatureRefFqn struct { Name string `json:"name" url:"name"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -115712,21 +121208,21 @@ type DocFormsGet200ResponseFieldsItemPushbuttonRefFqn struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn) GetName() string { +func (d *DocFormsGet200ResponseFieldsItemSignatureRefFqn) GetName() string { if d == nil { return "" } return d.Name } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemSignatureRefFqn) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemSignatureRefFqn) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -115735,18 +121231,18 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn) require(field *big.In // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn) SetName(name string) { +func (d *DocFormsGet200ResponseFieldsItemSignatureRefFqn) SetName(name string) { d.Name = name - d.require(docFormsGet200ResponseFieldsItemPushbuttonRefFqnFieldName) + d.require(docFormsGet200ResponseFieldsItemSignatureRefFqnFieldName) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonRefFqn +func (d *DocFormsGet200ResponseFieldsItemSignatureRefFqn) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemSignatureRefFqn var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemPushbuttonRefFqn(value) + *d = DocFormsGet200ResponseFieldsItemSignatureRefFqn(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -115756,8 +121252,8 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn) UnmarshalJSON(data [] return nil } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemPushbuttonRefFqn +func (d *DocFormsGet200ResponseFieldsItemSignatureRefFqn) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemSignatureRefFqn var marshaler = struct { embed }{ @@ -115767,7 +121263,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn) MarshalJSON() ([]byte return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn) String() string { +func (d *DocFormsGet200ResponseFieldsItemSignatureRefFqn) String() string { if d == nil { return "" } @@ -115783,10 +121279,10 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn) String() string { } var ( - docFormsGet200ResponseFieldsItemPushbuttonRefObjectNumberFieldFieldObjectNumber = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemSignatureRefObjectNumberFieldFieldObjectNumber = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber struct { +type DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber struct { FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -115796,21 +121292,21 @@ type DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber) GetFieldObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber) GetFieldObjectNumber() int { if d == nil { return 0 } return d.FieldObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -115819,18 +121315,18 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber) require(fiel // SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber) SetFieldObjectNumber(fieldObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber) SetFieldObjectNumber(fieldObjectNumber int) { d.FieldObjectNumber = fieldObjectNumber - d.require(docFormsGet200ResponseFieldsItemPushbuttonRefObjectNumberFieldFieldObjectNumber) + d.require(docFormsGet200ResponseFieldsItemSignatureRefObjectNumberFieldFieldObjectNumber) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber +func (d *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber(value) + *d = DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -115840,8 +121336,8 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber) UnmarshalJSO return nil } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber +func (d *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber var marshaler = struct { embed }{ @@ -115851,7 +121347,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber) MarshalJSON( return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber) String() string { +func (d *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber) String() string { if d == nil { return "" } @@ -115866,52 +121362,52 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber) String() str return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemPushbuttonValueEntry struct { +type DocFormsGet200ResponseFieldsItemSignatureValueEntry struct { Kind string - None *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone - Scalar *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar - Array *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray - Unsupported *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported + None *DocFormsGet200ResponseFieldsItemSignatureValueEntryNone + Scalar *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar + Array *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray + Unsupported *DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) GetKind() string { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntry) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemSignatureValueEntryNone { if d == nil { return nil } return d.None } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar { if d == nil { return nil } return d.Scalar } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray { if d == nil { return nil } return d.Array } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported { if d == nil { return nil } return d.Unsupported } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntry) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -115924,25 +121420,25 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) UnmarshalJSON(dat } switch unmarshaler.Kind { case "none": - value := new(DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone) + value := new(DocFormsGet200ResponseFieldsItemSignatureValueEntryNone) if err := json.Unmarshal(data, &value); err != nil { return err } d.None = value case "scalar": - value := new(DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar) + value := new(DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar) if err := json.Unmarshal(data, &value); err != nil { return err } d.Scalar = value case "array": - value := new(DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray) + value := new(DocFormsGet200ResponseFieldsItemSignatureValueEntryArray) if err := json.Unmarshal(data, &value); err != nil { return err } d.Array = value case "unsupported": - value := new(DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported) + value := new(DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -115952,7 +121448,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) UnmarshalJSON(dat return nil } -func (d DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseFieldsItemSignatureValueEntry) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -115974,14 +121470,14 @@ func (d DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) MarshalJSON() ([]b return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsGet200ResponseFieldsItemPushbuttonValueEntryVisitor interface { - VisitNone(*DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone) error - VisitScalar(*DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar) error - VisitArray(*DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray) error - VisitUnsupported(*DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported) error +type DocFormsGet200ResponseFieldsItemSignatureValueEntryVisitor interface { + VisitNone(*DocFormsGet200ResponseFieldsItemSignatureValueEntryNone) error + VisitScalar(*DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar) error + VisitArray(*DocFormsGet200ResponseFieldsItemSignatureValueEntryArray) error + VisitUnsupported(*DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported) error } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemPushbuttonValueEntryVisitor) error { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemSignatureValueEntryVisitor) error { if d.None != nil { return visitor.VisitNone(d.None) } @@ -115997,7 +121493,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) Accept(visitor Do return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) validate() error { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntry) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -116041,10 +121537,10 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry) validate() error } var ( - docFormsGet200ResponseFieldsItemPushbuttonValueEntryArrayFieldValues = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemSignatureValueEntryArrayFieldValues = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray struct { +type DocFormsGet200ResponseFieldsItemSignatureValueEntryArray struct { Values []string `json:"values" url:"values"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -116054,21 +121550,21 @@ type DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray) GetValues() []string { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray) GetValues() []string { if d == nil { return nil } return d.Values } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -116077,18 +121573,18 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray) require(fiel // SetValues sets the Values field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray) SetValues(values []string) { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray) SetValues(values []string) { d.Values = values - d.require(docFormsGet200ResponseFieldsItemPushbuttonValueEntryArrayFieldValues) + d.require(docFormsGet200ResponseFieldsItemSignatureValueEntryArrayFieldValues) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemSignatureValueEntryArray var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray(value) + *d = DocFormsGet200ResponseFieldsItemSignatureValueEntryArray(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -116098,8 +121594,8 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray) UnmarshalJSO return nil } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemSignatureValueEntryArray var marshaler = struct { embed }{ @@ -116109,7 +121605,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray) MarshalJSON( return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray) String() string { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray) String() string { if d == nil { return "" } @@ -116124,7 +121620,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray) String() str return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone struct { +type DocFormsGet200ResponseFieldsItemSignatureValueEntryNone struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -116133,27 +121629,27 @@ type DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryNone) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryNone) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryNone) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemSignatureValueEntryNone var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone(value) + *d = DocFormsGet200ResponseFieldsItemSignatureValueEntryNone(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -116163,8 +121659,8 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone) UnmarshalJSON return nil } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryNone) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemSignatureValueEntryNone var marshaler = struct { embed }{ @@ -116174,7 +121670,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone) String() string { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryNone) String() string { if d == nil { return "" } @@ -116190,10 +121686,10 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone) String() stri } var ( - docFormsGet200ResponseFieldsItemPushbuttonValueEntryScalarFieldValue = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemSignatureValueEntryScalarFieldValue = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar struct { +type DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar struct { Value string `json:"value" url:"value"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -116203,21 +121699,21 @@ type DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar) GetValue() string { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar) GetValue() string { if d == nil { return "" } return d.Value } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -116226,18 +121722,18 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar) require(fie // SetValue sets the Value field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar) SetValue(value string) { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar) SetValue(value string) { d.Value = value - d.require(docFormsGet200ResponseFieldsItemPushbuttonValueEntryScalarFieldValue) + d.require(docFormsGet200ResponseFieldsItemSignatureValueEntryScalarFieldValue) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar(value) + *d = DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -116247,8 +121743,8 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar) UnmarshalJS return nil } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar var marshaler = struct { embed }{ @@ -116258,7 +121754,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar) MarshalJSON return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar) String() string { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar) String() string { if d == nil { return "" } @@ -116273,7 +121769,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar) String() st return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported struct { +type DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -116282,27 +121778,27 @@ type DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported(value) + *d = DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -116312,8 +121808,8 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported) Unmars return nil } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported var marshaler = struct { embed }{ @@ -116323,7 +121819,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported) String() string { +func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported) String() string { if d == nil { return "" } @@ -116339,11 +121835,11 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported) String } var ( - docFormsGet200ResponseFieldsItemPushbuttonWidgetsItemFieldAnnotObjectNumber = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemPushbuttonWidgetsItemFieldPageObjectNumber = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemSignatureWidgetsItemFieldAnnotObjectNumber = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemSignatureWidgetsItemFieldPageObjectNumber = big.NewInt(1 << 1) ) -type DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem struct { +type DocFormsGet200ResponseFieldsItemSignatureWidgetsItem struct { AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` @@ -116354,28 +121850,28 @@ type DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) GetAnnotObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) GetPageObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -116384,25 +121880,25 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) require(field *b // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docFormsGet200ResponseFieldsItemPushbuttonWidgetsItemFieldAnnotObjectNumber) + d.require(docFormsGet200ResponseFieldsItemSignatureWidgetsItemFieldAnnotObjectNumber) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docFormsGet200ResponseFieldsItemPushbuttonWidgetsItemFieldPageObjectNumber) + d.require(docFormsGet200ResponseFieldsItemSignatureWidgetsItemFieldPageObjectNumber) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem +func (d *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemSignatureWidgetsItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem(value) + *d = DocFormsGet200ResponseFieldsItemSignatureWidgetsItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -116412,8 +121908,8 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) UnmarshalJSON(da return nil } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem +func (d *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemSignatureWidgetsItem var marshaler = struct { embed }{ @@ -116423,7 +121919,7 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) MarshalJSON() ([ return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) String() string { +func (d *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) String() string { if d == nil { return "" } @@ -116439,37 +121935,43 @@ func (d *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem) String() string } var ( - docFormsGet200ResponseFieldsItemRadioFieldRef = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemRadioFieldFieldObjectNumber = big.NewInt(1 << 1) - docFormsGet200ResponseFieldsItemRadioFieldName = big.NewInt(1 << 2) - docFormsGet200ResponseFieldsItemRadioFieldOrigin = big.NewInt(1 << 3) - docFormsGet200ResponseFieldsItemRadioFieldFlags = big.NewInt(1 << 4) - docFormsGet200ResponseFieldsItemRadioFieldAlternateName = big.NewInt(1 << 5) - docFormsGet200ResponseFieldsItemRadioFieldMappingName = big.NewInt(1 << 6) - docFormsGet200ResponseFieldsItemRadioFieldValueEntry = big.NewInt(1 << 7) - docFormsGet200ResponseFieldsItemRadioFieldDefaultValueEntry = big.NewInt(1 << 8) - docFormsGet200ResponseFieldsItemRadioFieldActions = big.NewInt(1 << 9) - docFormsGet200ResponseFieldsItemRadioFieldWidgets = big.NewInt(1 << 10) - docFormsGet200ResponseFieldsItemRadioFieldValue = big.NewInt(1 << 11) - docFormsGet200ResponseFieldsItemRadioFieldRadiosInUnison = big.NewInt(1 << 12) - docFormsGet200ResponseFieldsItemRadioFieldNoToggleToOff = big.NewInt(1 << 13) + docFormsGet200ResponseFieldsItemTextFieldRef = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemTextFieldFieldObjectNumber = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemTextFieldName = big.NewInt(1 << 2) + docFormsGet200ResponseFieldsItemTextFieldOrigin = big.NewInt(1 << 3) + docFormsGet200ResponseFieldsItemTextFieldFlags = big.NewInt(1 << 4) + docFormsGet200ResponseFieldsItemTextFieldAlternateName = big.NewInt(1 << 5) + docFormsGet200ResponseFieldsItemTextFieldMappingName = big.NewInt(1 << 6) + docFormsGet200ResponseFieldsItemTextFieldValueEntry = big.NewInt(1 << 7) + docFormsGet200ResponseFieldsItemTextFieldDefaultValueEntry = big.NewInt(1 << 8) + docFormsGet200ResponseFieldsItemTextFieldActions = big.NewInt(1 << 9) + docFormsGet200ResponseFieldsItemTextFieldWidgets = big.NewInt(1 << 10) + docFormsGet200ResponseFieldsItemTextFieldValue = big.NewInt(1 << 11) + docFormsGet200ResponseFieldsItemTextFieldDefaultValue = big.NewInt(1 << 12) + docFormsGet200ResponseFieldsItemTextFieldMaxLength = big.NewInt(1 << 13) + docFormsGet200ResponseFieldsItemTextFieldMultiline = big.NewInt(1 << 14) + docFormsGet200ResponseFieldsItemTextFieldPassword = big.NewInt(1 << 15) + docFormsGet200ResponseFieldsItemTextFieldComb = big.NewInt(1 << 16) ) -type DocFormsGet200ResponseFieldsItemRadio struct { - Ref *DocFormsGet200ResponseFieldsItemRadioRef `json:"ref" url:"ref"` - FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` - Name string `json:"name" url:"name"` - Origin DocFormsGet200ResponseFieldsItemRadioOrigin `json:"origin" url:"origin"` - Flags *DocFormsGet200ResponseFieldsItemRadioFlags `json:"flags" url:"flags"` - AlternateName *string `json:"alternateName,omitempty" url:"alternateName,omitempty"` - MappingName *string `json:"mappingName,omitempty" url:"mappingName,omitempty"` - ValueEntry *DocFormsGet200ResponseFieldsItemRadioValueEntry `json:"valueEntry" url:"valueEntry"` - DefaultValueEntry *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry `json:"defaultValueEntry" url:"defaultValueEntry"` - Actions *PdfFieldActions `json:"actions,omitempty" url:"actions,omitempty"` - Widgets []*DocFormsGet200ResponseFieldsItemRadioWidgetsItem `json:"widgets" url:"widgets"` - Value string `json:"value" url:"value"` - RadiosInUnison bool `json:"radiosInUnison" url:"radiosInUnison"` - NoToggleToOff bool `json:"noToggleToOff" url:"noToggleToOff"` +type DocFormsGet200ResponseFieldsItemText struct { + Ref *DocFormsGet200ResponseFieldsItemTextRef `json:"ref" url:"ref"` + FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` + Name string `json:"name" url:"name"` + Origin DocFormsGet200ResponseFieldsItemTextOrigin `json:"origin" url:"origin"` + Flags *DocFormsGet200ResponseFieldsItemTextFlags `json:"flags" url:"flags"` + AlternateName *string `json:"alternateName,omitempty" url:"alternateName,omitempty"` + MappingName *string `json:"mappingName,omitempty" url:"mappingName,omitempty"` + ValueEntry *DocFormsGet200ResponseFieldsItemTextValueEntry `json:"valueEntry" url:"valueEntry"` + DefaultValueEntry *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry `json:"defaultValueEntry" url:"defaultValueEntry"` + Actions *PdfFieldActions `json:"actions,omitempty" url:"actions,omitempty"` + Widgets []*DocFormsGet200ResponseFieldsItemTextWidgetsItem `json:"widgets" url:"widgets"` + Value string `json:"value" url:"value"` + DefaultValue string `json:"defaultValue" url:"defaultValue"` + MaxLength *int `json:"maxLength,omitempty" url:"maxLength,omitempty"` + Multiline bool `json:"multiline" url:"multiline"` + Password bool `json:"password" url:"password"` + Comb bool `json:"comb" url:"comb"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -116478,112 +121980,133 @@ type DocFormsGet200ResponseFieldsItemRadio struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemRadio) GetRef() *DocFormsGet200ResponseFieldsItemRadioRef { +func (d *DocFormsGet200ResponseFieldsItemText) GetRef() *DocFormsGet200ResponseFieldsItemTextRef { if d == nil { return nil } return d.Ref } -func (d *DocFormsGet200ResponseFieldsItemRadio) GetFieldObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemText) GetFieldObjectNumber() int { if d == nil { return 0 } return d.FieldObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemRadio) GetName() string { +func (d *DocFormsGet200ResponseFieldsItemText) GetName() string { if d == nil { return "" } return d.Name } -func (d *DocFormsGet200ResponseFieldsItemRadio) GetOrigin() DocFormsGet200ResponseFieldsItemRadioOrigin { +func (d *DocFormsGet200ResponseFieldsItemText) GetOrigin() DocFormsGet200ResponseFieldsItemTextOrigin { if d == nil { return "" } return d.Origin } -func (d *DocFormsGet200ResponseFieldsItemRadio) GetFlags() *DocFormsGet200ResponseFieldsItemRadioFlags { +func (d *DocFormsGet200ResponseFieldsItemText) GetFlags() *DocFormsGet200ResponseFieldsItemTextFlags { if d == nil { return nil } return d.Flags } -func (d *DocFormsGet200ResponseFieldsItemRadio) GetAlternateName() *string { +func (d *DocFormsGet200ResponseFieldsItemText) GetAlternateName() *string { if d == nil { return nil } return d.AlternateName } -func (d *DocFormsGet200ResponseFieldsItemRadio) GetMappingName() *string { +func (d *DocFormsGet200ResponseFieldsItemText) GetMappingName() *string { if d == nil { return nil } return d.MappingName } -func (d *DocFormsGet200ResponseFieldsItemRadio) GetValueEntry() *DocFormsGet200ResponseFieldsItemRadioValueEntry { +func (d *DocFormsGet200ResponseFieldsItemText) GetValueEntry() *DocFormsGet200ResponseFieldsItemTextValueEntry { if d == nil { return nil } return d.ValueEntry } -func (d *DocFormsGet200ResponseFieldsItemRadio) GetDefaultValueEntry() *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry { +func (d *DocFormsGet200ResponseFieldsItemText) GetDefaultValueEntry() *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry { if d == nil { return nil } return d.DefaultValueEntry } -func (d *DocFormsGet200ResponseFieldsItemRadio) GetActions() *PdfFieldActions { +func (d *DocFormsGet200ResponseFieldsItemText) GetActions() *PdfFieldActions { if d == nil { return nil } return d.Actions } -func (d *DocFormsGet200ResponseFieldsItemRadio) GetWidgets() []*DocFormsGet200ResponseFieldsItemRadioWidgetsItem { +func (d *DocFormsGet200ResponseFieldsItemText) GetWidgets() []*DocFormsGet200ResponseFieldsItemTextWidgetsItem { if d == nil { return nil } return d.Widgets } -func (d *DocFormsGet200ResponseFieldsItemRadio) GetValue() string { +func (d *DocFormsGet200ResponseFieldsItemText) GetValue() string { if d == nil { return "" } return d.Value } -func (d *DocFormsGet200ResponseFieldsItemRadio) GetRadiosInUnison() bool { +func (d *DocFormsGet200ResponseFieldsItemText) GetDefaultValue() string { + if d == nil { + return "" + } + return d.DefaultValue +} + +func (d *DocFormsGet200ResponseFieldsItemText) GetMaxLength() *int { + if d == nil { + return nil + } + return d.MaxLength +} + +func (d *DocFormsGet200ResponseFieldsItemText) GetMultiline() bool { if d == nil { return false } - return d.RadiosInUnison + return d.Multiline } -func (d *DocFormsGet200ResponseFieldsItemRadio) GetNoToggleToOff() bool { +func (d *DocFormsGet200ResponseFieldsItemText) GetPassword() bool { if d == nil { return false } - return d.NoToggleToOff + return d.Password } -func (d *DocFormsGet200ResponseFieldsItemRadio) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemText) GetComb() bool { + if d == nil { + return false + } + return d.Comb +} + +func (d *DocFormsGet200ResponseFieldsItemText) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemRadio) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemText) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -116592,109 +122115,130 @@ func (d *DocFormsGet200ResponseFieldsItemRadio) require(field *big.Int) { // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadio) SetRef(ref *DocFormsGet200ResponseFieldsItemRadioRef) { +func (d *DocFormsGet200ResponseFieldsItemText) SetRef(ref *DocFormsGet200ResponseFieldsItemTextRef) { d.Ref = ref - d.require(docFormsGet200ResponseFieldsItemRadioFieldRef) + d.require(docFormsGet200ResponseFieldsItemTextFieldRef) } // SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadio) SetFieldObjectNumber(fieldObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemText) SetFieldObjectNumber(fieldObjectNumber int) { d.FieldObjectNumber = fieldObjectNumber - d.require(docFormsGet200ResponseFieldsItemRadioFieldFieldObjectNumber) + d.require(docFormsGet200ResponseFieldsItemTextFieldFieldObjectNumber) } // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadio) SetName(name string) { +func (d *DocFormsGet200ResponseFieldsItemText) SetName(name string) { d.Name = name - d.require(docFormsGet200ResponseFieldsItemRadioFieldName) + d.require(docFormsGet200ResponseFieldsItemTextFieldName) } // SetOrigin sets the Origin field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadio) SetOrigin(origin DocFormsGet200ResponseFieldsItemRadioOrigin) { +func (d *DocFormsGet200ResponseFieldsItemText) SetOrigin(origin DocFormsGet200ResponseFieldsItemTextOrigin) { d.Origin = origin - d.require(docFormsGet200ResponseFieldsItemRadioFieldOrigin) + d.require(docFormsGet200ResponseFieldsItemTextFieldOrigin) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadio) SetFlags(flags *DocFormsGet200ResponseFieldsItemRadioFlags) { +func (d *DocFormsGet200ResponseFieldsItemText) SetFlags(flags *DocFormsGet200ResponseFieldsItemTextFlags) { d.Flags = flags - d.require(docFormsGet200ResponseFieldsItemRadioFieldFlags) + d.require(docFormsGet200ResponseFieldsItemTextFieldFlags) } // SetAlternateName sets the AlternateName field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadio) SetAlternateName(alternateName *string) { +func (d *DocFormsGet200ResponseFieldsItemText) SetAlternateName(alternateName *string) { d.AlternateName = alternateName - d.require(docFormsGet200ResponseFieldsItemRadioFieldAlternateName) + d.require(docFormsGet200ResponseFieldsItemTextFieldAlternateName) } // SetMappingName sets the MappingName field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadio) SetMappingName(mappingName *string) { +func (d *DocFormsGet200ResponseFieldsItemText) SetMappingName(mappingName *string) { d.MappingName = mappingName - d.require(docFormsGet200ResponseFieldsItemRadioFieldMappingName) + d.require(docFormsGet200ResponseFieldsItemTextFieldMappingName) } // SetValueEntry sets the ValueEntry field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadio) SetValueEntry(valueEntry *DocFormsGet200ResponseFieldsItemRadioValueEntry) { +func (d *DocFormsGet200ResponseFieldsItemText) SetValueEntry(valueEntry *DocFormsGet200ResponseFieldsItemTextValueEntry) { d.ValueEntry = valueEntry - d.require(docFormsGet200ResponseFieldsItemRadioFieldValueEntry) + d.require(docFormsGet200ResponseFieldsItemTextFieldValueEntry) } // SetDefaultValueEntry sets the DefaultValueEntry field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadio) SetDefaultValueEntry(defaultValueEntry *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) { +func (d *DocFormsGet200ResponseFieldsItemText) SetDefaultValueEntry(defaultValueEntry *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) { d.DefaultValueEntry = defaultValueEntry - d.require(docFormsGet200ResponseFieldsItemRadioFieldDefaultValueEntry) + d.require(docFormsGet200ResponseFieldsItemTextFieldDefaultValueEntry) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadio) SetActions(actions *PdfFieldActions) { +func (d *DocFormsGet200ResponseFieldsItemText) SetActions(actions *PdfFieldActions) { d.Actions = actions - d.require(docFormsGet200ResponseFieldsItemRadioFieldActions) + d.require(docFormsGet200ResponseFieldsItemTextFieldActions) } // SetWidgets sets the Widgets field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadio) SetWidgets(widgets []*DocFormsGet200ResponseFieldsItemRadioWidgetsItem) { +func (d *DocFormsGet200ResponseFieldsItemText) SetWidgets(widgets []*DocFormsGet200ResponseFieldsItemTextWidgetsItem) { d.Widgets = widgets - d.require(docFormsGet200ResponseFieldsItemRadioFieldWidgets) + d.require(docFormsGet200ResponseFieldsItemTextFieldWidgets) } // SetValue sets the Value field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadio) SetValue(value string) { +func (d *DocFormsGet200ResponseFieldsItemText) SetValue(value string) { d.Value = value - d.require(docFormsGet200ResponseFieldsItemRadioFieldValue) + d.require(docFormsGet200ResponseFieldsItemTextFieldValue) } -// SetRadiosInUnison sets the RadiosInUnison field and marks it as non-optional; +// SetDefaultValue sets the DefaultValue field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadio) SetRadiosInUnison(radiosInUnison bool) { - d.RadiosInUnison = radiosInUnison - d.require(docFormsGet200ResponseFieldsItemRadioFieldRadiosInUnison) +func (d *DocFormsGet200ResponseFieldsItemText) SetDefaultValue(defaultValue string) { + d.DefaultValue = defaultValue + d.require(docFormsGet200ResponseFieldsItemTextFieldDefaultValue) } -// SetNoToggleToOff sets the NoToggleToOff field and marks it as non-optional; +// SetMaxLength sets the MaxLength field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadio) SetNoToggleToOff(noToggleToOff bool) { - d.NoToggleToOff = noToggleToOff - d.require(docFormsGet200ResponseFieldsItemRadioFieldNoToggleToOff) +func (d *DocFormsGet200ResponseFieldsItemText) SetMaxLength(maxLength *int) { + d.MaxLength = maxLength + d.require(docFormsGet200ResponseFieldsItemTextFieldMaxLength) } -func (d *DocFormsGet200ResponseFieldsItemRadio) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemRadio +// SetMultiline sets the Multiline field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemText) SetMultiline(multiline bool) { + d.Multiline = multiline + d.require(docFormsGet200ResponseFieldsItemTextFieldMultiline) +} + +// SetPassword sets the Password field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemText) SetPassword(password bool) { + d.Password = password + d.require(docFormsGet200ResponseFieldsItemTextFieldPassword) +} + +// SetComb sets the Comb field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemText) SetComb(comb bool) { + d.Comb = comb + d.require(docFormsGet200ResponseFieldsItemTextFieldComb) +} + +func (d *DocFormsGet200ResponseFieldsItemText) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemText var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemRadio(value) + *d = DocFormsGet200ResponseFieldsItemText(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -116704,8 +122248,8 @@ func (d *DocFormsGet200ResponseFieldsItemRadio) UnmarshalJSON(data []byte) error return nil } -func (d *DocFormsGet200ResponseFieldsItemRadio) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemRadio +func (d *DocFormsGet200ResponseFieldsItemText) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemText var marshaler = struct { embed }{ @@ -116715,7 +122259,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadio) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemRadio) String() string { +func (d *DocFormsGet200ResponseFieldsItemText) String() string { if d == nil { return "" } @@ -116730,52 +122274,52 @@ func (d *DocFormsGet200ResponseFieldsItemRadio) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry struct { +type DocFormsGet200ResponseFieldsItemTextDefaultValueEntry struct { Kind string - None *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone - Scalar *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar - Array *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray - Unsupported *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported + None *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone + Scalar *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar + Array *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray + Unsupported *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) GetKind() string { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone { if d == nil { return nil } return d.None } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar { if d == nil { return nil } return d.Scalar } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray { if d == nil { return nil } return d.Array } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported { if d == nil { return nil } return d.Unsupported } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -116788,25 +122332,25 @@ func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) UnmarshalJSON(d } switch unmarshaler.Kind { case "none": - value := new(DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone) + value := new(DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone) if err := json.Unmarshal(data, &value); err != nil { return err } d.None = value case "scalar": - value := new(DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar) + value := new(DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar) if err := json.Unmarshal(data, &value); err != nil { return err } d.Scalar = value case "array": - value := new(DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray) + value := new(DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray) if err := json.Unmarshal(data, &value); err != nil { return err } d.Array = value case "unsupported": - value := new(DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported) + value := new(DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -116816,7 +122360,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) UnmarshalJSON(d return nil } -func (d DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -116838,14 +122382,14 @@ func (d DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) MarshalJSON() ([ return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryVisitor interface { - VisitNone(*DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone) error - VisitScalar(*DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar) error - VisitArray(*DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray) error - VisitUnsupported(*DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported) error +type DocFormsGet200ResponseFieldsItemTextDefaultValueEntryVisitor interface { + VisitNone(*DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone) error + VisitScalar(*DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar) error + VisitArray(*DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray) error + VisitUnsupported(*DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported) error } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryVisitor) error { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemTextDefaultValueEntryVisitor) error { if d.None != nil { return visitor.VisitNone(d.None) } @@ -116861,7 +122405,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) Accept(visitor return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) validate() error { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -116905,10 +122449,10 @@ func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry) validate() erro } var ( - docFormsGet200ResponseFieldsItemRadioDefaultValueEntryArrayFieldValues = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemTextDefaultValueEntryArrayFieldValues = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray struct { +type DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray struct { Values []string `json:"values" url:"values"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -116918,21 +122462,21 @@ type DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray) GetValues() []string { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray) GetValues() []string { if d == nil { return nil } return d.Values } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -116941,18 +122485,18 @@ func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray) require(fi // SetValues sets the Values field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray) SetValues(values []string) { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray) SetValues(values []string) { d.Values = values - d.require(docFormsGet200ResponseFieldsItemRadioDefaultValueEntryArrayFieldValues) + d.require(docFormsGet200ResponseFieldsItemTextDefaultValueEntryArrayFieldValues) } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray(value) + *d = DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -116962,8 +122506,8 @@ func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray) UnmarshalJ return nil } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray var marshaler = struct { embed }{ @@ -116973,7 +122517,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray) MarshalJSO return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray) String() string { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray) String() string { if d == nil { return "" } @@ -116988,7 +122532,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray) String() s return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone struct { +type DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -116997,27 +122541,27 @@ type DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone(value) + *d = DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -117027,8 +122571,8 @@ func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone) UnmarshalJS return nil } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone var marshaler = struct { embed }{ @@ -117038,7 +122582,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone) MarshalJSON return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone) String() string { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone) String() string { if d == nil { return "" } @@ -117054,10 +122598,10 @@ func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone) String() st } var ( - docFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalarFieldValue = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemTextDefaultValueEntryScalarFieldValue = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar struct { +type DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar struct { Value string `json:"value" url:"value"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -117067,21 +122611,21 @@ type DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar) GetValue() string { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar) GetValue() string { if d == nil { return "" } return d.Value } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -117090,18 +122634,18 @@ func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar) require(f // SetValue sets the Value field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar) SetValue(value string) { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar) SetValue(value string) { d.Value = value - d.require(docFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalarFieldValue) + d.require(docFormsGet200ResponseFieldsItemTextDefaultValueEntryScalarFieldValue) } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar(value) + *d = DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -117111,8 +122655,8 @@ func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar) Unmarshal return nil } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar var marshaler = struct { embed }{ @@ -117122,7 +122666,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar) MarshalJS return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar) String() string { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar) String() string { if d == nil { return "" } @@ -117137,7 +122681,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar) String() return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported struct { +type DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -117146,27 +122690,27 @@ type DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported(value) + *d = DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -117176,8 +122720,8 @@ func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported) Unma return nil } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported var marshaler = struct { embed }{ @@ -117187,7 +122731,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported) Mars return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported) String() string { +func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported) String() string { if d == nil { return "" } @@ -117203,13 +122747,13 @@ func (d *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported) Stri } var ( - docFormsGet200ResponseFieldsItemRadioFlagsFieldReadOnly = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemRadioFlagsFieldRequired = big.NewInt(1 << 1) - docFormsGet200ResponseFieldsItemRadioFlagsFieldNoExport = big.NewInt(1 << 2) - docFormsGet200ResponseFieldsItemRadioFlagsFieldRaw = big.NewInt(1 << 3) + docFormsGet200ResponseFieldsItemTextFlagsFieldReadOnly = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemTextFlagsFieldRequired = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemTextFlagsFieldNoExport = big.NewInt(1 << 2) + docFormsGet200ResponseFieldsItemTextFlagsFieldRaw = big.NewInt(1 << 3) ) -type DocFormsGet200ResponseFieldsItemRadioFlags struct { +type DocFormsGet200ResponseFieldsItemTextFlags struct { ReadOnly bool `json:"readOnly" url:"readOnly"` Required bool `json:"required" url:"required"` NoExport bool `json:"noExport" url:"noExport"` @@ -117222,42 +122766,42 @@ type DocFormsGet200ResponseFieldsItemRadioFlags struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemRadioFlags) GetReadOnly() bool { +func (d *DocFormsGet200ResponseFieldsItemTextFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocFormsGet200ResponseFieldsItemRadioFlags) GetRequired() bool { +func (d *DocFormsGet200ResponseFieldsItemTextFlags) GetRequired() bool { if d == nil { return false } return d.Required } -func (d *DocFormsGet200ResponseFieldsItemRadioFlags) GetNoExport() bool { +func (d *DocFormsGet200ResponseFieldsItemTextFlags) GetNoExport() bool { if d == nil { return false } return d.NoExport } -func (d *DocFormsGet200ResponseFieldsItemRadioFlags) GetRaw() int { +func (d *DocFormsGet200ResponseFieldsItemTextFlags) GetRaw() int { if d == nil { return 0 } return d.Raw } -func (d *DocFormsGet200ResponseFieldsItemRadioFlags) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemTextFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemRadioFlags) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemTextFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -117266,39 +122810,39 @@ func (d *DocFormsGet200ResponseFieldsItemRadioFlags) require(field *big.Int) { // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadioFlags) SetReadOnly(readOnly bool) { +func (d *DocFormsGet200ResponseFieldsItemTextFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docFormsGet200ResponseFieldsItemRadioFlagsFieldReadOnly) + d.require(docFormsGet200ResponseFieldsItemTextFlagsFieldReadOnly) } // SetRequired sets the Required field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadioFlags) SetRequired(required bool) { +func (d *DocFormsGet200ResponseFieldsItemTextFlags) SetRequired(required bool) { d.Required = required - d.require(docFormsGet200ResponseFieldsItemRadioFlagsFieldRequired) + d.require(docFormsGet200ResponseFieldsItemTextFlagsFieldRequired) } // SetNoExport sets the NoExport field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadioFlags) SetNoExport(noExport bool) { +func (d *DocFormsGet200ResponseFieldsItemTextFlags) SetNoExport(noExport bool) { d.NoExport = noExport - d.require(docFormsGet200ResponseFieldsItemRadioFlagsFieldNoExport) + d.require(docFormsGet200ResponseFieldsItemTextFlagsFieldNoExport) } // SetRaw sets the Raw field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadioFlags) SetRaw(raw int) { +func (d *DocFormsGet200ResponseFieldsItemTextFlags) SetRaw(raw int) { d.Raw = raw - d.require(docFormsGet200ResponseFieldsItemRadioFlagsFieldRaw) + d.require(docFormsGet200ResponseFieldsItemTextFlagsFieldRaw) } -func (d *DocFormsGet200ResponseFieldsItemRadioFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemRadioFlags +func (d *DocFormsGet200ResponseFieldsItemTextFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemTextFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemRadioFlags(value) + *d = DocFormsGet200ResponseFieldsItemTextFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -117308,8 +122852,8 @@ func (d *DocFormsGet200ResponseFieldsItemRadioFlags) UnmarshalJSON(data []byte) return nil } -func (d *DocFormsGet200ResponseFieldsItemRadioFlags) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemRadioFlags +func (d *DocFormsGet200ResponseFieldsItemTextFlags) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemTextFlags var marshaler = struct { embed }{ @@ -117319,7 +122863,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadioFlags) MarshalJSON() ([]byte, erro return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemRadioFlags) String() string { +func (d *DocFormsGet200ResponseFieldsItemTextFlags) String() string { if d == nil { return "" } @@ -117334,58 +122878,58 @@ func (d *DocFormsGet200ResponseFieldsItemRadioFlags) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemRadioOrigin string +type DocFormsGet200ResponseFieldsItemTextOrigin string const ( - DocFormsGet200ResponseFieldsItemRadioOriginAcroform DocFormsGet200ResponseFieldsItemRadioOrigin = "acroform" - DocFormsGet200ResponseFieldsItemRadioOriginRecovered DocFormsGet200ResponseFieldsItemRadioOrigin = "recovered" + DocFormsGet200ResponseFieldsItemTextOriginAcroform DocFormsGet200ResponseFieldsItemTextOrigin = "acroform" + DocFormsGet200ResponseFieldsItemTextOriginRecovered DocFormsGet200ResponseFieldsItemTextOrigin = "recovered" ) -func NewDocFormsGet200ResponseFieldsItemRadioOriginFromString(s string) (DocFormsGet200ResponseFieldsItemRadioOrigin, error) { +func NewDocFormsGet200ResponseFieldsItemTextOriginFromString(s string) (DocFormsGet200ResponseFieldsItemTextOrigin, error) { switch s { case "acroform": - return DocFormsGet200ResponseFieldsItemRadioOriginAcroform, nil + return DocFormsGet200ResponseFieldsItemTextOriginAcroform, nil case "recovered": - return DocFormsGet200ResponseFieldsItemRadioOriginRecovered, nil + return DocFormsGet200ResponseFieldsItemTextOriginRecovered, nil } - var t DocFormsGet200ResponseFieldsItemRadioOrigin + var t DocFormsGet200ResponseFieldsItemTextOrigin return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocFormsGet200ResponseFieldsItemRadioOrigin) Ptr() *DocFormsGet200ResponseFieldsItemRadioOrigin { +func (d DocFormsGet200ResponseFieldsItemTextOrigin) Ptr() *DocFormsGet200ResponseFieldsItemTextOrigin { return &d } -type DocFormsGet200ResponseFieldsItemRadioRef struct { +type DocFormsGet200ResponseFieldsItemTextRef struct { Kind string - ObjectNumber *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber - Fqn *DocFormsGet200ResponseFieldsItemRadioRefFqn + ObjectNumber *DocFormsGet200ResponseFieldsItemTextRefObjectNumber + Fqn *DocFormsGet200ResponseFieldsItemTextRefFqn rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemRadioRef) GetKind() string { +func (d *DocFormsGet200ResponseFieldsItemTextRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsGet200ResponseFieldsItemRadioRef) GetObjectNumber() *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber { +func (d *DocFormsGet200ResponseFieldsItemTextRef) GetObjectNumber() *DocFormsGet200ResponseFieldsItemTextRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemRadioRef) GetFqn() *DocFormsGet200ResponseFieldsItemRadioRefFqn { +func (d *DocFormsGet200ResponseFieldsItemTextRef) GetFqn() *DocFormsGet200ResponseFieldsItemTextRefFqn { if d == nil { return nil } return d.Fqn } -func (d *DocFormsGet200ResponseFieldsItemRadioRef) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseFieldsItemTextRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -117398,13 +122942,13 @@ func (d *DocFormsGet200ResponseFieldsItemRadioRef) UnmarshalJSON(data []byte) er } switch unmarshaler.Kind { case "objectNumber": - value := new(DocFormsGet200ResponseFieldsItemRadioRefObjectNumber) + value := new(DocFormsGet200ResponseFieldsItemTextRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "fqn": - value := new(DocFormsGet200ResponseFieldsItemRadioRefFqn) + value := new(DocFormsGet200ResponseFieldsItemTextRefFqn) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -117414,7 +122958,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadioRef) UnmarshalJSON(data []byte) er return nil } -func (d DocFormsGet200ResponseFieldsItemRadioRef) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseFieldsItemTextRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -117430,12 +122974,12 @@ func (d DocFormsGet200ResponseFieldsItemRadioRef) MarshalJSON() ([]byte, error) return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsGet200ResponseFieldsItemRadioRefVisitor interface { - VisitObjectNumber(*DocFormsGet200ResponseFieldsItemRadioRefObjectNumber) error - VisitFqn(*DocFormsGet200ResponseFieldsItemRadioRefFqn) error +type DocFormsGet200ResponseFieldsItemTextRefVisitor interface { + VisitObjectNumber(*DocFormsGet200ResponseFieldsItemTextRefObjectNumber) error + VisitFqn(*DocFormsGet200ResponseFieldsItemTextRefFqn) error } -func (d *DocFormsGet200ResponseFieldsItemRadioRef) Accept(visitor DocFormsGet200ResponseFieldsItemRadioRefVisitor) error { +func (d *DocFormsGet200ResponseFieldsItemTextRef) Accept(visitor DocFormsGet200ResponseFieldsItemTextRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -117445,7 +122989,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadioRef) Accept(visitor DocFormsGet200 return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseFieldsItemRadioRef) validate() error { +func (d *DocFormsGet200ResponseFieldsItemTextRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -117483,10 +123027,10 @@ func (d *DocFormsGet200ResponseFieldsItemRadioRef) validate() error { } var ( - docFormsGet200ResponseFieldsItemRadioRefFqnFieldName = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemTextRefFqnFieldName = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemRadioRefFqn struct { +type DocFormsGet200ResponseFieldsItemTextRefFqn struct { Name string `json:"name" url:"name"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -117496,21 +123040,21 @@ type DocFormsGet200ResponseFieldsItemRadioRefFqn struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemRadioRefFqn) GetName() string { +func (d *DocFormsGet200ResponseFieldsItemTextRefFqn) GetName() string { if d == nil { return "" } return d.Name } -func (d *DocFormsGet200ResponseFieldsItemRadioRefFqn) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemTextRefFqn) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemRadioRefFqn) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemTextRefFqn) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -117519,18 +123063,18 @@ func (d *DocFormsGet200ResponseFieldsItemRadioRefFqn) require(field *big.Int) { // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadioRefFqn) SetName(name string) { +func (d *DocFormsGet200ResponseFieldsItemTextRefFqn) SetName(name string) { d.Name = name - d.require(docFormsGet200ResponseFieldsItemRadioRefFqnFieldName) + d.require(docFormsGet200ResponseFieldsItemTextRefFqnFieldName) } -func (d *DocFormsGet200ResponseFieldsItemRadioRefFqn) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemRadioRefFqn +func (d *DocFormsGet200ResponseFieldsItemTextRefFqn) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemTextRefFqn var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemRadioRefFqn(value) + *d = DocFormsGet200ResponseFieldsItemTextRefFqn(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -117540,8 +123084,8 @@ func (d *DocFormsGet200ResponseFieldsItemRadioRefFqn) UnmarshalJSON(data []byte) return nil } -func (d *DocFormsGet200ResponseFieldsItemRadioRefFqn) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemRadioRefFqn +func (d *DocFormsGet200ResponseFieldsItemTextRefFqn) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemTextRefFqn var marshaler = struct { embed }{ @@ -117551,7 +123095,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadioRefFqn) MarshalJSON() ([]byte, err return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemRadioRefFqn) String() string { +func (d *DocFormsGet200ResponseFieldsItemTextRefFqn) String() string { if d == nil { return "" } @@ -117567,10 +123111,10 @@ func (d *DocFormsGet200ResponseFieldsItemRadioRefFqn) String() string { } var ( - docFormsGet200ResponseFieldsItemRadioRefObjectNumberFieldFieldObjectNumber = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemTextRefObjectNumberFieldFieldObjectNumber = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemRadioRefObjectNumber struct { +type DocFormsGet200ResponseFieldsItemTextRefObjectNumber struct { FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -117580,21 +123124,21 @@ type DocFormsGet200ResponseFieldsItemRadioRefObjectNumber struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber) GetFieldObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemTextRefObjectNumber) GetFieldObjectNumber() int { if d == nil { return 0 } return d.FieldObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemTextRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemTextRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -117603,18 +123147,18 @@ func (d *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber) require(field *bi // SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber) SetFieldObjectNumber(fieldObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemTextRefObjectNumber) SetFieldObjectNumber(fieldObjectNumber int) { d.FieldObjectNumber = fieldObjectNumber - d.require(docFormsGet200ResponseFieldsItemRadioRefObjectNumberFieldFieldObjectNumber) + d.require(docFormsGet200ResponseFieldsItemTextRefObjectNumberFieldFieldObjectNumber) } -func (d *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemRadioRefObjectNumber +func (d *DocFormsGet200ResponseFieldsItemTextRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemTextRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemRadioRefObjectNumber(value) + *d = DocFormsGet200ResponseFieldsItemTextRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -117624,8 +123168,8 @@ func (d *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber) UnmarshalJSON(dat return nil } -func (d *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemRadioRefObjectNumber +func (d *DocFormsGet200ResponseFieldsItemTextRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemTextRefObjectNumber var marshaler = struct { embed }{ @@ -117635,7 +123179,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber) MarshalJSON() ([] return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber) String() string { +func (d *DocFormsGet200ResponseFieldsItemTextRefObjectNumber) String() string { if d == nil { return "" } @@ -117650,52 +123194,52 @@ func (d *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemRadioValueEntry struct { +type DocFormsGet200ResponseFieldsItemTextValueEntry struct { Kind string - None *DocFormsGet200ResponseFieldsItemRadioValueEntryNone - Scalar *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar - Array *DocFormsGet200ResponseFieldsItemRadioValueEntryArray - Unsupported *DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported + None *DocFormsGet200ResponseFieldsItemTextValueEntryNone + Scalar *DocFormsGet200ResponseFieldsItemTextValueEntryScalar + Array *DocFormsGet200ResponseFieldsItemTextValueEntryArray + Unsupported *DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntry) GetKind() string { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntry) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemRadioValueEntryNone { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemTextValueEntryNone { if d == nil { return nil } return d.None } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemTextValueEntryScalar { if d == nil { return nil } return d.Scalar } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemRadioValueEntryArray { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemTextValueEntryArray { if d == nil { return nil } return d.Array } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported { if d == nil { return nil } return d.Unsupported } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntry) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntry) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -117708,25 +123252,25 @@ func (d *DocFormsGet200ResponseFieldsItemRadioValueEntry) UnmarshalJSON(data []b } switch unmarshaler.Kind { case "none": - value := new(DocFormsGet200ResponseFieldsItemRadioValueEntryNone) + value := new(DocFormsGet200ResponseFieldsItemTextValueEntryNone) if err := json.Unmarshal(data, &value); err != nil { return err } d.None = value case "scalar": - value := new(DocFormsGet200ResponseFieldsItemRadioValueEntryScalar) + value := new(DocFormsGet200ResponseFieldsItemTextValueEntryScalar) if err := json.Unmarshal(data, &value); err != nil { return err } d.Scalar = value case "array": - value := new(DocFormsGet200ResponseFieldsItemRadioValueEntryArray) + value := new(DocFormsGet200ResponseFieldsItemTextValueEntryArray) if err := json.Unmarshal(data, &value); err != nil { return err } d.Array = value case "unsupported": - value := new(DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported) + value := new(DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -117736,7 +123280,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadioValueEntry) UnmarshalJSON(data []b return nil } -func (d DocFormsGet200ResponseFieldsItemRadioValueEntry) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseFieldsItemTextValueEntry) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -117758,14 +123302,14 @@ func (d DocFormsGet200ResponseFieldsItemRadioValueEntry) MarshalJSON() ([]byte, return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsGet200ResponseFieldsItemRadioValueEntryVisitor interface { - VisitNone(*DocFormsGet200ResponseFieldsItemRadioValueEntryNone) error - VisitScalar(*DocFormsGet200ResponseFieldsItemRadioValueEntryScalar) error - VisitArray(*DocFormsGet200ResponseFieldsItemRadioValueEntryArray) error - VisitUnsupported(*DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported) error +type DocFormsGet200ResponseFieldsItemTextValueEntryVisitor interface { + VisitNone(*DocFormsGet200ResponseFieldsItemTextValueEntryNone) error + VisitScalar(*DocFormsGet200ResponseFieldsItemTextValueEntryScalar) error + VisitArray(*DocFormsGet200ResponseFieldsItemTextValueEntryArray) error + VisitUnsupported(*DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported) error } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemRadioValueEntryVisitor) error { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemTextValueEntryVisitor) error { if d.None != nil { return visitor.VisitNone(d.None) } @@ -117781,7 +123325,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadioValueEntry) Accept(visitor DocForm return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntry) validate() error { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntry) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -117825,10 +123369,10 @@ func (d *DocFormsGet200ResponseFieldsItemRadioValueEntry) validate() error { } var ( - docFormsGet200ResponseFieldsItemRadioValueEntryArrayFieldValues = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemTextValueEntryArrayFieldValues = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemRadioValueEntryArray struct { +type DocFormsGet200ResponseFieldsItemTextValueEntryArray struct { Values []string `json:"values" url:"values"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -117838,21 +123382,21 @@ type DocFormsGet200ResponseFieldsItemRadioValueEntryArray struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryArray) GetValues() []string { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryArray) GetValues() []string { if d == nil { return nil } return d.Values } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryArray) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryArray) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryArray) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryArray) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -117861,18 +123405,18 @@ func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryArray) require(field *bi // SetValues sets the Values field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryArray) SetValues(values []string) { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryArray) SetValues(values []string) { d.Values = values - d.require(docFormsGet200ResponseFieldsItemRadioValueEntryArrayFieldValues) + d.require(docFormsGet200ResponseFieldsItemTextValueEntryArrayFieldValues) } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryArray) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemRadioValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryArray) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemTextValueEntryArray var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemRadioValueEntryArray(value) + *d = DocFormsGet200ResponseFieldsItemTextValueEntryArray(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -117882,8 +123426,8 @@ func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryArray) UnmarshalJSON(dat return nil } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryArray) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemRadioValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryArray) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemTextValueEntryArray var marshaler = struct { embed }{ @@ -117893,7 +123437,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryArray) MarshalJSON() ([] return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryArray) String() string { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryArray) String() string { if d == nil { return "" } @@ -117908,7 +123452,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryArray) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemRadioValueEntryNone struct { +type DocFormsGet200ResponseFieldsItemTextValueEntryNone struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -117917,27 +123461,27 @@ type DocFormsGet200ResponseFieldsItemRadioValueEntryNone struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryNone) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryNone) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryNone) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryNone) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryNone) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemRadioValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryNone) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemTextValueEntryNone var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemRadioValueEntryNone(value) + *d = DocFormsGet200ResponseFieldsItemTextValueEntryNone(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -117947,8 +123491,8 @@ func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryNone) UnmarshalJSON(data return nil } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryNone) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemRadioValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryNone) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemTextValueEntryNone var marshaler = struct { embed }{ @@ -117958,7 +123502,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryNone) MarshalJSON() ([]b return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryNone) String() string { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryNone) String() string { if d == nil { return "" } @@ -117974,10 +123518,10 @@ func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryNone) String() string { } var ( - docFormsGet200ResponseFieldsItemRadioValueEntryScalarFieldValue = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemTextValueEntryScalarFieldValue = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemRadioValueEntryScalar struct { +type DocFormsGet200ResponseFieldsItemTextValueEntryScalar struct { Value string `json:"value" url:"value"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -117987,21 +123531,21 @@ type DocFormsGet200ResponseFieldsItemRadioValueEntryScalar struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar) GetValue() string { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryScalar) GetValue() string { if d == nil { return "" } return d.Value } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryScalar) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryScalar) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -118010,18 +123554,18 @@ func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar) require(field *b // SetValue sets the Value field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar) SetValue(value string) { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryScalar) SetValue(value string) { d.Value = value - d.require(docFormsGet200ResponseFieldsItemRadioValueEntryScalarFieldValue) + d.require(docFormsGet200ResponseFieldsItemTextValueEntryScalarFieldValue) } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemRadioValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryScalar) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemTextValueEntryScalar var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemRadioValueEntryScalar(value) + *d = DocFormsGet200ResponseFieldsItemTextValueEntryScalar(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -118031,8 +123575,8 @@ func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar) UnmarshalJSON(da return nil } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemRadioValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryScalar) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemTextValueEntryScalar var marshaler = struct { embed }{ @@ -118042,7 +123586,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar) MarshalJSON() ([ return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar) String() string { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryScalar) String() string { if d == nil { return "" } @@ -118057,7 +123601,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar) String() string return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported struct { +type DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -118066,27 +123610,27 @@ type DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported(value) + *d = DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -118096,8 +123640,8 @@ func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported) UnmarshalJS return nil } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported var marshaler = struct { embed }{ @@ -118107,7 +123651,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported) MarshalJSON return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported) String() string { +func (d *DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported) String() string { if d == nil { return "" } @@ -118123,19 +123667,13 @@ func (d *DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported) String() st } var ( - docFormsGet200ResponseFieldsItemRadioWidgetsItemFieldAnnotObjectNumber = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemRadioWidgetsItemFieldPageObjectNumber = big.NewInt(1 << 1) - docFormsGet200ResponseFieldsItemRadioWidgetsItemFieldOnState = big.NewInt(1 << 2) - docFormsGet200ResponseFieldsItemRadioWidgetsItemFieldExportValue = big.NewInt(1 << 3) - docFormsGet200ResponseFieldsItemRadioWidgetsItemFieldChecked = big.NewInt(1 << 4) + docFormsGet200ResponseFieldsItemTextWidgetsItemFieldAnnotObjectNumber = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemTextWidgetsItemFieldPageObjectNumber = big.NewInt(1 << 1) ) -type DocFormsGet200ResponseFieldsItemRadioWidgetsItem struct { - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - OnState string `json:"onState" url:"onState"` - ExportValue string `json:"exportValue" url:"exportValue"` - Checked bool `json:"checked" url:"checked"` +type DocFormsGet200ResponseFieldsItemTextWidgetsItem struct { + AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -118144,49 +123682,28 @@ type DocFormsGet200ResponseFieldsItemRadioWidgetsItem struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) GetAnnotObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemTextWidgetsItem) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) GetPageObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemTextWidgetsItem) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) GetOnState() string { - if d == nil { - return "" - } - return d.OnState -} - -func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) GetExportValue() string { - if d == nil { - return "" - } - return d.ExportValue -} - -func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) GetChecked() bool { - if d == nil { - return false - } - return d.Checked -} - -func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemTextWidgetsItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemTextWidgetsItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -118195,46 +123712,25 @@ func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) require(field *big.In // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemTextWidgetsItem) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docFormsGet200ResponseFieldsItemRadioWidgetsItemFieldAnnotObjectNumber) + d.require(docFormsGet200ResponseFieldsItemTextWidgetsItemFieldAnnotObjectNumber) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemTextWidgetsItem) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docFormsGet200ResponseFieldsItemRadioWidgetsItemFieldPageObjectNumber) -} - -// SetOnState sets the OnState field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) SetOnState(onState string) { - d.OnState = onState - d.require(docFormsGet200ResponseFieldsItemRadioWidgetsItemFieldOnState) -} - -// SetExportValue sets the ExportValue field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) SetExportValue(exportValue string) { - d.ExportValue = exportValue - d.require(docFormsGet200ResponseFieldsItemRadioWidgetsItemFieldExportValue) -} - -// SetChecked sets the Checked field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) SetChecked(checked bool) { - d.Checked = checked - d.require(docFormsGet200ResponseFieldsItemRadioWidgetsItemFieldChecked) + d.require(docFormsGet200ResponseFieldsItemTextWidgetsItemFieldPageObjectNumber) } -func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemRadioWidgetsItem +func (d *DocFormsGet200ResponseFieldsItemTextWidgetsItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemTextWidgetsItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemRadioWidgetsItem(value) + *d = DocFormsGet200ResponseFieldsItemTextWidgetsItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -118244,8 +123740,8 @@ func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) UnmarshalJSON(data [] return nil } -func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemRadioWidgetsItem +func (d *DocFormsGet200ResponseFieldsItemTextWidgetsItem) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemTextWidgetsItem var marshaler = struct { embed }{ @@ -118255,7 +123751,7 @@ func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) MarshalJSON() ([]byte return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) String() string { +func (d *DocFormsGet200ResponseFieldsItemTextWidgetsItem) String() string { if d == nil { return "" } @@ -118271,31 +123767,33 @@ func (d *DocFormsGet200ResponseFieldsItemRadioWidgetsItem) String() string { } var ( - docFormsGet200ResponseFieldsItemSignatureFieldRef = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemSignatureFieldFieldObjectNumber = big.NewInt(1 << 1) - docFormsGet200ResponseFieldsItemSignatureFieldName = big.NewInt(1 << 2) - docFormsGet200ResponseFieldsItemSignatureFieldOrigin = big.NewInt(1 << 3) - docFormsGet200ResponseFieldsItemSignatureFieldFlags = big.NewInt(1 << 4) - docFormsGet200ResponseFieldsItemSignatureFieldAlternateName = big.NewInt(1 << 5) - docFormsGet200ResponseFieldsItemSignatureFieldMappingName = big.NewInt(1 << 6) - docFormsGet200ResponseFieldsItemSignatureFieldValueEntry = big.NewInt(1 << 7) - docFormsGet200ResponseFieldsItemSignatureFieldDefaultValueEntry = big.NewInt(1 << 8) - docFormsGet200ResponseFieldsItemSignatureFieldActions = big.NewInt(1 << 9) - docFormsGet200ResponseFieldsItemSignatureFieldWidgets = big.NewInt(1 << 10) + docFormsGet200ResponseFieldsItemUnknownFieldRef = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemUnknownFieldFieldObjectNumber = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemUnknownFieldName = big.NewInt(1 << 2) + docFormsGet200ResponseFieldsItemUnknownFieldOrigin = big.NewInt(1 << 3) + docFormsGet200ResponseFieldsItemUnknownFieldFlags = big.NewInt(1 << 4) + docFormsGet200ResponseFieldsItemUnknownFieldAlternateName = big.NewInt(1 << 5) + docFormsGet200ResponseFieldsItemUnknownFieldMappingName = big.NewInt(1 << 6) + docFormsGet200ResponseFieldsItemUnknownFieldValueEntry = big.NewInt(1 << 7) + docFormsGet200ResponseFieldsItemUnknownFieldDefaultValueEntry = big.NewInt(1 << 8) + docFormsGet200ResponseFieldsItemUnknownFieldActions = big.NewInt(1 << 9) + docFormsGet200ResponseFieldsItemUnknownFieldWidgets = big.NewInt(1 << 10) + docFormsGet200ResponseFieldsItemUnknownFieldRawValue = big.NewInt(1 << 11) ) -type DocFormsGet200ResponseFieldsItemSignature struct { - Ref *DocFormsGet200ResponseFieldsItemSignatureRef `json:"ref" url:"ref"` - FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` - Name string `json:"name" url:"name"` - Origin DocFormsGet200ResponseFieldsItemSignatureOrigin `json:"origin" url:"origin"` - Flags *DocFormsGet200ResponseFieldsItemSignatureFlags `json:"flags" url:"flags"` - AlternateName *string `json:"alternateName,omitempty" url:"alternateName,omitempty"` - MappingName *string `json:"mappingName,omitempty" url:"mappingName,omitempty"` - ValueEntry *DocFormsGet200ResponseFieldsItemSignatureValueEntry `json:"valueEntry" url:"valueEntry"` - DefaultValueEntry *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry `json:"defaultValueEntry" url:"defaultValueEntry"` - Actions *PdfFieldActions `json:"actions,omitempty" url:"actions,omitempty"` - Widgets []*DocFormsGet200ResponseFieldsItemSignatureWidgetsItem `json:"widgets" url:"widgets"` +type DocFormsGet200ResponseFieldsItemUnknown struct { + Ref *DocFormsGet200ResponseFieldsItemUnknownRef `json:"ref" url:"ref"` + FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` + Name string `json:"name" url:"name"` + Origin DocFormsGet200ResponseFieldsItemUnknownOrigin `json:"origin" url:"origin"` + Flags *DocFormsGet200ResponseFieldsItemUnknownFlags `json:"flags" url:"flags"` + AlternateName *string `json:"alternateName,omitempty" url:"alternateName,omitempty"` + MappingName *string `json:"mappingName,omitempty" url:"mappingName,omitempty"` + ValueEntry *DocFormsGet200ResponseFieldsItemUnknownValueEntry `json:"valueEntry" url:"valueEntry"` + DefaultValueEntry *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry `json:"defaultValueEntry" url:"defaultValueEntry"` + Actions *PdfFieldActions `json:"actions,omitempty" url:"actions,omitempty"` + Widgets []*DocFormsGet200ResponseFieldsItemUnknownWidgetsItem `json:"widgets" url:"widgets"` + RawValue string `json:"rawValue" url:"rawValue"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -118304,91 +123802,98 @@ type DocFormsGet200ResponseFieldsItemSignature struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemSignature) GetRef() *DocFormsGet200ResponseFieldsItemSignatureRef { +func (d *DocFormsGet200ResponseFieldsItemUnknown) GetRef() *DocFormsGet200ResponseFieldsItemUnknownRef { if d == nil { return nil } return d.Ref } -func (d *DocFormsGet200ResponseFieldsItemSignature) GetFieldObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemUnknown) GetFieldObjectNumber() int { if d == nil { return 0 } return d.FieldObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemSignature) GetName() string { +func (d *DocFormsGet200ResponseFieldsItemUnknown) GetName() string { if d == nil { return "" } return d.Name } -func (d *DocFormsGet200ResponseFieldsItemSignature) GetOrigin() DocFormsGet200ResponseFieldsItemSignatureOrigin { +func (d *DocFormsGet200ResponseFieldsItemUnknown) GetOrigin() DocFormsGet200ResponseFieldsItemUnknownOrigin { if d == nil { return "" } return d.Origin } -func (d *DocFormsGet200ResponseFieldsItemSignature) GetFlags() *DocFormsGet200ResponseFieldsItemSignatureFlags { +func (d *DocFormsGet200ResponseFieldsItemUnknown) GetFlags() *DocFormsGet200ResponseFieldsItemUnknownFlags { if d == nil { return nil } return d.Flags } -func (d *DocFormsGet200ResponseFieldsItemSignature) GetAlternateName() *string { +func (d *DocFormsGet200ResponseFieldsItemUnknown) GetAlternateName() *string { if d == nil { return nil } return d.AlternateName } -func (d *DocFormsGet200ResponseFieldsItemSignature) GetMappingName() *string { +func (d *DocFormsGet200ResponseFieldsItemUnknown) GetMappingName() *string { if d == nil { return nil } return d.MappingName } -func (d *DocFormsGet200ResponseFieldsItemSignature) GetValueEntry() *DocFormsGet200ResponseFieldsItemSignatureValueEntry { +func (d *DocFormsGet200ResponseFieldsItemUnknown) GetValueEntry() *DocFormsGet200ResponseFieldsItemUnknownValueEntry { if d == nil { return nil } return d.ValueEntry } -func (d *DocFormsGet200ResponseFieldsItemSignature) GetDefaultValueEntry() *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry { +func (d *DocFormsGet200ResponseFieldsItemUnknown) GetDefaultValueEntry() *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry { if d == nil { return nil } return d.DefaultValueEntry } -func (d *DocFormsGet200ResponseFieldsItemSignature) GetActions() *PdfFieldActions { +func (d *DocFormsGet200ResponseFieldsItemUnknown) GetActions() *PdfFieldActions { if d == nil { return nil } return d.Actions } -func (d *DocFormsGet200ResponseFieldsItemSignature) GetWidgets() []*DocFormsGet200ResponseFieldsItemSignatureWidgetsItem { +func (d *DocFormsGet200ResponseFieldsItemUnknown) GetWidgets() []*DocFormsGet200ResponseFieldsItemUnknownWidgetsItem { if d == nil { return nil } return d.Widgets } -func (d *DocFormsGet200ResponseFieldsItemSignature) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemUnknown) GetRawValue() string { + if d == nil { + return "" + } + return d.RawValue +} + +func (d *DocFormsGet200ResponseFieldsItemUnknown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemSignature) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemUnknown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -118397,88 +123902,95 @@ func (d *DocFormsGet200ResponseFieldsItemSignature) require(field *big.Int) { // SetRef sets the Ref field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignature) SetRef(ref *DocFormsGet200ResponseFieldsItemSignatureRef) { +func (d *DocFormsGet200ResponseFieldsItemUnknown) SetRef(ref *DocFormsGet200ResponseFieldsItemUnknownRef) { d.Ref = ref - d.require(docFormsGet200ResponseFieldsItemSignatureFieldRef) + d.require(docFormsGet200ResponseFieldsItemUnknownFieldRef) } // SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignature) SetFieldObjectNumber(fieldObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemUnknown) SetFieldObjectNumber(fieldObjectNumber int) { d.FieldObjectNumber = fieldObjectNumber - d.require(docFormsGet200ResponseFieldsItemSignatureFieldFieldObjectNumber) + d.require(docFormsGet200ResponseFieldsItemUnknownFieldFieldObjectNumber) } // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignature) SetName(name string) { +func (d *DocFormsGet200ResponseFieldsItemUnknown) SetName(name string) { d.Name = name - d.require(docFormsGet200ResponseFieldsItemSignatureFieldName) + d.require(docFormsGet200ResponseFieldsItemUnknownFieldName) } // SetOrigin sets the Origin field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignature) SetOrigin(origin DocFormsGet200ResponseFieldsItemSignatureOrigin) { +func (d *DocFormsGet200ResponseFieldsItemUnknown) SetOrigin(origin DocFormsGet200ResponseFieldsItemUnknownOrigin) { d.Origin = origin - d.require(docFormsGet200ResponseFieldsItemSignatureFieldOrigin) + d.require(docFormsGet200ResponseFieldsItemUnknownFieldOrigin) } // SetFlags sets the Flags field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignature) SetFlags(flags *DocFormsGet200ResponseFieldsItemSignatureFlags) { +func (d *DocFormsGet200ResponseFieldsItemUnknown) SetFlags(flags *DocFormsGet200ResponseFieldsItemUnknownFlags) { d.Flags = flags - d.require(docFormsGet200ResponseFieldsItemSignatureFieldFlags) + d.require(docFormsGet200ResponseFieldsItemUnknownFieldFlags) } // SetAlternateName sets the AlternateName field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignature) SetAlternateName(alternateName *string) { +func (d *DocFormsGet200ResponseFieldsItemUnknown) SetAlternateName(alternateName *string) { d.AlternateName = alternateName - d.require(docFormsGet200ResponseFieldsItemSignatureFieldAlternateName) + d.require(docFormsGet200ResponseFieldsItemUnknownFieldAlternateName) } // SetMappingName sets the MappingName field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignature) SetMappingName(mappingName *string) { +func (d *DocFormsGet200ResponseFieldsItemUnknown) SetMappingName(mappingName *string) { d.MappingName = mappingName - d.require(docFormsGet200ResponseFieldsItemSignatureFieldMappingName) + d.require(docFormsGet200ResponseFieldsItemUnknownFieldMappingName) } // SetValueEntry sets the ValueEntry field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignature) SetValueEntry(valueEntry *DocFormsGet200ResponseFieldsItemSignatureValueEntry) { +func (d *DocFormsGet200ResponseFieldsItemUnknown) SetValueEntry(valueEntry *DocFormsGet200ResponseFieldsItemUnknownValueEntry) { d.ValueEntry = valueEntry - d.require(docFormsGet200ResponseFieldsItemSignatureFieldValueEntry) + d.require(docFormsGet200ResponseFieldsItemUnknownFieldValueEntry) } // SetDefaultValueEntry sets the DefaultValueEntry field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignature) SetDefaultValueEntry(defaultValueEntry *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) { +func (d *DocFormsGet200ResponseFieldsItemUnknown) SetDefaultValueEntry(defaultValueEntry *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry) { d.DefaultValueEntry = defaultValueEntry - d.require(docFormsGet200ResponseFieldsItemSignatureFieldDefaultValueEntry) + d.require(docFormsGet200ResponseFieldsItemUnknownFieldDefaultValueEntry) } // SetActions sets the Actions field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignature) SetActions(actions *PdfFieldActions) { +func (d *DocFormsGet200ResponseFieldsItemUnknown) SetActions(actions *PdfFieldActions) { d.Actions = actions - d.require(docFormsGet200ResponseFieldsItemSignatureFieldActions) + d.require(docFormsGet200ResponseFieldsItemUnknownFieldActions) } // SetWidgets sets the Widgets field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignature) SetWidgets(widgets []*DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) { +func (d *DocFormsGet200ResponseFieldsItemUnknown) SetWidgets(widgets []*DocFormsGet200ResponseFieldsItemUnknownWidgetsItem) { d.Widgets = widgets - d.require(docFormsGet200ResponseFieldsItemSignatureFieldWidgets) + d.require(docFormsGet200ResponseFieldsItemUnknownFieldWidgets) } -func (d *DocFormsGet200ResponseFieldsItemSignature) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemSignature +// SetRawValue sets the RawValue field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet200ResponseFieldsItemUnknown) SetRawValue(rawValue string) { + d.RawValue = rawValue + d.require(docFormsGet200ResponseFieldsItemUnknownFieldRawValue) +} + +func (d *DocFormsGet200ResponseFieldsItemUnknown) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemUnknown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemSignature(value) + *d = DocFormsGet200ResponseFieldsItemUnknown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -118488,8 +124000,8 @@ func (d *DocFormsGet200ResponseFieldsItemSignature) UnmarshalJSON(data []byte) e return nil } -func (d *DocFormsGet200ResponseFieldsItemSignature) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemSignature +func (d *DocFormsGet200ResponseFieldsItemUnknown) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemUnknown var marshaler = struct { embed }{ @@ -118499,7 +124011,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignature) MarshalJSON() ([]byte, error return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemSignature) String() string { +func (d *DocFormsGet200ResponseFieldsItemUnknown) String() string { if d == nil { return "" } @@ -118514,52 +124026,52 @@ func (d *DocFormsGet200ResponseFieldsItemSignature) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry struct { +type DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry struct { Kind string - None *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone - Scalar *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar - Array *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray - Unsupported *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported + None *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone + Scalar *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar + Array *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray + Unsupported *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) GetKind() string { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone { if d == nil { return nil } return d.None } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar { if d == nil { return nil } return d.Scalar } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray { if d == nil { return nil } return d.Array } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported { if d == nil { return nil } return d.Unsupported } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -118572,25 +124084,25 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) UnmarshalJS } switch unmarshaler.Kind { case "none": - value := new(DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone) + value := new(DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone) if err := json.Unmarshal(data, &value); err != nil { return err } d.None = value case "scalar": - value := new(DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar) + value := new(DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar) if err := json.Unmarshal(data, &value); err != nil { return err } d.Scalar = value case "array": - value := new(DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray) + value := new(DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray) if err := json.Unmarshal(data, &value); err != nil { return err } d.Array = value case "unsupported": - value := new(DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported) + value := new(DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -118600,7 +124112,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) UnmarshalJS return nil } -func (d DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -118621,15 +124133,15 @@ func (d DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) MarshalJSON( } return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } - -type DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryVisitor interface { - VisitNone(*DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone) error - VisitScalar(*DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar) error - VisitArray(*DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray) error - VisitUnsupported(*DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported) error + +type DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryVisitor interface { + VisitNone(*DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone) error + VisitScalar(*DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar) error + VisitArray(*DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray) error + VisitUnsupported(*DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported) error } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryVisitor) error { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryVisitor) error { if d.None != nil { return visitor.VisitNone(d.None) } @@ -118645,7 +124157,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) Accept(visi return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) validate() error { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -118689,10 +124201,10 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry) validate() } var ( - docFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArrayFieldValues = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArrayFieldValues = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray struct { +type DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray struct { Values []string `json:"values" url:"values"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -118702,21 +124214,21 @@ type DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray) GetValues() []string { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray) GetValues() []string { if d == nil { return nil } return d.Values } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -118725,18 +124237,18 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray) requir // SetValues sets the Values field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray) SetValues(values []string) { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray) SetValues(values []string) { d.Values = values - d.require(docFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArrayFieldValues) + d.require(docFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArrayFieldValues) } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray(value) + *d = DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -118746,8 +124258,8 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray) Unmars return nil } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray var marshaler = struct { embed }{ @@ -118757,7 +124269,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray) Marsha return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray) String() string { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray) String() string { if d == nil { return "" } @@ -118772,7 +124284,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray) String return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone struct { +type DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -118781,27 +124293,27 @@ type DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone(value) + *d = DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -118811,8 +124323,8 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone) Unmarsh return nil } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone var marshaler = struct { embed }{ @@ -118822,7 +124334,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone) Marshal return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone) String() string { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone) String() string { if d == nil { return "" } @@ -118838,10 +124350,10 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone) String( } var ( - docFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalarFieldValue = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalarFieldValue = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar struct { +type DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar struct { Value string `json:"value" url:"value"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -118851,21 +124363,21 @@ type DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar) GetValue() string { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar) GetValue() string { if d == nil { return "" } return d.Value } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -118874,18 +124386,18 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar) requi // SetValue sets the Value field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar) SetValue(value string) { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar) SetValue(value string) { d.Value = value - d.require(docFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalarFieldValue) + d.require(docFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalarFieldValue) } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar(value) + *d = DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -118895,8 +124407,8 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar) Unmar return nil } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar var marshaler = struct { embed }{ @@ -118906,7 +124418,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar) String() string { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar) String() string { if d == nil { return "" } @@ -118921,7 +124433,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar) Strin return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported struct { +type DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -118930,27 +124442,27 @@ type DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported struc rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported(value) + *d = DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -118960,8 +124472,8 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported) return nil } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported var marshaler = struct { embed }{ @@ -118971,7 +124483,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported) return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported) String() string { +func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported) String() string { if d == nil { return "" } @@ -118987,13 +124499,13 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported) } var ( - docFormsGet200ResponseFieldsItemSignatureFlagsFieldReadOnly = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemSignatureFlagsFieldRequired = big.NewInt(1 << 1) - docFormsGet200ResponseFieldsItemSignatureFlagsFieldNoExport = big.NewInt(1 << 2) - docFormsGet200ResponseFieldsItemSignatureFlagsFieldRaw = big.NewInt(1 << 3) + docFormsGet200ResponseFieldsItemUnknownFlagsFieldReadOnly = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemUnknownFlagsFieldRequired = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemUnknownFlagsFieldNoExport = big.NewInt(1 << 2) + docFormsGet200ResponseFieldsItemUnknownFlagsFieldRaw = big.NewInt(1 << 3) ) -type DocFormsGet200ResponseFieldsItemSignatureFlags struct { +type DocFormsGet200ResponseFieldsItemUnknownFlags struct { ReadOnly bool `json:"readOnly" url:"readOnly"` Required bool `json:"required" url:"required"` NoExport bool `json:"noExport" url:"noExport"` @@ -119006,42 +124518,42 @@ type DocFormsGet200ResponseFieldsItemSignatureFlags struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) GetReadOnly() bool { +func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) GetReadOnly() bool { if d == nil { return false } return d.ReadOnly } -func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) GetRequired() bool { +func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) GetRequired() bool { if d == nil { return false } return d.Required } -func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) GetNoExport() bool { +func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) GetNoExport() bool { if d == nil { return false } return d.NoExport } -func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) GetRaw() int { +func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) GetRaw() int { if d == nil { return 0 } return d.Raw } -func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -119050,39 +124562,39 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) require(field *big.Int) // SetReadOnly sets the ReadOnly field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) SetReadOnly(readOnly bool) { +func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) SetReadOnly(readOnly bool) { d.ReadOnly = readOnly - d.require(docFormsGet200ResponseFieldsItemSignatureFlagsFieldReadOnly) + d.require(docFormsGet200ResponseFieldsItemUnknownFlagsFieldReadOnly) } // SetRequired sets the Required field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) SetRequired(required bool) { +func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) SetRequired(required bool) { d.Required = required - d.require(docFormsGet200ResponseFieldsItemSignatureFlagsFieldRequired) + d.require(docFormsGet200ResponseFieldsItemUnknownFlagsFieldRequired) } // SetNoExport sets the NoExport field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) SetNoExport(noExport bool) { +func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) SetNoExport(noExport bool) { d.NoExport = noExport - d.require(docFormsGet200ResponseFieldsItemSignatureFlagsFieldNoExport) + d.require(docFormsGet200ResponseFieldsItemUnknownFlagsFieldNoExport) } // SetRaw sets the Raw field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) SetRaw(raw int) { +func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) SetRaw(raw int) { d.Raw = raw - d.require(docFormsGet200ResponseFieldsItemSignatureFlagsFieldRaw) + d.require(docFormsGet200ResponseFieldsItemUnknownFlagsFieldRaw) } -func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemSignatureFlags +func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemUnknownFlags var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemSignatureFlags(value) + *d = DocFormsGet200ResponseFieldsItemUnknownFlags(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -119092,8 +124604,8 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) UnmarshalJSON(data []by return nil } -func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemSignatureFlags +func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemUnknownFlags var marshaler = struct { embed }{ @@ -119103,7 +124615,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) MarshalJSON() ([]byte, return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) String() string { +func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) String() string { if d == nil { return "" } @@ -119118,58 +124630,58 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureFlags) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemSignatureOrigin string +type DocFormsGet200ResponseFieldsItemUnknownOrigin string const ( - DocFormsGet200ResponseFieldsItemSignatureOriginAcroform DocFormsGet200ResponseFieldsItemSignatureOrigin = "acroform" - DocFormsGet200ResponseFieldsItemSignatureOriginRecovered DocFormsGet200ResponseFieldsItemSignatureOrigin = "recovered" + DocFormsGet200ResponseFieldsItemUnknownOriginAcroform DocFormsGet200ResponseFieldsItemUnknownOrigin = "acroform" + DocFormsGet200ResponseFieldsItemUnknownOriginRecovered DocFormsGet200ResponseFieldsItemUnknownOrigin = "recovered" ) -func NewDocFormsGet200ResponseFieldsItemSignatureOriginFromString(s string) (DocFormsGet200ResponseFieldsItemSignatureOrigin, error) { +func NewDocFormsGet200ResponseFieldsItemUnknownOriginFromString(s string) (DocFormsGet200ResponseFieldsItemUnknownOrigin, error) { switch s { case "acroform": - return DocFormsGet200ResponseFieldsItemSignatureOriginAcroform, nil + return DocFormsGet200ResponseFieldsItemUnknownOriginAcroform, nil case "recovered": - return DocFormsGet200ResponseFieldsItemSignatureOriginRecovered, nil + return DocFormsGet200ResponseFieldsItemUnknownOriginRecovered, nil } - var t DocFormsGet200ResponseFieldsItemSignatureOrigin + var t DocFormsGet200ResponseFieldsItemUnknownOrigin return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocFormsGet200ResponseFieldsItemSignatureOrigin) Ptr() *DocFormsGet200ResponseFieldsItemSignatureOrigin { +func (d DocFormsGet200ResponseFieldsItemUnknownOrigin) Ptr() *DocFormsGet200ResponseFieldsItemUnknownOrigin { return &d } -type DocFormsGet200ResponseFieldsItemSignatureRef struct { +type DocFormsGet200ResponseFieldsItemUnknownRef struct { Kind string - ObjectNumber *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber - Fqn *DocFormsGet200ResponseFieldsItemSignatureRefFqn + ObjectNumber *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber + Fqn *DocFormsGet200ResponseFieldsItemUnknownRefFqn rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemSignatureRef) GetKind() string { +func (d *DocFormsGet200ResponseFieldsItemUnknownRef) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsGet200ResponseFieldsItemSignatureRef) GetObjectNumber() *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber { +func (d *DocFormsGet200ResponseFieldsItemUnknownRef) GetObjectNumber() *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber { if d == nil { return nil } return d.ObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemSignatureRef) GetFqn() *DocFormsGet200ResponseFieldsItemSignatureRefFqn { +func (d *DocFormsGet200ResponseFieldsItemUnknownRef) GetFqn() *DocFormsGet200ResponseFieldsItemUnknownRefFqn { if d == nil { return nil } return d.Fqn } -func (d *DocFormsGet200ResponseFieldsItemSignatureRef) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseFieldsItemUnknownRef) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -119182,13 +124694,13 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureRef) UnmarshalJSON(data []byte } switch unmarshaler.Kind { case "objectNumber": - value := new(DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber) + value := new(DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber) if err := json.Unmarshal(data, &value); err != nil { return err } d.ObjectNumber = value case "fqn": - value := new(DocFormsGet200ResponseFieldsItemSignatureRefFqn) + value := new(DocFormsGet200ResponseFieldsItemUnknownRefFqn) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -119198,7 +124710,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureRef) UnmarshalJSON(data []byte return nil } -func (d DocFormsGet200ResponseFieldsItemSignatureRef) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseFieldsItemUnknownRef) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -119214,12 +124726,12 @@ func (d DocFormsGet200ResponseFieldsItemSignatureRef) MarshalJSON() ([]byte, err return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsGet200ResponseFieldsItemSignatureRefVisitor interface { - VisitObjectNumber(*DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber) error - VisitFqn(*DocFormsGet200ResponseFieldsItemSignatureRefFqn) error +type DocFormsGet200ResponseFieldsItemUnknownRefVisitor interface { + VisitObjectNumber(*DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber) error + VisitFqn(*DocFormsGet200ResponseFieldsItemUnknownRefFqn) error } -func (d *DocFormsGet200ResponseFieldsItemSignatureRef) Accept(visitor DocFormsGet200ResponseFieldsItemSignatureRefVisitor) error { +func (d *DocFormsGet200ResponseFieldsItemUnknownRef) Accept(visitor DocFormsGet200ResponseFieldsItemUnknownRefVisitor) error { if d.ObjectNumber != nil { return visitor.VisitObjectNumber(d.ObjectNumber) } @@ -119229,7 +124741,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureRef) Accept(visitor DocFormsGe return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseFieldsItemSignatureRef) validate() error { +func (d *DocFormsGet200ResponseFieldsItemUnknownRef) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -119267,10 +124779,10 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureRef) validate() error { } var ( - docFormsGet200ResponseFieldsItemSignatureRefFqnFieldName = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemUnknownRefFqnFieldName = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemSignatureRefFqn struct { +type DocFormsGet200ResponseFieldsItemUnknownRefFqn struct { Name string `json:"name" url:"name"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -119280,21 +124792,21 @@ type DocFormsGet200ResponseFieldsItemSignatureRefFqn struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemSignatureRefFqn) GetName() string { +func (d *DocFormsGet200ResponseFieldsItemUnknownRefFqn) GetName() string { if d == nil { return "" } return d.Name } -func (d *DocFormsGet200ResponseFieldsItemSignatureRefFqn) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemUnknownRefFqn) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemSignatureRefFqn) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemUnknownRefFqn) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -119303,18 +124815,18 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureRefFqn) require(field *big.Int // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignatureRefFqn) SetName(name string) { +func (d *DocFormsGet200ResponseFieldsItemUnknownRefFqn) SetName(name string) { d.Name = name - d.require(docFormsGet200ResponseFieldsItemSignatureRefFqnFieldName) + d.require(docFormsGet200ResponseFieldsItemUnknownRefFqnFieldName) } -func (d *DocFormsGet200ResponseFieldsItemSignatureRefFqn) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemSignatureRefFqn +func (d *DocFormsGet200ResponseFieldsItemUnknownRefFqn) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemUnknownRefFqn var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemSignatureRefFqn(value) + *d = DocFormsGet200ResponseFieldsItemUnknownRefFqn(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -119324,8 +124836,8 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureRefFqn) UnmarshalJSON(data []b return nil } -func (d *DocFormsGet200ResponseFieldsItemSignatureRefFqn) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemSignatureRefFqn +func (d *DocFormsGet200ResponseFieldsItemUnknownRefFqn) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemUnknownRefFqn var marshaler = struct { embed }{ @@ -119335,7 +124847,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureRefFqn) MarshalJSON() ([]byte, return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemSignatureRefFqn) String() string { +func (d *DocFormsGet200ResponseFieldsItemUnknownRefFqn) String() string { if d == nil { return "" } @@ -119351,10 +124863,10 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureRefFqn) String() string { } var ( - docFormsGet200ResponseFieldsItemSignatureRefObjectNumberFieldFieldObjectNumber = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemUnknownRefObjectNumberFieldFieldObjectNumber = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber struct { +type DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber struct { FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -119364,21 +124876,21 @@ type DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber) GetFieldObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber) GetFieldObjectNumber() int { if d == nil { return 0 } return d.FieldObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -119387,18 +124899,18 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber) require(field // SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber) SetFieldObjectNumber(fieldObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber) SetFieldObjectNumber(fieldObjectNumber int) { d.FieldObjectNumber = fieldObjectNumber - d.require(docFormsGet200ResponseFieldsItemSignatureRefObjectNumberFieldFieldObjectNumber) + d.require(docFormsGet200ResponseFieldsItemUnknownRefObjectNumberFieldFieldObjectNumber) } -func (d *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber +func (d *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber(value) + *d = DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -119408,8 +124920,8 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber) UnmarshalJSON return nil } -func (d *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber +func (d *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber var marshaler = struct { embed }{ @@ -119419,7 +124931,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber) String() string { +func (d *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber) String() string { if d == nil { return "" } @@ -119434,52 +124946,52 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber) String() stri return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemSignatureValueEntry struct { +type DocFormsGet200ResponseFieldsItemUnknownValueEntry struct { Kind string - None *DocFormsGet200ResponseFieldsItemSignatureValueEntryNone - Scalar *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar - Array *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray - Unsupported *DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported + None *DocFormsGet200ResponseFieldsItemUnknownValueEntryNone + Scalar *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar + Array *DocFormsGet200ResponseFieldsItemUnknownValueEntryArray + Unsupported *DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntry) GetKind() string { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntry) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemSignatureValueEntryNone { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemUnknownValueEntryNone { if d == nil { return nil } return d.None } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar { if d == nil { return nil } return d.Scalar } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemUnknownValueEntryArray { if d == nil { return nil } return d.Array } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported { if d == nil { return nil } return d.Unsupported } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntry) UnmarshalJSON(data []byte) error { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntry) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -119492,25 +125004,25 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntry) UnmarshalJSON(data } switch unmarshaler.Kind { case "none": - value := new(DocFormsGet200ResponseFieldsItemSignatureValueEntryNone) + value := new(DocFormsGet200ResponseFieldsItemUnknownValueEntryNone) if err := json.Unmarshal(data, &value); err != nil { return err } d.None = value case "scalar": - value := new(DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar) + value := new(DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar) if err := json.Unmarshal(data, &value); err != nil { return err } d.Scalar = value case "array": - value := new(DocFormsGet200ResponseFieldsItemSignatureValueEntryArray) + value := new(DocFormsGet200ResponseFieldsItemUnknownValueEntryArray) if err := json.Unmarshal(data, &value); err != nil { return err } d.Array = value case "unsupported": - value := new(DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported) + value := new(DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -119520,7 +125032,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntry) UnmarshalJSON(data return nil } -func (d DocFormsGet200ResponseFieldsItemSignatureValueEntry) MarshalJSON() ([]byte, error) { +func (d DocFormsGet200ResponseFieldsItemUnknownValueEntry) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -119542,14 +125054,14 @@ func (d DocFormsGet200ResponseFieldsItemSignatureValueEntry) MarshalJSON() ([]by return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsGet200ResponseFieldsItemSignatureValueEntryVisitor interface { - VisitNone(*DocFormsGet200ResponseFieldsItemSignatureValueEntryNone) error - VisitScalar(*DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar) error - VisitArray(*DocFormsGet200ResponseFieldsItemSignatureValueEntryArray) error - VisitUnsupported(*DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported) error +type DocFormsGet200ResponseFieldsItemUnknownValueEntryVisitor interface { + VisitNone(*DocFormsGet200ResponseFieldsItemUnknownValueEntryNone) error + VisitScalar(*DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar) error + VisitArray(*DocFormsGet200ResponseFieldsItemUnknownValueEntryArray) error + VisitUnsupported(*DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported) error } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemSignatureValueEntryVisitor) error { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemUnknownValueEntryVisitor) error { if d.None != nil { return visitor.VisitNone(d.None) } @@ -119565,7 +125077,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntry) Accept(visitor Doc return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntry) validate() error { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntry) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -119609,10 +125121,10 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntry) validate() error { } var ( - docFormsGet200ResponseFieldsItemSignatureValueEntryArrayFieldValues = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemUnknownValueEntryArrayFieldValues = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemSignatureValueEntryArray struct { +type DocFormsGet200ResponseFieldsItemUnknownValueEntryArray struct { Values []string `json:"values" url:"values"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -119622,21 +125134,21 @@ type DocFormsGet200ResponseFieldsItemSignatureValueEntryArray struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray) GetValues() []string { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryArray) GetValues() []string { if d == nil { return nil } return d.Values } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryArray) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryArray) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -119645,18 +125157,18 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray) require(field // SetValues sets the Values field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray) SetValues(values []string) { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryArray) SetValues(values []string) { d.Values = values - d.require(docFormsGet200ResponseFieldsItemSignatureValueEntryArrayFieldValues) + d.require(docFormsGet200ResponseFieldsItemUnknownValueEntryArrayFieldValues) } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemSignatureValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryArray) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemUnknownValueEntryArray var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemSignatureValueEntryArray(value) + *d = DocFormsGet200ResponseFieldsItemUnknownValueEntryArray(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -119666,8 +125178,8 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray) UnmarshalJSON return nil } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemSignatureValueEntryArray +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryArray) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemUnknownValueEntryArray var marshaler = struct { embed }{ @@ -119677,7 +125189,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray) String() string { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryArray) String() string { if d == nil { return "" } @@ -119692,7 +125204,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray) String() stri return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemSignatureValueEntryNone struct { +type DocFormsGet200ResponseFieldsItemUnknownValueEntryNone struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -119701,27 +125213,27 @@ type DocFormsGet200ResponseFieldsItemSignatureValueEntryNone struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryNone) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryNone) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryNone) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryNone) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryNone) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemSignatureValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryNone) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemUnknownValueEntryNone var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemSignatureValueEntryNone(value) + *d = DocFormsGet200ResponseFieldsItemUnknownValueEntryNone(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -119731,8 +125243,8 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryNone) UnmarshalJSON( return nil } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryNone) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemSignatureValueEntryNone +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryNone) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemUnknownValueEntryNone var marshaler = struct { embed }{ @@ -119742,7 +125254,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryNone) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryNone) String() string { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryNone) String() string { if d == nil { return "" } @@ -119758,10 +125270,10 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryNone) String() strin } var ( - docFormsGet200ResponseFieldsItemSignatureValueEntryScalarFieldValue = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemUnknownValueEntryScalarFieldValue = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar struct { +type DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar struct { Value string `json:"value" url:"value"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -119771,21 +125283,21 @@ type DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar) GetValue() string { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar) GetValue() string { if d == nil { return "" } return d.Value } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -119794,18 +125306,18 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar) require(fiel // SetValue sets the Value field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar) SetValue(value string) { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar) SetValue(value string) { d.Value = value - d.require(docFormsGet200ResponseFieldsItemSignatureValueEntryScalarFieldValue) + d.require(docFormsGet200ResponseFieldsItemUnknownValueEntryScalarFieldValue) } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar(value) + *d = DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -119815,8 +125327,8 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar) UnmarshalJSO return nil } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar var marshaler = struct { embed }{ @@ -119826,7 +125338,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar) MarshalJSON( return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar) String() string { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar) String() string { if d == nil { return "" } @@ -119841,7 +125353,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar) String() str return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported struct { +type DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -119850,27 +125362,27 @@ type DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported(value) + *d = DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -119880,8 +125392,8 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported) Unmarsh return nil } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported var marshaler = struct { embed }{ @@ -119891,7 +125403,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported) Marshal return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported) String() string { +func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported) String() string { if d == nil { return "" } @@ -119907,11 +125419,11 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported) String( } var ( - docFormsGet200ResponseFieldsItemSignatureWidgetsItemFieldAnnotObjectNumber = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemSignatureWidgetsItemFieldPageObjectNumber = big.NewInt(1 << 1) + docFormsGet200ResponseFieldsItemUnknownWidgetsItemFieldAnnotObjectNumber = big.NewInt(1 << 0) + docFormsGet200ResponseFieldsItemUnknownWidgetsItemFieldPageObjectNumber = big.NewInt(1 << 1) ) -type DocFormsGet200ResponseFieldsItemSignatureWidgetsItem struct { +type DocFormsGet200ResponseFieldsItemUnknownWidgetsItem struct { AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` @@ -119922,28 +125434,28 @@ type DocFormsGet200ResponseFieldsItemSignatureWidgetsItem struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) GetAnnotObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem) GetAnnotObjectNumber() int { if d == nil { return 0 } return d.AnnotObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) GetPageObjectNumber() int { +func (d *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) GetExtraProperties() map[string]interface{} { +func (d *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) require(field *big.Int) { +func (d *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -119952,25 +125464,25 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) require(field *bi // SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) SetAnnotObjectNumber(annotObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem) SetAnnotObjectNumber(annotObjectNumber int) { d.AnnotObjectNumber = annotObjectNumber - d.require(docFormsGet200ResponseFieldsItemSignatureWidgetsItemFieldAnnotObjectNumber) + d.require(docFormsGet200ResponseFieldsItemUnknownWidgetsItemFieldAnnotObjectNumber) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docFormsGet200ResponseFieldsItemSignatureWidgetsItemFieldPageObjectNumber) + d.require(docFormsGet200ResponseFieldsItemUnknownWidgetsItemFieldPageObjectNumber) } -func (d *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemSignatureWidgetsItem +func (d *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet200ResponseFieldsItemUnknownWidgetsItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemSignatureWidgetsItem(value) + *d = DocFormsGet200ResponseFieldsItemUnknownWidgetsItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -119980,8 +125492,8 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) UnmarshalJSON(dat return nil } -func (d *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemSignatureWidgetsItem +func (d *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem) MarshalJSON() ([]byte, error) { + type embed DocFormsGet200ResponseFieldsItemUnknownWidgetsItem var marshaler = struct { embed }{ @@ -119991,7 +125503,7 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) MarshalJSON() ([] return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) String() string { +func (d *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem) String() string { if d == nil { return "" } @@ -120006,44 +125518,43 @@ func (d *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem) String() string { return fmt.Sprintf("%#v", d) } +type DocFormsGet200ResponseFormKind string + +const ( + DocFormsGet200ResponseFormKindNone DocFormsGet200ResponseFormKind = "none" + DocFormsGet200ResponseFormKindAcroform DocFormsGet200ResponseFormKind = "acroform" + DocFormsGet200ResponseFormKindXfa DocFormsGet200ResponseFormKind = "xfa" +) + +func NewDocFormsGet200ResponseFormKindFromString(s string) (DocFormsGet200ResponseFormKind, error) { + switch s { + case "none": + return DocFormsGet200ResponseFormKindNone, nil + case "acroform": + return DocFormsGet200ResponseFormKindAcroform, nil + case "xfa": + return DocFormsGet200ResponseFormKindXfa, nil + } + var t DocFormsGet200ResponseFormKind + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocFormsGet200ResponseFormKind) Ptr() *DocFormsGet200ResponseFormKind { + return &d +} + var ( - docFormsGet200ResponseFieldsItemTextFieldRef = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemTextFieldFieldObjectNumber = big.NewInt(1 << 1) - docFormsGet200ResponseFieldsItemTextFieldName = big.NewInt(1 << 2) - docFormsGet200ResponseFieldsItemTextFieldOrigin = big.NewInt(1 << 3) - docFormsGet200ResponseFieldsItemTextFieldFlags = big.NewInt(1 << 4) - docFormsGet200ResponseFieldsItemTextFieldAlternateName = big.NewInt(1 << 5) - docFormsGet200ResponseFieldsItemTextFieldMappingName = big.NewInt(1 << 6) - docFormsGet200ResponseFieldsItemTextFieldValueEntry = big.NewInt(1 << 7) - docFormsGet200ResponseFieldsItemTextFieldDefaultValueEntry = big.NewInt(1 << 8) - docFormsGet200ResponseFieldsItemTextFieldActions = big.NewInt(1 << 9) - docFormsGet200ResponseFieldsItemTextFieldWidgets = big.NewInt(1 << 10) - docFormsGet200ResponseFieldsItemTextFieldValue = big.NewInt(1 << 11) - docFormsGet200ResponseFieldsItemTextFieldDefaultValue = big.NewInt(1 << 12) - docFormsGet200ResponseFieldsItemTextFieldMaxLength = big.NewInt(1 << 13) - docFormsGet200ResponseFieldsItemTextFieldMultiline = big.NewInt(1 << 14) - docFormsGet200ResponseFieldsItemTextFieldPassword = big.NewInt(1 << 15) - docFormsGet200ResponseFieldsItemTextFieldComb = big.NewInt(1 << 16) + docFormsGet404ResponseFieldName = big.NewInt(1 << 0) + docFormsGet404ResponseFieldCode = big.NewInt(1 << 1) + docFormsGet404ResponseFieldMessage = big.NewInt(1 << 2) + docFormsGet404ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocFormsGet200ResponseFieldsItemText struct { - Ref *DocFormsGet200ResponseFieldsItemTextRef `json:"ref" url:"ref"` - FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` - Name string `json:"name" url:"name"` - Origin DocFormsGet200ResponseFieldsItemTextOrigin `json:"origin" url:"origin"` - Flags *DocFormsGet200ResponseFieldsItemTextFlags `json:"flags" url:"flags"` - AlternateName *string `json:"alternateName,omitempty" url:"alternateName,omitempty"` - MappingName *string `json:"mappingName,omitempty" url:"mappingName,omitempty"` - ValueEntry *DocFormsGet200ResponseFieldsItemTextValueEntry `json:"valueEntry" url:"valueEntry"` - DefaultValueEntry *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry `json:"defaultValueEntry" url:"defaultValueEntry"` - Actions *PdfFieldActions `json:"actions,omitempty" url:"actions,omitempty"` - Widgets []*DocFormsGet200ResponseFieldsItemTextWidgetsItem `json:"widgets" url:"widgets"` - Value string `json:"value" url:"value"` - DefaultValue string `json:"defaultValue" url:"defaultValue"` - MaxLength *int `json:"maxLength,omitempty" url:"maxLength,omitempty"` - Multiline bool `json:"multiline" url:"multiline"` - Password bool `json:"password" url:"password"` - Comb bool `json:"comb" url:"comb"` +type DocFormsGet404Response struct { + Name DocFormsGet404ResponseName `json:"name" url:"name"` + Code DocFormsGet404ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -120052,265 +125563,596 @@ type DocFormsGet200ResponseFieldsItemText struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemText) GetRef() *DocFormsGet200ResponseFieldsItemTextRef { +func (d *DocFormsGet404Response) GetName() DocFormsGet404ResponseName { if d == nil { - return nil + return "" } - return d.Ref + return d.Name } -func (d *DocFormsGet200ResponseFieldsItemText) GetFieldObjectNumber() int { +func (d *DocFormsGet404Response) GetCode() DocFormsGet404ResponseCode { if d == nil { - return 0 + return "" } - return d.FieldObjectNumber + return d.Code } -func (d *DocFormsGet200ResponseFieldsItemText) GetName() string { +func (d *DocFormsGet404Response) GetMessage() string { if d == nil { return "" } - return d.Name + return d.Message } -func (d *DocFormsGet200ResponseFieldsItemText) GetOrigin() DocFormsGet200ResponseFieldsItemTextOrigin { +func (d *DocFormsGet404Response) GetDetails() map[string]any { if d == nil { - return "" + return nil } - return d.Origin + return d.Details } -func (d *DocFormsGet200ResponseFieldsItemText) GetFlags() *DocFormsGet200ResponseFieldsItemTextFlags { +func (d *DocFormsGet404Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } - return d.Flags + return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemText) GetAlternateName() *string { +func (d *DocFormsGet404Response) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetName sets the Name field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet404Response) SetName(name DocFormsGet404ResponseName) { + d.Name = name + d.require(docFormsGet404ResponseFieldName) +} + +// SetCode sets the Code field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet404Response) SetCode(code DocFormsGet404ResponseCode) { + d.Code = code + d.require(docFormsGet404ResponseFieldCode) +} + +// SetMessage sets the Message field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet404Response) SetMessage(message string) { + d.Message = message + d.require(docFormsGet404ResponseFieldMessage) +} + +// SetDetails sets the Details field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsGet404Response) SetDetails(details map[string]any) { + d.Details = details + d.require(docFormsGet404ResponseFieldDetails) +} + +func (d *DocFormsGet404Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsGet404Response + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocFormsGet404Response(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocFormsGet404Response) MarshalJSON() ([]byte, error) { + type embed DocFormsGet404Response + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocFormsGet404Response) String() string { if d == nil { - return nil + return "" } - return d.AlternateName + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } -func (d *DocFormsGet200ResponseFieldsItemText) GetMappingName() *string { +type DocFormsGet404ResponseCode string + +const ( + DocFormsGet404ResponseCodeUnknown DocFormsGet404ResponseCode = "Unknown" + DocFormsGet404ResponseCodeInvalidArg DocFormsGet404ResponseCode = "InvalidArg" + DocFormsGet404ResponseCodeDocNotOpen DocFormsGet404ResponseCode = "DocNotOpen" + DocFormsGet404ResponseCodeDocOpenFailed DocFormsGet404ResponseCode = "DocOpenFailed" + DocFormsGet404ResponseCodeDocPasswordRequired DocFormsGet404ResponseCode = "DocPasswordRequired" + DocFormsGet404ResponseCodeDocPasswordIncorrect DocFormsGet404ResponseCode = "DocPasswordIncorrect" + DocFormsGet404ResponseCodeSharePasswordRequired DocFormsGet404ResponseCode = "SharePasswordRequired" + DocFormsGet404ResponseCodeAborted DocFormsGet404ResponseCode = "Aborted" + DocFormsGet404ResponseCodeNetwork DocFormsGet404ResponseCode = "Network" + DocFormsGet404ResponseCodeUnauthenticated DocFormsGet404ResponseCode = "Unauthenticated" + DocFormsGet404ResponseCodeForbidden DocFormsGet404ResponseCode = "Forbidden" + DocFormsGet404ResponseCodeNotFound DocFormsGet404ResponseCode = "NotFound" + DocFormsGet404ResponseCodeWireFormat DocFormsGet404ResponseCode = "WireFormat" + DocFormsGet404ResponseCodeRuntimeUnavailable DocFormsGet404ResponseCode = "RuntimeUnavailable" + DocFormsGet404ResponseCodeInvalidReference DocFormsGet404ResponseCode = "InvalidReference" + DocFormsGet404ResponseCodeWeakAnnotationSessionConflict DocFormsGet404ResponseCode = "WeakAnnotationSessionConflict" + DocFormsGet404ResponseCodeLayerVersionConflict DocFormsGet404ResponseCode = "LayerVersionConflict" + DocFormsGet404ResponseCodeNotImplemented DocFormsGet404ResponseCode = "NotImplemented" + DocFormsGet404ResponseCodeMalformedPdf DocFormsGet404ResponseCode = "MalformedPdf" +) + +func NewDocFormsGet404ResponseCodeFromString(s string) (DocFormsGet404ResponseCode, error) { + switch s { + case "Unknown": + return DocFormsGet404ResponseCodeUnknown, nil + case "InvalidArg": + return DocFormsGet404ResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocFormsGet404ResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocFormsGet404ResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocFormsGet404ResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocFormsGet404ResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocFormsGet404ResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocFormsGet404ResponseCodeAborted, nil + case "Network": + return DocFormsGet404ResponseCodeNetwork, nil + case "Unauthenticated": + return DocFormsGet404ResponseCodeUnauthenticated, nil + case "Forbidden": + return DocFormsGet404ResponseCodeForbidden, nil + case "NotFound": + return DocFormsGet404ResponseCodeNotFound, nil + case "WireFormat": + return DocFormsGet404ResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocFormsGet404ResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocFormsGet404ResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocFormsGet404ResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocFormsGet404ResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocFormsGet404ResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocFormsGet404ResponseCodeMalformedPdf, nil + } + var t DocFormsGet404ResponseCode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocFormsGet404ResponseCode) Ptr() *DocFormsGet404ResponseCode { + return &d +} + +type DocFormsGet404ResponseName string + +const ( + DocFormsGet404ResponseNameEngineError DocFormsGet404ResponseName = "EngineError" +) + +func NewDocFormsGet404ResponseNameFromString(s string) (DocFormsGet404ResponseName, error) { + switch s { + case "EngineError": + return DocFormsGet404ResponseNameEngineError, nil + } + var t DocFormsGet404ResponseName + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocFormsGet404ResponseName) Ptr() *DocFormsGet404ResponseName { + return &d +} + +var ( + docFormsImportData200ResponseFieldMeta = big.NewInt(1 << 0) +) + +type DocFormsImportData200Response struct { + Meta *DocFormsImportData200ResponseMeta `json:"meta" url:"meta"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + ExtraProperties map[string]interface{} `json:"-" url:"-"` + + rawJSON json.RawMessage +} + +func (d *DocFormsImportData200Response) GetMeta() *DocFormsImportData200ResponseMeta { if d == nil { return nil } - return d.MappingName + return d.Meta } -func (d *DocFormsGet200ResponseFieldsItemText) GetValueEntry() *DocFormsGet200ResponseFieldsItemTextValueEntry { +func (d *DocFormsImportData200Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } - return d.ValueEntry + return d.ExtraProperties } -func (d *DocFormsGet200ResponseFieldsItemText) GetDefaultValueEntry() *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry { +func (d *DocFormsImportData200Response) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetMeta sets the Meta field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsImportData200Response) SetMeta(meta *DocFormsImportData200ResponseMeta) { + d.Meta = meta + d.require(docFormsImportData200ResponseFieldMeta) +} + +func (d *DocFormsImportData200Response) UnmarshalJSON(data []byte) error { + type embed DocFormsImportData200Response + var unmarshaler = struct { + embed + }{ + embed: embed(*d), + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { + return err + } + *d = DocFormsImportData200Response(unmarshaler.embed) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.ExtraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocFormsImportData200Response) MarshalJSON() ([]byte, error) { + type embed DocFormsImportData200Response + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return internal.MarshalJSONWithExtraProperties(explicitMarshaler, d.ExtraProperties) +} + +func (d *DocFormsImportData200Response) String() string { if d == nil { - return nil + return "" } - return d.DefaultValueEntry + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } -func (d *DocFormsGet200ResponseFieldsItemText) GetActions() *PdfFieldActions { +var ( + docFormsImportData200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) + docFormsImportData200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) +) + +type DocFormsImportData200ResponseMeta struct { + AffectedPages []*DocFormsImportData200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` + CacheDelta *DocFormsImportData200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocFormsImportData200ResponseMeta) GetAffectedPages() []*DocFormsImportData200ResponseMetaAffectedPagesItem { if d == nil { return nil } - return d.Actions + return d.AffectedPages } -func (d *DocFormsGet200ResponseFieldsItemText) GetWidgets() []*DocFormsGet200ResponseFieldsItemTextWidgetsItem { +func (d *DocFormsImportData200ResponseMeta) GetCacheDelta() *DocFormsImportData200ResponseMetaCacheDelta { if d == nil { return nil } - return d.Widgets + return d.CacheDelta } -func (d *DocFormsGet200ResponseFieldsItemText) GetValue() string { +func (d *DocFormsImportData200ResponseMeta) GetExtraProperties() map[string]interface{} { if d == nil { - return "" + return nil } - return d.Value + return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemText) GetDefaultValue() string { - if d == nil { - return "" +func (d *DocFormsImportData200ResponseMeta) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) } - return d.DefaultValue + d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemText) GetMaxLength() *int { +// SetAffectedPages sets the AffectedPages field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsImportData200ResponseMeta) SetAffectedPages(affectedPages []*DocFormsImportData200ResponseMetaAffectedPagesItem) { + d.AffectedPages = affectedPages + d.require(docFormsImportData200ResponseMetaFieldAffectedPages) +} + +// SetCacheDelta sets the CacheDelta field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsImportData200ResponseMeta) SetCacheDelta(cacheDelta *DocFormsImportData200ResponseMetaCacheDelta) { + d.CacheDelta = cacheDelta + d.require(docFormsImportData200ResponseMetaFieldCacheDelta) +} + +func (d *DocFormsImportData200ResponseMeta) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsImportData200ResponseMeta + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocFormsImportData200ResponseMeta(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocFormsImportData200ResponseMeta) MarshalJSON() ([]byte, error) { + type embed DocFormsImportData200ResponseMeta + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocFormsImportData200ResponseMeta) String() string { if d == nil { - return nil + return "" } - return d.MaxLength + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } -func (d *DocFormsGet200ResponseFieldsItemText) GetMultiline() bool { +var ( + docFormsImportData200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docFormsImportData200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) + docFormsImportData200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) +) + +type DocFormsImportData200ResponseMetaAffectedPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Revision *DocFormsImportData200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` + WeakAnnotationState *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { if d == nil { - return false + return 0 } - return d.Multiline + return d.PageObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemText) GetPassword() bool { +func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) GetRevision() *DocFormsImportData200ResponseMetaAffectedPagesItemRevision { if d == nil { - return false + return nil } - return d.Password + return d.Revision } -func (d *DocFormsGet200ResponseFieldsItemText) GetComb() bool { +func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState { if d == nil { - return false + return nil } - return d.Comb + return d.WeakAnnotationState } -func (d *DocFormsGet200ResponseFieldsItemText) GetExtraProperties() map[string]interface{} { +func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemText) require(field *big.Int) { +func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetRef sets the Ref field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemText) SetRef(ref *DocFormsGet200ResponseFieldsItemTextRef) { - d.Ref = ref - d.require(docFormsGet200ResponseFieldsItemTextFieldRef) +func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docFormsImportData200ResponseMetaAffectedPagesItemFieldPageObjectNumber) } -// SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; +// SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemText) SetFieldObjectNumber(fieldObjectNumber int) { - d.FieldObjectNumber = fieldObjectNumber - d.require(docFormsGet200ResponseFieldsItemTextFieldFieldObjectNumber) +func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) SetRevision(revision *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) { + d.Revision = revision + d.require(docFormsImportData200ResponseMetaAffectedPagesItemFieldRevision) } -// SetName sets the Name field and marks it as non-optional; +// SetWeakAnnotationState sets the WeakAnnotationState field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemText) SetName(name string) { - d.Name = name - d.require(docFormsGet200ResponseFieldsItemTextFieldName) +func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState) { + d.WeakAnnotationState = weakAnnotationState + d.require(docFormsImportData200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) } -// SetOrigin sets the Origin field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemText) SetOrigin(origin DocFormsGet200ResponseFieldsItemTextOrigin) { - d.Origin = origin - d.require(docFormsGet200ResponseFieldsItemTextFieldOrigin) +func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsImportData200ResponseMetaAffectedPagesItem + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocFormsImportData200ResponseMetaAffectedPagesItem(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil } -// SetFlags sets the Flags field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemText) SetFlags(flags *DocFormsGet200ResponseFieldsItemTextFlags) { - d.Flags = flags - d.require(docFormsGet200ResponseFieldsItemTextFieldFlags) +func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { + type embed DocFormsImportData200ResponseMetaAffectedPagesItem + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) } -// SetAlternateName sets the AlternateName field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemText) SetAlternateName(alternateName *string) { - d.AlternateName = alternateName - d.require(docFormsGet200ResponseFieldsItemTextFieldAlternateName) +func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } -// SetMappingName sets the MappingName field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemText) SetMappingName(mappingName *string) { - d.MappingName = mappingName - d.require(docFormsGet200ResponseFieldsItemTextFieldMappingName) -} +var ( + docFormsImportData200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) + docFormsImportData200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docFormsImportData200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) +) -// SetValueEntry sets the ValueEntry field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemText) SetValueEntry(valueEntry *DocFormsGet200ResponseFieldsItemTextValueEntry) { - d.ValueEntry = valueEntry - d.require(docFormsGet200ResponseFieldsItemTextFieldValueEntry) -} +type DocFormsImportData200ResponseMetaAffectedPagesItemRevision struct { + DocSessionID string `json:"docSessionId" url:"docSessionId"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Generation int `json:"generation" url:"generation"` -// SetDefaultValueEntry sets the DefaultValueEntry field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemText) SetDefaultValueEntry(defaultValueEntry *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) { - d.DefaultValueEntry = defaultValueEntry - d.require(docFormsGet200ResponseFieldsItemTextFieldDefaultValueEntry) -} + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` -// SetActions sets the Actions field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemText) SetActions(actions *PdfFieldActions) { - d.Actions = actions - d.require(docFormsGet200ResponseFieldsItemTextFieldActions) + extraProperties map[string]interface{} + rawJSON json.RawMessage } -// SetWidgets sets the Widgets field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemText) SetWidgets(widgets []*DocFormsGet200ResponseFieldsItemTextWidgetsItem) { - d.Widgets = widgets - d.require(docFormsGet200ResponseFieldsItemTextFieldWidgets) +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { + if d == nil { + return "" + } + return d.DocSessionID } -// SetValue sets the Value field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemText) SetValue(value string) { - d.Value = value - d.require(docFormsGet200ResponseFieldsItemTextFieldValue) +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { + if d == nil { + return 0 + } + return d.Generation } -// SetDefaultValue sets the DefaultValue field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemText) SetDefaultValue(defaultValue string) { - d.DefaultValue = defaultValue - d.require(docFormsGet200ResponseFieldsItemTextFieldDefaultValue) +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties } -// SetMaxLength sets the MaxLength field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemText) SetMaxLength(maxLength *int) { - d.MaxLength = maxLength - d.require(docFormsGet200ResponseFieldsItemTextFieldMaxLength) +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) } -// SetMultiline sets the Multiline field and marks it as non-optional; +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemText) SetMultiline(multiline bool) { - d.Multiline = multiline - d.require(docFormsGet200ResponseFieldsItemTextFieldMultiline) +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docFormsImportData200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) } -// SetPassword sets the Password field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemText) SetPassword(password bool) { - d.Password = password - d.require(docFormsGet200ResponseFieldsItemTextFieldPassword) +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docFormsImportData200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) } -// SetComb sets the Comb field and marks it as non-optional; +// SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemText) SetComb(comb bool) { - d.Comb = comb - d.require(docFormsGet200ResponseFieldsItemTextFieldComb) +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docFormsImportData200ResponseMetaAffectedPagesItemRevisionFieldGeneration) } -func (d *DocFormsGet200ResponseFieldsItemText) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemText +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsImportData200ResponseMetaAffectedPagesItemRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemText(value) + *d = DocFormsImportData200ResponseMetaAffectedPagesItemRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -120320,8 +126162,8 @@ func (d *DocFormsGet200ResponseFieldsItemText) UnmarshalJSON(data []byte) error return nil } -func (d *DocFormsGet200ResponseFieldsItemText) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemText +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { + type embed DocFormsImportData200ResponseMetaAffectedPagesItemRevision var marshaler = struct { embed }{ @@ -120331,7 +126173,7 @@ func (d *DocFormsGet200ResponseFieldsItemText) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemText) String() string { +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) String() string { if d == nil { return "" } @@ -120346,52 +126188,36 @@ func (d *DocFormsGet200ResponseFieldsItemText) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemTextDefaultValueEntry struct { - Kind string - None *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone - Scalar *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar - Array *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray - Unsupported *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported +type DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState struct { + Kind string + Unknown *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + Known *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) GetKind() string { +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone { - if d == nil { - return nil - } - return d.None -} - -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar { - if d == nil { - return nil - } - return d.Scalar -} - -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray { +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { if d == nil { return nil } - return d.Array + return d.Unknown } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported { +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { if d == nil { return nil } - return d.Unsupported + return d.Known } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) UnmarshalJSON(data []byte) error { +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -120403,50 +126229,32 @@ func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) UnmarshalJSON(da return fmt.Errorf("%T did not include discriminant kind", d) } switch unmarshaler.Kind { - case "none": - value := new(DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.None = value - case "scalar": - value := new(DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Scalar = value - case "array": - value := new(DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray) + case "unknown": + value := new(DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Array = value - case "unsupported": - value := new(DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported) + d.Unknown = value + case "known": + value := new(DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Unsupported = value + d.Known = value } d.rawJSON = json.RawMessage(data) return nil } -func (d DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) MarshalJSON() ([]byte, error) { +func (d DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } - if d.None != nil { - return internal.MarshalJSONWithExtraProperty(d.None, "kind", "none") - } - if d.Scalar != nil { - return internal.MarshalJSONWithExtraProperty(d.Scalar, "kind", "scalar") - } - if d.Array != nil { - return internal.MarshalJSONWithExtraProperty(d.Array, "kind", "array") + if d.Unknown != nil { + return internal.MarshalJSONWithExtraProperty(d.Unknown, "kind", "unknown") } - if d.Unsupported != nil { - return internal.MarshalJSONWithExtraProperty(d.Unsupported, "kind", "unsupported") + if d.Known != nil { + return internal.MarshalJSONWithExtraProperty(d.Known, "kind", "known") } if len(d.rawJSON) > 0 { return d.rawJSON, nil @@ -120454,45 +126262,31 @@ func (d DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) MarshalJSON() ([] return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsGet200ResponseFieldsItemTextDefaultValueEntryVisitor interface { - VisitNone(*DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone) error - VisitScalar(*DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar) error - VisitArray(*DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray) error - VisitUnsupported(*DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported) error +type DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { + VisitUnknown(*DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error + VisitKnown(*DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemTextDefaultValueEntryVisitor) error { - if d.None != nil { - return visitor.VisitNone(d.None) - } - if d.Scalar != nil { - return visitor.VisitScalar(d.Scalar) - } - if d.Array != nil { - return visitor.VisitArray(d.Array) +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { + if d.Unknown != nil { + return visitor.VisitUnknown(d.Unknown) } - if d.Unsupported != nil { - return visitor.VisitUnsupported(d.Unsupported) + if d.Known != nil { + return visitor.VisitKnown(d.Known) } return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) validate() error { +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } var fields []string - if d.None != nil { - fields = append(fields, "none") - } - if d.Scalar != nil { - fields = append(fields, "scalar") - } - if d.Array != nil { - fields = append(fields, "array") + if d.Unknown != nil { + fields = append(fields, "unknown") } - if d.Unsupported != nil { - fields = append(fields, "unsupported") + if d.Known != nil { + fields = append(fields, "known") } if len(fields) == 0 { if d.Kind != "" { @@ -120521,11 +126315,11 @@ func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry) validate() error } var ( - docFormsGet200ResponseFieldsItemTextDefaultValueEntryArrayFieldValues = big.NewInt(1 << 0) + docFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray struct { - Values []string `json:"values" url:"values"` +type DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { + HasAnyWeakAnnotations bool `json:"hasAnyWeakAnnotations" url:"hasAnyWeakAnnotations"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -120534,41 +126328,41 @@ type DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray) GetValues() []string { +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { if d == nil { - return nil + return false } - return d.Values + return d.HasAnyWeakAnnotations } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray) GetExtraProperties() map[string]interface{} { +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray) require(field *big.Int) { +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetValues sets the Values field and marks it as non-optional; +// SetHasAnyWeakAnnotations sets the HasAnyWeakAnnotations field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray) SetValues(values []string) { - d.Values = values - d.require(docFormsGet200ResponseFieldsItemTextDefaultValueEntryArrayFieldValues) +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { + d.HasAnyWeakAnnotations = hasAnyWeakAnnotations + d.require(docFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray(value) + *d = DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -120578,8 +126372,8 @@ func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray) UnmarshalJS return nil } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { + type embed DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown var marshaler = struct { embed }{ @@ -120589,7 +126383,7 @@ func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray) MarshalJSON return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray) String() string { +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { if d == nil { return "" } @@ -120604,7 +126398,7 @@ func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray) String() st return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone struct { +type DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -120613,27 +126407,27 @@ type DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone) GetExtraProperties() map[string]interface{} { +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone) require(field *big.Int) { +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone(value) + *d = DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -120643,8 +126437,8 @@ func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone) UnmarshalJSO return nil } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { + type embed DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var marshaler = struct { embed }{ @@ -120654,7 +126448,7 @@ func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone) MarshalJSON( return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone) String() string { +func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { if d == nil { return "" } @@ -120670,11 +126464,17 @@ func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone) String() str } var ( - docFormsGet200ResponseFieldsItemTextDefaultValueEntryScalarFieldValue = big.NewInt(1 << 0) + docFormsImportData200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) + docFormsImportData200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) + docFormsImportData200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) + docFormsImportData200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) ) -type DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar struct { - Value string `json:"value" url:"value"` +type DocFormsImportData200ResponseMetaCacheDelta struct { + PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` + DocVersion int `json:"docVersion" url:"docVersion"` + AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` + Pages []*DocFormsImportData200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -120683,41 +126483,83 @@ type DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar) GetValue() string { +func (d *DocFormsImportData200ResponseMetaCacheDelta) GetPreviousDocVersion() int { if d == nil { - return "" + return 0 } - return d.Value + return d.PreviousDocVersion } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar) GetExtraProperties() map[string]interface{} { +func (d *DocFormsImportData200ResponseMetaCacheDelta) GetDocVersion() int { + if d == nil { + return 0 + } + return d.DocVersion +} + +func (d *DocFormsImportData200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { + if d == nil { + return nil + } + return d.AnnotationsVersion +} + +func (d *DocFormsImportData200ResponseMetaCacheDelta) GetPages() []*DocFormsImportData200ResponseMetaCacheDeltaPagesItem { + if d == nil { + return nil + } + return d.Pages +} + +func (d *DocFormsImportData200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar) require(field *big.Int) { +func (d *DocFormsImportData200ResponseMetaCacheDelta) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetValue sets the Value field and marks it as non-optional; +// SetPreviousDocVersion sets the PreviousDocVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar) SetValue(value string) { - d.Value = value - d.require(docFormsGet200ResponseFieldsItemTextDefaultValueEntryScalarFieldValue) +func (d *DocFormsImportData200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { + d.PreviousDocVersion = previousDocVersion + d.require(docFormsImportData200ResponseMetaCacheDeltaFieldPreviousDocVersion) } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar +// SetDocVersion sets the DocVersion field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsImportData200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { + d.DocVersion = docVersion + d.require(docFormsImportData200ResponseMetaCacheDeltaFieldDocVersion) +} + +// SetAnnotationsVersion sets the AnnotationsVersion field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsImportData200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { + d.AnnotationsVersion = annotationsVersion + d.require(docFormsImportData200ResponseMetaCacheDeltaFieldAnnotationsVersion) +} + +// SetPages sets the Pages field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsImportData200ResponseMetaCacheDelta) SetPages(pages []*DocFormsImportData200ResponseMetaCacheDeltaPagesItem) { + d.Pages = pages + d.require(docFormsImportData200ResponseMetaCacheDeltaFieldPages) +} + +func (d *DocFormsImportData200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsImportData200ResponseMetaCacheDelta var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar(value) + *d = DocFormsImportData200ResponseMetaCacheDelta(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -120727,8 +126569,8 @@ func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar) UnmarshalJ return nil } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar +func (d *DocFormsImportData200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { + type embed DocFormsImportData200ResponseMetaCacheDelta var marshaler = struct { embed }{ @@ -120738,7 +126580,7 @@ func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar) MarshalJSO return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar) String() string { +func (d *DocFormsImportData200ResponseMetaCacheDelta) String() string { if d == nil { return "" } @@ -120753,7 +126595,14 @@ func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar) String() s return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported struct { +var ( + docFormsImportData200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docFormsImportData200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) +) + +type DocFormsImportData200ResponseMetaCacheDeltaPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Cache *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -120762,27 +126611,55 @@ type DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported) GetExtraProperties() map[string]interface{} { +func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItem) GetCache() *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache { + if d == nil { + return nil + } + return d.Cache +} + +func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported) require(field *big.Int) { +func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docFormsImportData200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) +} + +// SetCache sets the Cache field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) { + d.Cache = cache + d.require(docFormsImportData200ResponseMetaCacheDeltaPagesItemFieldCache) +} + +func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsImportData200ResponseMetaCacheDeltaPagesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported(value) + *d = DocFormsImportData200ResponseMetaCacheDeltaPagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -120792,8 +126669,8 @@ func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported) Unmar return nil } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported +func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { + type embed DocFormsImportData200ResponseMetaCacheDeltaPagesItem var marshaler = struct { embed }{ @@ -120803,7 +126680,7 @@ func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported) Marsh return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported) String() string { +func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItem) String() string { if d == nil { return "" } @@ -120819,17 +126696,13 @@ func (d *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported) Strin } var ( - docFormsGet200ResponseFieldsItemTextFlagsFieldReadOnly = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemTextFlagsFieldRequired = big.NewInt(1 << 1) - docFormsGet200ResponseFieldsItemTextFlagsFieldNoExport = big.NewInt(1 << 2) - docFormsGet200ResponseFieldsItemTextFlagsFieldRaw = big.NewInt(1 << 3) + docFormsImportData200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) + docFormsImportData200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) ) -type DocFormsGet200ResponseFieldsItemTextFlags struct { - ReadOnly bool `json:"readOnly" url:"readOnly"` - Required bool `json:"required" url:"required"` - NoExport bool `json:"noExport" url:"noExport"` - Raw int `json:"raw" url:"raw"` +type DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache struct { + ContentVersion int `json:"contentVersion" url:"contentVersion"` + AnnotationVersion int `json:"annotationVersion" url:"annotationVersion"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -120838,83 +126711,187 @@ type DocFormsGet200ResponseFieldsItemTextFlags struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemTextFlags) GetReadOnly() bool { +func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { if d == nil { - return false + return 0 } - return d.ReadOnly + return d.ContentVersion } -func (d *DocFormsGet200ResponseFieldsItemTextFlags) GetRequired() bool { +func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { if d == nil { - return false + return 0 } - return d.Required + return d.AnnotationVersion } -func (d *DocFormsGet200ResponseFieldsItemTextFlags) GetNoExport() bool { +func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { if d == nil { - return false + return nil } - return d.NoExport + return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemTextFlags) GetRaw() int { +func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetContentVersion sets the ContentVersion field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { + d.ContentVersion = contentVersion + d.require(docFormsImportData200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) +} + +// SetAnnotationVersion sets the AnnotationVersion field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { + d.AnnotationVersion = annotationVersion + d.require(docFormsImportData200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) +} + +func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { + type embed DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) String() string { if d == nil { - return 0 + return "" } - return d.Raw + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } -func (d *DocFormsGet200ResponseFieldsItemTextFlags) GetExtraProperties() map[string]interface{} { +var ( + docFormsImportData400ResponseFieldName = big.NewInt(1 << 0) + docFormsImportData400ResponseFieldCode = big.NewInt(1 << 1) + docFormsImportData400ResponseFieldMessage = big.NewInt(1 << 2) + docFormsImportData400ResponseFieldDetails = big.NewInt(1 << 3) +) + +type DocFormsImportData400Response struct { + Name DocFormsImportData400ResponseName `json:"name" url:"name"` + Code DocFormsImportData400ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocFormsImportData400Response) GetName() DocFormsImportData400ResponseName { + if d == nil { + return "" + } + return d.Name +} + +func (d *DocFormsImportData400Response) GetCode() DocFormsImportData400ResponseCode { + if d == nil { + return "" + } + return d.Code +} + +func (d *DocFormsImportData400Response) GetMessage() string { + if d == nil { + return "" + } + return d.Message +} + +func (d *DocFormsImportData400Response) GetDetails() map[string]any { + if d == nil { + return nil + } + return d.Details +} + +func (d *DocFormsImportData400Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemTextFlags) require(field *big.Int) { +func (d *DocFormsImportData400Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetReadOnly sets the ReadOnly field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemTextFlags) SetReadOnly(readOnly bool) { - d.ReadOnly = readOnly - d.require(docFormsGet200ResponseFieldsItemTextFlagsFieldReadOnly) +func (d *DocFormsImportData400Response) SetName(name DocFormsImportData400ResponseName) { + d.Name = name + d.require(docFormsImportData400ResponseFieldName) } -// SetRequired sets the Required field and marks it as non-optional; +// SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemTextFlags) SetRequired(required bool) { - d.Required = required - d.require(docFormsGet200ResponseFieldsItemTextFlagsFieldRequired) +func (d *DocFormsImportData400Response) SetCode(code DocFormsImportData400ResponseCode) { + d.Code = code + d.require(docFormsImportData400ResponseFieldCode) } -// SetNoExport sets the NoExport field and marks it as non-optional; +// SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemTextFlags) SetNoExport(noExport bool) { - d.NoExport = noExport - d.require(docFormsGet200ResponseFieldsItemTextFlagsFieldNoExport) +func (d *DocFormsImportData400Response) SetMessage(message string) { + d.Message = message + d.require(docFormsImportData400ResponseFieldMessage) } -// SetRaw sets the Raw field and marks it as non-optional; +// SetDetails sets the Details field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemTextFlags) SetRaw(raw int) { - d.Raw = raw - d.require(docFormsGet200ResponseFieldsItemTextFlagsFieldRaw) +func (d *DocFormsImportData400Response) SetDetails(details map[string]any) { + d.Details = details + d.require(docFormsImportData400ResponseFieldDetails) } -func (d *DocFormsGet200ResponseFieldsItemTextFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemTextFlags +func (d *DocFormsImportData400Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsImportData400Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemTextFlags(value) + *d = DocFormsImportData400Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -120924,8 +126901,8 @@ func (d *DocFormsGet200ResponseFieldsItemTextFlags) UnmarshalJSON(data []byte) e return nil } -func (d *DocFormsGet200ResponseFieldsItemTextFlags) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemTextFlags +func (d *DocFormsImportData400Response) MarshalJSON() ([]byte, error) { + type embed DocFormsImportData400Response var marshaler = struct { embed }{ @@ -120935,7 +126912,7 @@ func (d *DocFormsGet200ResponseFieldsItemTextFlags) MarshalJSON() ([]byte, error return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemTextFlags) String() string { +func (d *DocFormsImportData400Response) String() string { if d == nil { return "" } @@ -120950,160 +126927,523 @@ func (d *DocFormsGet200ResponseFieldsItemTextFlags) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemTextOrigin string +type DocFormsImportData400ResponseCode string const ( - DocFormsGet200ResponseFieldsItemTextOriginAcroform DocFormsGet200ResponseFieldsItemTextOrigin = "acroform" - DocFormsGet200ResponseFieldsItemTextOriginRecovered DocFormsGet200ResponseFieldsItemTextOrigin = "recovered" + DocFormsImportData400ResponseCodeUnknown DocFormsImportData400ResponseCode = "Unknown" + DocFormsImportData400ResponseCodeInvalidArg DocFormsImportData400ResponseCode = "InvalidArg" + DocFormsImportData400ResponseCodeDocNotOpen DocFormsImportData400ResponseCode = "DocNotOpen" + DocFormsImportData400ResponseCodeDocOpenFailed DocFormsImportData400ResponseCode = "DocOpenFailed" + DocFormsImportData400ResponseCodeDocPasswordRequired DocFormsImportData400ResponseCode = "DocPasswordRequired" + DocFormsImportData400ResponseCodeDocPasswordIncorrect DocFormsImportData400ResponseCode = "DocPasswordIncorrect" + DocFormsImportData400ResponseCodeSharePasswordRequired DocFormsImportData400ResponseCode = "SharePasswordRequired" + DocFormsImportData400ResponseCodeAborted DocFormsImportData400ResponseCode = "Aborted" + DocFormsImportData400ResponseCodeNetwork DocFormsImportData400ResponseCode = "Network" + DocFormsImportData400ResponseCodeUnauthenticated DocFormsImportData400ResponseCode = "Unauthenticated" + DocFormsImportData400ResponseCodeForbidden DocFormsImportData400ResponseCode = "Forbidden" + DocFormsImportData400ResponseCodeNotFound DocFormsImportData400ResponseCode = "NotFound" + DocFormsImportData400ResponseCodeWireFormat DocFormsImportData400ResponseCode = "WireFormat" + DocFormsImportData400ResponseCodeRuntimeUnavailable DocFormsImportData400ResponseCode = "RuntimeUnavailable" + DocFormsImportData400ResponseCodeInvalidReference DocFormsImportData400ResponseCode = "InvalidReference" + DocFormsImportData400ResponseCodeWeakAnnotationSessionConflict DocFormsImportData400ResponseCode = "WeakAnnotationSessionConflict" + DocFormsImportData400ResponseCodeLayerVersionConflict DocFormsImportData400ResponseCode = "LayerVersionConflict" + DocFormsImportData400ResponseCodeNotImplemented DocFormsImportData400ResponseCode = "NotImplemented" + DocFormsImportData400ResponseCodeMalformedPdf DocFormsImportData400ResponseCode = "MalformedPdf" ) -func NewDocFormsGet200ResponseFieldsItemTextOriginFromString(s string) (DocFormsGet200ResponseFieldsItemTextOrigin, error) { +func NewDocFormsImportData400ResponseCodeFromString(s string) (DocFormsImportData400ResponseCode, error) { switch s { - case "acroform": - return DocFormsGet200ResponseFieldsItemTextOriginAcroform, nil - case "recovered": - return DocFormsGet200ResponseFieldsItemTextOriginRecovered, nil + case "Unknown": + return DocFormsImportData400ResponseCodeUnknown, nil + case "InvalidArg": + return DocFormsImportData400ResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocFormsImportData400ResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocFormsImportData400ResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocFormsImportData400ResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocFormsImportData400ResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocFormsImportData400ResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocFormsImportData400ResponseCodeAborted, nil + case "Network": + return DocFormsImportData400ResponseCodeNetwork, nil + case "Unauthenticated": + return DocFormsImportData400ResponseCodeUnauthenticated, nil + case "Forbidden": + return DocFormsImportData400ResponseCodeForbidden, nil + case "NotFound": + return DocFormsImportData400ResponseCodeNotFound, nil + case "WireFormat": + return DocFormsImportData400ResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocFormsImportData400ResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocFormsImportData400ResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocFormsImportData400ResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocFormsImportData400ResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocFormsImportData400ResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocFormsImportData400ResponseCodeMalformedPdf, nil } - var t DocFormsGet200ResponseFieldsItemTextOrigin + var t DocFormsImportData400ResponseCode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocFormsGet200ResponseFieldsItemTextOrigin) Ptr() *DocFormsGet200ResponseFieldsItemTextOrigin { +func (d DocFormsImportData400ResponseCode) Ptr() *DocFormsImportData400ResponseCode { return &d } -type DocFormsGet200ResponseFieldsItemTextRef struct { - Kind string - ObjectNumber *DocFormsGet200ResponseFieldsItemTextRefObjectNumber - Fqn *DocFormsGet200ResponseFieldsItemTextRefFqn +type DocFormsImportData400ResponseName string - rawJSON json.RawMessage +const ( + DocFormsImportData400ResponseNameEngineError DocFormsImportData400ResponseName = "EngineError" +) + +func NewDocFormsImportData400ResponseNameFromString(s string) (DocFormsImportData400ResponseName, error) { + switch s { + case "EngineError": + return DocFormsImportData400ResponseNameEngineError, nil + } + var t DocFormsImportData400ResponseName + return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d *DocFormsGet200ResponseFieldsItemTextRef) GetKind() string { +func (d DocFormsImportData400ResponseName) Ptr() *DocFormsImportData400ResponseName { + return &d +} + +var ( + docFormsImportData404ResponseFieldName = big.NewInt(1 << 0) + docFormsImportData404ResponseFieldCode = big.NewInt(1 << 1) + docFormsImportData404ResponseFieldMessage = big.NewInt(1 << 2) + docFormsImportData404ResponseFieldDetails = big.NewInt(1 << 3) +) + +type DocFormsImportData404Response struct { + Name DocFormsImportData404ResponseName `json:"name" url:"name"` + Code DocFormsImportData404ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocFormsImportData404Response) GetName() DocFormsImportData404ResponseName { if d == nil { return "" } - return d.Kind + return d.Name } -func (d *DocFormsGet200ResponseFieldsItemTextRef) GetObjectNumber() *DocFormsGet200ResponseFieldsItemTextRefObjectNumber { +func (d *DocFormsImportData404Response) GetCode() DocFormsImportData404ResponseCode { + if d == nil { + return "" + } + return d.Code +} + +func (d *DocFormsImportData404Response) GetMessage() string { + if d == nil { + return "" + } + return d.Message +} + +func (d *DocFormsImportData404Response) GetDetails() map[string]any { if d == nil { return nil } - return d.ObjectNumber + return d.Details } -func (d *DocFormsGet200ResponseFieldsItemTextRef) GetFqn() *DocFormsGet200ResponseFieldsItemTextRefFqn { +func (d *DocFormsImportData404Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } - return d.Fqn + return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemTextRef) UnmarshalJSON(data []byte) error { - var unmarshaler struct { - Kind string `json:"kind"` +func (d *DocFormsImportData404Response) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) } - if err := json.Unmarshal(data, &unmarshaler); err != nil { + d.explicitFields.Or(d.explicitFields, field) +} + +// SetName sets the Name field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsImportData404Response) SetName(name DocFormsImportData404ResponseName) { + d.Name = name + d.require(docFormsImportData404ResponseFieldName) +} + +// SetCode sets the Code field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsImportData404Response) SetCode(code DocFormsImportData404ResponseCode) { + d.Code = code + d.require(docFormsImportData404ResponseFieldCode) +} + +// SetMessage sets the Message field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsImportData404Response) SetMessage(message string) { + d.Message = message + d.require(docFormsImportData404ResponseFieldMessage) +} + +// SetDetails sets the Details field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsImportData404Response) SetDetails(details map[string]any) { + d.Details = details + d.require(docFormsImportData404ResponseFieldDetails) +} + +func (d *DocFormsImportData404Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsImportData404Response + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { return err } - d.Kind = unmarshaler.Kind - if unmarshaler.Kind == "" { - return fmt.Errorf("%T did not include discriminant kind", d) + *d = DocFormsImportData404Response(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err } - switch unmarshaler.Kind { - case "objectNumber": - value := new(DocFormsGet200ResponseFieldsItemTextRefObjectNumber) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.ObjectNumber = value - case "fqn": - value := new(DocFormsGet200ResponseFieldsItemTextRefFqn) - if err := json.Unmarshal(data, &value); err != nil { - return err + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil +} + +func (d *DocFormsImportData404Response) MarshalJSON() ([]byte, error) { + type embed DocFormsImportData404Response + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocFormsImportData404Response) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value } - d.Fqn = value } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocFormsImportData404ResponseCode string + +const ( + DocFormsImportData404ResponseCodeUnknown DocFormsImportData404ResponseCode = "Unknown" + DocFormsImportData404ResponseCodeInvalidArg DocFormsImportData404ResponseCode = "InvalidArg" + DocFormsImportData404ResponseCodeDocNotOpen DocFormsImportData404ResponseCode = "DocNotOpen" + DocFormsImportData404ResponseCodeDocOpenFailed DocFormsImportData404ResponseCode = "DocOpenFailed" + DocFormsImportData404ResponseCodeDocPasswordRequired DocFormsImportData404ResponseCode = "DocPasswordRequired" + DocFormsImportData404ResponseCodeDocPasswordIncorrect DocFormsImportData404ResponseCode = "DocPasswordIncorrect" + DocFormsImportData404ResponseCodeSharePasswordRequired DocFormsImportData404ResponseCode = "SharePasswordRequired" + DocFormsImportData404ResponseCodeAborted DocFormsImportData404ResponseCode = "Aborted" + DocFormsImportData404ResponseCodeNetwork DocFormsImportData404ResponseCode = "Network" + DocFormsImportData404ResponseCodeUnauthenticated DocFormsImportData404ResponseCode = "Unauthenticated" + DocFormsImportData404ResponseCodeForbidden DocFormsImportData404ResponseCode = "Forbidden" + DocFormsImportData404ResponseCodeNotFound DocFormsImportData404ResponseCode = "NotFound" + DocFormsImportData404ResponseCodeWireFormat DocFormsImportData404ResponseCode = "WireFormat" + DocFormsImportData404ResponseCodeRuntimeUnavailable DocFormsImportData404ResponseCode = "RuntimeUnavailable" + DocFormsImportData404ResponseCodeInvalidReference DocFormsImportData404ResponseCode = "InvalidReference" + DocFormsImportData404ResponseCodeWeakAnnotationSessionConflict DocFormsImportData404ResponseCode = "WeakAnnotationSessionConflict" + DocFormsImportData404ResponseCodeLayerVersionConflict DocFormsImportData404ResponseCode = "LayerVersionConflict" + DocFormsImportData404ResponseCodeNotImplemented DocFormsImportData404ResponseCode = "NotImplemented" + DocFormsImportData404ResponseCodeMalformedPdf DocFormsImportData404ResponseCode = "MalformedPdf" +) + +func NewDocFormsImportData404ResponseCodeFromString(s string) (DocFormsImportData404ResponseCode, error) { + switch s { + case "Unknown": + return DocFormsImportData404ResponseCodeUnknown, nil + case "InvalidArg": + return DocFormsImportData404ResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocFormsImportData404ResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocFormsImportData404ResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocFormsImportData404ResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocFormsImportData404ResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocFormsImportData404ResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocFormsImportData404ResponseCodeAborted, nil + case "Network": + return DocFormsImportData404ResponseCodeNetwork, nil + case "Unauthenticated": + return DocFormsImportData404ResponseCodeUnauthenticated, nil + case "Forbidden": + return DocFormsImportData404ResponseCodeForbidden, nil + case "NotFound": + return DocFormsImportData404ResponseCodeNotFound, nil + case "WireFormat": + return DocFormsImportData404ResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocFormsImportData404ResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocFormsImportData404ResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocFormsImportData404ResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocFormsImportData404ResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocFormsImportData404ResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocFormsImportData404ResponseCodeMalformedPdf, nil + } + var t DocFormsImportData404ResponseCode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocFormsImportData404ResponseCode) Ptr() *DocFormsImportData404ResponseCode { + return &d +} + +type DocFormsImportData404ResponseName string + +const ( + DocFormsImportData404ResponseNameEngineError DocFormsImportData404ResponseName = "EngineError" +) + +func NewDocFormsImportData404ResponseNameFromString(s string) (DocFormsImportData404ResponseName, error) { + switch s { + case "EngineError": + return DocFormsImportData404ResponseNameEngineError, nil + } + var t DocFormsImportData404ResponseName + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocFormsImportData404ResponseName) Ptr() *DocFormsImportData404ResponseName { + return &d +} + +type DocFormsImportDataRequest = map[string]any + +var ( + docFormsReset200ResponseFieldMeta = big.NewInt(1 << 0) +) + +type DocFormsReset200Response struct { + Meta *DocFormsReset200ResponseMeta `json:"meta" url:"meta"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + ExtraProperties map[string]interface{} `json:"-" url:"-"` + + rawJSON json.RawMessage +} + +func (d *DocFormsReset200Response) GetMeta() *DocFormsReset200ResponseMeta { + if d == nil { + return nil + } + return d.Meta +} + +func (d *DocFormsReset200Response) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.ExtraProperties +} + +func (d *DocFormsReset200Response) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetMeta sets the Meta field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsReset200Response) SetMeta(meta *DocFormsReset200ResponseMeta) { + d.Meta = meta + d.require(docFormsReset200ResponseFieldMeta) +} + +func (d *DocFormsReset200Response) UnmarshalJSON(data []byte) error { + type embed DocFormsReset200Response + var unmarshaler = struct { + embed + }{ + embed: embed(*d), + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { + return err + } + *d = DocFormsReset200Response(unmarshaler.embed) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err + } + d.ExtraProperties = extraProperties d.rawJSON = json.RawMessage(data) return nil } -func (d DocFormsGet200ResponseFieldsItemTextRef) MarshalJSON() ([]byte, error) { - if err := d.validate(); err != nil { - return nil, err - } - if d.ObjectNumber != nil { - return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") - } - if d.Fqn != nil { - return internal.MarshalJSONWithExtraProperty(d.Fqn, "kind", "fqn") +func (d *DocFormsReset200Response) MarshalJSON() ([]byte, error) { + type embed DocFormsReset200Response + var marshaler = struct { + embed + }{ + embed: embed(*d), + } + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return internal.MarshalJSONWithExtraProperties(explicitMarshaler, d.ExtraProperties) +} + +func (d *DocFormsReset200Response) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +var ( + docFormsReset200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) + docFormsReset200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) +) + +type DocFormsReset200ResponseMeta struct { + AffectedPages []*DocFormsReset200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` + CacheDelta *DocFormsReset200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` + + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` + + extraProperties map[string]interface{} + rawJSON json.RawMessage +} + +func (d *DocFormsReset200ResponseMeta) GetAffectedPages() []*DocFormsReset200ResponseMetaAffectedPagesItem { + if d == nil { + return nil + } + return d.AffectedPages +} + +func (d *DocFormsReset200ResponseMeta) GetCacheDelta() *DocFormsReset200ResponseMetaCacheDelta { + if d == nil { + return nil + } + return d.CacheDelta +} + +func (d *DocFormsReset200ResponseMeta) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties +} + +func (d *DocFormsReset200ResponseMeta) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetAffectedPages sets the AffectedPages field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsReset200ResponseMeta) SetAffectedPages(affectedPages []*DocFormsReset200ResponseMetaAffectedPagesItem) { + d.AffectedPages = affectedPages + d.require(docFormsReset200ResponseMetaFieldAffectedPages) +} + +// SetCacheDelta sets the CacheDelta field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsReset200ResponseMeta) SetCacheDelta(cacheDelta *DocFormsReset200ResponseMetaCacheDelta) { + d.CacheDelta = cacheDelta + d.require(docFormsReset200ResponseMetaFieldCacheDelta) +} + +func (d *DocFormsReset200ResponseMeta) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsReset200ResponseMeta + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err } - if len(d.rawJSON) > 0 { - return d.rawJSON, nil + *d = DocFormsReset200ResponseMeta(value) + extraProperties, err := internal.ExtractExtraProperties(data, *d) + if err != nil { + return err } - return nil, fmt.Errorf("type %T does not define a non-empty union type", d) -} - -type DocFormsGet200ResponseFieldsItemTextRefVisitor interface { - VisitObjectNumber(*DocFormsGet200ResponseFieldsItemTextRefObjectNumber) error - VisitFqn(*DocFormsGet200ResponseFieldsItemTextRefFqn) error + d.extraProperties = extraProperties + d.rawJSON = json.RawMessage(data) + return nil } -func (d *DocFormsGet200ResponseFieldsItemTextRef) Accept(visitor DocFormsGet200ResponseFieldsItemTextRefVisitor) error { - if d.ObjectNumber != nil { - return visitor.VisitObjectNumber(d.ObjectNumber) - } - if d.Fqn != nil { - return visitor.VisitFqn(d.Fqn) +func (d *DocFormsReset200ResponseMeta) MarshalJSON() ([]byte, error) { + type embed DocFormsReset200ResponseMeta + var marshaler = struct { + embed + }{ + embed: embed(*d), } - return fmt.Errorf("type %T does not define a non-empty union type", d) + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemTextRef) validate() error { +func (d *DocFormsReset200ResponseMeta) String() string { if d == nil { - return fmt.Errorf("type %T is nil", d) - } - var fields []string - if d.ObjectNumber != nil { - fields = append(fields, "objectNumber") - } - if d.Fqn != nil { - fields = append(fields, "fqn") + return "" } - if len(fields) == 0 { - if d.Kind != "" { - if len(d.rawJSON) > 0 { - return nil - } - return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value } - return fmt.Errorf("type %T is empty", d) - } - if len(fields) > 1 { - return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) } - if d.Kind != "" { - field := fields[0] - if d.Kind != field { - return fmt.Errorf( - "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", - d, - d.Kind, - d, - ) - } + if value, err := internal.StringifyJSON(d); err == nil { + return value } - return nil + return fmt.Sprintf("%#v", d) } var ( - docFormsGet200ResponseFieldsItemTextRefFqnFieldName = big.NewInt(1 << 0) + docFormsReset200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docFormsReset200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) + docFormsReset200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) ) -type DocFormsGet200ResponseFieldsItemTextRefFqn struct { - Name string `json:"name" url:"name"` +type DocFormsReset200ResponseMetaAffectedPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Revision *DocFormsReset200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` + WeakAnnotationState *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -121112,41 +127452,69 @@ type DocFormsGet200ResponseFieldsItemTextRefFqn struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemTextRefFqn) GetName() string { +func (d *DocFormsReset200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { if d == nil { - return "" + return 0 } - return d.Name + return d.PageObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemTextRefFqn) GetExtraProperties() map[string]interface{} { +func (d *DocFormsReset200ResponseMetaAffectedPagesItem) GetRevision() *DocFormsReset200ResponseMetaAffectedPagesItemRevision { + if d == nil { + return nil + } + return d.Revision +} + +func (d *DocFormsReset200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState { + if d == nil { + return nil + } + return d.WeakAnnotationState +} + +func (d *DocFormsReset200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemTextRefFqn) require(field *big.Int) { +func (d *DocFormsReset200ResponseMetaAffectedPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetName sets the Name field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemTextRefFqn) SetName(name string) { - d.Name = name - d.require(docFormsGet200ResponseFieldsItemTextRefFqnFieldName) +func (d *DocFormsReset200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docFormsReset200ResponseMetaAffectedPagesItemFieldPageObjectNumber) } -func (d *DocFormsGet200ResponseFieldsItemTextRefFqn) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemTextRefFqn +// SetRevision sets the Revision field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsReset200ResponseMetaAffectedPagesItem) SetRevision(revision *DocFormsReset200ResponseMetaAffectedPagesItemRevision) { + d.Revision = revision + d.require(docFormsReset200ResponseMetaAffectedPagesItemFieldRevision) +} + +// SetWeakAnnotationState sets the WeakAnnotationState field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsReset200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState) { + d.WeakAnnotationState = weakAnnotationState + d.require(docFormsReset200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) +} + +func (d *DocFormsReset200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsReset200ResponseMetaAffectedPagesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemTextRefFqn(value) + *d = DocFormsReset200ResponseMetaAffectedPagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -121156,8 +127524,8 @@ func (d *DocFormsGet200ResponseFieldsItemTextRefFqn) UnmarshalJSON(data []byte) return nil } -func (d *DocFormsGet200ResponseFieldsItemTextRefFqn) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemTextRefFqn +func (d *DocFormsReset200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { + type embed DocFormsReset200ResponseMetaAffectedPagesItem var marshaler = struct { embed }{ @@ -121167,7 +127535,7 @@ func (d *DocFormsGet200ResponseFieldsItemTextRefFqn) MarshalJSON() ([]byte, erro return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemTextRefFqn) String() string { +func (d *DocFormsReset200ResponseMetaAffectedPagesItem) String() string { if d == nil { return "" } @@ -121183,11 +127551,15 @@ func (d *DocFormsGet200ResponseFieldsItemTextRefFqn) String() string { } var ( - docFormsGet200ResponseFieldsItemTextRefObjectNumberFieldFieldObjectNumber = big.NewInt(1 << 0) + docFormsReset200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) + docFormsReset200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docFormsReset200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocFormsGet200ResponseFieldsItemTextRefObjectNumber struct { - FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` +type DocFormsReset200ResponseMetaAffectedPagesItemRevision struct { + DocSessionID string `json:"docSessionId" url:"docSessionId"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Generation int `json:"generation" url:"generation"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -121196,41 +127568,69 @@ type DocFormsGet200ResponseFieldsItemTextRefObjectNumber struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemTextRefObjectNumber) GetFieldObjectNumber() int { +func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { + if d == nil { + return "" + } + return d.DocSessionID +} + +func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { if d == nil { return 0 } - return d.FieldObjectNumber + return d.PageObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemTextRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { + if d == nil { + return 0 + } + return d.Generation +} + +func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemTextRefObjectNumber) require(field *big.Int) { +func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemTextRefObjectNumber) SetFieldObjectNumber(fieldObjectNumber int) { - d.FieldObjectNumber = fieldObjectNumber - d.require(docFormsGet200ResponseFieldsItemTextRefObjectNumberFieldFieldObjectNumber) +func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docFormsReset200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) } -func (d *DocFormsGet200ResponseFieldsItemTextRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemTextRefObjectNumber +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docFormsReset200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) +} + +// SetGeneration sets the Generation field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docFormsReset200ResponseMetaAffectedPagesItemRevisionFieldGeneration) +} + +func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsReset200ResponseMetaAffectedPagesItemRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemTextRefObjectNumber(value) + *d = DocFormsReset200ResponseMetaAffectedPagesItemRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -121240,8 +127640,8 @@ func (d *DocFormsGet200ResponseFieldsItemTextRefObjectNumber) UnmarshalJSON(data return nil } -func (d *DocFormsGet200ResponseFieldsItemTextRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemTextRefObjectNumber +func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { + type embed DocFormsReset200ResponseMetaAffectedPagesItemRevision var marshaler = struct { embed }{ @@ -121251,7 +127651,7 @@ func (d *DocFormsGet200ResponseFieldsItemTextRefObjectNumber) MarshalJSON() ([]b return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemTextRefObjectNumber) String() string { +func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) String() string { if d == nil { return "" } @@ -121266,52 +127666,36 @@ func (d *DocFormsGet200ResponseFieldsItemTextRefObjectNumber) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemTextValueEntry struct { - Kind string - None *DocFormsGet200ResponseFieldsItemTextValueEntryNone - Scalar *DocFormsGet200ResponseFieldsItemTextValueEntryScalar - Array *DocFormsGet200ResponseFieldsItemTextValueEntryArray - Unsupported *DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported +type DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState struct { + Kind string + Unknown *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + Known *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntry) GetKind() string { +func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemTextValueEntryNone { - if d == nil { - return nil - } - return d.None -} - -func (d *DocFormsGet200ResponseFieldsItemTextValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemTextValueEntryScalar { - if d == nil { - return nil - } - return d.Scalar -} - -func (d *DocFormsGet200ResponseFieldsItemTextValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemTextValueEntryArray { +func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { if d == nil { return nil } - return d.Array + return d.Unknown } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported { +func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { if d == nil { return nil } - return d.Unsupported + return d.Known } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntry) UnmarshalJSON(data []byte) error { +func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -121323,50 +127707,32 @@ func (d *DocFormsGet200ResponseFieldsItemTextValueEntry) UnmarshalJSON(data []by return fmt.Errorf("%T did not include discriminant kind", d) } switch unmarshaler.Kind { - case "none": - value := new(DocFormsGet200ResponseFieldsItemTextValueEntryNone) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.None = value - case "scalar": - value := new(DocFormsGet200ResponseFieldsItemTextValueEntryScalar) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Scalar = value - case "array": - value := new(DocFormsGet200ResponseFieldsItemTextValueEntryArray) + case "unknown": + value := new(DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Array = value - case "unsupported": - value := new(DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported) + d.Unknown = value + case "known": + value := new(DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Unsupported = value + d.Known = value } d.rawJSON = json.RawMessage(data) return nil } -func (d DocFormsGet200ResponseFieldsItemTextValueEntry) MarshalJSON() ([]byte, error) { +func (d DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } - if d.None != nil { - return internal.MarshalJSONWithExtraProperty(d.None, "kind", "none") - } - if d.Scalar != nil { - return internal.MarshalJSONWithExtraProperty(d.Scalar, "kind", "scalar") - } - if d.Array != nil { - return internal.MarshalJSONWithExtraProperty(d.Array, "kind", "array") + if d.Unknown != nil { + return internal.MarshalJSONWithExtraProperty(d.Unknown, "kind", "unknown") } - if d.Unsupported != nil { - return internal.MarshalJSONWithExtraProperty(d.Unsupported, "kind", "unsupported") + if d.Known != nil { + return internal.MarshalJSONWithExtraProperty(d.Known, "kind", "known") } if len(d.rawJSON) > 0 { return d.rawJSON, nil @@ -121374,45 +127740,31 @@ func (d DocFormsGet200ResponseFieldsItemTextValueEntry) MarshalJSON() ([]byte, e return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsGet200ResponseFieldsItemTextValueEntryVisitor interface { - VisitNone(*DocFormsGet200ResponseFieldsItemTextValueEntryNone) error - VisitScalar(*DocFormsGet200ResponseFieldsItemTextValueEntryScalar) error - VisitArray(*DocFormsGet200ResponseFieldsItemTextValueEntryArray) error - VisitUnsupported(*DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported) error +type DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { + VisitUnknown(*DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error + VisitKnown(*DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemTextValueEntryVisitor) error { - if d.None != nil { - return visitor.VisitNone(d.None) - } - if d.Scalar != nil { - return visitor.VisitScalar(d.Scalar) - } - if d.Array != nil { - return visitor.VisitArray(d.Array) +func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { + if d.Unknown != nil { + return visitor.VisitUnknown(d.Unknown) } - if d.Unsupported != nil { - return visitor.VisitUnsupported(d.Unsupported) + if d.Known != nil { + return visitor.VisitKnown(d.Known) } return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntry) validate() error { +func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } var fields []string - if d.None != nil { - fields = append(fields, "none") - } - if d.Scalar != nil { - fields = append(fields, "scalar") - } - if d.Array != nil { - fields = append(fields, "array") + if d.Unknown != nil { + fields = append(fields, "unknown") } - if d.Unsupported != nil { - fields = append(fields, "unsupported") + if d.Known != nil { + fields = append(fields, "known") } if len(fields) == 0 { if d.Kind != "" { @@ -121441,11 +127793,11 @@ func (d *DocFormsGet200ResponseFieldsItemTextValueEntry) validate() error { } var ( - docFormsGet200ResponseFieldsItemTextValueEntryArrayFieldValues = big.NewInt(1 << 0) + docFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemTextValueEntryArray struct { - Values []string `json:"values" url:"values"` +type DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { + HasAnyWeakAnnotations bool `json:"hasAnyWeakAnnotations" url:"hasAnyWeakAnnotations"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -121454,41 +127806,41 @@ type DocFormsGet200ResponseFieldsItemTextValueEntryArray struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryArray) GetValues() []string { +func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { if d == nil { - return nil + return false } - return d.Values + return d.HasAnyWeakAnnotations } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryArray) GetExtraProperties() map[string]interface{} { +func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryArray) require(field *big.Int) { +func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetValues sets the Values field and marks it as non-optional; +// SetHasAnyWeakAnnotations sets the HasAnyWeakAnnotations field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryArray) SetValues(values []string) { - d.Values = values - d.require(docFormsGet200ResponseFieldsItemTextValueEntryArrayFieldValues) +func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { + d.HasAnyWeakAnnotations = hasAnyWeakAnnotations + d.require(docFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryArray) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemTextValueEntryArray +func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemTextValueEntryArray(value) + *d = DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -121498,8 +127850,8 @@ func (d *DocFormsGet200ResponseFieldsItemTextValueEntryArray) UnmarshalJSON(data return nil } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryArray) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemTextValueEntryArray +func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { + type embed DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown var marshaler = struct { embed }{ @@ -121509,7 +127861,7 @@ func (d *DocFormsGet200ResponseFieldsItemTextValueEntryArray) MarshalJSON() ([]b return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryArray) String() string { +func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { if d == nil { return "" } @@ -121524,7 +127876,7 @@ func (d *DocFormsGet200ResponseFieldsItemTextValueEntryArray) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemTextValueEntryNone struct { +type DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -121533,27 +127885,27 @@ type DocFormsGet200ResponseFieldsItemTextValueEntryNone struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryNone) GetExtraProperties() map[string]interface{} { +func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryNone) require(field *big.Int) { +func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryNone) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemTextValueEntryNone +func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemTextValueEntryNone(value) + *d = DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -121563,8 +127915,8 @@ func (d *DocFormsGet200ResponseFieldsItemTextValueEntryNone) UnmarshalJSON(data return nil } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryNone) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemTextValueEntryNone +func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { + type embed DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var marshaler = struct { embed }{ @@ -121574,7 +127926,7 @@ func (d *DocFormsGet200ResponseFieldsItemTextValueEntryNone) MarshalJSON() ([]by return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryNone) String() string { +func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { if d == nil { return "" } @@ -121590,11 +127942,17 @@ func (d *DocFormsGet200ResponseFieldsItemTextValueEntryNone) String() string { } var ( - docFormsGet200ResponseFieldsItemTextValueEntryScalarFieldValue = big.NewInt(1 << 0) + docFormsReset200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) + docFormsReset200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) + docFormsReset200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) + docFormsReset200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) ) -type DocFormsGet200ResponseFieldsItemTextValueEntryScalar struct { - Value string `json:"value" url:"value"` +type DocFormsReset200ResponseMetaCacheDelta struct { + PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` + DocVersion int `json:"docVersion" url:"docVersion"` + AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` + Pages []*DocFormsReset200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -121603,41 +127961,83 @@ type DocFormsGet200ResponseFieldsItemTextValueEntryScalar struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryScalar) GetValue() string { +func (d *DocFormsReset200ResponseMetaCacheDelta) GetPreviousDocVersion() int { if d == nil { - return "" + return 0 } - return d.Value + return d.PreviousDocVersion } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryScalar) GetExtraProperties() map[string]interface{} { +func (d *DocFormsReset200ResponseMetaCacheDelta) GetDocVersion() int { + if d == nil { + return 0 + } + return d.DocVersion +} + +func (d *DocFormsReset200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { + if d == nil { + return nil + } + return d.AnnotationsVersion +} + +func (d *DocFormsReset200ResponseMetaCacheDelta) GetPages() []*DocFormsReset200ResponseMetaCacheDeltaPagesItem { + if d == nil { + return nil + } + return d.Pages +} + +func (d *DocFormsReset200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryScalar) require(field *big.Int) { +func (d *DocFormsReset200ResponseMetaCacheDelta) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetValue sets the Value field and marks it as non-optional; +// SetPreviousDocVersion sets the PreviousDocVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryScalar) SetValue(value string) { - d.Value = value - d.require(docFormsGet200ResponseFieldsItemTextValueEntryScalarFieldValue) +func (d *DocFormsReset200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { + d.PreviousDocVersion = previousDocVersion + d.require(docFormsReset200ResponseMetaCacheDeltaFieldPreviousDocVersion) } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryScalar) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemTextValueEntryScalar +// SetDocVersion sets the DocVersion field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsReset200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { + d.DocVersion = docVersion + d.require(docFormsReset200ResponseMetaCacheDeltaFieldDocVersion) +} + +// SetAnnotationsVersion sets the AnnotationsVersion field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsReset200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { + d.AnnotationsVersion = annotationsVersion + d.require(docFormsReset200ResponseMetaCacheDeltaFieldAnnotationsVersion) +} + +// SetPages sets the Pages field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsReset200ResponseMetaCacheDelta) SetPages(pages []*DocFormsReset200ResponseMetaCacheDeltaPagesItem) { + d.Pages = pages + d.require(docFormsReset200ResponseMetaCacheDeltaFieldPages) +} + +func (d *DocFormsReset200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsReset200ResponseMetaCacheDelta var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemTextValueEntryScalar(value) + *d = DocFormsReset200ResponseMetaCacheDelta(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -121647,8 +128047,8 @@ func (d *DocFormsGet200ResponseFieldsItemTextValueEntryScalar) UnmarshalJSON(dat return nil } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryScalar) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemTextValueEntryScalar +func (d *DocFormsReset200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { + type embed DocFormsReset200ResponseMetaCacheDelta var marshaler = struct { embed }{ @@ -121658,7 +128058,7 @@ func (d *DocFormsGet200ResponseFieldsItemTextValueEntryScalar) MarshalJSON() ([] return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryScalar) String() string { +func (d *DocFormsReset200ResponseMetaCacheDelta) String() string { if d == nil { return "" } @@ -121673,7 +128073,14 @@ func (d *DocFormsGet200ResponseFieldsItemTextValueEntryScalar) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported struct { +var ( + docFormsReset200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docFormsReset200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) +) + +type DocFormsReset200ResponseMetaCacheDeltaPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Cache *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -121682,27 +128089,55 @@ type DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported) GetExtraProperties() map[string]interface{} { +func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { + if d == nil { + return 0 + } + return d.PageObjectNumber +} + +func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItem) GetCache() *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache { + if d == nil { + return nil + } + return d.Cache +} + +func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported) require(field *big.Int) { +func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docFormsReset200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) +} + +// SetCache sets the Cache field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) { + d.Cache = cache + d.require(docFormsReset200ResponseMetaCacheDeltaPagesItemFieldCache) +} + +func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsReset200ResponseMetaCacheDeltaPagesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported(value) + *d = DocFormsReset200ResponseMetaCacheDeltaPagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -121712,8 +128147,8 @@ func (d *DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported) UnmarshalJSO return nil } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported +func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { + type embed DocFormsReset200ResponseMetaCacheDeltaPagesItem var marshaler = struct { embed }{ @@ -121723,7 +128158,7 @@ func (d *DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported) MarshalJSON( return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported) String() string { +func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItem) String() string { if d == nil { return "" } @@ -121739,13 +128174,13 @@ func (d *DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported) String() str } var ( - docFormsGet200ResponseFieldsItemTextWidgetsItemFieldAnnotObjectNumber = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemTextWidgetsItemFieldPageObjectNumber = big.NewInt(1 << 1) + docFormsReset200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) + docFormsReset200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) ) -type DocFormsGet200ResponseFieldsItemTextWidgetsItem struct { - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` +type DocFormsReset200ResponseMetaCacheDeltaPagesItemCache struct { + ContentVersion int `json:"contentVersion" url:"contentVersion"` + AnnotationVersion int `json:"annotationVersion" url:"annotationVersion"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -121754,55 +128189,55 @@ type DocFormsGet200ResponseFieldsItemTextWidgetsItem struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemTextWidgetsItem) GetAnnotObjectNumber() int { +func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { if d == nil { return 0 } - return d.AnnotObjectNumber + return d.ContentVersion } -func (d *DocFormsGet200ResponseFieldsItemTextWidgetsItem) GetPageObjectNumber() int { +func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { if d == nil { return 0 } - return d.PageObjectNumber + return d.AnnotationVersion } -func (d *DocFormsGet200ResponseFieldsItemTextWidgetsItem) GetExtraProperties() map[string]interface{} { +func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemTextWidgetsItem) require(field *big.Int) { +func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// SetContentVersion sets the ContentVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemTextWidgetsItem) SetAnnotObjectNumber(annotObjectNumber int) { - d.AnnotObjectNumber = annotObjectNumber - d.require(docFormsGet200ResponseFieldsItemTextWidgetsItemFieldAnnotObjectNumber) +func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { + d.ContentVersion = contentVersion + d.require(docFormsReset200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetAnnotationVersion sets the AnnotationVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemTextWidgetsItem) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docFormsGet200ResponseFieldsItemTextWidgetsItemFieldPageObjectNumber) +func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { + d.AnnotationVersion = annotationVersion + d.require(docFormsReset200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) } -func (d *DocFormsGet200ResponseFieldsItemTextWidgetsItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemTextWidgetsItem +func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsReset200ResponseMetaCacheDeltaPagesItemCache var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemTextWidgetsItem(value) + *d = DocFormsReset200ResponseMetaCacheDeltaPagesItemCache(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -121812,8 +128247,8 @@ func (d *DocFormsGet200ResponseFieldsItemTextWidgetsItem) UnmarshalJSON(data []b return nil } -func (d *DocFormsGet200ResponseFieldsItemTextWidgetsItem) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemTextWidgetsItem +func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { + type embed DocFormsReset200ResponseMetaCacheDeltaPagesItemCache var marshaler = struct { embed }{ @@ -121823,7 +128258,7 @@ func (d *DocFormsGet200ResponseFieldsItemTextWidgetsItem) MarshalJSON() ([]byte, return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemTextWidgetsItem) String() string { +func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) String() string { if d == nil { return "" } @@ -121839,33 +128274,17 @@ func (d *DocFormsGet200ResponseFieldsItemTextWidgetsItem) String() string { } var ( - docFormsGet200ResponseFieldsItemUnknownFieldRef = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemUnknownFieldFieldObjectNumber = big.NewInt(1 << 1) - docFormsGet200ResponseFieldsItemUnknownFieldName = big.NewInt(1 << 2) - docFormsGet200ResponseFieldsItemUnknownFieldOrigin = big.NewInt(1 << 3) - docFormsGet200ResponseFieldsItemUnknownFieldFlags = big.NewInt(1 << 4) - docFormsGet200ResponseFieldsItemUnknownFieldAlternateName = big.NewInt(1 << 5) - docFormsGet200ResponseFieldsItemUnknownFieldMappingName = big.NewInt(1 << 6) - docFormsGet200ResponseFieldsItemUnknownFieldValueEntry = big.NewInt(1 << 7) - docFormsGet200ResponseFieldsItemUnknownFieldDefaultValueEntry = big.NewInt(1 << 8) - docFormsGet200ResponseFieldsItemUnknownFieldActions = big.NewInt(1 << 9) - docFormsGet200ResponseFieldsItemUnknownFieldWidgets = big.NewInt(1 << 10) - docFormsGet200ResponseFieldsItemUnknownFieldRawValue = big.NewInt(1 << 11) + docFormsReset404ResponseFieldName = big.NewInt(1 << 0) + docFormsReset404ResponseFieldCode = big.NewInt(1 << 1) + docFormsReset404ResponseFieldMessage = big.NewInt(1 << 2) + docFormsReset404ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocFormsGet200ResponseFieldsItemUnknown struct { - Ref *DocFormsGet200ResponseFieldsItemUnknownRef `json:"ref" url:"ref"` - FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` - Name string `json:"name" url:"name"` - Origin DocFormsGet200ResponseFieldsItemUnknownOrigin `json:"origin" url:"origin"` - Flags *DocFormsGet200ResponseFieldsItemUnknownFlags `json:"flags" url:"flags"` - AlternateName *string `json:"alternateName,omitempty" url:"alternateName,omitempty"` - MappingName *string `json:"mappingName,omitempty" url:"mappingName,omitempty"` - ValueEntry *DocFormsGet200ResponseFieldsItemUnknownValueEntry `json:"valueEntry" url:"valueEntry"` - DefaultValueEntry *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry `json:"defaultValueEntry" url:"defaultValueEntry"` - Actions *PdfFieldActions `json:"actions,omitempty" url:"actions,omitempty"` - Widgets []*DocFormsGet200ResponseFieldsItemUnknownWidgetsItem `json:"widgets" url:"widgets"` - RawValue string `json:"rawValue" url:"rawValue"` +type DocFormsReset404Response struct { + Name DocFormsReset404ResponseName `json:"name" url:"name"` + Code DocFormsReset404ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -121874,195 +128293,83 @@ type DocFormsGet200ResponseFieldsItemUnknown struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemUnknown) GetRef() *DocFormsGet200ResponseFieldsItemUnknownRef { - if d == nil { - return nil - } - return d.Ref -} - -func (d *DocFormsGet200ResponseFieldsItemUnknown) GetFieldObjectNumber() int { - if d == nil { - return 0 - } - return d.FieldObjectNumber -} - -func (d *DocFormsGet200ResponseFieldsItemUnknown) GetName() string { +func (d *DocFormsReset404Response) GetName() DocFormsReset404ResponseName { if d == nil { return "" } return d.Name } -func (d *DocFormsGet200ResponseFieldsItemUnknown) GetOrigin() DocFormsGet200ResponseFieldsItemUnknownOrigin { +func (d *DocFormsReset404Response) GetCode() DocFormsReset404ResponseCode { if d == nil { return "" } - return d.Origin -} - -func (d *DocFormsGet200ResponseFieldsItemUnknown) GetFlags() *DocFormsGet200ResponseFieldsItemUnknownFlags { - if d == nil { - return nil - } - return d.Flags -} - -func (d *DocFormsGet200ResponseFieldsItemUnknown) GetAlternateName() *string { - if d == nil { - return nil - } - return d.AlternateName -} - -func (d *DocFormsGet200ResponseFieldsItemUnknown) GetMappingName() *string { - if d == nil { - return nil - } - return d.MappingName -} - -func (d *DocFormsGet200ResponseFieldsItemUnknown) GetValueEntry() *DocFormsGet200ResponseFieldsItemUnknownValueEntry { - if d == nil { - return nil - } - return d.ValueEntry -} - -func (d *DocFormsGet200ResponseFieldsItemUnknown) GetDefaultValueEntry() *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry { - if d == nil { - return nil - } - return d.DefaultValueEntry + return d.Code } -func (d *DocFormsGet200ResponseFieldsItemUnknown) GetActions() *PdfFieldActions { +func (d *DocFormsReset404Response) GetMessage() string { if d == nil { - return nil + return "" } - return d.Actions + return d.Message } -func (d *DocFormsGet200ResponseFieldsItemUnknown) GetWidgets() []*DocFormsGet200ResponseFieldsItemUnknownWidgetsItem { +func (d *DocFormsReset404Response) GetDetails() map[string]any { if d == nil { return nil } - return d.Widgets -} - -func (d *DocFormsGet200ResponseFieldsItemUnknown) GetRawValue() string { - if d == nil { - return "" - } - return d.RawValue + return d.Details } -func (d *DocFormsGet200ResponseFieldsItemUnknown) GetExtraProperties() map[string]interface{} { +func (d *DocFormsReset404Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemUnknown) require(field *big.Int) { +func (d *DocFormsReset404Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetRef sets the Ref field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknown) SetRef(ref *DocFormsGet200ResponseFieldsItemUnknownRef) { - d.Ref = ref - d.require(docFormsGet200ResponseFieldsItemUnknownFieldRef) -} - -// SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknown) SetFieldObjectNumber(fieldObjectNumber int) { - d.FieldObjectNumber = fieldObjectNumber - d.require(docFormsGet200ResponseFieldsItemUnknownFieldFieldObjectNumber) -} - // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknown) SetName(name string) { +func (d *DocFormsReset404Response) SetName(name DocFormsReset404ResponseName) { d.Name = name - d.require(docFormsGet200ResponseFieldsItemUnknownFieldName) -} - -// SetOrigin sets the Origin field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknown) SetOrigin(origin DocFormsGet200ResponseFieldsItemUnknownOrigin) { - d.Origin = origin - d.require(docFormsGet200ResponseFieldsItemUnknownFieldOrigin) -} - -// SetFlags sets the Flags field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknown) SetFlags(flags *DocFormsGet200ResponseFieldsItemUnknownFlags) { - d.Flags = flags - d.require(docFormsGet200ResponseFieldsItemUnknownFieldFlags) -} - -// SetAlternateName sets the AlternateName field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknown) SetAlternateName(alternateName *string) { - d.AlternateName = alternateName - d.require(docFormsGet200ResponseFieldsItemUnknownFieldAlternateName) -} - -// SetMappingName sets the MappingName field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknown) SetMappingName(mappingName *string) { - d.MappingName = mappingName - d.require(docFormsGet200ResponseFieldsItemUnknownFieldMappingName) -} - -// SetValueEntry sets the ValueEntry field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknown) SetValueEntry(valueEntry *DocFormsGet200ResponseFieldsItemUnknownValueEntry) { - d.ValueEntry = valueEntry - d.require(docFormsGet200ResponseFieldsItemUnknownFieldValueEntry) -} - -// SetDefaultValueEntry sets the DefaultValueEntry field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknown) SetDefaultValueEntry(defaultValueEntry *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry) { - d.DefaultValueEntry = defaultValueEntry - d.require(docFormsGet200ResponseFieldsItemUnknownFieldDefaultValueEntry) + d.require(docFormsReset404ResponseFieldName) } -// SetActions sets the Actions field and marks it as non-optional; +// SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknown) SetActions(actions *PdfFieldActions) { - d.Actions = actions - d.require(docFormsGet200ResponseFieldsItemUnknownFieldActions) +func (d *DocFormsReset404Response) SetCode(code DocFormsReset404ResponseCode) { + d.Code = code + d.require(docFormsReset404ResponseFieldCode) } -// SetWidgets sets the Widgets field and marks it as non-optional; +// SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknown) SetWidgets(widgets []*DocFormsGet200ResponseFieldsItemUnknownWidgetsItem) { - d.Widgets = widgets - d.require(docFormsGet200ResponseFieldsItemUnknownFieldWidgets) +func (d *DocFormsReset404Response) SetMessage(message string) { + d.Message = message + d.require(docFormsReset404ResponseFieldMessage) } -// SetRawValue sets the RawValue field and marks it as non-optional; +// SetDetails sets the Details field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknown) SetRawValue(rawValue string) { - d.RawValue = rawValue - d.require(docFormsGet200ResponseFieldsItemUnknownFieldRawValue) +func (d *DocFormsReset404Response) SetDetails(details map[string]any) { + d.Details = details + d.require(docFormsReset404ResponseFieldDetails) } -func (d *DocFormsGet200ResponseFieldsItemUnknown) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemUnknown +func (d *DocFormsReset404Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsReset404Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemUnknown(value) + *d = DocFormsReset404Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -122072,8 +128379,8 @@ func (d *DocFormsGet200ResponseFieldsItemUnknown) UnmarshalJSON(data []byte) err return nil } -func (d *DocFormsGet200ResponseFieldsItemUnknown) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemUnknown +func (d *DocFormsReset404Response) MarshalJSON() ([]byte, error) { + type embed DocFormsReset404Response var marshaler = struct { embed }{ @@ -122083,7 +128390,7 @@ func (d *DocFormsGet200ResponseFieldsItemUnknown) MarshalJSON() ([]byte, error) return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemUnknown) String() string { +func (d *DocFormsReset404Response) String() string { if d == nil { return "" } @@ -122098,250 +128405,173 @@ func (d *DocFormsGet200ResponseFieldsItemUnknown) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry struct { - Kind string - None *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone - Scalar *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar - Array *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray - Unsupported *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported - - rawJSON json.RawMessage -} - -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry) GetKind() string { - if d == nil { - return "" - } - return d.Kind -} - -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone { - if d == nil { - return nil - } - return d.None -} - -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar { - if d == nil { - return nil - } - return d.Scalar -} +type DocFormsReset404ResponseCode string -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray { - if d == nil { - return nil - } - return d.Array -} +const ( + DocFormsReset404ResponseCodeUnknown DocFormsReset404ResponseCode = "Unknown" + DocFormsReset404ResponseCodeInvalidArg DocFormsReset404ResponseCode = "InvalidArg" + DocFormsReset404ResponseCodeDocNotOpen DocFormsReset404ResponseCode = "DocNotOpen" + DocFormsReset404ResponseCodeDocOpenFailed DocFormsReset404ResponseCode = "DocOpenFailed" + DocFormsReset404ResponseCodeDocPasswordRequired DocFormsReset404ResponseCode = "DocPasswordRequired" + DocFormsReset404ResponseCodeDocPasswordIncorrect DocFormsReset404ResponseCode = "DocPasswordIncorrect" + DocFormsReset404ResponseCodeSharePasswordRequired DocFormsReset404ResponseCode = "SharePasswordRequired" + DocFormsReset404ResponseCodeAborted DocFormsReset404ResponseCode = "Aborted" + DocFormsReset404ResponseCodeNetwork DocFormsReset404ResponseCode = "Network" + DocFormsReset404ResponseCodeUnauthenticated DocFormsReset404ResponseCode = "Unauthenticated" + DocFormsReset404ResponseCodeForbidden DocFormsReset404ResponseCode = "Forbidden" + DocFormsReset404ResponseCodeNotFound DocFormsReset404ResponseCode = "NotFound" + DocFormsReset404ResponseCodeWireFormat DocFormsReset404ResponseCode = "WireFormat" + DocFormsReset404ResponseCodeRuntimeUnavailable DocFormsReset404ResponseCode = "RuntimeUnavailable" + DocFormsReset404ResponseCodeInvalidReference DocFormsReset404ResponseCode = "InvalidReference" + DocFormsReset404ResponseCodeWeakAnnotationSessionConflict DocFormsReset404ResponseCode = "WeakAnnotationSessionConflict" + DocFormsReset404ResponseCodeLayerVersionConflict DocFormsReset404ResponseCode = "LayerVersionConflict" + DocFormsReset404ResponseCodeNotImplemented DocFormsReset404ResponseCode = "NotImplemented" + DocFormsReset404ResponseCodeMalformedPdf DocFormsReset404ResponseCode = "MalformedPdf" +) -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported { - if d == nil { - return nil +func NewDocFormsReset404ResponseCodeFromString(s string) (DocFormsReset404ResponseCode, error) { + switch s { + case "Unknown": + return DocFormsReset404ResponseCodeUnknown, nil + case "InvalidArg": + return DocFormsReset404ResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocFormsReset404ResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocFormsReset404ResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocFormsReset404ResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocFormsReset404ResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocFormsReset404ResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocFormsReset404ResponseCodeAborted, nil + case "Network": + return DocFormsReset404ResponseCodeNetwork, nil + case "Unauthenticated": + return DocFormsReset404ResponseCodeUnauthenticated, nil + case "Forbidden": + return DocFormsReset404ResponseCodeForbidden, nil + case "NotFound": + return DocFormsReset404ResponseCodeNotFound, nil + case "WireFormat": + return DocFormsReset404ResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocFormsReset404ResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocFormsReset404ResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocFormsReset404ResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocFormsReset404ResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocFormsReset404ResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocFormsReset404ResponseCodeMalformedPdf, nil } - return d.Unsupported + var t DocFormsReset404ResponseCode + return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry) UnmarshalJSON(data []byte) error { - var unmarshaler struct { - Kind string `json:"kind"` - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { - return err - } - d.Kind = unmarshaler.Kind - if unmarshaler.Kind == "" { - return fmt.Errorf("%T did not include discriminant kind", d) - } - switch unmarshaler.Kind { - case "none": - value := new(DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.None = value - case "scalar": - value := new(DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Scalar = value - case "array": - value := new(DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Array = value - case "unsupported": - value := new(DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Unsupported = value - } - d.rawJSON = json.RawMessage(data) - return nil +func (d DocFormsReset404ResponseCode) Ptr() *DocFormsReset404ResponseCode { + return &d } -func (d DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry) MarshalJSON() ([]byte, error) { - if err := d.validate(); err != nil { - return nil, err - } - if d.None != nil { - return internal.MarshalJSONWithExtraProperty(d.None, "kind", "none") - } - if d.Scalar != nil { - return internal.MarshalJSONWithExtraProperty(d.Scalar, "kind", "scalar") - } - if d.Array != nil { - return internal.MarshalJSONWithExtraProperty(d.Array, "kind", "array") - } - if d.Unsupported != nil { - return internal.MarshalJSONWithExtraProperty(d.Unsupported, "kind", "unsupported") - } - if len(d.rawJSON) > 0 { - return d.rawJSON, nil - } - return nil, fmt.Errorf("type %T does not define a non-empty union type", d) -} +type DocFormsReset404ResponseName string -type DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryVisitor interface { - VisitNone(*DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone) error - VisitScalar(*DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar) error - VisitArray(*DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray) error - VisitUnsupported(*DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported) error -} +const ( + DocFormsReset404ResponseNameEngineError DocFormsReset404ResponseName = "EngineError" +) -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryVisitor) error { - if d.None != nil { - return visitor.VisitNone(d.None) - } - if d.Scalar != nil { - return visitor.VisitScalar(d.Scalar) - } - if d.Array != nil { - return visitor.VisitArray(d.Array) - } - if d.Unsupported != nil { - return visitor.VisitUnsupported(d.Unsupported) +func NewDocFormsReset404ResponseNameFromString(s string) (DocFormsReset404ResponseName, error) { + switch s { + case "EngineError": + return DocFormsReset404ResponseNameEngineError, nil } - return fmt.Errorf("type %T does not define a non-empty union type", d) + var t DocFormsReset404ResponseName + return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry) validate() error { - if d == nil { - return fmt.Errorf("type %T is nil", d) - } - var fields []string - if d.None != nil { - fields = append(fields, "none") - } - if d.Scalar != nil { - fields = append(fields, "scalar") - } - if d.Array != nil { - fields = append(fields, "array") - } - if d.Unsupported != nil { - fields = append(fields, "unsupported") - } - if len(fields) == 0 { - if d.Kind != "" { - if len(d.rawJSON) > 0 { - return nil - } - return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) - } - return fmt.Errorf("type %T is empty", d) - } - if len(fields) > 1 { - return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) - } - if d.Kind != "" { - field := fields[0] - if d.Kind != field { - return fmt.Errorf( - "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", - d, - d.Kind, - d, - ) - } - } - return nil +func (d DocFormsReset404ResponseName) Ptr() *DocFormsReset404ResponseName { + return &d } var ( - docFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArrayFieldValues = big.NewInt(1 << 0) + docFormsSetValue200ResponseFieldMeta = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray struct { - Values []string `json:"values" url:"values"` +type DocFormsSetValue200Response struct { + Meta *DocFormsSetValue200ResponseMeta `json:"meta" url:"meta"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` - extraProperties map[string]interface{} - rawJSON json.RawMessage + ExtraProperties map[string]interface{} `json:"-" url:"-"` + + rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray) GetValues() []string { +func (d *DocFormsSetValue200Response) GetMeta() *DocFormsSetValue200ResponseMeta { if d == nil { return nil } - return d.Values + return d.Meta } -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray) GetExtraProperties() map[string]interface{} { +func (d *DocFormsSetValue200Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } - return d.extraProperties + return d.ExtraProperties } -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray) require(field *big.Int) { +func (d *DocFormsSetValue200Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetValues sets the Values field and marks it as non-optional; +// SetMeta sets the Meta field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray) SetValues(values []string) { - d.Values = values - d.require(docFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArrayFieldValues) +func (d *DocFormsSetValue200Response) SetMeta(meta *DocFormsSetValue200ResponseMeta) { + d.Meta = meta + d.require(docFormsSetValue200ResponseFieldMeta) } -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { +func (d *DocFormsSetValue200Response) UnmarshalJSON(data []byte) error { + type embed DocFormsSetValue200Response + var unmarshaler = struct { + embed + }{ + embed: embed(*d), + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray(value) + *d = DocFormsSetValue200Response(unmarshaler.embed) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err } - d.extraProperties = extraProperties + d.ExtraProperties = extraProperties d.rawJSON = json.RawMessage(data) return nil } -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray +func (d *DocFormsSetValue200Response) MarshalJSON() ([]byte, error) { + type embed DocFormsSetValue200Response var marshaler = struct { embed }{ embed: embed(*d), } explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + return internal.MarshalJSONWithExtraProperties(explicitMarshaler, d.ExtraProperties) } -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray) String() string { +func (d *DocFormsSetValue200Response) String() string { if d == nil { return "" } @@ -122356,7 +128586,14 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray) String() return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone struct { +var ( + docFormsSetValue200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) + docFormsSetValue200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) +) + +type DocFormsSetValue200ResponseMeta struct { + AffectedPages []*DocFormsSetValue200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` + CacheDelta *DocFormsSetValue200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -122365,27 +128602,55 @@ type DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone) GetExtraProperties() map[string]interface{} { +func (d *DocFormsSetValue200ResponseMeta) GetAffectedPages() []*DocFormsSetValue200ResponseMetaAffectedPagesItem { + if d == nil { + return nil + } + return d.AffectedPages +} + +func (d *DocFormsSetValue200ResponseMeta) GetCacheDelta() *DocFormsSetValue200ResponseMetaCacheDelta { + if d == nil { + return nil + } + return d.CacheDelta +} + +func (d *DocFormsSetValue200ResponseMeta) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone) require(field *big.Int) { +func (d *DocFormsSetValue200ResponseMeta) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone +// SetAffectedPages sets the AffectedPages field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsSetValue200ResponseMeta) SetAffectedPages(affectedPages []*DocFormsSetValue200ResponseMetaAffectedPagesItem) { + d.AffectedPages = affectedPages + d.require(docFormsSetValue200ResponseMetaFieldAffectedPages) +} + +// SetCacheDelta sets the CacheDelta field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsSetValue200ResponseMeta) SetCacheDelta(cacheDelta *DocFormsSetValue200ResponseMetaCacheDelta) { + d.CacheDelta = cacheDelta + d.require(docFormsSetValue200ResponseMetaFieldCacheDelta) +} + +func (d *DocFormsSetValue200ResponseMeta) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsSetValue200ResponseMeta var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone(value) + *d = DocFormsSetValue200ResponseMeta(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -122395,8 +128660,8 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone) Unmarshal return nil } -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone +func (d *DocFormsSetValue200ResponseMeta) MarshalJSON() ([]byte, error) { + type embed DocFormsSetValue200ResponseMeta var marshaler = struct { embed }{ @@ -122406,7 +128671,7 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone) MarshalJS return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone) String() string { +func (d *DocFormsSetValue200ResponseMeta) String() string { if d == nil { return "" } @@ -122422,11 +128687,15 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone) String() } var ( - docFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalarFieldValue = big.NewInt(1 << 0) + docFormsSetValue200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docFormsSetValue200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) + docFormsSetValue200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) ) -type DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar struct { - Value string `json:"value" url:"value"` +type DocFormsSetValue200ResponseMetaAffectedPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Revision *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` + WeakAnnotationState *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -122435,106 +128704,69 @@ type DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar) GetValue() string { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { if d == nil { - return "" + return 0 } - return d.Value + return d.PageObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar) GetExtraProperties() map[string]interface{} { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) GetRevision() *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision { if d == nil { return nil } - return d.extraProperties -} - -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetValue sets the Value field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar) SetValue(value string) { - d.Value = value - d.require(docFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalarFieldValue) -} - -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + return d.Revision } -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar) String() string { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState { if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value + return nil } - return fmt.Sprintf("%#v", d) -} - -type DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported struct { - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage + return d.WeakAnnotationState } -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported) GetExtraProperties() map[string]interface{} { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported) require(field *big.Int) { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docFormsSetValue200ResponseMetaAffectedPagesItemFieldPageObjectNumber) +} + +// SetRevision sets the Revision field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) SetRevision(revision *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) { + d.Revision = revision + d.require(docFormsSetValue200ResponseMetaAffectedPagesItemFieldRevision) +} + +// SetWeakAnnotationState sets the WeakAnnotationState field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState) { + d.WeakAnnotationState = weakAnnotationState + d.require(docFormsSetValue200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) +} + +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsSetValue200ResponseMetaAffectedPagesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported(value) + *d = DocFormsSetValue200ResponseMetaAffectedPagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -122544,8 +128776,8 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported) Un return nil } -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { + type embed DocFormsSetValue200ResponseMetaAffectedPagesItem var marshaler = struct { embed }{ @@ -122555,7 +128787,7 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported) Ma return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported) String() string { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) String() string { if d == nil { return "" } @@ -122571,17 +128803,15 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported) St } var ( - docFormsGet200ResponseFieldsItemUnknownFlagsFieldReadOnly = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemUnknownFlagsFieldRequired = big.NewInt(1 << 1) - docFormsGet200ResponseFieldsItemUnknownFlagsFieldNoExport = big.NewInt(1 << 2) - docFormsGet200ResponseFieldsItemUnknownFlagsFieldRaw = big.NewInt(1 << 3) + docFormsSetValue200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) + docFormsSetValue200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docFormsSetValue200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocFormsGet200ResponseFieldsItemUnknownFlags struct { - ReadOnly bool `json:"readOnly" url:"readOnly"` - Required bool `json:"required" url:"required"` - NoExport bool `json:"noExport" url:"noExport"` - Raw int `json:"raw" url:"raw"` +type DocFormsSetValue200ResponseMetaAffectedPagesItemRevision struct { + DocSessionID string `json:"docSessionId" url:"docSessionId"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Generation int `json:"generation" url:"generation"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -122590,83 +128820,69 @@ type DocFormsGet200ResponseFieldsItemUnknownFlags struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) GetReadOnly() bool { - if d == nil { - return false - } - return d.ReadOnly -} - -func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) GetRequired() bool { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { if d == nil { - return false + return "" } - return d.Required + return d.DocSessionID } -func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) GetNoExport() bool { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { if d == nil { - return false + return 0 } - return d.NoExport + return d.PageObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) GetRaw() int { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { if d == nil { return 0 } - return d.Raw + return d.Generation } -func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) GetExtraProperties() map[string]interface{} { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) require(field *big.Int) { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetReadOnly sets the ReadOnly field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) SetReadOnly(readOnly bool) { - d.ReadOnly = readOnly - d.require(docFormsGet200ResponseFieldsItemUnknownFlagsFieldReadOnly) -} - -// SetRequired sets the Required field and marks it as non-optional; +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) SetRequired(required bool) { - d.Required = required - d.require(docFormsGet200ResponseFieldsItemUnknownFlagsFieldRequired) +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docFormsSetValue200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) } -// SetNoExport sets the NoExport field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) SetNoExport(noExport bool) { - d.NoExport = noExport - d.require(docFormsGet200ResponseFieldsItemUnknownFlagsFieldNoExport) +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docFormsSetValue200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) } -// SetRaw sets the Raw field and marks it as non-optional; +// SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) SetRaw(raw int) { - d.Raw = raw - d.require(docFormsGet200ResponseFieldsItemUnknownFlagsFieldRaw) +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docFormsSetValue200ResponseMetaAffectedPagesItemRevisionFieldGeneration) } -func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemUnknownFlags +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsSetValue200ResponseMetaAffectedPagesItemRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemUnknownFlags(value) + *d = DocFormsSetValue200ResponseMetaAffectedPagesItemRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -122676,8 +128892,8 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) UnmarshalJSON(data []byte return nil } -func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemUnknownFlags +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { + type embed DocFormsSetValue200ResponseMetaAffectedPagesItemRevision var marshaler = struct { embed }{ @@ -122687,7 +128903,7 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) MarshalJSON() ([]byte, er return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) String() string { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) String() string { if d == nil { return "" } @@ -122702,58 +128918,36 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownFlags) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemUnknownOrigin string - -const ( - DocFormsGet200ResponseFieldsItemUnknownOriginAcroform DocFormsGet200ResponseFieldsItemUnknownOrigin = "acroform" - DocFormsGet200ResponseFieldsItemUnknownOriginRecovered DocFormsGet200ResponseFieldsItemUnknownOrigin = "recovered" -) - -func NewDocFormsGet200ResponseFieldsItemUnknownOriginFromString(s string) (DocFormsGet200ResponseFieldsItemUnknownOrigin, error) { - switch s { - case "acroform": - return DocFormsGet200ResponseFieldsItemUnknownOriginAcroform, nil - case "recovered": - return DocFormsGet200ResponseFieldsItemUnknownOriginRecovered, nil - } - var t DocFormsGet200ResponseFieldsItemUnknownOrigin - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocFormsGet200ResponseFieldsItemUnknownOrigin) Ptr() *DocFormsGet200ResponseFieldsItemUnknownOrigin { - return &d -} - -type DocFormsGet200ResponseFieldsItemUnknownRef struct { - Kind string - ObjectNumber *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber - Fqn *DocFormsGet200ResponseFieldsItemUnknownRefFqn +type DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState struct { + Kind string + Unknown *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + Known *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemUnknownRef) GetKind() string { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsGet200ResponseFieldsItemUnknownRef) GetObjectNumber() *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { if d == nil { return nil } - return d.ObjectNumber + return d.Unknown } -func (d *DocFormsGet200ResponseFieldsItemUnknownRef) GetFqn() *DocFormsGet200ResponseFieldsItemUnknownRefFqn { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { if d == nil { return nil } - return d.Fqn + return d.Known } -func (d *DocFormsGet200ResponseFieldsItemUnknownRef) UnmarshalJSON(data []byte) error { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -122765,32 +128959,32 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownRef) UnmarshalJSON(data []byte) return fmt.Errorf("%T did not include discriminant kind", d) } switch unmarshaler.Kind { - case "objectNumber": - value := new(DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber) + case "unknown": + value := new(DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) if err := json.Unmarshal(data, &value); err != nil { return err } - d.ObjectNumber = value - case "fqn": - value := new(DocFormsGet200ResponseFieldsItemUnknownRefFqn) + d.Unknown = value + case "known": + value := new(DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) if err := json.Unmarshal(data, &value); err != nil { return err } - d.Fqn = value + d.Known = value } d.rawJSON = json.RawMessage(data) return nil } -func (d DocFormsGet200ResponseFieldsItemUnknownRef) MarshalJSON() ([]byte, error) { +func (d DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } - if d.ObjectNumber != nil { - return internal.MarshalJSONWithExtraProperty(d.ObjectNumber, "kind", "objectNumber") + if d.Unknown != nil { + return internal.MarshalJSONWithExtraProperty(d.Unknown, "kind", "unknown") } - if d.Fqn != nil { - return internal.MarshalJSONWithExtraProperty(d.Fqn, "kind", "fqn") + if d.Known != nil { + return internal.MarshalJSONWithExtraProperty(d.Known, "kind", "known") } if len(d.rawJSON) > 0 { return d.rawJSON, nil @@ -122798,31 +128992,31 @@ func (d DocFormsGet200ResponseFieldsItemUnknownRef) MarshalJSON() ([]byte, error return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsGet200ResponseFieldsItemUnknownRefVisitor interface { - VisitObjectNumber(*DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber) error - VisitFqn(*DocFormsGet200ResponseFieldsItemUnknownRefFqn) error +type DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { + VisitUnknown(*DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error + VisitKnown(*DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error } -func (d *DocFormsGet200ResponseFieldsItemUnknownRef) Accept(visitor DocFormsGet200ResponseFieldsItemUnknownRefVisitor) error { - if d.ObjectNumber != nil { - return visitor.VisitObjectNumber(d.ObjectNumber) +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { + if d.Unknown != nil { + return visitor.VisitUnknown(d.Unknown) } - if d.Fqn != nil { - return visitor.VisitFqn(d.Fqn) + if d.Known != nil { + return visitor.VisitKnown(d.Known) } return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsGet200ResponseFieldsItemUnknownRef) validate() error { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } var fields []string - if d.ObjectNumber != nil { - fields = append(fields, "objectNumber") + if d.Unknown != nil { + fields = append(fields, "unknown") } - if d.Fqn != nil { - fields = append(fields, "fqn") + if d.Known != nil { + fields = append(fields, "known") } if len(fields) == 0 { if d.Kind != "" { @@ -122851,11 +129045,11 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownRef) validate() error { } var ( - docFormsGet200ResponseFieldsItemUnknownRefFqnFieldName = big.NewInt(1 << 0) + docFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) ) -type DocFormsGet200ResponseFieldsItemUnknownRefFqn struct { - Name string `json:"name" url:"name"` +type DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { + HasAnyWeakAnnotations bool `json:"hasAnyWeakAnnotations" url:"hasAnyWeakAnnotations"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -122864,41 +129058,41 @@ type DocFormsGet200ResponseFieldsItemUnknownRefFqn struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemUnknownRefFqn) GetName() string { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { if d == nil { - return "" + return false } - return d.Name + return d.HasAnyWeakAnnotations } -func (d *DocFormsGet200ResponseFieldsItemUnknownRefFqn) GetExtraProperties() map[string]interface{} { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemUnknownRefFqn) require(field *big.Int) { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetName sets the Name field and marks it as non-optional; +// SetHasAnyWeakAnnotations sets the HasAnyWeakAnnotations field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknownRefFqn) SetName(name string) { - d.Name = name - d.require(docFormsGet200ResponseFieldsItemUnknownRefFqnFieldName) +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { + d.HasAnyWeakAnnotations = hasAnyWeakAnnotations + d.require(docFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) } -func (d *DocFormsGet200ResponseFieldsItemUnknownRefFqn) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemUnknownRefFqn +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemUnknownRefFqn(value) + *d = DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -122908,8 +129102,8 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownRefFqn) UnmarshalJSON(data []byt return nil } -func (d *DocFormsGet200ResponseFieldsItemUnknownRefFqn) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemUnknownRefFqn +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { + type embed DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown var marshaler = struct { embed }{ @@ -122919,7 +129113,7 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownRefFqn) MarshalJSON() ([]byte, e return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemUnknownRefFqn) String() string { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { if d == nil { return "" } @@ -122934,12 +129128,7 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownRefFqn) String() string { return fmt.Sprintf("%#v", d) } -var ( - docFormsGet200ResponseFieldsItemUnknownRefObjectNumberFieldFieldObjectNumber = big.NewInt(1 << 0) -) - -type DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber struct { - FieldObjectNumber int `json:"fieldObjectNumber" url:"fieldObjectNumber"` +type DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -122948,41 +129137,27 @@ type DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber) GetFieldObjectNumber() int { - if d == nil { - return 0 - } - return d.FieldObjectNumber -} - -func (d *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber) GetExtraProperties() map[string]interface{} { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber) require(field *big.Int) { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetFieldObjectNumber sets the FieldObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber) SetFieldObjectNumber(fieldObjectNumber int) { - d.FieldObjectNumber = fieldObjectNumber - d.require(docFormsGet200ResponseFieldsItemUnknownRefObjectNumberFieldFieldObjectNumber) -} - -func (d *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber(value) + *d = DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -122992,8 +129167,8 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber) UnmarshalJSON(d return nil } -func (d *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { + type embed DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var marshaler = struct { embed }{ @@ -123003,7 +129178,7 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber) MarshalJSON() ( return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber) String() string { +func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { if d == nil { return "" } @@ -123018,294 +129193,103 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber) String() string return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemUnknownValueEntry struct { - Kind string - None *DocFormsGet200ResponseFieldsItemUnknownValueEntryNone - Scalar *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar - Array *DocFormsGet200ResponseFieldsItemUnknownValueEntryArray - Unsupported *DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported +var ( + docFormsSetValue200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) + docFormsSetValue200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) + docFormsSetValue200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) + docFormsSetValue200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) +) - rawJSON json.RawMessage -} +type DocFormsSetValue200ResponseMetaCacheDelta struct { + PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` + DocVersion int `json:"docVersion" url:"docVersion"` + AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` + Pages []*DocFormsSetValue200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntry) GetKind() string { - if d == nil { - return "" - } - return d.Kind -} + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntry) GetNone() *DocFormsGet200ResponseFieldsItemUnknownValueEntryNone { - if d == nil { - return nil - } - return d.None + extraProperties map[string]interface{} + rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntry) GetScalar() *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar { +func (d *DocFormsSetValue200ResponseMetaCacheDelta) GetPreviousDocVersion() int { if d == nil { - return nil + return 0 } - return d.Scalar + return d.PreviousDocVersion } -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntry) GetArray() *DocFormsGet200ResponseFieldsItemUnknownValueEntryArray { +func (d *DocFormsSetValue200ResponseMetaCacheDelta) GetDocVersion() int { if d == nil { - return nil + return 0 } - return d.Array + return d.DocVersion } -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntry) GetUnsupported() *DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported { +func (d *DocFormsSetValue200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { if d == nil { return nil } - return d.Unsupported -} - -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntry) UnmarshalJSON(data []byte) error { - var unmarshaler struct { - Kind string `json:"kind"` - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { - return err - } - d.Kind = unmarshaler.Kind - if unmarshaler.Kind == "" { - return fmt.Errorf("%T did not include discriminant kind", d) - } - switch unmarshaler.Kind { - case "none": - value := new(DocFormsGet200ResponseFieldsItemUnknownValueEntryNone) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.None = value - case "scalar": - value := new(DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Scalar = value - case "array": - value := new(DocFormsGet200ResponseFieldsItemUnknownValueEntryArray) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Array = value - case "unsupported": - value := new(DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Unsupported = value - } - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d DocFormsGet200ResponseFieldsItemUnknownValueEntry) MarshalJSON() ([]byte, error) { - if err := d.validate(); err != nil { - return nil, err - } - if d.None != nil { - return internal.MarshalJSONWithExtraProperty(d.None, "kind", "none") - } - if d.Scalar != nil { - return internal.MarshalJSONWithExtraProperty(d.Scalar, "kind", "scalar") - } - if d.Array != nil { - return internal.MarshalJSONWithExtraProperty(d.Array, "kind", "array") - } - if d.Unsupported != nil { - return internal.MarshalJSONWithExtraProperty(d.Unsupported, "kind", "unsupported") - } - if len(d.rawJSON) > 0 { - return d.rawJSON, nil - } - return nil, fmt.Errorf("type %T does not define a non-empty union type", d) -} - -type DocFormsGet200ResponseFieldsItemUnknownValueEntryVisitor interface { - VisitNone(*DocFormsGet200ResponseFieldsItemUnknownValueEntryNone) error - VisitScalar(*DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar) error - VisitArray(*DocFormsGet200ResponseFieldsItemUnknownValueEntryArray) error - VisitUnsupported(*DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported) error -} - -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntry) Accept(visitor DocFormsGet200ResponseFieldsItemUnknownValueEntryVisitor) error { - if d.None != nil { - return visitor.VisitNone(d.None) - } - if d.Scalar != nil { - return visitor.VisitScalar(d.Scalar) - } - if d.Array != nil { - return visitor.VisitArray(d.Array) - } - if d.Unsupported != nil { - return visitor.VisitUnsupported(d.Unsupported) - } - return fmt.Errorf("type %T does not define a non-empty union type", d) -} - -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntry) validate() error { - if d == nil { - return fmt.Errorf("type %T is nil", d) - } - var fields []string - if d.None != nil { - fields = append(fields, "none") - } - if d.Scalar != nil { - fields = append(fields, "scalar") - } - if d.Array != nil { - fields = append(fields, "array") - } - if d.Unsupported != nil { - fields = append(fields, "unsupported") - } - if len(fields) == 0 { - if d.Kind != "" { - if len(d.rawJSON) > 0 { - return nil - } - return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) - } - return fmt.Errorf("type %T is empty", d) - } - if len(fields) > 1 { - return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) - } - if d.Kind != "" { - field := fields[0] - if d.Kind != field { - return fmt.Errorf( - "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", - d, - d.Kind, - d, - ) - } - } - return nil -} - -var ( - docFormsGet200ResponseFieldsItemUnknownValueEntryArrayFieldValues = big.NewInt(1 << 0) -) - -type DocFormsGet200ResponseFieldsItemUnknownValueEntryArray struct { - Values []string `json:"values" url:"values"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage + return d.AnnotationsVersion } -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryArray) GetValues() []string { +func (d *DocFormsSetValue200ResponseMetaCacheDelta) GetPages() []*DocFormsSetValue200ResponseMetaCacheDeltaPagesItem { if d == nil { return nil } - return d.Values + return d.Pages } -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryArray) GetExtraProperties() map[string]interface{} { +func (d *DocFormsSetValue200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryArray) require(field *big.Int) { +func (d *DocFormsSetValue200ResponseMetaCacheDelta) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetValues sets the Values field and marks it as non-optional; +// SetPreviousDocVersion sets the PreviousDocVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryArray) SetValues(values []string) { - d.Values = values - d.require(docFormsGet200ResponseFieldsItemUnknownValueEntryArrayFieldValues) -} - -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryArray) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemUnknownValueEntryArray - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocFormsGet200ResponseFieldsItemUnknownValueEntryArray(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryArray) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemUnknownValueEntryArray - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryArray) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) +func (d *DocFormsSetValue200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { + d.PreviousDocVersion = previousDocVersion + d.require(docFormsSetValue200ResponseMetaCacheDeltaFieldPreviousDocVersion) } -type DocFormsGet200ResponseFieldsItemUnknownValueEntryNone struct { - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage +// SetDocVersion sets the DocVersion field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsSetValue200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { + d.DocVersion = docVersion + d.require(docFormsSetValue200ResponseMetaCacheDeltaFieldDocVersion) } -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryNone) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties +// SetAnnotationsVersion sets the AnnotationsVersion field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsSetValue200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { + d.AnnotationsVersion = annotationsVersion + d.require(docFormsSetValue200ResponseMetaCacheDeltaFieldAnnotationsVersion) } -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryNone) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) +// SetPages sets the Pages field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsSetValue200ResponseMetaCacheDelta) SetPages(pages []*DocFormsSetValue200ResponseMetaCacheDeltaPagesItem) { + d.Pages = pages + d.require(docFormsSetValue200ResponseMetaCacheDeltaFieldPages) } -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryNone) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemUnknownValueEntryNone +func (d *DocFormsSetValue200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsSetValue200ResponseMetaCacheDelta var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemUnknownValueEntryNone(value) + *d = DocFormsSetValue200ResponseMetaCacheDelta(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -123315,8 +129299,8 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryNone) UnmarshalJSON(da return nil } -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryNone) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemUnknownValueEntryNone +func (d *DocFormsSetValue200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { + type embed DocFormsSetValue200ResponseMetaCacheDelta var marshaler = struct { embed }{ @@ -123326,7 +129310,7 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryNone) MarshalJSON() ([ return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryNone) String() string { +func (d *DocFormsSetValue200ResponseMetaCacheDelta) String() string { if d == nil { return "" } @@ -123342,11 +129326,13 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryNone) String() string } var ( - docFormsGet200ResponseFieldsItemUnknownValueEntryScalarFieldValue = big.NewInt(1 << 0) + docFormsSetValue200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docFormsSetValue200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) ) -type DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar struct { - Value string `json:"value" url:"value"` +type DocFormsSetValue200ResponseMetaCacheDeltaPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Cache *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -123355,41 +129341,55 @@ type DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar) GetValue() string { +func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { if d == nil { - return "" + return 0 } - return d.Value + return d.PageObjectNumber } -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar) GetExtraProperties() map[string]interface{} { +func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem) GetCache() *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache { + if d == nil { + return nil + } + return d.Cache +} + +func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar) require(field *big.Int) { +func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetValue sets the Value field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar) SetValue(value string) { - d.Value = value - d.require(docFormsGet200ResponseFieldsItemUnknownValueEntryScalarFieldValue) +func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docFormsSetValue200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) } -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar +// SetCache sets the Cache field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache) { + d.Cache = cache + d.require(docFormsSetValue200ResponseMetaCacheDeltaPagesItemFieldCache) +} + +func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsSetValue200ResponseMetaCacheDeltaPagesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar(value) + *d = DocFormsSetValue200ResponseMetaCacheDeltaPagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -123399,8 +129399,8 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar) UnmarshalJSON( return nil } -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar +func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { + type embed DocFormsSetValue200ResponseMetaCacheDeltaPagesItem var marshaler = struct { embed }{ @@ -123410,7 +129410,7 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar) String() string { +func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem) String() string { if d == nil { return "" } @@ -123425,7 +129425,14 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar) String() strin return fmt.Sprintf("%#v", d) } -type DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported struct { +var ( + docFormsSetValue200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) + docFormsSetValue200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) +) + +type DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache struct { + ContentVersion int `json:"contentVersion" url:"contentVersion"` + AnnotationVersion int `json:"annotationVersion" url:"annotationVersion"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -123434,27 +129441,55 @@ type DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported) GetExtraProperties() map[string]interface{} { +func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { + if d == nil { + return 0 + } + return d.ContentVersion +} + +func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { + if d == nil { + return 0 + } + return d.AnnotationVersion +} + +func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported) require(field *big.Int) { +func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported +// SetContentVersion sets the ContentVersion field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { + d.ContentVersion = contentVersion + d.require(docFormsSetValue200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) +} + +// SetAnnotationVersion sets the AnnotationVersion field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { + d.AnnotationVersion = annotationVersion + d.require(docFormsSetValue200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) +} + +func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported(value) + *d = DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -123464,8 +129499,8 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported) Unmarshal return nil } -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported +func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { + type embed DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache var marshaler = struct { embed }{ @@ -123475,7 +129510,7 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported) MarshalJS return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported) String() string { +func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache) String() string { if d == nil { return "" } @@ -123491,13 +129526,17 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported) String() } var ( - docFormsGet200ResponseFieldsItemUnknownWidgetsItemFieldAnnotObjectNumber = big.NewInt(1 << 0) - docFormsGet200ResponseFieldsItemUnknownWidgetsItemFieldPageObjectNumber = big.NewInt(1 << 1) + docFormsSetValue400ResponseFieldName = big.NewInt(1 << 0) + docFormsSetValue400ResponseFieldCode = big.NewInt(1 << 1) + docFormsSetValue400ResponseFieldMessage = big.NewInt(1 << 2) + docFormsSetValue400ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocFormsGet200ResponseFieldsItemUnknownWidgetsItem struct { - AnnotObjectNumber int `json:"annotObjectNumber" url:"annotObjectNumber"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` +type DocFormsSetValue400Response struct { + Name DocFormsSetValue400ResponseName `json:"name" url:"name"` + Code DocFormsSetValue400ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -123506,55 +129545,83 @@ type DocFormsGet200ResponseFieldsItemUnknownWidgetsItem struct { rawJSON json.RawMessage } -func (d *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem) GetAnnotObjectNumber() int { +func (d *DocFormsSetValue400Response) GetName() DocFormsSetValue400ResponseName { if d == nil { - return 0 + return "" } - return d.AnnotObjectNumber + return d.Name } -func (d *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem) GetPageObjectNumber() int { +func (d *DocFormsSetValue400Response) GetCode() DocFormsSetValue400ResponseCode { if d == nil { - return 0 + return "" } - return d.PageObjectNumber + return d.Code } -func (d *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem) GetExtraProperties() map[string]interface{} { +func (d *DocFormsSetValue400Response) GetMessage() string { + if d == nil { + return "" + } + return d.Message +} + +func (d *DocFormsSetValue400Response) GetDetails() map[string]any { + if d == nil { + return nil + } + return d.Details +} + +func (d *DocFormsSetValue400Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem) require(field *big.Int) { +func (d *DocFormsSetValue400Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetAnnotObjectNumber sets the AnnotObjectNumber field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem) SetAnnotObjectNumber(annotObjectNumber int) { - d.AnnotObjectNumber = annotObjectNumber - d.require(docFormsGet200ResponseFieldsItemUnknownWidgetsItemFieldAnnotObjectNumber) +func (d *DocFormsSetValue400Response) SetName(name DocFormsSetValue400ResponseName) { + d.Name = name + d.require(docFormsSetValue400ResponseFieldName) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docFormsGet200ResponseFieldsItemUnknownWidgetsItemFieldPageObjectNumber) +func (d *DocFormsSetValue400Response) SetCode(code DocFormsSetValue400ResponseCode) { + d.Code = code + d.require(docFormsSetValue400ResponseFieldCode) } -func (d *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet200ResponseFieldsItemUnknownWidgetsItem +// SetMessage sets the Message field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsSetValue400Response) SetMessage(message string) { + d.Message = message + d.require(docFormsSetValue400ResponseFieldMessage) +} + +// SetDetails sets the Details field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocFormsSetValue400Response) SetDetails(details map[string]any) { + d.Details = details + d.require(docFormsSetValue400ResponseFieldDetails) +} + +func (d *DocFormsSetValue400Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsSetValue400Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet200ResponseFieldsItemUnknownWidgetsItem(value) + *d = DocFormsSetValue400Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -123564,69 +129631,136 @@ func (d *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem) UnmarshalJSON(data return nil } -func (d *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem) MarshalJSON() ([]byte, error) { - type embed DocFormsGet200ResponseFieldsItemUnknownWidgetsItem +func (d *DocFormsSetValue400Response) MarshalJSON() ([]byte, error) { + type embed DocFormsSetValue400Response var marshaler = struct { embed }{ embed: embed(*d), } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) + return json.Marshal(explicitMarshaler) +} + +func (d *DocFormsSetValue400Response) String() string { + if d == nil { + return "" + } + if len(d.rawJSON) > 0 { + if value, err := internal.StringifyJSON(d.rawJSON); err == nil { + return value + } + } + if value, err := internal.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DocFormsSetValue400ResponseCode string + +const ( + DocFormsSetValue400ResponseCodeUnknown DocFormsSetValue400ResponseCode = "Unknown" + DocFormsSetValue400ResponseCodeInvalidArg DocFormsSetValue400ResponseCode = "InvalidArg" + DocFormsSetValue400ResponseCodeDocNotOpen DocFormsSetValue400ResponseCode = "DocNotOpen" + DocFormsSetValue400ResponseCodeDocOpenFailed DocFormsSetValue400ResponseCode = "DocOpenFailed" + DocFormsSetValue400ResponseCodeDocPasswordRequired DocFormsSetValue400ResponseCode = "DocPasswordRequired" + DocFormsSetValue400ResponseCodeDocPasswordIncorrect DocFormsSetValue400ResponseCode = "DocPasswordIncorrect" + DocFormsSetValue400ResponseCodeSharePasswordRequired DocFormsSetValue400ResponseCode = "SharePasswordRequired" + DocFormsSetValue400ResponseCodeAborted DocFormsSetValue400ResponseCode = "Aborted" + DocFormsSetValue400ResponseCodeNetwork DocFormsSetValue400ResponseCode = "Network" + DocFormsSetValue400ResponseCodeUnauthenticated DocFormsSetValue400ResponseCode = "Unauthenticated" + DocFormsSetValue400ResponseCodeForbidden DocFormsSetValue400ResponseCode = "Forbidden" + DocFormsSetValue400ResponseCodeNotFound DocFormsSetValue400ResponseCode = "NotFound" + DocFormsSetValue400ResponseCodeWireFormat DocFormsSetValue400ResponseCode = "WireFormat" + DocFormsSetValue400ResponseCodeRuntimeUnavailable DocFormsSetValue400ResponseCode = "RuntimeUnavailable" + DocFormsSetValue400ResponseCodeInvalidReference DocFormsSetValue400ResponseCode = "InvalidReference" + DocFormsSetValue400ResponseCodeWeakAnnotationSessionConflict DocFormsSetValue400ResponseCode = "WeakAnnotationSessionConflict" + DocFormsSetValue400ResponseCodeLayerVersionConflict DocFormsSetValue400ResponseCode = "LayerVersionConflict" + DocFormsSetValue400ResponseCodeNotImplemented DocFormsSetValue400ResponseCode = "NotImplemented" + DocFormsSetValue400ResponseCodeMalformedPdf DocFormsSetValue400ResponseCode = "MalformedPdf" +) + +func NewDocFormsSetValue400ResponseCodeFromString(s string) (DocFormsSetValue400ResponseCode, error) { + switch s { + case "Unknown": + return DocFormsSetValue400ResponseCodeUnknown, nil + case "InvalidArg": + return DocFormsSetValue400ResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocFormsSetValue400ResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocFormsSetValue400ResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocFormsSetValue400ResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocFormsSetValue400ResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocFormsSetValue400ResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocFormsSetValue400ResponseCodeAborted, nil + case "Network": + return DocFormsSetValue400ResponseCodeNetwork, nil + case "Unauthenticated": + return DocFormsSetValue400ResponseCodeUnauthenticated, nil + case "Forbidden": + return DocFormsSetValue400ResponseCodeForbidden, nil + case "NotFound": + return DocFormsSetValue400ResponseCodeNotFound, nil + case "WireFormat": + return DocFormsSetValue400ResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocFormsSetValue400ResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocFormsSetValue400ResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocFormsSetValue400ResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocFormsSetValue400ResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocFormsSetValue400ResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocFormsSetValue400ResponseCodeMalformedPdf, nil + } + var t DocFormsSetValue400ResponseCode + return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) +func (d DocFormsSetValue400ResponseCode) Ptr() *DocFormsSetValue400ResponseCode { + return &d } -type DocFormsGet200ResponseFormKind string +type DocFormsSetValue400ResponseName string const ( - DocFormsGet200ResponseFormKindNone DocFormsGet200ResponseFormKind = "none" - DocFormsGet200ResponseFormKindAcroform DocFormsGet200ResponseFormKind = "acroform" - DocFormsGet200ResponseFormKindXfa DocFormsGet200ResponseFormKind = "xfa" + DocFormsSetValue400ResponseNameEngineError DocFormsSetValue400ResponseName = "EngineError" ) -func NewDocFormsGet200ResponseFormKindFromString(s string) (DocFormsGet200ResponseFormKind, error) { +func NewDocFormsSetValue400ResponseNameFromString(s string) (DocFormsSetValue400ResponseName, error) { switch s { - case "none": - return DocFormsGet200ResponseFormKindNone, nil - case "acroform": - return DocFormsGet200ResponseFormKindAcroform, nil - case "xfa": - return DocFormsGet200ResponseFormKindXfa, nil + case "EngineError": + return DocFormsSetValue400ResponseNameEngineError, nil } - var t DocFormsGet200ResponseFormKind + var t DocFormsSetValue400ResponseName return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocFormsGet200ResponseFormKind) Ptr() *DocFormsGet200ResponseFormKind { +func (d DocFormsSetValue400ResponseName) Ptr() *DocFormsSetValue400ResponseName { return &d } var ( - docFormsGet404ResponseFieldName = big.NewInt(1 << 0) - docFormsGet404ResponseFieldCode = big.NewInt(1 << 1) - docFormsGet404ResponseFieldMessage = big.NewInt(1 << 2) - docFormsGet404ResponseFieldDetails = big.NewInt(1 << 3) + docFormsSetValue404ResponseFieldName = big.NewInt(1 << 0) + docFormsSetValue404ResponseFieldCode = big.NewInt(1 << 1) + docFormsSetValue404ResponseFieldMessage = big.NewInt(1 << 2) + docFormsSetValue404ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocFormsGet404Response struct { - Name DocFormsGet404ResponseName `json:"name" url:"name"` - Code DocFormsGet404ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocFormsSetValue404Response struct { + Name DocFormsSetValue404ResponseName `json:"name" url:"name"` + Code DocFormsSetValue404ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -123635,42 +129769,42 @@ type DocFormsGet404Response struct { rawJSON json.RawMessage } -func (d *DocFormsGet404Response) GetName() DocFormsGet404ResponseName { +func (d *DocFormsSetValue404Response) GetName() DocFormsSetValue404ResponseName { if d == nil { return "" } return d.Name } -func (d *DocFormsGet404Response) GetCode() DocFormsGet404ResponseCode { +func (d *DocFormsSetValue404Response) GetCode() DocFormsSetValue404ResponseCode { if d == nil { return "" } return d.Code } -func (d *DocFormsGet404Response) GetMessage() string { +func (d *DocFormsSetValue404Response) GetMessage() string { if d == nil { return "" } return d.Message } -func (d *DocFormsGet404Response) GetDetails() map[string]any { +func (d *DocFormsSetValue404Response) GetDetails() map[string]any { if d == nil { return nil } return d.Details } -func (d *DocFormsGet404Response) GetExtraProperties() map[string]interface{} { +func (d *DocFormsSetValue404Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsGet404Response) require(field *big.Int) { +func (d *DocFormsSetValue404Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -123679,39 +129813,39 @@ func (d *DocFormsGet404Response) require(field *big.Int) { // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet404Response) SetName(name DocFormsGet404ResponseName) { +func (d *DocFormsSetValue404Response) SetName(name DocFormsSetValue404ResponseName) { d.Name = name - d.require(docFormsGet404ResponseFieldName) + d.require(docFormsSetValue404ResponseFieldName) } // SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet404Response) SetCode(code DocFormsGet404ResponseCode) { +func (d *DocFormsSetValue404Response) SetCode(code DocFormsSetValue404ResponseCode) { d.Code = code - d.require(docFormsGet404ResponseFieldCode) + d.require(docFormsSetValue404ResponseFieldCode) } // SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet404Response) SetMessage(message string) { +func (d *DocFormsSetValue404Response) SetMessage(message string) { d.Message = message - d.require(docFormsGet404ResponseFieldMessage) + d.require(docFormsSetValue404ResponseFieldMessage) } // SetDetails sets the Details field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsGet404Response) SetDetails(details map[string]any) { +func (d *DocFormsSetValue404Response) SetDetails(details map[string]any) { d.Details = details - d.require(docFormsGet404ResponseFieldDetails) + d.require(docFormsSetValue404ResponseFieldDetails) } -func (d *DocFormsGet404Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsGet404Response +func (d *DocFormsSetValue404Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocFormsSetValue404Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsGet404Response(value) + *d = DocFormsSetValue404Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -123721,8 +129855,8 @@ func (d *DocFormsGet404Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocFormsGet404Response) MarshalJSON() ([]byte, error) { - type embed DocFormsGet404Response +func (d *DocFormsSetValue404Response) MarshalJSON() ([]byte, error) { + type embed DocFormsSetValue404Response var marshaler = struct { embed }{ @@ -123732,7 +129866,7 @@ func (d *DocFormsGet404Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocFormsGet404Response) String() string { +func (d *DocFormsSetValue404Response) String() string { if d == nil { return "" } @@ -123747,252 +129881,197 @@ func (d *DocFormsGet404Response) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsGet404ResponseCode string +type DocFormsSetValue404ResponseCode string const ( - DocFormsGet404ResponseCodeUnknown DocFormsGet404ResponseCode = "Unknown" - DocFormsGet404ResponseCodeInvalidArg DocFormsGet404ResponseCode = "InvalidArg" - DocFormsGet404ResponseCodeDocNotOpen DocFormsGet404ResponseCode = "DocNotOpen" - DocFormsGet404ResponseCodeDocOpenFailed DocFormsGet404ResponseCode = "DocOpenFailed" - DocFormsGet404ResponseCodeDocPasswordRequired DocFormsGet404ResponseCode = "DocPasswordRequired" - DocFormsGet404ResponseCodeDocPasswordIncorrect DocFormsGet404ResponseCode = "DocPasswordIncorrect" - DocFormsGet404ResponseCodeSharePasswordRequired DocFormsGet404ResponseCode = "SharePasswordRequired" - DocFormsGet404ResponseCodeAborted DocFormsGet404ResponseCode = "Aborted" - DocFormsGet404ResponseCodeNetwork DocFormsGet404ResponseCode = "Network" - DocFormsGet404ResponseCodeUnauthenticated DocFormsGet404ResponseCode = "Unauthenticated" - DocFormsGet404ResponseCodeForbidden DocFormsGet404ResponseCode = "Forbidden" - DocFormsGet404ResponseCodeNotFound DocFormsGet404ResponseCode = "NotFound" - DocFormsGet404ResponseCodeWireFormat DocFormsGet404ResponseCode = "WireFormat" - DocFormsGet404ResponseCodeRuntimeUnavailable DocFormsGet404ResponseCode = "RuntimeUnavailable" - DocFormsGet404ResponseCodeInvalidReference DocFormsGet404ResponseCode = "InvalidReference" - DocFormsGet404ResponseCodeWeakAnnotationSessionConflict DocFormsGet404ResponseCode = "WeakAnnotationSessionConflict" - DocFormsGet404ResponseCodeLayerVersionConflict DocFormsGet404ResponseCode = "LayerVersionConflict" - DocFormsGet404ResponseCodeNotImplemented DocFormsGet404ResponseCode = "NotImplemented" - DocFormsGet404ResponseCodeMalformedPdf DocFormsGet404ResponseCode = "MalformedPdf" + DocFormsSetValue404ResponseCodeUnknown DocFormsSetValue404ResponseCode = "Unknown" + DocFormsSetValue404ResponseCodeInvalidArg DocFormsSetValue404ResponseCode = "InvalidArg" + DocFormsSetValue404ResponseCodeDocNotOpen DocFormsSetValue404ResponseCode = "DocNotOpen" + DocFormsSetValue404ResponseCodeDocOpenFailed DocFormsSetValue404ResponseCode = "DocOpenFailed" + DocFormsSetValue404ResponseCodeDocPasswordRequired DocFormsSetValue404ResponseCode = "DocPasswordRequired" + DocFormsSetValue404ResponseCodeDocPasswordIncorrect DocFormsSetValue404ResponseCode = "DocPasswordIncorrect" + DocFormsSetValue404ResponseCodeSharePasswordRequired DocFormsSetValue404ResponseCode = "SharePasswordRequired" + DocFormsSetValue404ResponseCodeAborted DocFormsSetValue404ResponseCode = "Aborted" + DocFormsSetValue404ResponseCodeNetwork DocFormsSetValue404ResponseCode = "Network" + DocFormsSetValue404ResponseCodeUnauthenticated DocFormsSetValue404ResponseCode = "Unauthenticated" + DocFormsSetValue404ResponseCodeForbidden DocFormsSetValue404ResponseCode = "Forbidden" + DocFormsSetValue404ResponseCodeNotFound DocFormsSetValue404ResponseCode = "NotFound" + DocFormsSetValue404ResponseCodeWireFormat DocFormsSetValue404ResponseCode = "WireFormat" + DocFormsSetValue404ResponseCodeRuntimeUnavailable DocFormsSetValue404ResponseCode = "RuntimeUnavailable" + DocFormsSetValue404ResponseCodeInvalidReference DocFormsSetValue404ResponseCode = "InvalidReference" + DocFormsSetValue404ResponseCodeWeakAnnotationSessionConflict DocFormsSetValue404ResponseCode = "WeakAnnotationSessionConflict" + DocFormsSetValue404ResponseCodeLayerVersionConflict DocFormsSetValue404ResponseCode = "LayerVersionConflict" + DocFormsSetValue404ResponseCodeNotImplemented DocFormsSetValue404ResponseCode = "NotImplemented" + DocFormsSetValue404ResponseCodeMalformedPdf DocFormsSetValue404ResponseCode = "MalformedPdf" ) -func NewDocFormsGet404ResponseCodeFromString(s string) (DocFormsGet404ResponseCode, error) { +func NewDocFormsSetValue404ResponseCodeFromString(s string) (DocFormsSetValue404ResponseCode, error) { switch s { case "Unknown": - return DocFormsGet404ResponseCodeUnknown, nil + return DocFormsSetValue404ResponseCodeUnknown, nil case "InvalidArg": - return DocFormsGet404ResponseCodeInvalidArg, nil + return DocFormsSetValue404ResponseCodeInvalidArg, nil case "DocNotOpen": - return DocFormsGet404ResponseCodeDocNotOpen, nil + return DocFormsSetValue404ResponseCodeDocNotOpen, nil case "DocOpenFailed": - return DocFormsGet404ResponseCodeDocOpenFailed, nil + return DocFormsSetValue404ResponseCodeDocOpenFailed, nil case "DocPasswordRequired": - return DocFormsGet404ResponseCodeDocPasswordRequired, nil + return DocFormsSetValue404ResponseCodeDocPasswordRequired, nil case "DocPasswordIncorrect": - return DocFormsGet404ResponseCodeDocPasswordIncorrect, nil + return DocFormsSetValue404ResponseCodeDocPasswordIncorrect, nil case "SharePasswordRequired": - return DocFormsGet404ResponseCodeSharePasswordRequired, nil + return DocFormsSetValue404ResponseCodeSharePasswordRequired, nil case "Aborted": - return DocFormsGet404ResponseCodeAborted, nil + return DocFormsSetValue404ResponseCodeAborted, nil case "Network": - return DocFormsGet404ResponseCodeNetwork, nil + return DocFormsSetValue404ResponseCodeNetwork, nil case "Unauthenticated": - return DocFormsGet404ResponseCodeUnauthenticated, nil + return DocFormsSetValue404ResponseCodeUnauthenticated, nil case "Forbidden": - return DocFormsGet404ResponseCodeForbidden, nil + return DocFormsSetValue404ResponseCodeForbidden, nil case "NotFound": - return DocFormsGet404ResponseCodeNotFound, nil + return DocFormsSetValue404ResponseCodeNotFound, nil case "WireFormat": - return DocFormsGet404ResponseCodeWireFormat, nil + return DocFormsSetValue404ResponseCodeWireFormat, nil case "RuntimeUnavailable": - return DocFormsGet404ResponseCodeRuntimeUnavailable, nil + return DocFormsSetValue404ResponseCodeRuntimeUnavailable, nil case "InvalidReference": - return DocFormsGet404ResponseCodeInvalidReference, nil + return DocFormsSetValue404ResponseCodeInvalidReference, nil case "WeakAnnotationSessionConflict": - return DocFormsGet404ResponseCodeWeakAnnotationSessionConflict, nil + return DocFormsSetValue404ResponseCodeWeakAnnotationSessionConflict, nil case "LayerVersionConflict": - return DocFormsGet404ResponseCodeLayerVersionConflict, nil + return DocFormsSetValue404ResponseCodeLayerVersionConflict, nil case "NotImplemented": - return DocFormsGet404ResponseCodeNotImplemented, nil + return DocFormsSetValue404ResponseCodeNotImplemented, nil case "MalformedPdf": - return DocFormsGet404ResponseCodeMalformedPdf, nil + return DocFormsSetValue404ResponseCodeMalformedPdf, nil } - var t DocFormsGet404ResponseCode + var t DocFormsSetValue404ResponseCode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocFormsGet404ResponseCode) Ptr() *DocFormsGet404ResponseCode { +func (d DocFormsSetValue404ResponseCode) Ptr() *DocFormsSetValue404ResponseCode { return &d } -type DocFormsGet404ResponseName string +type DocFormsSetValue404ResponseName string const ( - DocFormsGet404ResponseNameEngineError DocFormsGet404ResponseName = "EngineError" + DocFormsSetValue404ResponseNameEngineError DocFormsSetValue404ResponseName = "EngineError" ) -func NewDocFormsGet404ResponseNameFromString(s string) (DocFormsGet404ResponseName, error) { +func NewDocFormsSetValue404ResponseNameFromString(s string) (DocFormsSetValue404ResponseName, error) { switch s { case "EngineError": - return DocFormsGet404ResponseNameEngineError, nil + return DocFormsSetValue404ResponseNameEngineError, nil } - var t DocFormsGet404ResponseName + var t DocFormsSetValue404ResponseName return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocFormsGet404ResponseName) Ptr() *DocFormsGet404ResponseName { +func (d DocFormsSetValue404ResponseName) Ptr() *DocFormsSetValue404ResponseName { return &d } +type DocFormsSetValueRequest = map[string]any + var ( - docFormsImportData200ResponseFieldMeta = big.NewInt(1 << 0) + docHead404ResponseFieldName = big.NewInt(1 << 0) + docHead404ResponseFieldCode = big.NewInt(1 << 1) + docHead404ResponseFieldMessage = big.NewInt(1 << 2) + docHead404ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocFormsImportData200Response struct { - Meta *DocFormsImportData200ResponseMeta `json:"meta" url:"meta"` +type DocHead404Response struct { + Name DocHead404ResponseName `json:"name" url:"name"` + Code DocHead404ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` - ExtraProperties map[string]interface{} `json:"-" url:"-"` - - rawJSON json.RawMessage -} - -func (d *DocFormsImportData200Response) GetMeta() *DocFormsImportData200ResponseMeta { - if d == nil { - return nil - } - return d.Meta + extraProperties map[string]interface{} + rawJSON json.RawMessage } -func (d *DocFormsImportData200Response) GetExtraProperties() map[string]interface{} { +func (d *DocHead404Response) GetName() DocHead404ResponseName { if d == nil { - return nil - } - return d.ExtraProperties -} - -func (d *DocFormsImportData200Response) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetMeta sets the Meta field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData200Response) SetMeta(meta *DocFormsImportData200ResponseMeta) { - d.Meta = meta - d.require(docFormsImportData200ResponseFieldMeta) -} - -func (d *DocFormsImportData200Response) UnmarshalJSON(data []byte) error { - type embed DocFormsImportData200Response - var unmarshaler = struct { - embed - }{ - embed: embed(*d), - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { - return err - } - *d = DocFormsImportData200Response(unmarshaler.embed) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.ExtraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocFormsImportData200Response) MarshalJSON() ([]byte, error) { - type embed DocFormsImportData200Response - var marshaler = struct { - embed - }{ - embed: embed(*d), + return "" } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return internal.MarshalJSONWithExtraProperties(explicitMarshaler, d.ExtraProperties) + return d.Name } -func (d *DocFormsImportData200Response) String() string { +func (d *DocHead404Response) GetCode() DocHead404ResponseCode { if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value + return "" } - return fmt.Sprintf("%#v", d) -} - -var ( - docFormsImportData200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) - docFormsImportData200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) -) - -type DocFormsImportData200ResponseMeta struct { - AffectedPages []*DocFormsImportData200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` - CacheDelta *DocFormsImportData200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage + return d.Code } -func (d *DocFormsImportData200ResponseMeta) GetAffectedPages() []*DocFormsImportData200ResponseMetaAffectedPagesItem { +func (d *DocHead404Response) GetMessage() string { if d == nil { - return nil + return "" } - return d.AffectedPages + return d.Message } -func (d *DocFormsImportData200ResponseMeta) GetCacheDelta() *DocFormsImportData200ResponseMetaCacheDelta { +func (d *DocHead404Response) GetDetails() map[string]any { if d == nil { return nil } - return d.CacheDelta + return d.Details } -func (d *DocFormsImportData200ResponseMeta) GetExtraProperties() map[string]interface{} { +func (d *DocHead404Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsImportData200ResponseMeta) require(field *big.Int) { +func (d *DocHead404Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetAffectedPages sets the AffectedPages field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData200ResponseMeta) SetAffectedPages(affectedPages []*DocFormsImportData200ResponseMetaAffectedPagesItem) { - d.AffectedPages = affectedPages - d.require(docFormsImportData200ResponseMetaFieldAffectedPages) +func (d *DocHead404Response) SetName(name DocHead404ResponseName) { + d.Name = name + d.require(docHead404ResponseFieldName) } -// SetCacheDelta sets the CacheDelta field and marks it as non-optional; +// SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData200ResponseMeta) SetCacheDelta(cacheDelta *DocFormsImportData200ResponseMetaCacheDelta) { - d.CacheDelta = cacheDelta - d.require(docFormsImportData200ResponseMetaFieldCacheDelta) +func (d *DocHead404Response) SetCode(code DocHead404ResponseCode) { + d.Code = code + d.require(docHead404ResponseFieldCode) } -func (d *DocFormsImportData200ResponseMeta) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsImportData200ResponseMeta +// SetMessage sets the Message field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocHead404Response) SetMessage(message string) { + d.Message = message + d.require(docHead404ResponseFieldMessage) +} + +// SetDetails sets the Details field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocHead404Response) SetDetails(details map[string]any) { + d.Details = details + d.require(docHead404ResponseFieldDetails) +} + +func (d *DocHead404Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocHead404Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsImportData200ResponseMeta(value) + *d = DocHead404Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -124002,8 +130081,8 @@ func (d *DocFormsImportData200ResponseMeta) UnmarshalJSON(data []byte) error { return nil } -func (d *DocFormsImportData200ResponseMeta) MarshalJSON() ([]byte, error) { - type embed DocFormsImportData200ResponseMeta +func (d *DocHead404Response) MarshalJSON() ([]byte, error) { + type embed DocHead404Response var marshaler = struct { embed }{ @@ -124013,7 +130092,7 @@ func (d *DocFormsImportData200ResponseMeta) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocFormsImportData200ResponseMeta) String() string { +func (d *DocHead404Response) String() string { if d == nil { return "" } @@ -124028,16 +130107,110 @@ func (d *DocFormsImportData200ResponseMeta) String() string { return fmt.Sprintf("%#v", d) } +type DocHead404ResponseCode string + +const ( + DocHead404ResponseCodeUnknown DocHead404ResponseCode = "Unknown" + DocHead404ResponseCodeInvalidArg DocHead404ResponseCode = "InvalidArg" + DocHead404ResponseCodeDocNotOpen DocHead404ResponseCode = "DocNotOpen" + DocHead404ResponseCodeDocOpenFailed DocHead404ResponseCode = "DocOpenFailed" + DocHead404ResponseCodeDocPasswordRequired DocHead404ResponseCode = "DocPasswordRequired" + DocHead404ResponseCodeDocPasswordIncorrect DocHead404ResponseCode = "DocPasswordIncorrect" + DocHead404ResponseCodeSharePasswordRequired DocHead404ResponseCode = "SharePasswordRequired" + DocHead404ResponseCodeAborted DocHead404ResponseCode = "Aborted" + DocHead404ResponseCodeNetwork DocHead404ResponseCode = "Network" + DocHead404ResponseCodeUnauthenticated DocHead404ResponseCode = "Unauthenticated" + DocHead404ResponseCodeForbidden DocHead404ResponseCode = "Forbidden" + DocHead404ResponseCodeNotFound DocHead404ResponseCode = "NotFound" + DocHead404ResponseCodeWireFormat DocHead404ResponseCode = "WireFormat" + DocHead404ResponseCodeRuntimeUnavailable DocHead404ResponseCode = "RuntimeUnavailable" + DocHead404ResponseCodeInvalidReference DocHead404ResponseCode = "InvalidReference" + DocHead404ResponseCodeWeakAnnotationSessionConflict DocHead404ResponseCode = "WeakAnnotationSessionConflict" + DocHead404ResponseCodeLayerVersionConflict DocHead404ResponseCode = "LayerVersionConflict" + DocHead404ResponseCodeNotImplemented DocHead404ResponseCode = "NotImplemented" + DocHead404ResponseCodeMalformedPdf DocHead404ResponseCode = "MalformedPdf" +) + +func NewDocHead404ResponseCodeFromString(s string) (DocHead404ResponseCode, error) { + switch s { + case "Unknown": + return DocHead404ResponseCodeUnknown, nil + case "InvalidArg": + return DocHead404ResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocHead404ResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocHead404ResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocHead404ResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocHead404ResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocHead404ResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocHead404ResponseCodeAborted, nil + case "Network": + return DocHead404ResponseCodeNetwork, nil + case "Unauthenticated": + return DocHead404ResponseCodeUnauthenticated, nil + case "Forbidden": + return DocHead404ResponseCodeForbidden, nil + case "NotFound": + return DocHead404ResponseCodeNotFound, nil + case "WireFormat": + return DocHead404ResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocHead404ResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocHead404ResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocHead404ResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocHead404ResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocHead404ResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocHead404ResponseCodeMalformedPdf, nil + } + var t DocHead404ResponseCode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocHead404ResponseCode) Ptr() *DocHead404ResponseCode { + return &d +} + +type DocHead404ResponseName string + +const ( + DocHead404ResponseNameEngineError DocHead404ResponseName = "EngineError" +) + +func NewDocHead404ResponseNameFromString(s string) (DocHead404ResponseName, error) { + switch s { + case "EngineError": + return DocHead404ResponseNameEngineError, nil + } + var t DocHead404ResponseName + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocHead404ResponseName) Ptr() *DocHead404ResponseName { + return &d +} + var ( - docFormsImportData200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) - docFormsImportData200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) - docFormsImportData200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) + docManifest404ResponseFieldName = big.NewInt(1 << 0) + docManifest404ResponseFieldCode = big.NewInt(1 << 1) + docManifest404ResponseFieldMessage = big.NewInt(1 << 2) + docManifest404ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocFormsImportData200ResponseMetaAffectedPagesItem struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Revision *DocFormsImportData200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` - WeakAnnotationState *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` +type DocManifest404Response struct { + Name DocManifest404ResponseName `json:"name" url:"name"` + Code DocManifest404ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -124046,69 +130219,83 @@ type DocFormsImportData200ResponseMetaAffectedPagesItem struct { rawJSON json.RawMessage } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { +func (d *DocManifest404Response) GetName() DocManifest404ResponseName { if d == nil { - return 0 + return "" } - return d.PageObjectNumber + return d.Name } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) GetRevision() *DocFormsImportData200ResponseMetaAffectedPagesItemRevision { +func (d *DocManifest404Response) GetCode() DocManifest404ResponseCode { if d == nil { - return nil + return "" } - return d.Revision + return d.Code } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState { +func (d *DocManifest404Response) GetMessage() string { + if d == nil { + return "" + } + return d.Message +} + +func (d *DocManifest404Response) GetDetails() map[string]any { if d == nil { return nil } - return d.WeakAnnotationState + return d.Details } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { +func (d *DocManifest404Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) require(field *big.Int) { +func (d *DocManifest404Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docFormsImportData200ResponseMetaAffectedPagesItemFieldPageObjectNumber) +func (d *DocManifest404Response) SetName(name DocManifest404ResponseName) { + d.Name = name + d.require(docManifest404ResponseFieldName) } -// SetRevision sets the Revision field and marks it as non-optional; +// SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) SetRevision(revision *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) { - d.Revision = revision - d.require(docFormsImportData200ResponseMetaAffectedPagesItemFieldRevision) +func (d *DocManifest404Response) SetCode(code DocManifest404ResponseCode) { + d.Code = code + d.require(docManifest404ResponseFieldCode) } -// SetWeakAnnotationState sets the WeakAnnotationState field and marks it as non-optional; +// SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState) { - d.WeakAnnotationState = weakAnnotationState - d.require(docFormsImportData200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) +func (d *DocManifest404Response) SetMessage(message string) { + d.Message = message + d.require(docManifest404ResponseFieldMessage) } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsImportData200ResponseMetaAffectedPagesItem +// SetDetails sets the Details field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocManifest404Response) SetDetails(details map[string]any) { + d.Details = details + d.require(docManifest404ResponseFieldDetails) +} + +func (d *DocManifest404Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocManifest404Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsImportData200ResponseMetaAffectedPagesItem(value) + *d = DocManifest404Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -124118,8 +130305,8 @@ func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) UnmarshalJSON(data return nil } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { - type embed DocFormsImportData200ResponseMetaAffectedPagesItem +func (d *DocManifest404Response) MarshalJSON() ([]byte, error) { + type embed DocManifest404Response var marshaler = struct { embed }{ @@ -124129,7 +130316,7 @@ func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) MarshalJSON() ([]by return json.Marshal(explicitMarshaler) } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) String() string { +func (d *DocManifest404Response) String() string { if d == nil { return "" } @@ -124144,362 +130331,299 @@ func (d *DocFormsImportData200ResponseMetaAffectedPagesItem) String() string { return fmt.Sprintf("%#v", d) } -var ( - docFormsImportData200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) - docFormsImportData200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docFormsImportData200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) -) - -type DocFormsImportData200ResponseMetaAffectedPagesItemRevision struct { - DocSessionID string `json:"docSessionId" url:"docSessionId"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Generation int `json:"generation" url:"generation"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` +type DocManifest404ResponseCode string - extraProperties map[string]interface{} - rawJSON json.RawMessage -} +const ( + DocManifest404ResponseCodeUnknown DocManifest404ResponseCode = "Unknown" + DocManifest404ResponseCodeInvalidArg DocManifest404ResponseCode = "InvalidArg" + DocManifest404ResponseCodeDocNotOpen DocManifest404ResponseCode = "DocNotOpen" + DocManifest404ResponseCodeDocOpenFailed DocManifest404ResponseCode = "DocOpenFailed" + DocManifest404ResponseCodeDocPasswordRequired DocManifest404ResponseCode = "DocPasswordRequired" + DocManifest404ResponseCodeDocPasswordIncorrect DocManifest404ResponseCode = "DocPasswordIncorrect" + DocManifest404ResponseCodeSharePasswordRequired DocManifest404ResponseCode = "SharePasswordRequired" + DocManifest404ResponseCodeAborted DocManifest404ResponseCode = "Aborted" + DocManifest404ResponseCodeNetwork DocManifest404ResponseCode = "Network" + DocManifest404ResponseCodeUnauthenticated DocManifest404ResponseCode = "Unauthenticated" + DocManifest404ResponseCodeForbidden DocManifest404ResponseCode = "Forbidden" + DocManifest404ResponseCodeNotFound DocManifest404ResponseCode = "NotFound" + DocManifest404ResponseCodeWireFormat DocManifest404ResponseCode = "WireFormat" + DocManifest404ResponseCodeRuntimeUnavailable DocManifest404ResponseCode = "RuntimeUnavailable" + DocManifest404ResponseCodeInvalidReference DocManifest404ResponseCode = "InvalidReference" + DocManifest404ResponseCodeWeakAnnotationSessionConflict DocManifest404ResponseCode = "WeakAnnotationSessionConflict" + DocManifest404ResponseCodeLayerVersionConflict DocManifest404ResponseCode = "LayerVersionConflict" + DocManifest404ResponseCodeNotImplemented DocManifest404ResponseCode = "NotImplemented" + DocManifest404ResponseCodeMalformedPdf DocManifest404ResponseCode = "MalformedPdf" +) -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { - if d == nil { - return "" +func NewDocManifest404ResponseCodeFromString(s string) (DocManifest404ResponseCode, error) { + switch s { + case "Unknown": + return DocManifest404ResponseCodeUnknown, nil + case "InvalidArg": + return DocManifest404ResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocManifest404ResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocManifest404ResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocManifest404ResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocManifest404ResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocManifest404ResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocManifest404ResponseCodeAborted, nil + case "Network": + return DocManifest404ResponseCodeNetwork, nil + case "Unauthenticated": + return DocManifest404ResponseCodeUnauthenticated, nil + case "Forbidden": + return DocManifest404ResponseCodeForbidden, nil + case "NotFound": + return DocManifest404ResponseCodeNotFound, nil + case "WireFormat": + return DocManifest404ResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocManifest404ResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocManifest404ResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocManifest404ResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocManifest404ResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocManifest404ResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocManifest404ResponseCodeMalformedPdf, nil } - return d.DocSessionID + var t DocManifest404ResponseCode + return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber +func (d DocManifest404ResponseCode) Ptr() *DocManifest404ResponseCode { + return &d } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { - if d == nil { - return 0 - } - return d.Generation -} +type DocManifest404ResponseName string -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} +const ( + DocManifest404ResponseNameEngineError DocManifest404ResponseName = "EngineError" +) -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) +func NewDocManifest404ResponseNameFromString(s string) (DocManifest404ResponseName, error) { + switch s { + case "EngineError": + return DocManifest404ResponseNameEngineError, nil } - d.explicitFields.Or(d.explicitFields, field) + var t DocManifest404ResponseName + return "", fmt.Errorf("%s is not a valid %T", s, t) } -// SetDocSessionID sets the DocSessionID field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { - d.DocSessionID = docSessionID - d.require(docFormsImportData200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) +func (d DocManifest404ResponseName) Ptr() *DocManifest404ResponseName { + return &d } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docFormsImportData200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) -} +var ( + docMetadataGet200ResponseFieldTitle = big.NewInt(1 << 0) + docMetadataGet200ResponseFieldAuthor = big.NewInt(1 << 1) + docMetadataGet200ResponseFieldSubject = big.NewInt(1 << 2) + docMetadataGet200ResponseFieldKeywords = big.NewInt(1 << 3) + docMetadataGet200ResponseFieldProducer = big.NewInt(1 << 4) + docMetadataGet200ResponseFieldCreator = big.NewInt(1 << 5) + docMetadataGet200ResponseFieldCreated = big.NewInt(1 << 6) + docMetadataGet200ResponseFieldModified = big.NewInt(1 << 7) + docMetadataGet200ResponseFieldTrapped = big.NewInt(1 << 8) + docMetadataGet200ResponseFieldCustom = big.NewInt(1 << 9) +) -// SetGeneration sets the Generation field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { - d.Generation = generation - d.require(docFormsImportData200ResponseMetaAffectedPagesItemRevisionFieldGeneration) -} +type DocMetadataGet200Response struct { + Title *string `json:"title,omitempty" url:"title,omitempty"` + Author *string `json:"author,omitempty" url:"author,omitempty"` + Subject *string `json:"subject,omitempty" url:"subject,omitempty"` + Keywords *string `json:"keywords,omitempty" url:"keywords,omitempty"` + Producer *string `json:"producer,omitempty" url:"producer,omitempty"` + Creator *string `json:"creator,omitempty" url:"creator,omitempty"` + Created *time.Time `json:"created,omitempty" url:"created,omitempty"` + Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` + Trapped DocMetadataGet200ResponseTrapped `json:"trapped" url:"trapped"` + Custom map[string]string `json:"custom" url:"custom"` -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsImportData200ResponseMetaAffectedPagesItemRevision - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocFormsImportData200ResponseMetaAffectedPagesItemRevision(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} + // Private bitmask of fields set to an explicit value and therefore not to be omitted + explicitFields *big.Int `json:"-" url:"-"` -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { - type embed DocFormsImportData200ResponseMetaAffectedPagesItemRevision - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + extraProperties map[string]interface{} + rawJSON json.RawMessage } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemRevision) String() string { +func (d *DocMetadataGet200Response) GetTitle() *string { if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value + return nil } - return fmt.Sprintf("%#v", d) -} - -type DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState struct { - Kind string - Unknown *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown - Known *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown - - rawJSON json.RawMessage + return d.Title } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { +func (d *DocMetadataGet200Response) GetAuthor() *string { if d == nil { - return "" + return nil } - return d.Kind + return d.Author } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { +func (d *DocMetadataGet200Response) GetSubject() *string { if d == nil { return nil } - return d.Unknown + return d.Subject } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { +func (d *DocMetadataGet200Response) GetKeywords() *string { if d == nil { return nil } - return d.Known + return d.Keywords } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { - var unmarshaler struct { - Kind string `json:"kind"` - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { - return err - } - d.Kind = unmarshaler.Kind - if unmarshaler.Kind == "" { - return fmt.Errorf("%T did not include discriminant kind", d) - } - switch unmarshaler.Kind { - case "unknown": - value := new(DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Unknown = value - case "known": - value := new(DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Known = value +func (d *DocMetadataGet200Response) GetProducer() *string { + if d == nil { + return nil } - d.rawJSON = json.RawMessage(data) - return nil + return d.Producer } -func (d DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { - if err := d.validate(); err != nil { - return nil, err - } - if d.Unknown != nil { - return internal.MarshalJSONWithExtraProperty(d.Unknown, "kind", "unknown") - } - if d.Known != nil { - return internal.MarshalJSONWithExtraProperty(d.Known, "kind", "known") - } - if len(d.rawJSON) > 0 { - return d.rawJSON, nil +func (d *DocMetadataGet200Response) GetCreator() *string { + if d == nil { + return nil } - return nil, fmt.Errorf("type %T does not define a non-empty union type", d) -} - -type DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { - VisitUnknown(*DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error - VisitKnown(*DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error + return d.Creator } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { - if d.Unknown != nil { - return visitor.VisitUnknown(d.Unknown) - } - if d.Known != nil { - return visitor.VisitKnown(d.Known) +func (d *DocMetadataGet200Response) GetCreated() *time.Time { + if d == nil { + return nil } - return fmt.Errorf("type %T does not define a non-empty union type", d) + return d.Created } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { +func (d *DocMetadataGet200Response) GetModified() *time.Time { if d == nil { - return fmt.Errorf("type %T is nil", d) - } - var fields []string - if d.Unknown != nil { - fields = append(fields, "unknown") - } - if d.Known != nil { - fields = append(fields, "known") - } - if len(fields) == 0 { - if d.Kind != "" { - if len(d.rawJSON) > 0 { - return nil - } - return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) - } - return fmt.Errorf("type %T is empty", d) - } - if len(fields) > 1 { - return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) - } - if d.Kind != "" { - field := fields[0] - if d.Kind != field { - return fmt.Errorf( - "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", - d, - d.Kind, - d, - ) - } + return nil } - return nil + return d.Modified } -var ( - docFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) -) - -type DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { - HasAnyWeakAnnotations bool `json:"hasAnyWeakAnnotations" url:"hasAnyWeakAnnotations"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage +func (d *DocMetadataGet200Response) GetTrapped() DocMetadataGet200ResponseTrapped { + if d == nil { + return "" + } + return d.Trapped } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { +func (d *DocMetadataGet200Response) GetCustom() map[string]string { if d == nil { - return false + return nil } - return d.HasAnyWeakAnnotations + return d.Custom } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { +func (d *DocMetadataGet200Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { +func (d *DocMetadataGet200Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetHasAnyWeakAnnotations sets the HasAnyWeakAnnotations field and marks it as non-optional; +// SetTitle sets the Title field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { - d.HasAnyWeakAnnotations = hasAnyWeakAnnotations - d.require(docFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) +func (d *DocMetadataGet200Response) SetTitle(title *string) { + d.Title = title + d.require(docMetadataGet200ResponseFieldTitle) } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil +// SetAuthor sets the Author field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocMetadataGet200Response) SetAuthor(author *string) { + d.Author = author + d.require(docMetadataGet200ResponseFieldAuthor) } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { - type embed DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) +// SetSubject sets the Subject field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocMetadataGet200Response) SetSubject(subject *string) { + d.Subject = subject + d.require(docMetadataGet200ResponseFieldSubject) } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) +// SetKeywords sets the Keywords field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocMetadataGet200Response) SetKeywords(keywords *string) { + d.Keywords = keywords + d.require(docMetadataGet200ResponseFieldKeywords) } -type DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { +// SetProducer sets the Producer field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocMetadataGet200Response) SetProducer(producer *string) { + d.Producer = producer + d.require(docMetadataGet200ResponseFieldProducer) +} - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` +// SetCreator sets the Creator field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocMetadataGet200Response) SetCreator(creator *string) { + d.Creator = creator + d.require(docMetadataGet200ResponseFieldCreator) +} - extraProperties map[string]interface{} - rawJSON json.RawMessage +// SetCreated sets the Created field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocMetadataGet200Response) SetCreated(created *time.Time) { + d.Created = created + d.require(docMetadataGet200ResponseFieldCreated) } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties +// SetModified sets the Modified field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocMetadataGet200Response) SetModified(modified *time.Time) { + d.Modified = modified + d.require(docMetadataGet200ResponseFieldModified) } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) +// SetTrapped sets the Trapped field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocMetadataGet200Response) SetTrapped(trapped DocMetadataGet200ResponseTrapped) { + d.Trapped = trapped + d.require(docMetadataGet200ResponseFieldTrapped) } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { +// SetCustom sets the Custom field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocMetadataGet200Response) SetCustom(custom map[string]string) { + d.Custom = custom + d.require(docMetadataGet200ResponseFieldCustom) +} + +func (d *DocMetadataGet200Response) UnmarshalJSON(data []byte) error { + type embed DocMetadataGet200Response + var unmarshaler = struct { + embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` + }{ + embed: embed(*d), + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) + *d = DocMetadataGet200Response(unmarshaler.embed) + d.Created = unmarshaler.Created.TimePtr() + d.Modified = unmarshaler.Modified.TimePtr() extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -124509,18 +130633,22 @@ func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUn return nil } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { - type embed DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown +func (d *DocMetadataGet200Response) MarshalJSON() ([]byte, error) { + type embed DocMetadataGet200Response var marshaler = struct { embed + Created *internal.DateTime `json:"created,omitempty"` + Modified *internal.DateTime `json:"modified,omitempty"` }{ - embed: embed(*d), + embed: embed(*d), + Created: internal.NewOptionalDateTime(d.Created), + Modified: internal.NewOptionalDateTime(d.Modified), } explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) return json.Marshal(explicitMarshaler) } -func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { +func (d *DocMetadataGet200Response) String() string { if d == nil { return "" } @@ -124535,18 +130663,43 @@ func (d *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUn return fmt.Sprintf("%#v", d) } +type DocMetadataGet200ResponseTrapped string + +const ( + DocMetadataGet200ResponseTrappedTrue DocMetadataGet200ResponseTrapped = "true" + DocMetadataGet200ResponseTrappedFalse DocMetadataGet200ResponseTrapped = "false" + DocMetadataGet200ResponseTrappedUnknown DocMetadataGet200ResponseTrapped = "unknown" +) + +func NewDocMetadataGet200ResponseTrappedFromString(s string) (DocMetadataGet200ResponseTrapped, error) { + switch s { + case "true": + return DocMetadataGet200ResponseTrappedTrue, nil + case "false": + return DocMetadataGet200ResponseTrappedFalse, nil + case "unknown": + return DocMetadataGet200ResponseTrappedUnknown, nil + } + var t DocMetadataGet200ResponseTrapped + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocMetadataGet200ResponseTrapped) Ptr() *DocMetadataGet200ResponseTrapped { + return &d +} + var ( - docFormsImportData200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) - docFormsImportData200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) - docFormsImportData200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) - docFormsImportData200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) + docMetadataGet404ResponseFieldName = big.NewInt(1 << 0) + docMetadataGet404ResponseFieldCode = big.NewInt(1 << 1) + docMetadataGet404ResponseFieldMessage = big.NewInt(1 << 2) + docMetadataGet404ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocFormsImportData200ResponseMetaCacheDelta struct { - PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` - DocVersion int `json:"docVersion" url:"docVersion"` - AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` - Pages []*DocFormsImportData200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` +type DocMetadataGet404Response struct { + Name DocMetadataGet404ResponseName `json:"name" url:"name"` + Code DocMetadataGet404ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -124555,83 +130708,83 @@ type DocFormsImportData200ResponseMetaCacheDelta struct { rawJSON json.RawMessage } -func (d *DocFormsImportData200ResponseMetaCacheDelta) GetPreviousDocVersion() int { +func (d *DocMetadataGet404Response) GetName() DocMetadataGet404ResponseName { if d == nil { - return 0 + return "" } - return d.PreviousDocVersion + return d.Name } -func (d *DocFormsImportData200ResponseMetaCacheDelta) GetDocVersion() int { +func (d *DocMetadataGet404Response) GetCode() DocMetadataGet404ResponseCode { if d == nil { - return 0 + return "" } - return d.DocVersion + return d.Code } -func (d *DocFormsImportData200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { +func (d *DocMetadataGet404Response) GetMessage() string { if d == nil { - return nil + return "" } - return d.AnnotationsVersion + return d.Message } -func (d *DocFormsImportData200ResponseMetaCacheDelta) GetPages() []*DocFormsImportData200ResponseMetaCacheDeltaPagesItem { +func (d *DocMetadataGet404Response) GetDetails() map[string]any { if d == nil { return nil } - return d.Pages + return d.Details } -func (d *DocFormsImportData200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { +func (d *DocMetadataGet404Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsImportData200ResponseMetaCacheDelta) require(field *big.Int) { +func (d *DocMetadataGet404Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPreviousDocVersion sets the PreviousDocVersion field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { - d.PreviousDocVersion = previousDocVersion - d.require(docFormsImportData200ResponseMetaCacheDeltaFieldPreviousDocVersion) +func (d *DocMetadataGet404Response) SetName(name DocMetadataGet404ResponseName) { + d.Name = name + d.require(docMetadataGet404ResponseFieldName) } -// SetDocVersion sets the DocVersion field and marks it as non-optional; +// SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { - d.DocVersion = docVersion - d.require(docFormsImportData200ResponseMetaCacheDeltaFieldDocVersion) +func (d *DocMetadataGet404Response) SetCode(code DocMetadataGet404ResponseCode) { + d.Code = code + d.require(docMetadataGet404ResponseFieldCode) } -// SetAnnotationsVersion sets the AnnotationsVersion field and marks it as non-optional; +// SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { - d.AnnotationsVersion = annotationsVersion - d.require(docFormsImportData200ResponseMetaCacheDeltaFieldAnnotationsVersion) +func (d *DocMetadataGet404Response) SetMessage(message string) { + d.Message = message + d.require(docMetadataGet404ResponseFieldMessage) } -// SetPages sets the Pages field and marks it as non-optional; +// SetDetails sets the Details field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData200ResponseMetaCacheDelta) SetPages(pages []*DocFormsImportData200ResponseMetaCacheDeltaPagesItem) { - d.Pages = pages - d.require(docFormsImportData200ResponseMetaCacheDeltaFieldPages) +func (d *DocMetadataGet404Response) SetDetails(details map[string]any) { + d.Details = details + d.require(docMetadataGet404ResponseFieldDetails) } -func (d *DocFormsImportData200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsImportData200ResponseMetaCacheDelta +func (d *DocMetadataGet404Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocMetadataGet404Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsImportData200ResponseMetaCacheDelta(value) + *d = DocMetadataGet404Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -124641,8 +130794,8 @@ func (d *DocFormsImportData200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) return nil } -func (d *DocFormsImportData200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { - type embed DocFormsImportData200ResponseMetaCacheDelta +func (d *DocMetadataGet404Response) MarshalJSON() ([]byte, error) { + type embed DocMetadataGet404Response var marshaler = struct { embed }{ @@ -124652,7 +130805,7 @@ func (d *DocFormsImportData200ResponseMetaCacheDelta) MarshalJSON() ([]byte, err return json.Marshal(explicitMarshaler) } -func (d *DocFormsImportData200ResponseMetaCacheDelta) String() string { +func (d *DocMetadataGet404Response) String() string { if d == nil { return "" } @@ -124667,92 +130820,173 @@ func (d *DocFormsImportData200ResponseMetaCacheDelta) String() string { return fmt.Sprintf("%#v", d) } +type DocMetadataGet404ResponseCode string + +const ( + DocMetadataGet404ResponseCodeUnknown DocMetadataGet404ResponseCode = "Unknown" + DocMetadataGet404ResponseCodeInvalidArg DocMetadataGet404ResponseCode = "InvalidArg" + DocMetadataGet404ResponseCodeDocNotOpen DocMetadataGet404ResponseCode = "DocNotOpen" + DocMetadataGet404ResponseCodeDocOpenFailed DocMetadataGet404ResponseCode = "DocOpenFailed" + DocMetadataGet404ResponseCodeDocPasswordRequired DocMetadataGet404ResponseCode = "DocPasswordRequired" + DocMetadataGet404ResponseCodeDocPasswordIncorrect DocMetadataGet404ResponseCode = "DocPasswordIncorrect" + DocMetadataGet404ResponseCodeSharePasswordRequired DocMetadataGet404ResponseCode = "SharePasswordRequired" + DocMetadataGet404ResponseCodeAborted DocMetadataGet404ResponseCode = "Aborted" + DocMetadataGet404ResponseCodeNetwork DocMetadataGet404ResponseCode = "Network" + DocMetadataGet404ResponseCodeUnauthenticated DocMetadataGet404ResponseCode = "Unauthenticated" + DocMetadataGet404ResponseCodeForbidden DocMetadataGet404ResponseCode = "Forbidden" + DocMetadataGet404ResponseCodeNotFound DocMetadataGet404ResponseCode = "NotFound" + DocMetadataGet404ResponseCodeWireFormat DocMetadataGet404ResponseCode = "WireFormat" + DocMetadataGet404ResponseCodeRuntimeUnavailable DocMetadataGet404ResponseCode = "RuntimeUnavailable" + DocMetadataGet404ResponseCodeInvalidReference DocMetadataGet404ResponseCode = "InvalidReference" + DocMetadataGet404ResponseCodeWeakAnnotationSessionConflict DocMetadataGet404ResponseCode = "WeakAnnotationSessionConflict" + DocMetadataGet404ResponseCodeLayerVersionConflict DocMetadataGet404ResponseCode = "LayerVersionConflict" + DocMetadataGet404ResponseCodeNotImplemented DocMetadataGet404ResponseCode = "NotImplemented" + DocMetadataGet404ResponseCodeMalformedPdf DocMetadataGet404ResponseCode = "MalformedPdf" +) + +func NewDocMetadataGet404ResponseCodeFromString(s string) (DocMetadataGet404ResponseCode, error) { + switch s { + case "Unknown": + return DocMetadataGet404ResponseCodeUnknown, nil + case "InvalidArg": + return DocMetadataGet404ResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocMetadataGet404ResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocMetadataGet404ResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocMetadataGet404ResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocMetadataGet404ResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocMetadataGet404ResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocMetadataGet404ResponseCodeAborted, nil + case "Network": + return DocMetadataGet404ResponseCodeNetwork, nil + case "Unauthenticated": + return DocMetadataGet404ResponseCodeUnauthenticated, nil + case "Forbidden": + return DocMetadataGet404ResponseCodeForbidden, nil + case "NotFound": + return DocMetadataGet404ResponseCodeNotFound, nil + case "WireFormat": + return DocMetadataGet404ResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocMetadataGet404ResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocMetadataGet404ResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocMetadataGet404ResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocMetadataGet404ResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocMetadataGet404ResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocMetadataGet404ResponseCodeMalformedPdf, nil + } + var t DocMetadataGet404ResponseCode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocMetadataGet404ResponseCode) Ptr() *DocMetadataGet404ResponseCode { + return &d +} + +type DocMetadataGet404ResponseName string + +const ( + DocMetadataGet404ResponseNameEngineError DocMetadataGet404ResponseName = "EngineError" +) + +func NewDocMetadataGet404ResponseNameFromString(s string) (DocMetadataGet404ResponseName, error) { + switch s { + case "EngineError": + return DocMetadataGet404ResponseNameEngineError, nil + } + var t DocMetadataGet404ResponseName + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocMetadataGet404ResponseName) Ptr() *DocMetadataGet404ResponseName { + return &d +} + var ( - docFormsImportData200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) - docFormsImportData200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) + docPagesDelete200ResponseFieldMeta = big.NewInt(1 << 0) ) -type DocFormsImportData200ResponseMetaCacheDeltaPagesItem struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Cache *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` +type DocPagesDelete200Response struct { + Meta *DocPagesDelete200ResponseMeta `json:"meta" url:"meta"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` - extraProperties map[string]interface{} - rawJSON json.RawMessage -} + ExtraProperties map[string]interface{} `json:"-" url:"-"` -func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber + rawJSON json.RawMessage } -func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItem) GetCache() *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache { +func (d *DocPagesDelete200Response) GetMeta() *DocPagesDelete200ResponseMeta { if d == nil { return nil } - return d.Cache + return d.Meta } -func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { +func (d *DocPagesDelete200Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } - return d.extraProperties + return d.ExtraProperties } -func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { +func (d *DocPagesDelete200Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docFormsImportData200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) -} - -// SetCache sets the Cache field and marks it as non-optional; +// SetMeta sets the Meta field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) { - d.Cache = cache - d.require(docFormsImportData200ResponseMetaCacheDeltaPagesItemFieldCache) +func (d *DocPagesDelete200Response) SetMeta(meta *DocPagesDelete200ResponseMeta) { + d.Meta = meta + d.require(docPagesDelete200ResponseFieldMeta) } -func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsImportData200ResponseMetaCacheDeltaPagesItem - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { +func (d *DocPagesDelete200Response) UnmarshalJSON(data []byte) error { + type embed DocPagesDelete200Response + var unmarshaler = struct { + embed + }{ + embed: embed(*d), + } + if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocFormsImportData200ResponseMetaCacheDeltaPagesItem(value) + *d = DocPagesDelete200Response(unmarshaler.embed) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err } - d.extraProperties = extraProperties + d.ExtraProperties = extraProperties d.rawJSON = json.RawMessage(data) return nil } -func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { - type embed DocFormsImportData200ResponseMetaCacheDeltaPagesItem +func (d *DocPagesDelete200Response) MarshalJSON() ([]byte, error) { + type embed DocPagesDelete200Response var marshaler = struct { embed }{ embed: embed(*d), } explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) + return internal.MarshalJSONWithExtraProperties(explicitMarshaler, d.ExtraProperties) } -func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItem) String() string { +func (d *DocPagesDelete200Response) String() string { if d == nil { return "" } @@ -124768,13 +131002,13 @@ func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItem) String() string { } var ( - docFormsImportData200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) - docFormsImportData200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) + docPagesDelete200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) + docPagesDelete200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) ) -type DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache struct { - ContentVersion int `json:"contentVersion" url:"contentVersion"` - AnnotationVersion int `json:"annotationVersion" url:"annotationVersion"` +type DocPagesDelete200ResponseMeta struct { + AffectedPages []*DocPagesDelete200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` + CacheDelta *DocPagesDelete200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -124783,55 +131017,55 @@ type DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache struct { rawJSON json.RawMessage } -func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { +func (d *DocPagesDelete200ResponseMeta) GetAffectedPages() []*DocPagesDelete200ResponseMetaAffectedPagesItem { if d == nil { - return 0 + return nil } - return d.ContentVersion + return d.AffectedPages } -func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { +func (d *DocPagesDelete200ResponseMeta) GetCacheDelta() *DocPagesDelete200ResponseMetaCacheDelta { if d == nil { - return 0 + return nil } - return d.AnnotationVersion + return d.CacheDelta } -func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { +func (d *DocPagesDelete200ResponseMeta) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { +func (d *DocPagesDelete200ResponseMeta) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetContentVersion sets the ContentVersion field and marks it as non-optional; +// SetAffectedPages sets the AffectedPages field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { - d.ContentVersion = contentVersion - d.require(docFormsImportData200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) +func (d *DocPagesDelete200ResponseMeta) SetAffectedPages(affectedPages []*DocPagesDelete200ResponseMetaAffectedPagesItem) { + d.AffectedPages = affectedPages + d.require(docPagesDelete200ResponseMetaFieldAffectedPages) } -// SetAnnotationVersion sets the AnnotationVersion field and marks it as non-optional; +// SetCacheDelta sets the CacheDelta field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { - d.AnnotationVersion = annotationVersion - d.require(docFormsImportData200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) +func (d *DocPagesDelete200ResponseMeta) SetCacheDelta(cacheDelta *DocPagesDelete200ResponseMetaCacheDelta) { + d.CacheDelta = cacheDelta + d.require(docPagesDelete200ResponseMetaFieldCacheDelta) } -func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache +func (d *DocPagesDelete200ResponseMeta) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesDelete200ResponseMeta var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache(value) + *d = DocPagesDelete200ResponseMeta(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -124841,8 +131075,8 @@ func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSO return nil } -func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { - type embed DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache +func (d *DocPagesDelete200ResponseMeta) MarshalJSON() ([]byte, error) { + type embed DocPagesDelete200ResponseMeta var marshaler = struct { embed }{ @@ -124852,7 +131086,7 @@ func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON( return json.Marshal(explicitMarshaler) } -func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) String() string { +func (d *DocPagesDelete200ResponseMeta) String() string { if d == nil { return "" } @@ -124868,17 +131102,15 @@ func (d *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache) String() str } var ( - docFormsImportData400ResponseFieldName = big.NewInt(1 << 0) - docFormsImportData400ResponseFieldCode = big.NewInt(1 << 1) - docFormsImportData400ResponseFieldMessage = big.NewInt(1 << 2) - docFormsImportData400ResponseFieldDetails = big.NewInt(1 << 3) + docPagesDelete200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docPagesDelete200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) + docPagesDelete200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) ) -type DocFormsImportData400Response struct { - Name DocFormsImportData400ResponseName `json:"name" url:"name"` - Code DocFormsImportData400ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocPagesDelete200ResponseMetaAffectedPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Revision *DocPagesDelete200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` + WeakAnnotationState *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -124887,83 +131119,69 @@ type DocFormsImportData400Response struct { rawJSON json.RawMessage } -func (d *DocFormsImportData400Response) GetName() DocFormsImportData400ResponseName { - if d == nil { - return "" - } - return d.Name -} - -func (d *DocFormsImportData400Response) GetCode() DocFormsImportData400ResponseCode { +func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { if d == nil { - return "" + return 0 } - return d.Code + return d.PageObjectNumber } -func (d *DocFormsImportData400Response) GetMessage() string { +func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) GetRevision() *DocPagesDelete200ResponseMetaAffectedPagesItemRevision { if d == nil { - return "" + return nil } - return d.Message + return d.Revision } -func (d *DocFormsImportData400Response) GetDetails() map[string]any { +func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState { if d == nil { return nil } - return d.Details + return d.WeakAnnotationState } -func (d *DocFormsImportData400Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsImportData400Response) require(field *big.Int) { +func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetName sets the Name field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData400Response) SetName(name DocFormsImportData400ResponseName) { - d.Name = name - d.require(docFormsImportData400ResponseFieldName) -} - -// SetCode sets the Code field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData400Response) SetCode(code DocFormsImportData400ResponseCode) { - d.Code = code - d.require(docFormsImportData400ResponseFieldCode) +func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docPagesDelete200ResponseMetaAffectedPagesItemFieldPageObjectNumber) } -// SetMessage sets the Message field and marks it as non-optional; +// SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData400Response) SetMessage(message string) { - d.Message = message - d.require(docFormsImportData400ResponseFieldMessage) +func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) SetRevision(revision *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) { + d.Revision = revision + d.require(docPagesDelete200ResponseMetaAffectedPagesItemFieldRevision) } -// SetDetails sets the Details field and marks it as non-optional; +// SetWeakAnnotationState sets the WeakAnnotationState field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData400Response) SetDetails(details map[string]any) { - d.Details = details - d.require(docFormsImportData400ResponseFieldDetails) +func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState) { + d.WeakAnnotationState = weakAnnotationState + d.require(docPagesDelete200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) } -func (d *DocFormsImportData400Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsImportData400Response +func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesDelete200ResponseMetaAffectedPagesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsImportData400Response(value) + *d = DocPagesDelete200ResponseMetaAffectedPagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -124973,8 +131191,8 @@ func (d *DocFormsImportData400Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocFormsImportData400Response) MarshalJSON() ([]byte, error) { - type embed DocFormsImportData400Response +func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { + type embed DocPagesDelete200ResponseMetaAffectedPagesItem var marshaler = struct { embed }{ @@ -124984,7 +131202,7 @@ func (d *DocFormsImportData400Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocFormsImportData400Response) String() string { +func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) String() string { if d == nil { return "" } @@ -124999,110 +131217,16 @@ func (d *DocFormsImportData400Response) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsImportData400ResponseCode string - -const ( - DocFormsImportData400ResponseCodeUnknown DocFormsImportData400ResponseCode = "Unknown" - DocFormsImportData400ResponseCodeInvalidArg DocFormsImportData400ResponseCode = "InvalidArg" - DocFormsImportData400ResponseCodeDocNotOpen DocFormsImportData400ResponseCode = "DocNotOpen" - DocFormsImportData400ResponseCodeDocOpenFailed DocFormsImportData400ResponseCode = "DocOpenFailed" - DocFormsImportData400ResponseCodeDocPasswordRequired DocFormsImportData400ResponseCode = "DocPasswordRequired" - DocFormsImportData400ResponseCodeDocPasswordIncorrect DocFormsImportData400ResponseCode = "DocPasswordIncorrect" - DocFormsImportData400ResponseCodeSharePasswordRequired DocFormsImportData400ResponseCode = "SharePasswordRequired" - DocFormsImportData400ResponseCodeAborted DocFormsImportData400ResponseCode = "Aborted" - DocFormsImportData400ResponseCodeNetwork DocFormsImportData400ResponseCode = "Network" - DocFormsImportData400ResponseCodeUnauthenticated DocFormsImportData400ResponseCode = "Unauthenticated" - DocFormsImportData400ResponseCodeForbidden DocFormsImportData400ResponseCode = "Forbidden" - DocFormsImportData400ResponseCodeNotFound DocFormsImportData400ResponseCode = "NotFound" - DocFormsImportData400ResponseCodeWireFormat DocFormsImportData400ResponseCode = "WireFormat" - DocFormsImportData400ResponseCodeRuntimeUnavailable DocFormsImportData400ResponseCode = "RuntimeUnavailable" - DocFormsImportData400ResponseCodeInvalidReference DocFormsImportData400ResponseCode = "InvalidReference" - DocFormsImportData400ResponseCodeWeakAnnotationSessionConflict DocFormsImportData400ResponseCode = "WeakAnnotationSessionConflict" - DocFormsImportData400ResponseCodeLayerVersionConflict DocFormsImportData400ResponseCode = "LayerVersionConflict" - DocFormsImportData400ResponseCodeNotImplemented DocFormsImportData400ResponseCode = "NotImplemented" - DocFormsImportData400ResponseCodeMalformedPdf DocFormsImportData400ResponseCode = "MalformedPdf" -) - -func NewDocFormsImportData400ResponseCodeFromString(s string) (DocFormsImportData400ResponseCode, error) { - switch s { - case "Unknown": - return DocFormsImportData400ResponseCodeUnknown, nil - case "InvalidArg": - return DocFormsImportData400ResponseCodeInvalidArg, nil - case "DocNotOpen": - return DocFormsImportData400ResponseCodeDocNotOpen, nil - case "DocOpenFailed": - return DocFormsImportData400ResponseCodeDocOpenFailed, nil - case "DocPasswordRequired": - return DocFormsImportData400ResponseCodeDocPasswordRequired, nil - case "DocPasswordIncorrect": - return DocFormsImportData400ResponseCodeDocPasswordIncorrect, nil - case "SharePasswordRequired": - return DocFormsImportData400ResponseCodeSharePasswordRequired, nil - case "Aborted": - return DocFormsImportData400ResponseCodeAborted, nil - case "Network": - return DocFormsImportData400ResponseCodeNetwork, nil - case "Unauthenticated": - return DocFormsImportData400ResponseCodeUnauthenticated, nil - case "Forbidden": - return DocFormsImportData400ResponseCodeForbidden, nil - case "NotFound": - return DocFormsImportData400ResponseCodeNotFound, nil - case "WireFormat": - return DocFormsImportData400ResponseCodeWireFormat, nil - case "RuntimeUnavailable": - return DocFormsImportData400ResponseCodeRuntimeUnavailable, nil - case "InvalidReference": - return DocFormsImportData400ResponseCodeInvalidReference, nil - case "WeakAnnotationSessionConflict": - return DocFormsImportData400ResponseCodeWeakAnnotationSessionConflict, nil - case "LayerVersionConflict": - return DocFormsImportData400ResponseCodeLayerVersionConflict, nil - case "NotImplemented": - return DocFormsImportData400ResponseCodeNotImplemented, nil - case "MalformedPdf": - return DocFormsImportData400ResponseCodeMalformedPdf, nil - } - var t DocFormsImportData400ResponseCode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocFormsImportData400ResponseCode) Ptr() *DocFormsImportData400ResponseCode { - return &d -} - -type DocFormsImportData400ResponseName string - -const ( - DocFormsImportData400ResponseNameEngineError DocFormsImportData400ResponseName = "EngineError" -) - -func NewDocFormsImportData400ResponseNameFromString(s string) (DocFormsImportData400ResponseName, error) { - switch s { - case "EngineError": - return DocFormsImportData400ResponseNameEngineError, nil - } - var t DocFormsImportData400ResponseName - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocFormsImportData400ResponseName) Ptr() *DocFormsImportData400ResponseName { - return &d -} - var ( - docFormsImportData404ResponseFieldName = big.NewInt(1 << 0) - docFormsImportData404ResponseFieldCode = big.NewInt(1 << 1) - docFormsImportData404ResponseFieldMessage = big.NewInt(1 << 2) - docFormsImportData404ResponseFieldDetails = big.NewInt(1 << 3) + docPagesDelete200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) + docPagesDelete200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docPagesDelete200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocFormsImportData404Response struct { - Name DocFormsImportData404ResponseName `json:"name" url:"name"` - Code DocFormsImportData404ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocPagesDelete200ResponseMetaAffectedPagesItemRevision struct { + DocSessionID string `json:"docSessionId" url:"docSessionId"` + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Generation int `json:"generation" url:"generation"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -125111,83 +131235,69 @@ type DocFormsImportData404Response struct { rawJSON json.RawMessage } -func (d *DocFormsImportData404Response) GetName() DocFormsImportData404ResponseName { - if d == nil { - return "" - } - return d.Name -} - -func (d *DocFormsImportData404Response) GetCode() DocFormsImportData404ResponseCode { +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { if d == nil { return "" } - return d.Code + return d.DocSessionID } -func (d *DocFormsImportData404Response) GetMessage() string { +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { if d == nil { - return "" + return 0 } - return d.Message + return d.PageObjectNumber } -func (d *DocFormsImportData404Response) GetDetails() map[string]any { +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { if d == nil { - return nil + return 0 } - return d.Details + return d.Generation } -func (d *DocFormsImportData404Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsImportData404Response) require(field *big.Int) { +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetName sets the Name field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData404Response) SetName(name DocFormsImportData404ResponseName) { - d.Name = name - d.require(docFormsImportData404ResponseFieldName) -} - -// SetCode sets the Code field and marks it as non-optional; +// SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData404Response) SetCode(code DocFormsImportData404ResponseCode) { - d.Code = code - d.require(docFormsImportData404ResponseFieldCode) +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { + d.DocSessionID = docSessionID + d.require(docPagesDelete200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) } -// SetMessage sets the Message field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData404Response) SetMessage(message string) { - d.Message = message - d.require(docFormsImportData404ResponseFieldMessage) +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docPagesDelete200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) } -// SetDetails sets the Details field and marks it as non-optional; +// SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsImportData404Response) SetDetails(details map[string]any) { - d.Details = details - d.require(docFormsImportData404ResponseFieldDetails) +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { + d.Generation = generation + d.require(docPagesDelete200ResponseMetaAffectedPagesItemRevisionFieldGeneration) } -func (d *DocFormsImportData404Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsImportData404Response +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesDelete200ResponseMetaAffectedPagesItemRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsImportData404Response(value) + *d = DocPagesDelete200ResponseMetaAffectedPagesItemRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -125197,8 +131307,8 @@ func (d *DocFormsImportData404Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocFormsImportData404Response) MarshalJSON() ([]byte, error) { - type embed DocFormsImportData404Response +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { + type embed DocPagesDelete200ResponseMetaAffectedPagesItemRevision var marshaler = struct { embed }{ @@ -125208,7 +131318,7 @@ func (d *DocFormsImportData404Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocFormsImportData404Response) String() string { +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) String() string { if d == nil { return "" } @@ -125223,197 +131333,138 @@ func (d *DocFormsImportData404Response) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsImportData404ResponseCode string - -const ( - DocFormsImportData404ResponseCodeUnknown DocFormsImportData404ResponseCode = "Unknown" - DocFormsImportData404ResponseCodeInvalidArg DocFormsImportData404ResponseCode = "InvalidArg" - DocFormsImportData404ResponseCodeDocNotOpen DocFormsImportData404ResponseCode = "DocNotOpen" - DocFormsImportData404ResponseCodeDocOpenFailed DocFormsImportData404ResponseCode = "DocOpenFailed" - DocFormsImportData404ResponseCodeDocPasswordRequired DocFormsImportData404ResponseCode = "DocPasswordRequired" - DocFormsImportData404ResponseCodeDocPasswordIncorrect DocFormsImportData404ResponseCode = "DocPasswordIncorrect" - DocFormsImportData404ResponseCodeSharePasswordRequired DocFormsImportData404ResponseCode = "SharePasswordRequired" - DocFormsImportData404ResponseCodeAborted DocFormsImportData404ResponseCode = "Aborted" - DocFormsImportData404ResponseCodeNetwork DocFormsImportData404ResponseCode = "Network" - DocFormsImportData404ResponseCodeUnauthenticated DocFormsImportData404ResponseCode = "Unauthenticated" - DocFormsImportData404ResponseCodeForbidden DocFormsImportData404ResponseCode = "Forbidden" - DocFormsImportData404ResponseCodeNotFound DocFormsImportData404ResponseCode = "NotFound" - DocFormsImportData404ResponseCodeWireFormat DocFormsImportData404ResponseCode = "WireFormat" - DocFormsImportData404ResponseCodeRuntimeUnavailable DocFormsImportData404ResponseCode = "RuntimeUnavailable" - DocFormsImportData404ResponseCodeInvalidReference DocFormsImportData404ResponseCode = "InvalidReference" - DocFormsImportData404ResponseCodeWeakAnnotationSessionConflict DocFormsImportData404ResponseCode = "WeakAnnotationSessionConflict" - DocFormsImportData404ResponseCodeLayerVersionConflict DocFormsImportData404ResponseCode = "LayerVersionConflict" - DocFormsImportData404ResponseCodeNotImplemented DocFormsImportData404ResponseCode = "NotImplemented" - DocFormsImportData404ResponseCodeMalformedPdf DocFormsImportData404ResponseCode = "MalformedPdf" -) - -func NewDocFormsImportData404ResponseCodeFromString(s string) (DocFormsImportData404ResponseCode, error) { - switch s { - case "Unknown": - return DocFormsImportData404ResponseCodeUnknown, nil - case "InvalidArg": - return DocFormsImportData404ResponseCodeInvalidArg, nil - case "DocNotOpen": - return DocFormsImportData404ResponseCodeDocNotOpen, nil - case "DocOpenFailed": - return DocFormsImportData404ResponseCodeDocOpenFailed, nil - case "DocPasswordRequired": - return DocFormsImportData404ResponseCodeDocPasswordRequired, nil - case "DocPasswordIncorrect": - return DocFormsImportData404ResponseCodeDocPasswordIncorrect, nil - case "SharePasswordRequired": - return DocFormsImportData404ResponseCodeSharePasswordRequired, nil - case "Aborted": - return DocFormsImportData404ResponseCodeAborted, nil - case "Network": - return DocFormsImportData404ResponseCodeNetwork, nil - case "Unauthenticated": - return DocFormsImportData404ResponseCodeUnauthenticated, nil - case "Forbidden": - return DocFormsImportData404ResponseCodeForbidden, nil - case "NotFound": - return DocFormsImportData404ResponseCodeNotFound, nil - case "WireFormat": - return DocFormsImportData404ResponseCodeWireFormat, nil - case "RuntimeUnavailable": - return DocFormsImportData404ResponseCodeRuntimeUnavailable, nil - case "InvalidReference": - return DocFormsImportData404ResponseCodeInvalidReference, nil - case "WeakAnnotationSessionConflict": - return DocFormsImportData404ResponseCodeWeakAnnotationSessionConflict, nil - case "LayerVersionConflict": - return DocFormsImportData404ResponseCodeLayerVersionConflict, nil - case "NotImplemented": - return DocFormsImportData404ResponseCodeNotImplemented, nil - case "MalformedPdf": - return DocFormsImportData404ResponseCodeMalformedPdf, nil - } - var t DocFormsImportData404ResponseCode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocFormsImportData404ResponseCode) Ptr() *DocFormsImportData404ResponseCode { - return &d -} - -type DocFormsImportData404ResponseName string - -const ( - DocFormsImportData404ResponseNameEngineError DocFormsImportData404ResponseName = "EngineError" -) - -func NewDocFormsImportData404ResponseNameFromString(s string) (DocFormsImportData404ResponseName, error) { - switch s { - case "EngineError": - return DocFormsImportData404ResponseNameEngineError, nil - } - var t DocFormsImportData404ResponseName - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocFormsImportData404ResponseName) Ptr() *DocFormsImportData404ResponseName { - return &d -} - -type DocFormsImportDataRequest = map[string]any - -var ( - docFormsReset200ResponseFieldMeta = big.NewInt(1 << 0) -) - -type DocFormsReset200Response struct { - Meta *DocFormsReset200ResponseMeta `json:"meta" url:"meta"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - ExtraProperties map[string]interface{} `json:"-" url:"-"` +type DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState struct { + Kind string + Unknown *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + Known *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown rawJSON json.RawMessage } -func (d *DocFormsReset200Response) GetMeta() *DocFormsReset200ResponseMeta { +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { if d == nil { - return nil + return "" } - return d.Meta + return d.Kind } -func (d *DocFormsReset200Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { if d == nil { return nil } - return d.ExtraProperties + return d.Unknown } -func (d *DocFormsReset200Response) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { + if d == nil { + return nil } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetMeta sets the Meta field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsReset200Response) SetMeta(meta *DocFormsReset200ResponseMeta) { - d.Meta = meta - d.require(docFormsReset200ResponseFieldMeta) + return d.Known } -func (d *DocFormsReset200Response) UnmarshalJSON(data []byte) error { - type embed DocFormsReset200Response - var unmarshaler = struct { - embed - }{ - embed: embed(*d), +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { + var unmarshaler struct { + Kind string `json:"kind"` } if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocFormsReset200Response(unmarshaler.embed) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err + d.Kind = unmarshaler.Kind + if unmarshaler.Kind == "" { + return fmt.Errorf("%T did not include discriminant kind", d) + } + switch unmarshaler.Kind { + case "unknown": + value := new(DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Unknown = value + case "known": + value := new(DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) + if err := json.Unmarshal(data, &value); err != nil { + return err + } + d.Known = value } - d.ExtraProperties = extraProperties d.rawJSON = json.RawMessage(data) return nil } -func (d *DocFormsReset200Response) MarshalJSON() ([]byte, error) { - type embed DocFormsReset200Response - var marshaler = struct { - embed - }{ - embed: embed(*d), +func (d DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { + if err := d.validate(); err != nil { + return nil, err } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return internal.MarshalJSONWithExtraProperties(explicitMarshaler, d.ExtraProperties) + if d.Unknown != nil { + return internal.MarshalJSONWithExtraProperty(d.Unknown, "kind", "unknown") + } + if d.Known != nil { + return internal.MarshalJSONWithExtraProperty(d.Known, "kind", "known") + } + if len(d.rawJSON) > 0 { + return d.rawJSON, nil + } + return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsReset200Response) String() string { +type DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { + VisitUnknown(*DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error + VisitKnown(*DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error +} + +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { + if d.Unknown != nil { + return visitor.VisitUnknown(d.Unknown) + } + if d.Known != nil { + return visitor.VisitKnown(d.Known) + } + return fmt.Errorf("type %T does not define a non-empty union type", d) +} + +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { if d == nil { - return "" + return fmt.Errorf("type %T is nil", d) } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value + var fields []string + if d.Unknown != nil { + fields = append(fields, "unknown") + } + if d.Known != nil { + fields = append(fields, "known") + } + if len(fields) == 0 { + if d.Kind != "" { + if len(d.rawJSON) > 0 { + return nil + } + return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) } + return fmt.Errorf("type %T is empty", d) } - if value, err := internal.StringifyJSON(d); err == nil { - return value + if len(fields) > 1 { + return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) } - return fmt.Sprintf("%#v", d) + if d.Kind != "" { + field := fields[0] + if d.Kind != field { + return fmt.Errorf( + "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", + d, + d.Kind, + d, + ) + } + } + return nil } var ( - docFormsReset200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) - docFormsReset200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) + docPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) ) -type DocFormsReset200ResponseMeta struct { - AffectedPages []*DocFormsReset200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` - CacheDelta *DocFormsReset200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` +type DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { + HasAnyWeakAnnotations bool `json:"hasAnyWeakAnnotations" url:"hasAnyWeakAnnotations"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -125422,55 +131473,41 @@ type DocFormsReset200ResponseMeta struct { rawJSON json.RawMessage } -func (d *DocFormsReset200ResponseMeta) GetAffectedPages() []*DocFormsReset200ResponseMetaAffectedPagesItem { - if d == nil { - return nil - } - return d.AffectedPages -} - -func (d *DocFormsReset200ResponseMeta) GetCacheDelta() *DocFormsReset200ResponseMetaCacheDelta { +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { if d == nil { - return nil + return false } - return d.CacheDelta + return d.HasAnyWeakAnnotations } -func (d *DocFormsReset200ResponseMeta) GetExtraProperties() map[string]interface{} { +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsReset200ResponseMeta) require(field *big.Int) { +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetAffectedPages sets the AffectedPages field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsReset200ResponseMeta) SetAffectedPages(affectedPages []*DocFormsReset200ResponseMetaAffectedPagesItem) { - d.AffectedPages = affectedPages - d.require(docFormsReset200ResponseMetaFieldAffectedPages) -} - -// SetCacheDelta sets the CacheDelta field and marks it as non-optional; +// SetHasAnyWeakAnnotations sets the HasAnyWeakAnnotations field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsReset200ResponseMeta) SetCacheDelta(cacheDelta *DocFormsReset200ResponseMetaCacheDelta) { - d.CacheDelta = cacheDelta - d.require(docFormsReset200ResponseMetaFieldCacheDelta) +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { + d.HasAnyWeakAnnotations = hasAnyWeakAnnotations + d.require(docPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) } -func (d *DocFormsReset200ResponseMeta) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsReset200ResponseMeta +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsReset200ResponseMeta(value) + *d = DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -125480,8 +131517,8 @@ func (d *DocFormsReset200ResponseMeta) UnmarshalJSON(data []byte) error { return nil } -func (d *DocFormsReset200ResponseMeta) MarshalJSON() ([]byte, error) { - type embed DocFormsReset200ResponseMeta +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { + type embed DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown var marshaler = struct { embed }{ @@ -125491,7 +131528,7 @@ func (d *DocFormsReset200ResponseMeta) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocFormsReset200ResponseMeta) String() string { +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { if d == nil { return "" } @@ -125506,16 +131543,7 @@ func (d *DocFormsReset200ResponseMeta) String() string { return fmt.Sprintf("%#v", d) } -var ( - docFormsReset200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) - docFormsReset200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) - docFormsReset200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) -) - -type DocFormsReset200ResponseMetaAffectedPagesItem struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Revision *DocFormsReset200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` - WeakAnnotationState *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` +type DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -125524,69 +131552,27 @@ type DocFormsReset200ResponseMetaAffectedPagesItem struct { rawJSON json.RawMessage } -func (d *DocFormsReset200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocFormsReset200ResponseMetaAffectedPagesItem) GetRevision() *DocFormsReset200ResponseMetaAffectedPagesItemRevision { - if d == nil { - return nil - } - return d.Revision -} - -func (d *DocFormsReset200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState { - if d == nil { - return nil - } - return d.WeakAnnotationState -} - -func (d *DocFormsReset200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsReset200ResponseMetaAffectedPagesItem) require(field *big.Int) { +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsReset200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docFormsReset200ResponseMetaAffectedPagesItemFieldPageObjectNumber) -} - -// SetRevision sets the Revision field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsReset200ResponseMetaAffectedPagesItem) SetRevision(revision *DocFormsReset200ResponseMetaAffectedPagesItemRevision) { - d.Revision = revision - d.require(docFormsReset200ResponseMetaAffectedPagesItemFieldRevision) -} - -// SetWeakAnnotationState sets the WeakAnnotationState field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsReset200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState) { - d.WeakAnnotationState = weakAnnotationState - d.require(docFormsReset200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) -} - -func (d *DocFormsReset200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsReset200ResponseMetaAffectedPagesItem +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsReset200ResponseMetaAffectedPagesItem(value) + *d = DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -125596,8 +131582,8 @@ func (d *DocFormsReset200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byt return nil } -func (d *DocFormsReset200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { - type embed DocFormsReset200ResponseMetaAffectedPagesItem +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { + type embed DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var marshaler = struct { embed }{ @@ -125607,7 +131593,7 @@ func (d *DocFormsReset200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, e return json.Marshal(explicitMarshaler) } -func (d *DocFormsReset200ResponseMetaAffectedPagesItem) String() string { +func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { if d == nil { return "" } @@ -125623,15 +131609,17 @@ func (d *DocFormsReset200ResponseMetaAffectedPagesItem) String() string { } var ( - docFormsReset200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) - docFormsReset200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docFormsReset200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) + docPagesDelete200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) + docPagesDelete200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) + docPagesDelete200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) + docPagesDelete200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) ) -type DocFormsReset200ResponseMetaAffectedPagesItemRevision struct { - DocSessionID string `json:"docSessionId" url:"docSessionId"` - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Generation int `json:"generation" url:"generation"` +type DocPagesDelete200ResponseMetaCacheDelta struct { + PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` + DocVersion int `json:"docVersion" url:"docVersion"` + AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` + Pages []*DocPagesDelete200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -125640,69 +131628,83 @@ type DocFormsReset200ResponseMetaAffectedPagesItemRevision struct { rawJSON json.RawMessage } -func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { +func (d *DocPagesDelete200ResponseMetaCacheDelta) GetPreviousDocVersion() int { if d == nil { - return "" + return 0 } - return d.DocSessionID + return d.PreviousDocVersion } -func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { +func (d *DocPagesDelete200ResponseMetaCacheDelta) GetDocVersion() int { if d == nil { return 0 } - return d.PageObjectNumber + return d.DocVersion } -func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { +func (d *DocPagesDelete200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { if d == nil { - return 0 + return nil } - return d.Generation + return d.AnnotationsVersion } -func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { +func (d *DocPagesDelete200ResponseMetaCacheDelta) GetPages() []*DocPagesDelete200ResponseMetaCacheDeltaPagesItem { + if d == nil { + return nil + } + return d.Pages +} + +func (d *DocPagesDelete200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { +func (d *DocPagesDelete200ResponseMetaCacheDelta) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetDocSessionID sets the DocSessionID field and marks it as non-optional; +// SetPreviousDocVersion sets the PreviousDocVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { - d.DocSessionID = docSessionID - d.require(docFormsReset200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) +func (d *DocPagesDelete200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { + d.PreviousDocVersion = previousDocVersion + d.require(docPagesDelete200ResponseMetaCacheDeltaFieldPreviousDocVersion) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetDocVersion sets the DocVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docFormsReset200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) +func (d *DocPagesDelete200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { + d.DocVersion = docVersion + d.require(docPagesDelete200ResponseMetaCacheDeltaFieldDocVersion) +} + +// SetAnnotationsVersion sets the AnnotationsVersion field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocPagesDelete200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { + d.AnnotationsVersion = annotationsVersion + d.require(docPagesDelete200ResponseMetaCacheDeltaFieldAnnotationsVersion) } -// SetGeneration sets the Generation field and marks it as non-optional; +// SetPages sets the Pages field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { - d.Generation = generation - d.require(docFormsReset200ResponseMetaAffectedPagesItemRevisionFieldGeneration) +func (d *DocPagesDelete200ResponseMetaCacheDelta) SetPages(pages []*DocPagesDelete200ResponseMetaCacheDeltaPagesItem) { + d.Pages = pages + d.require(docPagesDelete200ResponseMetaCacheDeltaFieldPages) } -func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsReset200ResponseMetaAffectedPagesItemRevision +func (d *DocPagesDelete200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesDelete200ResponseMetaCacheDelta var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsReset200ResponseMetaAffectedPagesItemRevision(value) + *d = DocPagesDelete200ResponseMetaCacheDelta(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -125712,8 +131714,8 @@ func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(da return nil } -func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { - type embed DocFormsReset200ResponseMetaAffectedPagesItemRevision +func (d *DocPagesDelete200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { + type embed DocPagesDelete200ResponseMetaCacheDelta var marshaler = struct { embed }{ @@ -125723,7 +131725,7 @@ func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([ return json.Marshal(explicitMarshaler) } -func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) String() string { +func (d *DocPagesDelete200ResponseMetaCacheDelta) String() string { if d == nil { return "" } @@ -125738,138 +131740,14 @@ func (d *DocFormsReset200ResponseMetaAffectedPagesItemRevision) String() string return fmt.Sprintf("%#v", d) } -type DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState struct { - Kind string - Unknown *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown - Known *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown - - rawJSON json.RawMessage -} - -func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { - if d == nil { - return "" - } - return d.Kind -} - -func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { - if d == nil { - return nil - } - return d.Unknown -} - -func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { - if d == nil { - return nil - } - return d.Known -} - -func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { - var unmarshaler struct { - Kind string `json:"kind"` - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { - return err - } - d.Kind = unmarshaler.Kind - if unmarshaler.Kind == "" { - return fmt.Errorf("%T did not include discriminant kind", d) - } - switch unmarshaler.Kind { - case "unknown": - value := new(DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Unknown = value - case "known": - value := new(DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) - if err := json.Unmarshal(data, &value); err != nil { - return err - } - d.Known = value - } - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { - if err := d.validate(); err != nil { - return nil, err - } - if d.Unknown != nil { - return internal.MarshalJSONWithExtraProperty(d.Unknown, "kind", "unknown") - } - if d.Known != nil { - return internal.MarshalJSONWithExtraProperty(d.Known, "kind", "known") - } - if len(d.rawJSON) > 0 { - return d.rawJSON, nil - } - return nil, fmt.Errorf("type %T does not define a non-empty union type", d) -} - -type DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { - VisitUnknown(*DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error - VisitKnown(*DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error -} - -func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { - if d.Unknown != nil { - return visitor.VisitUnknown(d.Unknown) - } - if d.Known != nil { - return visitor.VisitKnown(d.Known) - } - return fmt.Errorf("type %T does not define a non-empty union type", d) -} - -func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { - if d == nil { - return fmt.Errorf("type %T is nil", d) - } - var fields []string - if d.Unknown != nil { - fields = append(fields, "unknown") - } - if d.Known != nil { - fields = append(fields, "known") - } - if len(fields) == 0 { - if d.Kind != "" { - if len(d.rawJSON) > 0 { - return nil - } - return fmt.Errorf("type %T defines a discriminant set to %q but the field is not set", d, d.Kind) - } - return fmt.Errorf("type %T is empty", d) - } - if len(fields) > 1 { - return fmt.Errorf("type %T defines values for %s, but only one value is allowed", d, fields) - } - if d.Kind != "" { - field := fields[0] - if d.Kind != field { - return fmt.Errorf( - "type %T defines a discriminant set to %q, but it does not match the %T field; either remove or update the discriminant to match", - d, - d.Kind, - d, - ) - } - } - return nil -} - var ( - docFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) + docPagesDelete200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docPagesDelete200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) ) -type DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { - HasAnyWeakAnnotations bool `json:"hasAnyWeakAnnotations" url:"hasAnyWeakAnnotations"` +type DocPagesDelete200ResponseMetaCacheDeltaPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Cache *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -125878,41 +131756,55 @@ type DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struc rawJSON json.RawMessage } -func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { +func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { if d == nil { - return false + return 0 } - return d.HasAnyWeakAnnotations + return d.PageObjectNumber } -func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { +func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItem) GetCache() *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache { + if d == nil { + return nil + } + return d.Cache +} + +func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { +func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetHasAnyWeakAnnotations sets the HasAnyWeakAnnotations field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { - d.HasAnyWeakAnnotations = hasAnyWeakAnnotations - d.require(docFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) +func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docPagesDelete200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) } -func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown +// SetCache sets the Cache field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) { + d.Cache = cache + d.require(docPagesDelete200ResponseMetaCacheDeltaPagesItemFieldCache) +} + +func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesDelete200ResponseMetaCacheDeltaPagesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) + *d = DocPagesDelete200ResponseMetaCacheDeltaPagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -125922,8 +131814,8 @@ func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) return nil } -func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { - type embed DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown +func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { + type embed DocPagesDelete200ResponseMetaCacheDeltaPagesItem var marshaler = struct { embed }{ @@ -125933,7 +131825,7 @@ func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) return json.Marshal(explicitMarshaler) } -func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { +func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItem) String() string { if d == nil { return "" } @@ -125948,7 +131840,14 @@ func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) return fmt.Sprintf("%#v", d) } -type DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { +var ( + docPagesDelete200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) + docPagesDelete200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) +) + +type DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache struct { + ContentVersion int `json:"contentVersion" url:"contentVersion"` + AnnotationVersion int `json:"annotationVersion" url:"annotationVersion"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -125957,27 +131856,55 @@ type DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown str rawJSON json.RawMessage } -func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { +func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { + if d == nil { + return 0 + } + return d.ContentVersion +} + +func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { + if d == nil { + return 0 + } + return d.AnnotationVersion +} + +func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { +func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown +// SetContentVersion sets the ContentVersion field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { + d.ContentVersion = contentVersion + d.require(docPagesDelete200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) +} + +// SetAnnotationVersion sets the AnnotationVersion field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { + d.AnnotationVersion = annotationVersion + d.require(docPagesDelete200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) +} + +func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) + *d = DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -125987,8 +131914,8 @@ func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown return nil } -func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { - type embed DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown +func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { + type embed DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache var marshaler = struct { embed }{ @@ -125998,7 +131925,7 @@ func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown return json.Marshal(explicitMarshaler) } -func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { +func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) String() string { if d == nil { return "" } @@ -126014,17 +131941,17 @@ func (d *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown } var ( - docFormsReset200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) - docFormsReset200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) - docFormsReset200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) - docFormsReset200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) + docPagesDelete400ResponseFieldName = big.NewInt(1 << 0) + docPagesDelete400ResponseFieldCode = big.NewInt(1 << 1) + docPagesDelete400ResponseFieldMessage = big.NewInt(1 << 2) + docPagesDelete400ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocFormsReset200ResponseMetaCacheDelta struct { - PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` - DocVersion int `json:"docVersion" url:"docVersion"` - AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` - Pages []*DocFormsReset200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` +type DocPagesDelete400Response struct { + Name DocPagesDelete400ResponseName `json:"name" url:"name"` + Code DocPagesDelete400ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -126033,83 +131960,83 @@ type DocFormsReset200ResponseMetaCacheDelta struct { rawJSON json.RawMessage } -func (d *DocFormsReset200ResponseMetaCacheDelta) GetPreviousDocVersion() int { +func (d *DocPagesDelete400Response) GetName() DocPagesDelete400ResponseName { if d == nil { - return 0 + return "" } - return d.PreviousDocVersion + return d.Name } -func (d *DocFormsReset200ResponseMetaCacheDelta) GetDocVersion() int { +func (d *DocPagesDelete400Response) GetCode() DocPagesDelete400ResponseCode { if d == nil { - return 0 + return "" } - return d.DocVersion + return d.Code } -func (d *DocFormsReset200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { +func (d *DocPagesDelete400Response) GetMessage() string { if d == nil { - return nil + return "" } - return d.AnnotationsVersion + return d.Message } -func (d *DocFormsReset200ResponseMetaCacheDelta) GetPages() []*DocFormsReset200ResponseMetaCacheDeltaPagesItem { +func (d *DocPagesDelete400Response) GetDetails() map[string]any { if d == nil { return nil } - return d.Pages + return d.Details } -func (d *DocFormsReset200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { +func (d *DocPagesDelete400Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsReset200ResponseMetaCacheDelta) require(field *big.Int) { +func (d *DocPagesDelete400Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPreviousDocVersion sets the PreviousDocVersion field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsReset200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { - d.PreviousDocVersion = previousDocVersion - d.require(docFormsReset200ResponseMetaCacheDeltaFieldPreviousDocVersion) +func (d *DocPagesDelete400Response) SetName(name DocPagesDelete400ResponseName) { + d.Name = name + d.require(docPagesDelete400ResponseFieldName) } -// SetDocVersion sets the DocVersion field and marks it as non-optional; +// SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsReset200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { - d.DocVersion = docVersion - d.require(docFormsReset200ResponseMetaCacheDeltaFieldDocVersion) +func (d *DocPagesDelete400Response) SetCode(code DocPagesDelete400ResponseCode) { + d.Code = code + d.require(docPagesDelete400ResponseFieldCode) } -// SetAnnotationsVersion sets the AnnotationsVersion field and marks it as non-optional; +// SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsReset200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { - d.AnnotationsVersion = annotationsVersion - d.require(docFormsReset200ResponseMetaCacheDeltaFieldAnnotationsVersion) +func (d *DocPagesDelete400Response) SetMessage(message string) { + d.Message = message + d.require(docPagesDelete400ResponseFieldMessage) } -// SetPages sets the Pages field and marks it as non-optional; +// SetDetails sets the Details field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsReset200ResponseMetaCacheDelta) SetPages(pages []*DocFormsReset200ResponseMetaCacheDeltaPagesItem) { - d.Pages = pages - d.require(docFormsReset200ResponseMetaCacheDeltaFieldPages) +func (d *DocPagesDelete400Response) SetDetails(details map[string]any) { + d.Details = details + d.require(docPagesDelete400ResponseFieldDetails) } -func (d *DocFormsReset200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsReset200ResponseMetaCacheDelta +func (d *DocPagesDelete400Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesDelete400Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsReset200ResponseMetaCacheDelta(value) + *d = DocPagesDelete400Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -126119,8 +132046,8 @@ func (d *DocFormsReset200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) erro return nil } -func (d *DocFormsReset200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { - type embed DocFormsReset200ResponseMetaCacheDelta +func (d *DocPagesDelete400Response) MarshalJSON() ([]byte, error) { + type embed DocPagesDelete400Response var marshaler = struct { embed }{ @@ -126130,7 +132057,7 @@ func (d *DocFormsReset200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocFormsReset200ResponseMetaCacheDelta) String() string { +func (d *DocPagesDelete400Response) String() string { if d == nil { return "" } @@ -126145,14 +132072,110 @@ func (d *DocFormsReset200ResponseMetaCacheDelta) String() string { return fmt.Sprintf("%#v", d) } +type DocPagesDelete400ResponseCode string + +const ( + DocPagesDelete400ResponseCodeUnknown DocPagesDelete400ResponseCode = "Unknown" + DocPagesDelete400ResponseCodeInvalidArg DocPagesDelete400ResponseCode = "InvalidArg" + DocPagesDelete400ResponseCodeDocNotOpen DocPagesDelete400ResponseCode = "DocNotOpen" + DocPagesDelete400ResponseCodeDocOpenFailed DocPagesDelete400ResponseCode = "DocOpenFailed" + DocPagesDelete400ResponseCodeDocPasswordRequired DocPagesDelete400ResponseCode = "DocPasswordRequired" + DocPagesDelete400ResponseCodeDocPasswordIncorrect DocPagesDelete400ResponseCode = "DocPasswordIncorrect" + DocPagesDelete400ResponseCodeSharePasswordRequired DocPagesDelete400ResponseCode = "SharePasswordRequired" + DocPagesDelete400ResponseCodeAborted DocPagesDelete400ResponseCode = "Aborted" + DocPagesDelete400ResponseCodeNetwork DocPagesDelete400ResponseCode = "Network" + DocPagesDelete400ResponseCodeUnauthenticated DocPagesDelete400ResponseCode = "Unauthenticated" + DocPagesDelete400ResponseCodeForbidden DocPagesDelete400ResponseCode = "Forbidden" + DocPagesDelete400ResponseCodeNotFound DocPagesDelete400ResponseCode = "NotFound" + DocPagesDelete400ResponseCodeWireFormat DocPagesDelete400ResponseCode = "WireFormat" + DocPagesDelete400ResponseCodeRuntimeUnavailable DocPagesDelete400ResponseCode = "RuntimeUnavailable" + DocPagesDelete400ResponseCodeInvalidReference DocPagesDelete400ResponseCode = "InvalidReference" + DocPagesDelete400ResponseCodeWeakAnnotationSessionConflict DocPagesDelete400ResponseCode = "WeakAnnotationSessionConflict" + DocPagesDelete400ResponseCodeLayerVersionConflict DocPagesDelete400ResponseCode = "LayerVersionConflict" + DocPagesDelete400ResponseCodeNotImplemented DocPagesDelete400ResponseCode = "NotImplemented" + DocPagesDelete400ResponseCodeMalformedPdf DocPagesDelete400ResponseCode = "MalformedPdf" +) + +func NewDocPagesDelete400ResponseCodeFromString(s string) (DocPagesDelete400ResponseCode, error) { + switch s { + case "Unknown": + return DocPagesDelete400ResponseCodeUnknown, nil + case "InvalidArg": + return DocPagesDelete400ResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocPagesDelete400ResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocPagesDelete400ResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocPagesDelete400ResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocPagesDelete400ResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocPagesDelete400ResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocPagesDelete400ResponseCodeAborted, nil + case "Network": + return DocPagesDelete400ResponseCodeNetwork, nil + case "Unauthenticated": + return DocPagesDelete400ResponseCodeUnauthenticated, nil + case "Forbidden": + return DocPagesDelete400ResponseCodeForbidden, nil + case "NotFound": + return DocPagesDelete400ResponseCodeNotFound, nil + case "WireFormat": + return DocPagesDelete400ResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocPagesDelete400ResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocPagesDelete400ResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocPagesDelete400ResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocPagesDelete400ResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocPagesDelete400ResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocPagesDelete400ResponseCodeMalformedPdf, nil + } + var t DocPagesDelete400ResponseCode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocPagesDelete400ResponseCode) Ptr() *DocPagesDelete400ResponseCode { + return &d +} + +type DocPagesDelete400ResponseName string + +const ( + DocPagesDelete400ResponseNameEngineError DocPagesDelete400ResponseName = "EngineError" +) + +func NewDocPagesDelete400ResponseNameFromString(s string) (DocPagesDelete400ResponseName, error) { + switch s { + case "EngineError": + return DocPagesDelete400ResponseNameEngineError, nil + } + var t DocPagesDelete400ResponseName + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocPagesDelete400ResponseName) Ptr() *DocPagesDelete400ResponseName { + return &d +} + var ( - docFormsReset200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) - docFormsReset200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) + docPagesDelete404ResponseFieldName = big.NewInt(1 << 0) + docPagesDelete404ResponseFieldCode = big.NewInt(1 << 1) + docPagesDelete404ResponseFieldMessage = big.NewInt(1 << 2) + docPagesDelete404ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocFormsReset200ResponseMetaCacheDeltaPagesItem struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Cache *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` +type DocPagesDelete404Response struct { + Name DocPagesDelete404ResponseName `json:"name" url:"name"` + Code DocPagesDelete404ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -126161,55 +132184,83 @@ type DocFormsReset200ResponseMetaCacheDeltaPagesItem struct { rawJSON json.RawMessage } -func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { +func (d *DocPagesDelete404Response) GetName() DocPagesDelete404ResponseName { if d == nil { - return 0 + return "" } - return d.PageObjectNumber + return d.Name } -func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItem) GetCache() *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache { +func (d *DocPagesDelete404Response) GetCode() DocPagesDelete404ResponseCode { + if d == nil { + return "" + } + return d.Code +} + +func (d *DocPagesDelete404Response) GetMessage() string { + if d == nil { + return "" + } + return d.Message +} + +func (d *DocPagesDelete404Response) GetDetails() map[string]any { if d == nil { return nil } - return d.Cache + return d.Details } -func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { +func (d *DocPagesDelete404Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { +func (d *DocPagesDelete404Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docFormsReset200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) +func (d *DocPagesDelete404Response) SetName(name DocPagesDelete404ResponseName) { + d.Name = name + d.require(docPagesDelete404ResponseFieldName) } -// SetCache sets the Cache field and marks it as non-optional; +// SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) { - d.Cache = cache - d.require(docFormsReset200ResponseMetaCacheDeltaPagesItemFieldCache) +func (d *DocPagesDelete404Response) SetCode(code DocPagesDelete404ResponseCode) { + d.Code = code + d.require(docPagesDelete404ResponseFieldCode) } -func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsReset200ResponseMetaCacheDeltaPagesItem +// SetMessage sets the Message field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocPagesDelete404Response) SetMessage(message string) { + d.Message = message + d.require(docPagesDelete404ResponseFieldMessage) +} + +// SetDetails sets the Details field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocPagesDelete404Response) SetDetails(details map[string]any) { + d.Details = details + d.require(docPagesDelete404ResponseFieldDetails) +} + +func (d *DocPagesDelete404Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesDelete404Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsReset200ResponseMetaCacheDeltaPagesItem(value) + *d = DocPagesDelete404Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -126219,8 +132270,8 @@ func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []b return nil } -func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { - type embed DocFormsReset200ResponseMetaCacheDeltaPagesItem +func (d *DocPagesDelete404Response) MarshalJSON() ([]byte, error) { + type embed DocPagesDelete404Response var marshaler = struct { embed }{ @@ -126230,7 +132281,7 @@ func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, return json.Marshal(explicitMarshaler) } -func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItem) String() string { +func (d *DocPagesDelete404Response) String() string { if d == nil { return "" } @@ -126245,14 +132296,112 @@ func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItem) String() string { return fmt.Sprintf("%#v", d) } +type DocPagesDelete404ResponseCode string + +const ( + DocPagesDelete404ResponseCodeUnknown DocPagesDelete404ResponseCode = "Unknown" + DocPagesDelete404ResponseCodeInvalidArg DocPagesDelete404ResponseCode = "InvalidArg" + DocPagesDelete404ResponseCodeDocNotOpen DocPagesDelete404ResponseCode = "DocNotOpen" + DocPagesDelete404ResponseCodeDocOpenFailed DocPagesDelete404ResponseCode = "DocOpenFailed" + DocPagesDelete404ResponseCodeDocPasswordRequired DocPagesDelete404ResponseCode = "DocPasswordRequired" + DocPagesDelete404ResponseCodeDocPasswordIncorrect DocPagesDelete404ResponseCode = "DocPasswordIncorrect" + DocPagesDelete404ResponseCodeSharePasswordRequired DocPagesDelete404ResponseCode = "SharePasswordRequired" + DocPagesDelete404ResponseCodeAborted DocPagesDelete404ResponseCode = "Aborted" + DocPagesDelete404ResponseCodeNetwork DocPagesDelete404ResponseCode = "Network" + DocPagesDelete404ResponseCodeUnauthenticated DocPagesDelete404ResponseCode = "Unauthenticated" + DocPagesDelete404ResponseCodeForbidden DocPagesDelete404ResponseCode = "Forbidden" + DocPagesDelete404ResponseCodeNotFound DocPagesDelete404ResponseCode = "NotFound" + DocPagesDelete404ResponseCodeWireFormat DocPagesDelete404ResponseCode = "WireFormat" + DocPagesDelete404ResponseCodeRuntimeUnavailable DocPagesDelete404ResponseCode = "RuntimeUnavailable" + DocPagesDelete404ResponseCodeInvalidReference DocPagesDelete404ResponseCode = "InvalidReference" + DocPagesDelete404ResponseCodeWeakAnnotationSessionConflict DocPagesDelete404ResponseCode = "WeakAnnotationSessionConflict" + DocPagesDelete404ResponseCodeLayerVersionConflict DocPagesDelete404ResponseCode = "LayerVersionConflict" + DocPagesDelete404ResponseCodeNotImplemented DocPagesDelete404ResponseCode = "NotImplemented" + DocPagesDelete404ResponseCodeMalformedPdf DocPagesDelete404ResponseCode = "MalformedPdf" +) + +func NewDocPagesDelete404ResponseCodeFromString(s string) (DocPagesDelete404ResponseCode, error) { + switch s { + case "Unknown": + return DocPagesDelete404ResponseCodeUnknown, nil + case "InvalidArg": + return DocPagesDelete404ResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocPagesDelete404ResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocPagesDelete404ResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocPagesDelete404ResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocPagesDelete404ResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocPagesDelete404ResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocPagesDelete404ResponseCodeAborted, nil + case "Network": + return DocPagesDelete404ResponseCodeNetwork, nil + case "Unauthenticated": + return DocPagesDelete404ResponseCodeUnauthenticated, nil + case "Forbidden": + return DocPagesDelete404ResponseCodeForbidden, nil + case "NotFound": + return DocPagesDelete404ResponseCodeNotFound, nil + case "WireFormat": + return DocPagesDelete404ResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocPagesDelete404ResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocPagesDelete404ResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocPagesDelete404ResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocPagesDelete404ResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocPagesDelete404ResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocPagesDelete404ResponseCodeMalformedPdf, nil + } + var t DocPagesDelete404ResponseCode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocPagesDelete404ResponseCode) Ptr() *DocPagesDelete404ResponseCode { + return &d +} + +type DocPagesDelete404ResponseName string + +const ( + DocPagesDelete404ResponseNameEngineError DocPagesDelete404ResponseName = "EngineError" +) + +func NewDocPagesDelete404ResponseNameFromString(s string) (DocPagesDelete404ResponseName, error) { + switch s { + case "EngineError": + return DocPagesDelete404ResponseNameEngineError, nil + } + var t DocPagesDelete404ResponseName + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocPagesDelete404ResponseName) Ptr() *DocPagesDelete404ResponseName { + return &d +} + +type DocPagesDeleteRequest = map[string]any + var ( - docFormsReset200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) - docFormsReset200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) + docPagesExtract400ResponseFieldName = big.NewInt(1 << 0) + docPagesExtract400ResponseFieldCode = big.NewInt(1 << 1) + docPagesExtract400ResponseFieldMessage = big.NewInt(1 << 2) + docPagesExtract400ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocFormsReset200ResponseMetaCacheDeltaPagesItemCache struct { - ContentVersion int `json:"contentVersion" url:"contentVersion"` - AnnotationVersion int `json:"annotationVersion" url:"annotationVersion"` +type DocPagesExtract400Response struct { + Name DocPagesExtract400ResponseName `json:"name" url:"name"` + Code DocPagesExtract400ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -126261,55 +132410,83 @@ type DocFormsReset200ResponseMetaCacheDeltaPagesItemCache struct { rawJSON json.RawMessage } -func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { +func (d *DocPagesExtract400Response) GetName() DocPagesExtract400ResponseName { if d == nil { - return 0 + return "" } - return d.ContentVersion + return d.Name } -func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { +func (d *DocPagesExtract400Response) GetCode() DocPagesExtract400ResponseCode { if d == nil { - return 0 + return "" } - return d.AnnotationVersion + return d.Code } -func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { +func (d *DocPagesExtract400Response) GetMessage() string { + if d == nil { + return "" + } + return d.Message +} + +func (d *DocPagesExtract400Response) GetDetails() map[string]any { + if d == nil { + return nil + } + return d.Details +} + +func (d *DocPagesExtract400Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { +func (d *DocPagesExtract400Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetContentVersion sets the ContentVersion field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { - d.ContentVersion = contentVersion - d.require(docFormsReset200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) +func (d *DocPagesExtract400Response) SetName(name DocPagesExtract400ResponseName) { + d.Name = name + d.require(docPagesExtract400ResponseFieldName) } -// SetAnnotationVersion sets the AnnotationVersion field and marks it as non-optional; +// SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { - d.AnnotationVersion = annotationVersion - d.require(docFormsReset200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) +func (d *DocPagesExtract400Response) SetCode(code DocPagesExtract400ResponseCode) { + d.Code = code + d.require(docPagesExtract400ResponseFieldCode) } -func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsReset200ResponseMetaCacheDeltaPagesItemCache +// SetMessage sets the Message field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocPagesExtract400Response) SetMessage(message string) { + d.Message = message + d.require(docPagesExtract400ResponseFieldMessage) +} + +// SetDetails sets the Details field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocPagesExtract400Response) SetDetails(details map[string]any) { + d.Details = details + d.require(docPagesExtract400ResponseFieldDetails) +} + +func (d *DocPagesExtract400Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesExtract400Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsReset200ResponseMetaCacheDeltaPagesItemCache(value) + *d = DocPagesExtract400Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -126319,8 +132496,8 @@ func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(dat return nil } -func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { - type embed DocFormsReset200ResponseMetaCacheDeltaPagesItemCache +func (d *DocPagesExtract400Response) MarshalJSON() ([]byte, error) { + type embed DocPagesExtract400Response var marshaler = struct { embed }{ @@ -126330,7 +132507,7 @@ func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([] return json.Marshal(explicitMarshaler) } -func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) String() string { +func (d *DocPagesExtract400Response) String() string { if d == nil { return "" } @@ -126345,18 +132522,110 @@ func (d *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache) String() string { return fmt.Sprintf("%#v", d) } +type DocPagesExtract400ResponseCode string + +const ( + DocPagesExtract400ResponseCodeUnknown DocPagesExtract400ResponseCode = "Unknown" + DocPagesExtract400ResponseCodeInvalidArg DocPagesExtract400ResponseCode = "InvalidArg" + DocPagesExtract400ResponseCodeDocNotOpen DocPagesExtract400ResponseCode = "DocNotOpen" + DocPagesExtract400ResponseCodeDocOpenFailed DocPagesExtract400ResponseCode = "DocOpenFailed" + DocPagesExtract400ResponseCodeDocPasswordRequired DocPagesExtract400ResponseCode = "DocPasswordRequired" + DocPagesExtract400ResponseCodeDocPasswordIncorrect DocPagesExtract400ResponseCode = "DocPasswordIncorrect" + DocPagesExtract400ResponseCodeSharePasswordRequired DocPagesExtract400ResponseCode = "SharePasswordRequired" + DocPagesExtract400ResponseCodeAborted DocPagesExtract400ResponseCode = "Aborted" + DocPagesExtract400ResponseCodeNetwork DocPagesExtract400ResponseCode = "Network" + DocPagesExtract400ResponseCodeUnauthenticated DocPagesExtract400ResponseCode = "Unauthenticated" + DocPagesExtract400ResponseCodeForbidden DocPagesExtract400ResponseCode = "Forbidden" + DocPagesExtract400ResponseCodeNotFound DocPagesExtract400ResponseCode = "NotFound" + DocPagesExtract400ResponseCodeWireFormat DocPagesExtract400ResponseCode = "WireFormat" + DocPagesExtract400ResponseCodeRuntimeUnavailable DocPagesExtract400ResponseCode = "RuntimeUnavailable" + DocPagesExtract400ResponseCodeInvalidReference DocPagesExtract400ResponseCode = "InvalidReference" + DocPagesExtract400ResponseCodeWeakAnnotationSessionConflict DocPagesExtract400ResponseCode = "WeakAnnotationSessionConflict" + DocPagesExtract400ResponseCodeLayerVersionConflict DocPagesExtract400ResponseCode = "LayerVersionConflict" + DocPagesExtract400ResponseCodeNotImplemented DocPagesExtract400ResponseCode = "NotImplemented" + DocPagesExtract400ResponseCodeMalformedPdf DocPagesExtract400ResponseCode = "MalformedPdf" +) + +func NewDocPagesExtract400ResponseCodeFromString(s string) (DocPagesExtract400ResponseCode, error) { + switch s { + case "Unknown": + return DocPagesExtract400ResponseCodeUnknown, nil + case "InvalidArg": + return DocPagesExtract400ResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocPagesExtract400ResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocPagesExtract400ResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocPagesExtract400ResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocPagesExtract400ResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocPagesExtract400ResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocPagesExtract400ResponseCodeAborted, nil + case "Network": + return DocPagesExtract400ResponseCodeNetwork, nil + case "Unauthenticated": + return DocPagesExtract400ResponseCodeUnauthenticated, nil + case "Forbidden": + return DocPagesExtract400ResponseCodeForbidden, nil + case "NotFound": + return DocPagesExtract400ResponseCodeNotFound, nil + case "WireFormat": + return DocPagesExtract400ResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocPagesExtract400ResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocPagesExtract400ResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocPagesExtract400ResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocPagesExtract400ResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocPagesExtract400ResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocPagesExtract400ResponseCodeMalformedPdf, nil + } + var t DocPagesExtract400ResponseCode + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocPagesExtract400ResponseCode) Ptr() *DocPagesExtract400ResponseCode { + return &d +} + +type DocPagesExtract400ResponseName string + +const ( + DocPagesExtract400ResponseNameEngineError DocPagesExtract400ResponseName = "EngineError" +) + +func NewDocPagesExtract400ResponseNameFromString(s string) (DocPagesExtract400ResponseName, error) { + switch s { + case "EngineError": + return DocPagesExtract400ResponseNameEngineError, nil + } + var t DocPagesExtract400ResponseName + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocPagesExtract400ResponseName) Ptr() *DocPagesExtract400ResponseName { + return &d +} + var ( - docFormsReset404ResponseFieldName = big.NewInt(1 << 0) - docFormsReset404ResponseFieldCode = big.NewInt(1 << 1) - docFormsReset404ResponseFieldMessage = big.NewInt(1 << 2) - docFormsReset404ResponseFieldDetails = big.NewInt(1 << 3) + docPagesExtract404ResponseFieldName = big.NewInt(1 << 0) + docPagesExtract404ResponseFieldCode = big.NewInt(1 << 1) + docPagesExtract404ResponseFieldMessage = big.NewInt(1 << 2) + docPagesExtract404ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocFormsReset404Response struct { - Name DocFormsReset404ResponseName `json:"name" url:"name"` - Code DocFormsReset404ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocPagesExtract404Response struct { + Name DocPagesExtract404ResponseName `json:"name" url:"name"` + Code DocPagesExtract404ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -126365,42 +132634,42 @@ type DocFormsReset404Response struct { rawJSON json.RawMessage } -func (d *DocFormsReset404Response) GetName() DocFormsReset404ResponseName { +func (d *DocPagesExtract404Response) GetName() DocPagesExtract404ResponseName { if d == nil { return "" } return d.Name } -func (d *DocFormsReset404Response) GetCode() DocFormsReset404ResponseCode { +func (d *DocPagesExtract404Response) GetCode() DocPagesExtract404ResponseCode { if d == nil { return "" } return d.Code } -func (d *DocFormsReset404Response) GetMessage() string { +func (d *DocPagesExtract404Response) GetMessage() string { if d == nil { return "" } return d.Message } -func (d *DocFormsReset404Response) GetDetails() map[string]any { +func (d *DocPagesExtract404Response) GetDetails() map[string]any { if d == nil { return nil } return d.Details } -func (d *DocFormsReset404Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesExtract404Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsReset404Response) require(field *big.Int) { +func (d *DocPagesExtract404Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -126409,39 +132678,39 @@ func (d *DocFormsReset404Response) require(field *big.Int) { // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsReset404Response) SetName(name DocFormsReset404ResponseName) { +func (d *DocPagesExtract404Response) SetName(name DocPagesExtract404ResponseName) { d.Name = name - d.require(docFormsReset404ResponseFieldName) + d.require(docPagesExtract404ResponseFieldName) } // SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsReset404Response) SetCode(code DocFormsReset404ResponseCode) { +func (d *DocPagesExtract404Response) SetCode(code DocPagesExtract404ResponseCode) { d.Code = code - d.require(docFormsReset404ResponseFieldCode) + d.require(docPagesExtract404ResponseFieldCode) } // SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsReset404Response) SetMessage(message string) { +func (d *DocPagesExtract404Response) SetMessage(message string) { d.Message = message - d.require(docFormsReset404ResponseFieldMessage) + d.require(docPagesExtract404ResponseFieldMessage) } // SetDetails sets the Details field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsReset404Response) SetDetails(details map[string]any) { +func (d *DocPagesExtract404Response) SetDetails(details map[string]any) { d.Details = details - d.require(docFormsReset404ResponseFieldDetails) + d.require(docPagesExtract404ResponseFieldDetails) } -func (d *DocFormsReset404Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsReset404Response +func (d *DocPagesExtract404Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesExtract404Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsReset404Response(value) + *d = DocPagesExtract404Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -126451,8 +132720,8 @@ func (d *DocFormsReset404Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocFormsReset404Response) MarshalJSON() ([]byte, error) { - type embed DocFormsReset404Response +func (d *DocPagesExtract404Response) MarshalJSON() ([]byte, error) { + type embed DocPagesExtract404Response var marshaler = struct { embed }{ @@ -126462,7 +132731,7 @@ func (d *DocFormsReset404Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocFormsReset404Response) String() string { +func (d *DocPagesExtract404Response) String() string { if d == nil { return "" } @@ -126477,104 +132746,106 @@ func (d *DocFormsReset404Response) String() string { return fmt.Sprintf("%#v", d) } -type DocFormsReset404ResponseCode string +type DocPagesExtract404ResponseCode string const ( - DocFormsReset404ResponseCodeUnknown DocFormsReset404ResponseCode = "Unknown" - DocFormsReset404ResponseCodeInvalidArg DocFormsReset404ResponseCode = "InvalidArg" - DocFormsReset404ResponseCodeDocNotOpen DocFormsReset404ResponseCode = "DocNotOpen" - DocFormsReset404ResponseCodeDocOpenFailed DocFormsReset404ResponseCode = "DocOpenFailed" - DocFormsReset404ResponseCodeDocPasswordRequired DocFormsReset404ResponseCode = "DocPasswordRequired" - DocFormsReset404ResponseCodeDocPasswordIncorrect DocFormsReset404ResponseCode = "DocPasswordIncorrect" - DocFormsReset404ResponseCodeSharePasswordRequired DocFormsReset404ResponseCode = "SharePasswordRequired" - DocFormsReset404ResponseCodeAborted DocFormsReset404ResponseCode = "Aborted" - DocFormsReset404ResponseCodeNetwork DocFormsReset404ResponseCode = "Network" - DocFormsReset404ResponseCodeUnauthenticated DocFormsReset404ResponseCode = "Unauthenticated" - DocFormsReset404ResponseCodeForbidden DocFormsReset404ResponseCode = "Forbidden" - DocFormsReset404ResponseCodeNotFound DocFormsReset404ResponseCode = "NotFound" - DocFormsReset404ResponseCodeWireFormat DocFormsReset404ResponseCode = "WireFormat" - DocFormsReset404ResponseCodeRuntimeUnavailable DocFormsReset404ResponseCode = "RuntimeUnavailable" - DocFormsReset404ResponseCodeInvalidReference DocFormsReset404ResponseCode = "InvalidReference" - DocFormsReset404ResponseCodeWeakAnnotationSessionConflict DocFormsReset404ResponseCode = "WeakAnnotationSessionConflict" - DocFormsReset404ResponseCodeLayerVersionConflict DocFormsReset404ResponseCode = "LayerVersionConflict" - DocFormsReset404ResponseCodeNotImplemented DocFormsReset404ResponseCode = "NotImplemented" - DocFormsReset404ResponseCodeMalformedPdf DocFormsReset404ResponseCode = "MalformedPdf" + DocPagesExtract404ResponseCodeUnknown DocPagesExtract404ResponseCode = "Unknown" + DocPagesExtract404ResponseCodeInvalidArg DocPagesExtract404ResponseCode = "InvalidArg" + DocPagesExtract404ResponseCodeDocNotOpen DocPagesExtract404ResponseCode = "DocNotOpen" + DocPagesExtract404ResponseCodeDocOpenFailed DocPagesExtract404ResponseCode = "DocOpenFailed" + DocPagesExtract404ResponseCodeDocPasswordRequired DocPagesExtract404ResponseCode = "DocPasswordRequired" + DocPagesExtract404ResponseCodeDocPasswordIncorrect DocPagesExtract404ResponseCode = "DocPasswordIncorrect" + DocPagesExtract404ResponseCodeSharePasswordRequired DocPagesExtract404ResponseCode = "SharePasswordRequired" + DocPagesExtract404ResponseCodeAborted DocPagesExtract404ResponseCode = "Aborted" + DocPagesExtract404ResponseCodeNetwork DocPagesExtract404ResponseCode = "Network" + DocPagesExtract404ResponseCodeUnauthenticated DocPagesExtract404ResponseCode = "Unauthenticated" + DocPagesExtract404ResponseCodeForbidden DocPagesExtract404ResponseCode = "Forbidden" + DocPagesExtract404ResponseCodeNotFound DocPagesExtract404ResponseCode = "NotFound" + DocPagesExtract404ResponseCodeWireFormat DocPagesExtract404ResponseCode = "WireFormat" + DocPagesExtract404ResponseCodeRuntimeUnavailable DocPagesExtract404ResponseCode = "RuntimeUnavailable" + DocPagesExtract404ResponseCodeInvalidReference DocPagesExtract404ResponseCode = "InvalidReference" + DocPagesExtract404ResponseCodeWeakAnnotationSessionConflict DocPagesExtract404ResponseCode = "WeakAnnotationSessionConflict" + DocPagesExtract404ResponseCodeLayerVersionConflict DocPagesExtract404ResponseCode = "LayerVersionConflict" + DocPagesExtract404ResponseCodeNotImplemented DocPagesExtract404ResponseCode = "NotImplemented" + DocPagesExtract404ResponseCodeMalformedPdf DocPagesExtract404ResponseCode = "MalformedPdf" ) -func NewDocFormsReset404ResponseCodeFromString(s string) (DocFormsReset404ResponseCode, error) { +func NewDocPagesExtract404ResponseCodeFromString(s string) (DocPagesExtract404ResponseCode, error) { switch s { case "Unknown": - return DocFormsReset404ResponseCodeUnknown, nil + return DocPagesExtract404ResponseCodeUnknown, nil case "InvalidArg": - return DocFormsReset404ResponseCodeInvalidArg, nil + return DocPagesExtract404ResponseCodeInvalidArg, nil case "DocNotOpen": - return DocFormsReset404ResponseCodeDocNotOpen, nil + return DocPagesExtract404ResponseCodeDocNotOpen, nil case "DocOpenFailed": - return DocFormsReset404ResponseCodeDocOpenFailed, nil + return DocPagesExtract404ResponseCodeDocOpenFailed, nil case "DocPasswordRequired": - return DocFormsReset404ResponseCodeDocPasswordRequired, nil + return DocPagesExtract404ResponseCodeDocPasswordRequired, nil case "DocPasswordIncorrect": - return DocFormsReset404ResponseCodeDocPasswordIncorrect, nil + return DocPagesExtract404ResponseCodeDocPasswordIncorrect, nil case "SharePasswordRequired": - return DocFormsReset404ResponseCodeSharePasswordRequired, nil + return DocPagesExtract404ResponseCodeSharePasswordRequired, nil case "Aborted": - return DocFormsReset404ResponseCodeAborted, nil + return DocPagesExtract404ResponseCodeAborted, nil case "Network": - return DocFormsReset404ResponseCodeNetwork, nil + return DocPagesExtract404ResponseCodeNetwork, nil case "Unauthenticated": - return DocFormsReset404ResponseCodeUnauthenticated, nil + return DocPagesExtract404ResponseCodeUnauthenticated, nil case "Forbidden": - return DocFormsReset404ResponseCodeForbidden, nil + return DocPagesExtract404ResponseCodeForbidden, nil case "NotFound": - return DocFormsReset404ResponseCodeNotFound, nil + return DocPagesExtract404ResponseCodeNotFound, nil case "WireFormat": - return DocFormsReset404ResponseCodeWireFormat, nil + return DocPagesExtract404ResponseCodeWireFormat, nil case "RuntimeUnavailable": - return DocFormsReset404ResponseCodeRuntimeUnavailable, nil + return DocPagesExtract404ResponseCodeRuntimeUnavailable, nil case "InvalidReference": - return DocFormsReset404ResponseCodeInvalidReference, nil + return DocPagesExtract404ResponseCodeInvalidReference, nil case "WeakAnnotationSessionConflict": - return DocFormsReset404ResponseCodeWeakAnnotationSessionConflict, nil + return DocPagesExtract404ResponseCodeWeakAnnotationSessionConflict, nil case "LayerVersionConflict": - return DocFormsReset404ResponseCodeLayerVersionConflict, nil + return DocPagesExtract404ResponseCodeLayerVersionConflict, nil case "NotImplemented": - return DocFormsReset404ResponseCodeNotImplemented, nil + return DocPagesExtract404ResponseCodeNotImplemented, nil case "MalformedPdf": - return DocFormsReset404ResponseCodeMalformedPdf, nil + return DocPagesExtract404ResponseCodeMalformedPdf, nil } - var t DocFormsReset404ResponseCode + var t DocPagesExtract404ResponseCode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocFormsReset404ResponseCode) Ptr() *DocFormsReset404ResponseCode { +func (d DocPagesExtract404ResponseCode) Ptr() *DocPagesExtract404ResponseCode { return &d } -type DocFormsReset404ResponseName string +type DocPagesExtract404ResponseName string const ( - DocFormsReset404ResponseNameEngineError DocFormsReset404ResponseName = "EngineError" + DocPagesExtract404ResponseNameEngineError DocPagesExtract404ResponseName = "EngineError" ) -func NewDocFormsReset404ResponseNameFromString(s string) (DocFormsReset404ResponseName, error) { +func NewDocPagesExtract404ResponseNameFromString(s string) (DocPagesExtract404ResponseName, error) { switch s { case "EngineError": - return DocFormsReset404ResponseNameEngineError, nil + return DocPagesExtract404ResponseNameEngineError, nil } - var t DocFormsReset404ResponseName + var t DocPagesExtract404ResponseName return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocFormsReset404ResponseName) Ptr() *DocFormsReset404ResponseName { +func (d DocPagesExtract404ResponseName) Ptr() *DocPagesExtract404ResponseName { return &d } +type DocPagesExtractRequest = map[string]any + var ( - docFormsSetValue200ResponseFieldMeta = big.NewInt(1 << 0) + docPagesFlatten200ResponseFieldMeta = big.NewInt(1 << 0) ) -type DocFormsSetValue200Response struct { - Meta *DocFormsSetValue200ResponseMeta `json:"meta" url:"meta"` +type DocPagesFlatten200Response struct { + Meta *DocPagesFlatten200ResponseMeta `json:"meta" url:"meta"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -126584,21 +132855,21 @@ type DocFormsSetValue200Response struct { rawJSON json.RawMessage } -func (d *DocFormsSetValue200Response) GetMeta() *DocFormsSetValue200ResponseMeta { +func (d *DocPagesFlatten200Response) GetMeta() *DocPagesFlatten200ResponseMeta { if d == nil { return nil } return d.Meta } -func (d *DocFormsSetValue200Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesFlatten200Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.ExtraProperties } -func (d *DocFormsSetValue200Response) require(field *big.Int) { +func (d *DocPagesFlatten200Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -126607,13 +132878,13 @@ func (d *DocFormsSetValue200Response) require(field *big.Int) { // SetMeta sets the Meta field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue200Response) SetMeta(meta *DocFormsSetValue200ResponseMeta) { +func (d *DocPagesFlatten200Response) SetMeta(meta *DocPagesFlatten200ResponseMeta) { d.Meta = meta - d.require(docFormsSetValue200ResponseFieldMeta) + d.require(docPagesFlatten200ResponseFieldMeta) } -func (d *DocFormsSetValue200Response) UnmarshalJSON(data []byte) error { - type embed DocFormsSetValue200Response +func (d *DocPagesFlatten200Response) UnmarshalJSON(data []byte) error { + type embed DocPagesFlatten200Response var unmarshaler = struct { embed }{ @@ -126622,7 +132893,7 @@ func (d *DocFormsSetValue200Response) UnmarshalJSON(data []byte) error { if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocFormsSetValue200Response(unmarshaler.embed) + *d = DocPagesFlatten200Response(unmarshaler.embed) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -126632,8 +132903,8 @@ func (d *DocFormsSetValue200Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocFormsSetValue200Response) MarshalJSON() ([]byte, error) { - type embed DocFormsSetValue200Response +func (d *DocPagesFlatten200Response) MarshalJSON() ([]byte, error) { + type embed DocPagesFlatten200Response var marshaler = struct { embed }{ @@ -126643,7 +132914,7 @@ func (d *DocFormsSetValue200Response) MarshalJSON() ([]byte, error) { return internal.MarshalJSONWithExtraProperties(explicitMarshaler, d.ExtraProperties) } -func (d *DocFormsSetValue200Response) String() string { +func (d *DocPagesFlatten200Response) String() string { if d == nil { return "" } @@ -126659,13 +132930,13 @@ func (d *DocFormsSetValue200Response) String() string { } var ( - docFormsSetValue200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) - docFormsSetValue200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) + docPagesFlatten200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) + docPagesFlatten200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) ) -type DocFormsSetValue200ResponseMeta struct { - AffectedPages []*DocFormsSetValue200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` - CacheDelta *DocFormsSetValue200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` +type DocPagesFlatten200ResponseMeta struct { + AffectedPages []*DocPagesFlatten200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` + CacheDelta *DocPagesFlatten200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -126674,28 +132945,28 @@ type DocFormsSetValue200ResponseMeta struct { rawJSON json.RawMessage } -func (d *DocFormsSetValue200ResponseMeta) GetAffectedPages() []*DocFormsSetValue200ResponseMetaAffectedPagesItem { +func (d *DocPagesFlatten200ResponseMeta) GetAffectedPages() []*DocPagesFlatten200ResponseMetaAffectedPagesItem { if d == nil { return nil } return d.AffectedPages } -func (d *DocFormsSetValue200ResponseMeta) GetCacheDelta() *DocFormsSetValue200ResponseMetaCacheDelta { +func (d *DocPagesFlatten200ResponseMeta) GetCacheDelta() *DocPagesFlatten200ResponseMetaCacheDelta { if d == nil { return nil } return d.CacheDelta } -func (d *DocFormsSetValue200ResponseMeta) GetExtraProperties() map[string]interface{} { +func (d *DocPagesFlatten200ResponseMeta) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsSetValue200ResponseMeta) require(field *big.Int) { +func (d *DocPagesFlatten200ResponseMeta) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -126704,25 +132975,25 @@ func (d *DocFormsSetValue200ResponseMeta) require(field *big.Int) { // SetAffectedPages sets the AffectedPages field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue200ResponseMeta) SetAffectedPages(affectedPages []*DocFormsSetValue200ResponseMetaAffectedPagesItem) { +func (d *DocPagesFlatten200ResponseMeta) SetAffectedPages(affectedPages []*DocPagesFlatten200ResponseMetaAffectedPagesItem) { d.AffectedPages = affectedPages - d.require(docFormsSetValue200ResponseMetaFieldAffectedPages) + d.require(docPagesFlatten200ResponseMetaFieldAffectedPages) } // SetCacheDelta sets the CacheDelta field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue200ResponseMeta) SetCacheDelta(cacheDelta *DocFormsSetValue200ResponseMetaCacheDelta) { +func (d *DocPagesFlatten200ResponseMeta) SetCacheDelta(cacheDelta *DocPagesFlatten200ResponseMetaCacheDelta) { d.CacheDelta = cacheDelta - d.require(docFormsSetValue200ResponseMetaFieldCacheDelta) + d.require(docPagesFlatten200ResponseMetaFieldCacheDelta) } -func (d *DocFormsSetValue200ResponseMeta) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsSetValue200ResponseMeta +func (d *DocPagesFlatten200ResponseMeta) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesFlatten200ResponseMeta var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsSetValue200ResponseMeta(value) + *d = DocPagesFlatten200ResponseMeta(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -126732,8 +133003,8 @@ func (d *DocFormsSetValue200ResponseMeta) UnmarshalJSON(data []byte) error { return nil } -func (d *DocFormsSetValue200ResponseMeta) MarshalJSON() ([]byte, error) { - type embed DocFormsSetValue200ResponseMeta +func (d *DocPagesFlatten200ResponseMeta) MarshalJSON() ([]byte, error) { + type embed DocPagesFlatten200ResponseMeta var marshaler = struct { embed }{ @@ -126743,7 +133014,7 @@ func (d *DocFormsSetValue200ResponseMeta) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocFormsSetValue200ResponseMeta) String() string { +func (d *DocPagesFlatten200ResponseMeta) String() string { if d == nil { return "" } @@ -126759,15 +133030,15 @@ func (d *DocFormsSetValue200ResponseMeta) String() string { } var ( - docFormsSetValue200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) - docFormsSetValue200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) - docFormsSetValue200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) + docPagesFlatten200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docPagesFlatten200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) + docPagesFlatten200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) ) -type DocFormsSetValue200ResponseMetaAffectedPagesItem struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Revision *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` - WeakAnnotationState *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` +type DocPagesFlatten200ResponseMetaAffectedPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Revision *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` + WeakAnnotationState *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -126776,35 +133047,35 @@ type DocFormsSetValue200ResponseMetaAffectedPagesItem struct { rawJSON json.RawMessage } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) GetRevision() *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) GetRevision() *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision { if d == nil { return nil } return d.Revision } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState { if d == nil { return nil } return d.WeakAnnotationState } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) require(field *big.Int) { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -126813,32 +133084,32 @@ func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) require(field *big.In // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docFormsSetValue200ResponseMetaAffectedPagesItemFieldPageObjectNumber) + d.require(docPagesFlatten200ResponseMetaAffectedPagesItemFieldPageObjectNumber) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) SetRevision(revision *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) SetRevision(revision *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) { d.Revision = revision - d.require(docFormsSetValue200ResponseMetaAffectedPagesItemFieldRevision) + d.require(docPagesFlatten200ResponseMetaAffectedPagesItemFieldRevision) } // SetWeakAnnotationState sets the WeakAnnotationState field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState) { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) { d.WeakAnnotationState = weakAnnotationState - d.require(docFormsSetValue200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) + d.require(docPagesFlatten200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsSetValue200ResponseMetaAffectedPagesItem +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesFlatten200ResponseMetaAffectedPagesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsSetValue200ResponseMetaAffectedPagesItem(value) + *d = DocPagesFlatten200ResponseMetaAffectedPagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -126848,8 +133119,8 @@ func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) UnmarshalJSON(data [] return nil } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { - type embed DocFormsSetValue200ResponseMetaAffectedPagesItem +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { + type embed DocPagesFlatten200ResponseMetaAffectedPagesItem var marshaler = struct { embed }{ @@ -126859,7 +133130,7 @@ func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte return json.Marshal(explicitMarshaler) } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) String() string { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) String() string { if d == nil { return "" } @@ -126875,12 +133146,12 @@ func (d *DocFormsSetValue200ResponseMetaAffectedPagesItem) String() string { } var ( - docFormsSetValue200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) - docFormsSetValue200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docFormsSetValue200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) + docPagesFlatten200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) + docPagesFlatten200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docPagesFlatten200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocFormsSetValue200ResponseMetaAffectedPagesItemRevision struct { +type DocPagesFlatten200ResponseMetaAffectedPagesItemRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -126892,35 +133163,35 @@ type DocFormsSetValue200ResponseMetaAffectedPagesItemRevision struct { rawJSON json.RawMessage } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -126929,32 +133200,32 @@ func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) require(field // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docFormsSetValue200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) + d.require(docPagesFlatten200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docFormsSetValue200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) + d.require(docPagesFlatten200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docFormsSetValue200ResponseMetaAffectedPagesItemRevisionFieldGeneration) + d.require(docPagesFlatten200ResponseMetaAffectedPagesItemRevisionFieldGeneration) } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsSetValue200ResponseMetaAffectedPagesItemRevision +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesFlatten200ResponseMetaAffectedPagesItemRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsSetValue200ResponseMetaAffectedPagesItemRevision(value) + *d = DocPagesFlatten200ResponseMetaAffectedPagesItemRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -126964,8 +133235,8 @@ func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON return nil } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { - type embed DocFormsSetValue200ResponseMetaAffectedPagesItemRevision +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { + type embed DocPagesFlatten200ResponseMetaAffectedPagesItemRevision var marshaler = struct { embed }{ @@ -126975,7 +133246,7 @@ func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) String() string { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) String() string { if d == nil { return "" } @@ -126990,36 +133261,36 @@ func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision) String() stri return fmt.Sprintf("%#v", d) } -type DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState struct { +type DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState struct { Kind string - Unknown *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown - Known *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + Unknown *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + Known *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown rawJSON json.RawMessage } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { if d == nil { return nil } return d.Unknown } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { if d == nil { return nil } return d.Known } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -127032,13 +133303,13 @@ func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState) Un } switch unmarshaler.Kind { case "unknown": - value := new(DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) + value := new(DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) if err := json.Unmarshal(data, &value); err != nil { return err } d.Unknown = value case "known": - value := new(DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) + value := new(DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -127048,7 +133319,7 @@ func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState) Un return nil } -func (d DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { +func (d DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -127064,12 +133335,12 @@ func (d DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState) Mar return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { - VisitUnknown(*DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error - VisitKnown(*DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error +type DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { + VisitUnknown(*DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error + VisitKnown(*DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { if d.Unknown != nil { return visitor.VisitUnknown(d.Unknown) } @@ -127079,7 +133350,7 @@ func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState) Ac return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -127117,10 +133388,10 @@ func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState) va } var ( - docFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) + docPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) ) -type DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { +type DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { HasAnyWeakAnnotations bool `json:"hasAnyWeakAnnotations" url:"hasAnyWeakAnnotations"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -127130,21 +133401,21 @@ type DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown st rawJSON json.RawMessage } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { if d == nil { return false } return d.HasAnyWeakAnnotations } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -127153,18 +133424,18 @@ func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnow // SetHasAnyWeakAnnotations sets the HasAnyWeakAnnotations field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { d.HasAnyWeakAnnotations = hasAnyWeakAnnotations - d.require(docFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) + d.require(docPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) + *d = DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -127174,8 +133445,8 @@ func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnow return nil } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { - type embed DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { + type embed DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown var marshaler = struct { embed }{ @@ -127185,7 +133456,7 @@ func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnow return json.Marshal(explicitMarshaler) } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { if d == nil { return "" } @@ -127200,7 +133471,7 @@ func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnow return fmt.Sprintf("%#v", d) } -type DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { +type DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -127209,27 +133480,27 @@ type DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown rawJSON json.RawMessage } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) + *d = DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -127239,8 +133510,8 @@ func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnkn return nil } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { - type embed DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { + type embed DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var marshaler = struct { embed }{ @@ -127250,7 +133521,7 @@ func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnkn return json.Marshal(explicitMarshaler) } -func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { +func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { if d == nil { return "" } @@ -127266,17 +133537,17 @@ func (d *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnkn } var ( - docFormsSetValue200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) - docFormsSetValue200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) - docFormsSetValue200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) - docFormsSetValue200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) + docPagesFlatten200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) + docPagesFlatten200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) + docPagesFlatten200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) + docPagesFlatten200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) ) -type DocFormsSetValue200ResponseMetaCacheDelta struct { - PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` - DocVersion int `json:"docVersion" url:"docVersion"` - AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` - Pages []*DocFormsSetValue200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` +type DocPagesFlatten200ResponseMetaCacheDelta struct { + PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` + DocVersion int `json:"docVersion" url:"docVersion"` + AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` + Pages []*DocPagesFlatten200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -127285,42 +133556,42 @@ type DocFormsSetValue200ResponseMetaCacheDelta struct { rawJSON json.RawMessage } -func (d *DocFormsSetValue200ResponseMetaCacheDelta) GetPreviousDocVersion() int { +func (d *DocPagesFlatten200ResponseMetaCacheDelta) GetPreviousDocVersion() int { if d == nil { return 0 } return d.PreviousDocVersion } -func (d *DocFormsSetValue200ResponseMetaCacheDelta) GetDocVersion() int { +func (d *DocPagesFlatten200ResponseMetaCacheDelta) GetDocVersion() int { if d == nil { return 0 } return d.DocVersion } -func (d *DocFormsSetValue200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { +func (d *DocPagesFlatten200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { if d == nil { return nil } return d.AnnotationsVersion } -func (d *DocFormsSetValue200ResponseMetaCacheDelta) GetPages() []*DocFormsSetValue200ResponseMetaCacheDeltaPagesItem { +func (d *DocPagesFlatten200ResponseMetaCacheDelta) GetPages() []*DocPagesFlatten200ResponseMetaCacheDeltaPagesItem { if d == nil { return nil } return d.Pages } -func (d *DocFormsSetValue200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { +func (d *DocPagesFlatten200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsSetValue200ResponseMetaCacheDelta) require(field *big.Int) { +func (d *DocPagesFlatten200ResponseMetaCacheDelta) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -127329,39 +133600,39 @@ func (d *DocFormsSetValue200ResponseMetaCacheDelta) require(field *big.Int) { // SetPreviousDocVersion sets the PreviousDocVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { +func (d *DocPagesFlatten200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { d.PreviousDocVersion = previousDocVersion - d.require(docFormsSetValue200ResponseMetaCacheDeltaFieldPreviousDocVersion) + d.require(docPagesFlatten200ResponseMetaCacheDeltaFieldPreviousDocVersion) } // SetDocVersion sets the DocVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { +func (d *DocPagesFlatten200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { d.DocVersion = docVersion - d.require(docFormsSetValue200ResponseMetaCacheDeltaFieldDocVersion) + d.require(docPagesFlatten200ResponseMetaCacheDeltaFieldDocVersion) } // SetAnnotationsVersion sets the AnnotationsVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { +func (d *DocPagesFlatten200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { d.AnnotationsVersion = annotationsVersion - d.require(docFormsSetValue200ResponseMetaCacheDeltaFieldAnnotationsVersion) + d.require(docPagesFlatten200ResponseMetaCacheDeltaFieldAnnotationsVersion) } // SetPages sets the Pages field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue200ResponseMetaCacheDelta) SetPages(pages []*DocFormsSetValue200ResponseMetaCacheDeltaPagesItem) { +func (d *DocPagesFlatten200ResponseMetaCacheDelta) SetPages(pages []*DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) { d.Pages = pages - d.require(docFormsSetValue200ResponseMetaCacheDeltaFieldPages) + d.require(docPagesFlatten200ResponseMetaCacheDeltaFieldPages) } -func (d *DocFormsSetValue200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsSetValue200ResponseMetaCacheDelta +func (d *DocPagesFlatten200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesFlatten200ResponseMetaCacheDelta var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocFormsSetValue200ResponseMetaCacheDelta(value) + *d = DocPagesFlatten200ResponseMetaCacheDelta(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -127371,8 +133642,8 @@ func (d *DocFormsSetValue200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) e return nil } -func (d *DocFormsSetValue200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { - type embed DocFormsSetValue200ResponseMetaCacheDelta +func (d *DocPagesFlatten200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { + type embed DocPagesFlatten200ResponseMetaCacheDelta var marshaler = struct { embed }{ @@ -127382,7 +133653,7 @@ func (d *DocFormsSetValue200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error return json.Marshal(explicitMarshaler) } -func (d *DocFormsSetValue200ResponseMetaCacheDelta) String() string { +func (d *DocPagesFlatten200ResponseMetaCacheDelta) String() string { if d == nil { return "" } @@ -127398,13 +133669,13 @@ func (d *DocFormsSetValue200ResponseMetaCacheDelta) String() string { } var ( - docFormsSetValue200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) - docFormsSetValue200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) + docPagesFlatten200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docPagesFlatten200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) ) -type DocFormsSetValue200ResponseMetaCacheDeltaPagesItem struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Cache *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` +type DocPagesFlatten200ResponseMetaCacheDeltaPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Cache *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -127413,28 +133684,28 @@ type DocFormsSetValue200ResponseMetaCacheDeltaPagesItem struct { rawJSON json.RawMessage } -func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { +func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem) GetCache() *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache { +func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) GetCache() *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache { if d == nil { return nil } return d.Cache } -func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { +func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { +func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -127443,707 +133714,25 @@ func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem) require(field *big. // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docFormsSetValue200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) + d.require(docPagesFlatten200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) } // SetCache sets the Cache field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache) { +func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) { d.Cache = cache - d.require(docFormsSetValue200ResponseMetaCacheDeltaPagesItemFieldCache) -} - -func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsSetValue200ResponseMetaCacheDeltaPagesItem - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocFormsSetValue200ResponseMetaCacheDeltaPagesItem(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { - type embed DocFormsSetValue200ResponseMetaCacheDeltaPagesItem - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docFormsSetValue200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) - docFormsSetValue200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) -) - -type DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache struct { - ContentVersion int `json:"contentVersion" url:"contentVersion"` - AnnotationVersion int `json:"annotationVersion" url:"annotationVersion"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { - if d == nil { - return 0 - } - return d.ContentVersion -} - -func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { - if d == nil { - return 0 - } - return d.AnnotationVersion -} - -func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetContentVersion sets the ContentVersion field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { - d.ContentVersion = contentVersion - d.require(docFormsSetValue200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) -} - -// SetAnnotationVersion sets the AnnotationVersion field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { - d.AnnotationVersion = annotationVersion - d.require(docFormsSetValue200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) -} - -func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { - type embed DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docFormsSetValue400ResponseFieldName = big.NewInt(1 << 0) - docFormsSetValue400ResponseFieldCode = big.NewInt(1 << 1) - docFormsSetValue400ResponseFieldMessage = big.NewInt(1 << 2) - docFormsSetValue400ResponseFieldDetails = big.NewInt(1 << 3) -) - -type DocFormsSetValue400Response struct { - Name DocFormsSetValue400ResponseName `json:"name" url:"name"` - Code DocFormsSetValue400ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocFormsSetValue400Response) GetName() DocFormsSetValue400ResponseName { - if d == nil { - return "" - } - return d.Name -} - -func (d *DocFormsSetValue400Response) GetCode() DocFormsSetValue400ResponseCode { - if d == nil { - return "" - } - return d.Code -} - -func (d *DocFormsSetValue400Response) GetMessage() string { - if d == nil { - return "" - } - return d.Message -} - -func (d *DocFormsSetValue400Response) GetDetails() map[string]any { - if d == nil { - return nil - } - return d.Details -} - -func (d *DocFormsSetValue400Response) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocFormsSetValue400Response) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetName sets the Name field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue400Response) SetName(name DocFormsSetValue400ResponseName) { - d.Name = name - d.require(docFormsSetValue400ResponseFieldName) -} - -// SetCode sets the Code field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue400Response) SetCode(code DocFormsSetValue400ResponseCode) { - d.Code = code - d.require(docFormsSetValue400ResponseFieldCode) -} - -// SetMessage sets the Message field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue400Response) SetMessage(message string) { - d.Message = message - d.require(docFormsSetValue400ResponseFieldMessage) -} - -// SetDetails sets the Details field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue400Response) SetDetails(details map[string]any) { - d.Details = details - d.require(docFormsSetValue400ResponseFieldDetails) -} - -func (d *DocFormsSetValue400Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsSetValue400Response - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocFormsSetValue400Response(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocFormsSetValue400Response) MarshalJSON() ([]byte, error) { - type embed DocFormsSetValue400Response - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocFormsSetValue400Response) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -type DocFormsSetValue400ResponseCode string - -const ( - DocFormsSetValue400ResponseCodeUnknown DocFormsSetValue400ResponseCode = "Unknown" - DocFormsSetValue400ResponseCodeInvalidArg DocFormsSetValue400ResponseCode = "InvalidArg" - DocFormsSetValue400ResponseCodeDocNotOpen DocFormsSetValue400ResponseCode = "DocNotOpen" - DocFormsSetValue400ResponseCodeDocOpenFailed DocFormsSetValue400ResponseCode = "DocOpenFailed" - DocFormsSetValue400ResponseCodeDocPasswordRequired DocFormsSetValue400ResponseCode = "DocPasswordRequired" - DocFormsSetValue400ResponseCodeDocPasswordIncorrect DocFormsSetValue400ResponseCode = "DocPasswordIncorrect" - DocFormsSetValue400ResponseCodeSharePasswordRequired DocFormsSetValue400ResponseCode = "SharePasswordRequired" - DocFormsSetValue400ResponseCodeAborted DocFormsSetValue400ResponseCode = "Aborted" - DocFormsSetValue400ResponseCodeNetwork DocFormsSetValue400ResponseCode = "Network" - DocFormsSetValue400ResponseCodeUnauthenticated DocFormsSetValue400ResponseCode = "Unauthenticated" - DocFormsSetValue400ResponseCodeForbidden DocFormsSetValue400ResponseCode = "Forbidden" - DocFormsSetValue400ResponseCodeNotFound DocFormsSetValue400ResponseCode = "NotFound" - DocFormsSetValue400ResponseCodeWireFormat DocFormsSetValue400ResponseCode = "WireFormat" - DocFormsSetValue400ResponseCodeRuntimeUnavailable DocFormsSetValue400ResponseCode = "RuntimeUnavailable" - DocFormsSetValue400ResponseCodeInvalidReference DocFormsSetValue400ResponseCode = "InvalidReference" - DocFormsSetValue400ResponseCodeWeakAnnotationSessionConflict DocFormsSetValue400ResponseCode = "WeakAnnotationSessionConflict" - DocFormsSetValue400ResponseCodeLayerVersionConflict DocFormsSetValue400ResponseCode = "LayerVersionConflict" - DocFormsSetValue400ResponseCodeNotImplemented DocFormsSetValue400ResponseCode = "NotImplemented" - DocFormsSetValue400ResponseCodeMalformedPdf DocFormsSetValue400ResponseCode = "MalformedPdf" -) - -func NewDocFormsSetValue400ResponseCodeFromString(s string) (DocFormsSetValue400ResponseCode, error) { - switch s { - case "Unknown": - return DocFormsSetValue400ResponseCodeUnknown, nil - case "InvalidArg": - return DocFormsSetValue400ResponseCodeInvalidArg, nil - case "DocNotOpen": - return DocFormsSetValue400ResponseCodeDocNotOpen, nil - case "DocOpenFailed": - return DocFormsSetValue400ResponseCodeDocOpenFailed, nil - case "DocPasswordRequired": - return DocFormsSetValue400ResponseCodeDocPasswordRequired, nil - case "DocPasswordIncorrect": - return DocFormsSetValue400ResponseCodeDocPasswordIncorrect, nil - case "SharePasswordRequired": - return DocFormsSetValue400ResponseCodeSharePasswordRequired, nil - case "Aborted": - return DocFormsSetValue400ResponseCodeAborted, nil - case "Network": - return DocFormsSetValue400ResponseCodeNetwork, nil - case "Unauthenticated": - return DocFormsSetValue400ResponseCodeUnauthenticated, nil - case "Forbidden": - return DocFormsSetValue400ResponseCodeForbidden, nil - case "NotFound": - return DocFormsSetValue400ResponseCodeNotFound, nil - case "WireFormat": - return DocFormsSetValue400ResponseCodeWireFormat, nil - case "RuntimeUnavailable": - return DocFormsSetValue400ResponseCodeRuntimeUnavailable, nil - case "InvalidReference": - return DocFormsSetValue400ResponseCodeInvalidReference, nil - case "WeakAnnotationSessionConflict": - return DocFormsSetValue400ResponseCodeWeakAnnotationSessionConflict, nil - case "LayerVersionConflict": - return DocFormsSetValue400ResponseCodeLayerVersionConflict, nil - case "NotImplemented": - return DocFormsSetValue400ResponseCodeNotImplemented, nil - case "MalformedPdf": - return DocFormsSetValue400ResponseCodeMalformedPdf, nil - } - var t DocFormsSetValue400ResponseCode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocFormsSetValue400ResponseCode) Ptr() *DocFormsSetValue400ResponseCode { - return &d -} - -type DocFormsSetValue400ResponseName string - -const ( - DocFormsSetValue400ResponseNameEngineError DocFormsSetValue400ResponseName = "EngineError" -) - -func NewDocFormsSetValue400ResponseNameFromString(s string) (DocFormsSetValue400ResponseName, error) { - switch s { - case "EngineError": - return DocFormsSetValue400ResponseNameEngineError, nil - } - var t DocFormsSetValue400ResponseName - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocFormsSetValue400ResponseName) Ptr() *DocFormsSetValue400ResponseName { - return &d -} - -var ( - docFormsSetValue404ResponseFieldName = big.NewInt(1 << 0) - docFormsSetValue404ResponseFieldCode = big.NewInt(1 << 1) - docFormsSetValue404ResponseFieldMessage = big.NewInt(1 << 2) - docFormsSetValue404ResponseFieldDetails = big.NewInt(1 << 3) -) - -type DocFormsSetValue404Response struct { - Name DocFormsSetValue404ResponseName `json:"name" url:"name"` - Code DocFormsSetValue404ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocFormsSetValue404Response) GetName() DocFormsSetValue404ResponseName { - if d == nil { - return "" - } - return d.Name -} - -func (d *DocFormsSetValue404Response) GetCode() DocFormsSetValue404ResponseCode { - if d == nil { - return "" - } - return d.Code -} - -func (d *DocFormsSetValue404Response) GetMessage() string { - if d == nil { - return "" - } - return d.Message -} - -func (d *DocFormsSetValue404Response) GetDetails() map[string]any { - if d == nil { - return nil - } - return d.Details -} - -func (d *DocFormsSetValue404Response) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocFormsSetValue404Response) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetName sets the Name field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue404Response) SetName(name DocFormsSetValue404ResponseName) { - d.Name = name - d.require(docFormsSetValue404ResponseFieldName) -} - -// SetCode sets the Code field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue404Response) SetCode(code DocFormsSetValue404ResponseCode) { - d.Code = code - d.require(docFormsSetValue404ResponseFieldCode) -} - -// SetMessage sets the Message field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue404Response) SetMessage(message string) { - d.Message = message - d.require(docFormsSetValue404ResponseFieldMessage) -} - -// SetDetails sets the Details field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocFormsSetValue404Response) SetDetails(details map[string]any) { - d.Details = details - d.require(docFormsSetValue404ResponseFieldDetails) -} - -func (d *DocFormsSetValue404Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocFormsSetValue404Response - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocFormsSetValue404Response(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocFormsSetValue404Response) MarshalJSON() ([]byte, error) { - type embed DocFormsSetValue404Response - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocFormsSetValue404Response) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -type DocFormsSetValue404ResponseCode string - -const ( - DocFormsSetValue404ResponseCodeUnknown DocFormsSetValue404ResponseCode = "Unknown" - DocFormsSetValue404ResponseCodeInvalidArg DocFormsSetValue404ResponseCode = "InvalidArg" - DocFormsSetValue404ResponseCodeDocNotOpen DocFormsSetValue404ResponseCode = "DocNotOpen" - DocFormsSetValue404ResponseCodeDocOpenFailed DocFormsSetValue404ResponseCode = "DocOpenFailed" - DocFormsSetValue404ResponseCodeDocPasswordRequired DocFormsSetValue404ResponseCode = "DocPasswordRequired" - DocFormsSetValue404ResponseCodeDocPasswordIncorrect DocFormsSetValue404ResponseCode = "DocPasswordIncorrect" - DocFormsSetValue404ResponseCodeSharePasswordRequired DocFormsSetValue404ResponseCode = "SharePasswordRequired" - DocFormsSetValue404ResponseCodeAborted DocFormsSetValue404ResponseCode = "Aborted" - DocFormsSetValue404ResponseCodeNetwork DocFormsSetValue404ResponseCode = "Network" - DocFormsSetValue404ResponseCodeUnauthenticated DocFormsSetValue404ResponseCode = "Unauthenticated" - DocFormsSetValue404ResponseCodeForbidden DocFormsSetValue404ResponseCode = "Forbidden" - DocFormsSetValue404ResponseCodeNotFound DocFormsSetValue404ResponseCode = "NotFound" - DocFormsSetValue404ResponseCodeWireFormat DocFormsSetValue404ResponseCode = "WireFormat" - DocFormsSetValue404ResponseCodeRuntimeUnavailable DocFormsSetValue404ResponseCode = "RuntimeUnavailable" - DocFormsSetValue404ResponseCodeInvalidReference DocFormsSetValue404ResponseCode = "InvalidReference" - DocFormsSetValue404ResponseCodeWeakAnnotationSessionConflict DocFormsSetValue404ResponseCode = "WeakAnnotationSessionConflict" - DocFormsSetValue404ResponseCodeLayerVersionConflict DocFormsSetValue404ResponseCode = "LayerVersionConflict" - DocFormsSetValue404ResponseCodeNotImplemented DocFormsSetValue404ResponseCode = "NotImplemented" - DocFormsSetValue404ResponseCodeMalformedPdf DocFormsSetValue404ResponseCode = "MalformedPdf" -) - -func NewDocFormsSetValue404ResponseCodeFromString(s string) (DocFormsSetValue404ResponseCode, error) { - switch s { - case "Unknown": - return DocFormsSetValue404ResponseCodeUnknown, nil - case "InvalidArg": - return DocFormsSetValue404ResponseCodeInvalidArg, nil - case "DocNotOpen": - return DocFormsSetValue404ResponseCodeDocNotOpen, nil - case "DocOpenFailed": - return DocFormsSetValue404ResponseCodeDocOpenFailed, nil - case "DocPasswordRequired": - return DocFormsSetValue404ResponseCodeDocPasswordRequired, nil - case "DocPasswordIncorrect": - return DocFormsSetValue404ResponseCodeDocPasswordIncorrect, nil - case "SharePasswordRequired": - return DocFormsSetValue404ResponseCodeSharePasswordRequired, nil - case "Aborted": - return DocFormsSetValue404ResponseCodeAborted, nil - case "Network": - return DocFormsSetValue404ResponseCodeNetwork, nil - case "Unauthenticated": - return DocFormsSetValue404ResponseCodeUnauthenticated, nil - case "Forbidden": - return DocFormsSetValue404ResponseCodeForbidden, nil - case "NotFound": - return DocFormsSetValue404ResponseCodeNotFound, nil - case "WireFormat": - return DocFormsSetValue404ResponseCodeWireFormat, nil - case "RuntimeUnavailable": - return DocFormsSetValue404ResponseCodeRuntimeUnavailable, nil - case "InvalidReference": - return DocFormsSetValue404ResponseCodeInvalidReference, nil - case "WeakAnnotationSessionConflict": - return DocFormsSetValue404ResponseCodeWeakAnnotationSessionConflict, nil - case "LayerVersionConflict": - return DocFormsSetValue404ResponseCodeLayerVersionConflict, nil - case "NotImplemented": - return DocFormsSetValue404ResponseCodeNotImplemented, nil - case "MalformedPdf": - return DocFormsSetValue404ResponseCodeMalformedPdf, nil - } - var t DocFormsSetValue404ResponseCode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocFormsSetValue404ResponseCode) Ptr() *DocFormsSetValue404ResponseCode { - return &d -} - -type DocFormsSetValue404ResponseName string - -const ( - DocFormsSetValue404ResponseNameEngineError DocFormsSetValue404ResponseName = "EngineError" -) - -func NewDocFormsSetValue404ResponseNameFromString(s string) (DocFormsSetValue404ResponseName, error) { - switch s { - case "EngineError": - return DocFormsSetValue404ResponseNameEngineError, nil - } - var t DocFormsSetValue404ResponseName - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocFormsSetValue404ResponseName) Ptr() *DocFormsSetValue404ResponseName { - return &d -} - -type DocFormsSetValueRequest = map[string]any - -var ( - docHead404ResponseFieldName = big.NewInt(1 << 0) - docHead404ResponseFieldCode = big.NewInt(1 << 1) - docHead404ResponseFieldMessage = big.NewInt(1 << 2) - docHead404ResponseFieldDetails = big.NewInt(1 << 3) -) - -type DocHead404Response struct { - Name DocHead404ResponseName `json:"name" url:"name"` - Code DocHead404ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocHead404Response) GetName() DocHead404ResponseName { - if d == nil { - return "" - } - return d.Name -} - -func (d *DocHead404Response) GetCode() DocHead404ResponseCode { - if d == nil { - return "" - } - return d.Code -} - -func (d *DocHead404Response) GetMessage() string { - if d == nil { - return "" - } - return d.Message -} - -func (d *DocHead404Response) GetDetails() map[string]any { - if d == nil { - return nil - } - return d.Details -} - -func (d *DocHead404Response) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocHead404Response) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetName sets the Name field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocHead404Response) SetName(name DocHead404ResponseName) { - d.Name = name - d.require(docHead404ResponseFieldName) -} - -// SetCode sets the Code field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocHead404Response) SetCode(code DocHead404ResponseCode) { - d.Code = code - d.require(docHead404ResponseFieldCode) -} - -// SetMessage sets the Message field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocHead404Response) SetMessage(message string) { - d.Message = message - d.require(docHead404ResponseFieldMessage) -} - -// SetDetails sets the Details field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocHead404Response) SetDetails(details map[string]any) { - d.Details = details - d.require(docHead404ResponseFieldDetails) + d.require(docPagesFlatten200ResponseMetaCacheDeltaPagesItemFieldCache) } -func (d *DocHead404Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocHead404Response +func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesFlatten200ResponseMetaCacheDeltaPagesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocHead404Response(value) + *d = DocPagesFlatten200ResponseMetaCacheDeltaPagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -128153,8 +133742,8 @@ func (d *DocHead404Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocHead404Response) MarshalJSON() ([]byte, error) { - type embed DocHead404Response +func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { + type embed DocPagesFlatten200ResponseMetaCacheDeltaPagesItem var marshaler = struct { embed }{ @@ -128164,7 +133753,7 @@ func (d *DocHead404Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocHead404Response) String() string { +func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) String() string { if d == nil { return "" } @@ -128174,115 +133763,19 @@ func (d *DocHead404Response) String() string { } } if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -type DocHead404ResponseCode string - -const ( - DocHead404ResponseCodeUnknown DocHead404ResponseCode = "Unknown" - DocHead404ResponseCodeInvalidArg DocHead404ResponseCode = "InvalidArg" - DocHead404ResponseCodeDocNotOpen DocHead404ResponseCode = "DocNotOpen" - DocHead404ResponseCodeDocOpenFailed DocHead404ResponseCode = "DocOpenFailed" - DocHead404ResponseCodeDocPasswordRequired DocHead404ResponseCode = "DocPasswordRequired" - DocHead404ResponseCodeDocPasswordIncorrect DocHead404ResponseCode = "DocPasswordIncorrect" - DocHead404ResponseCodeSharePasswordRequired DocHead404ResponseCode = "SharePasswordRequired" - DocHead404ResponseCodeAborted DocHead404ResponseCode = "Aborted" - DocHead404ResponseCodeNetwork DocHead404ResponseCode = "Network" - DocHead404ResponseCodeUnauthenticated DocHead404ResponseCode = "Unauthenticated" - DocHead404ResponseCodeForbidden DocHead404ResponseCode = "Forbidden" - DocHead404ResponseCodeNotFound DocHead404ResponseCode = "NotFound" - DocHead404ResponseCodeWireFormat DocHead404ResponseCode = "WireFormat" - DocHead404ResponseCodeRuntimeUnavailable DocHead404ResponseCode = "RuntimeUnavailable" - DocHead404ResponseCodeInvalidReference DocHead404ResponseCode = "InvalidReference" - DocHead404ResponseCodeWeakAnnotationSessionConflict DocHead404ResponseCode = "WeakAnnotationSessionConflict" - DocHead404ResponseCodeLayerVersionConflict DocHead404ResponseCode = "LayerVersionConflict" - DocHead404ResponseCodeNotImplemented DocHead404ResponseCode = "NotImplemented" - DocHead404ResponseCodeMalformedPdf DocHead404ResponseCode = "MalformedPdf" -) - -func NewDocHead404ResponseCodeFromString(s string) (DocHead404ResponseCode, error) { - switch s { - case "Unknown": - return DocHead404ResponseCodeUnknown, nil - case "InvalidArg": - return DocHead404ResponseCodeInvalidArg, nil - case "DocNotOpen": - return DocHead404ResponseCodeDocNotOpen, nil - case "DocOpenFailed": - return DocHead404ResponseCodeDocOpenFailed, nil - case "DocPasswordRequired": - return DocHead404ResponseCodeDocPasswordRequired, nil - case "DocPasswordIncorrect": - return DocHead404ResponseCodeDocPasswordIncorrect, nil - case "SharePasswordRequired": - return DocHead404ResponseCodeSharePasswordRequired, nil - case "Aborted": - return DocHead404ResponseCodeAborted, nil - case "Network": - return DocHead404ResponseCodeNetwork, nil - case "Unauthenticated": - return DocHead404ResponseCodeUnauthenticated, nil - case "Forbidden": - return DocHead404ResponseCodeForbidden, nil - case "NotFound": - return DocHead404ResponseCodeNotFound, nil - case "WireFormat": - return DocHead404ResponseCodeWireFormat, nil - case "RuntimeUnavailable": - return DocHead404ResponseCodeRuntimeUnavailable, nil - case "InvalidReference": - return DocHead404ResponseCodeInvalidReference, nil - case "WeakAnnotationSessionConflict": - return DocHead404ResponseCodeWeakAnnotationSessionConflict, nil - case "LayerVersionConflict": - return DocHead404ResponseCodeLayerVersionConflict, nil - case "NotImplemented": - return DocHead404ResponseCodeNotImplemented, nil - case "MalformedPdf": - return DocHead404ResponseCodeMalformedPdf, nil - } - var t DocHead404ResponseCode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocHead404ResponseCode) Ptr() *DocHead404ResponseCode { - return &d -} - -type DocHead404ResponseName string - -const ( - DocHead404ResponseNameEngineError DocHead404ResponseName = "EngineError" -) - -func NewDocHead404ResponseNameFromString(s string) (DocHead404ResponseName, error) { - switch s { - case "EngineError": - return DocHead404ResponseNameEngineError, nil - } - var t DocHead404ResponseName - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocHead404ResponseName) Ptr() *DocHead404ResponseName { - return &d + return value + } + return fmt.Sprintf("%#v", d) } var ( - docManifest404ResponseFieldName = big.NewInt(1 << 0) - docManifest404ResponseFieldCode = big.NewInt(1 << 1) - docManifest404ResponseFieldMessage = big.NewInt(1 << 2) - docManifest404ResponseFieldDetails = big.NewInt(1 << 3) + docPagesFlatten200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) + docPagesFlatten200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) ) -type DocManifest404Response struct { - Name DocManifest404ResponseName `json:"name" url:"name"` - Code DocManifest404ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache struct { + ContentVersion int `json:"contentVersion" url:"contentVersion"` + AnnotationVersion int `json:"annotationVersion" url:"annotationVersion"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -128291,83 +133784,55 @@ type DocManifest404Response struct { rawJSON json.RawMessage } -func (d *DocManifest404Response) GetName() DocManifest404ResponseName { - if d == nil { - return "" - } - return d.Name -} - -func (d *DocManifest404Response) GetCode() DocManifest404ResponseCode { - if d == nil { - return "" - } - return d.Code -} - -func (d *DocManifest404Response) GetMessage() string { +func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { if d == nil { - return "" + return 0 } - return d.Message + return d.ContentVersion } -func (d *DocManifest404Response) GetDetails() map[string]any { +func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { if d == nil { - return nil + return 0 } - return d.Details + return d.AnnotationVersion } -func (d *DocManifest404Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocManifest404Response) require(field *big.Int) { +func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetName sets the Name field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocManifest404Response) SetName(name DocManifest404ResponseName) { - d.Name = name - d.require(docManifest404ResponseFieldName) -} - -// SetCode sets the Code field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocManifest404Response) SetCode(code DocManifest404ResponseCode) { - d.Code = code - d.require(docManifest404ResponseFieldCode) -} - -// SetMessage sets the Message field and marks it as non-optional; +// SetContentVersion sets the ContentVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocManifest404Response) SetMessage(message string) { - d.Message = message - d.require(docManifest404ResponseFieldMessage) +func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { + d.ContentVersion = contentVersion + d.require(docPagesFlatten200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) } -// SetDetails sets the Details field and marks it as non-optional; +// SetAnnotationVersion sets the AnnotationVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocManifest404Response) SetDetails(details map[string]any) { - d.Details = details - d.require(docManifest404ResponseFieldDetails) +func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { + d.AnnotationVersion = annotationVersion + d.require(docPagesFlatten200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) } -func (d *DocManifest404Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocManifest404Response +func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocManifest404Response(value) + *d = DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -128377,8 +133842,8 @@ func (d *DocManifest404Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocManifest404Response) MarshalJSON() ([]byte, error) { - type embed DocManifest404Response +func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { + type embed DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache var marshaler = struct { embed }{ @@ -128388,7 +133853,7 @@ func (d *DocManifest404Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocManifest404Response) String() string { +func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) String() string { if d == nil { return "" } @@ -128403,122 +133868,18 @@ func (d *DocManifest404Response) String() string { return fmt.Sprintf("%#v", d) } -type DocManifest404ResponseCode string - -const ( - DocManifest404ResponseCodeUnknown DocManifest404ResponseCode = "Unknown" - DocManifest404ResponseCodeInvalidArg DocManifest404ResponseCode = "InvalidArg" - DocManifest404ResponseCodeDocNotOpen DocManifest404ResponseCode = "DocNotOpen" - DocManifest404ResponseCodeDocOpenFailed DocManifest404ResponseCode = "DocOpenFailed" - DocManifest404ResponseCodeDocPasswordRequired DocManifest404ResponseCode = "DocPasswordRequired" - DocManifest404ResponseCodeDocPasswordIncorrect DocManifest404ResponseCode = "DocPasswordIncorrect" - DocManifest404ResponseCodeSharePasswordRequired DocManifest404ResponseCode = "SharePasswordRequired" - DocManifest404ResponseCodeAborted DocManifest404ResponseCode = "Aborted" - DocManifest404ResponseCodeNetwork DocManifest404ResponseCode = "Network" - DocManifest404ResponseCodeUnauthenticated DocManifest404ResponseCode = "Unauthenticated" - DocManifest404ResponseCodeForbidden DocManifest404ResponseCode = "Forbidden" - DocManifest404ResponseCodeNotFound DocManifest404ResponseCode = "NotFound" - DocManifest404ResponseCodeWireFormat DocManifest404ResponseCode = "WireFormat" - DocManifest404ResponseCodeRuntimeUnavailable DocManifest404ResponseCode = "RuntimeUnavailable" - DocManifest404ResponseCodeInvalidReference DocManifest404ResponseCode = "InvalidReference" - DocManifest404ResponseCodeWeakAnnotationSessionConflict DocManifest404ResponseCode = "WeakAnnotationSessionConflict" - DocManifest404ResponseCodeLayerVersionConflict DocManifest404ResponseCode = "LayerVersionConflict" - DocManifest404ResponseCodeNotImplemented DocManifest404ResponseCode = "NotImplemented" - DocManifest404ResponseCodeMalformedPdf DocManifest404ResponseCode = "MalformedPdf" -) - -func NewDocManifest404ResponseCodeFromString(s string) (DocManifest404ResponseCode, error) { - switch s { - case "Unknown": - return DocManifest404ResponseCodeUnknown, nil - case "InvalidArg": - return DocManifest404ResponseCodeInvalidArg, nil - case "DocNotOpen": - return DocManifest404ResponseCodeDocNotOpen, nil - case "DocOpenFailed": - return DocManifest404ResponseCodeDocOpenFailed, nil - case "DocPasswordRequired": - return DocManifest404ResponseCodeDocPasswordRequired, nil - case "DocPasswordIncorrect": - return DocManifest404ResponseCodeDocPasswordIncorrect, nil - case "SharePasswordRequired": - return DocManifest404ResponseCodeSharePasswordRequired, nil - case "Aborted": - return DocManifest404ResponseCodeAborted, nil - case "Network": - return DocManifest404ResponseCodeNetwork, nil - case "Unauthenticated": - return DocManifest404ResponseCodeUnauthenticated, nil - case "Forbidden": - return DocManifest404ResponseCodeForbidden, nil - case "NotFound": - return DocManifest404ResponseCodeNotFound, nil - case "WireFormat": - return DocManifest404ResponseCodeWireFormat, nil - case "RuntimeUnavailable": - return DocManifest404ResponseCodeRuntimeUnavailable, nil - case "InvalidReference": - return DocManifest404ResponseCodeInvalidReference, nil - case "WeakAnnotationSessionConflict": - return DocManifest404ResponseCodeWeakAnnotationSessionConflict, nil - case "LayerVersionConflict": - return DocManifest404ResponseCodeLayerVersionConflict, nil - case "NotImplemented": - return DocManifest404ResponseCodeNotImplemented, nil - case "MalformedPdf": - return DocManifest404ResponseCodeMalformedPdf, nil - } - var t DocManifest404ResponseCode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocManifest404ResponseCode) Ptr() *DocManifest404ResponseCode { - return &d -} - -type DocManifest404ResponseName string - -const ( - DocManifest404ResponseNameEngineError DocManifest404ResponseName = "EngineError" -) - -func NewDocManifest404ResponseNameFromString(s string) (DocManifest404ResponseName, error) { - switch s { - case "EngineError": - return DocManifest404ResponseNameEngineError, nil - } - var t DocManifest404ResponseName - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocManifest404ResponseName) Ptr() *DocManifest404ResponseName { - return &d -} - var ( - docMetadataGet200ResponseFieldTitle = big.NewInt(1 << 0) - docMetadataGet200ResponseFieldAuthor = big.NewInt(1 << 1) - docMetadataGet200ResponseFieldSubject = big.NewInt(1 << 2) - docMetadataGet200ResponseFieldKeywords = big.NewInt(1 << 3) - docMetadataGet200ResponseFieldProducer = big.NewInt(1 << 4) - docMetadataGet200ResponseFieldCreator = big.NewInt(1 << 5) - docMetadataGet200ResponseFieldCreated = big.NewInt(1 << 6) - docMetadataGet200ResponseFieldModified = big.NewInt(1 << 7) - docMetadataGet200ResponseFieldTrapped = big.NewInt(1 << 8) - docMetadataGet200ResponseFieldCustom = big.NewInt(1 << 9) + docPagesFlatten400ResponseFieldName = big.NewInt(1 << 0) + docPagesFlatten400ResponseFieldCode = big.NewInt(1 << 1) + docPagesFlatten400ResponseFieldMessage = big.NewInt(1 << 2) + docPagesFlatten400ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocMetadataGet200Response struct { - Title *string `json:"title,omitempty" url:"title,omitempty"` - Author *string `json:"author,omitempty" url:"author,omitempty"` - Subject *string `json:"subject,omitempty" url:"subject,omitempty"` - Keywords *string `json:"keywords,omitempty" url:"keywords,omitempty"` - Producer *string `json:"producer,omitempty" url:"producer,omitempty"` - Creator *string `json:"creator,omitempty" url:"creator,omitempty"` - Created *time.Time `json:"created,omitempty" url:"created,omitempty"` - Modified *time.Time `json:"modified,omitempty" url:"modified,omitempty"` - Trapped DocMetadataGet200ResponseTrapped `json:"trapped" url:"trapped"` - Custom map[string]string `json:"custom" url:"custom"` +type DocPagesFlatten400Response struct { + Name DocPagesFlatten400ResponseName `json:"name" url:"name"` + Code DocPagesFlatten400ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -128527,175 +133888,83 @@ type DocMetadataGet200Response struct { rawJSON json.RawMessage } -func (d *DocMetadataGet200Response) GetTitle() *string { - if d == nil { - return nil - } - return d.Title -} - -func (d *DocMetadataGet200Response) GetAuthor() *string { - if d == nil { - return nil - } - return d.Author -} - -func (d *DocMetadataGet200Response) GetSubject() *string { - if d == nil { - return nil - } - return d.Subject -} - -func (d *DocMetadataGet200Response) GetKeywords() *string { - if d == nil { - return nil - } - return d.Keywords -} - -func (d *DocMetadataGet200Response) GetProducer() *string { - if d == nil { - return nil - } - return d.Producer -} - -func (d *DocMetadataGet200Response) GetCreator() *string { - if d == nil { - return nil - } - return d.Creator -} - -func (d *DocMetadataGet200Response) GetCreated() *time.Time { +func (d *DocPagesFlatten400Response) GetName() DocPagesFlatten400ResponseName { if d == nil { - return nil + return "" } - return d.Created + return d.Name } -func (d *DocMetadataGet200Response) GetModified() *time.Time { +func (d *DocPagesFlatten400Response) GetCode() DocPagesFlatten400ResponseCode { if d == nil { - return nil + return "" } - return d.Modified + return d.Code } -func (d *DocMetadataGet200Response) GetTrapped() DocMetadataGet200ResponseTrapped { +func (d *DocPagesFlatten400Response) GetMessage() string { if d == nil { return "" } - return d.Trapped + return d.Message } -func (d *DocMetadataGet200Response) GetCustom() map[string]string { +func (d *DocPagesFlatten400Response) GetDetails() map[string]any { if d == nil { return nil } - return d.Custom + return d.Details } -func (d *DocMetadataGet200Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesFlatten400Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocMetadataGet200Response) require(field *big.Int) { +func (d *DocPagesFlatten400Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetTitle sets the Title field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocMetadataGet200Response) SetTitle(title *string) { - d.Title = title - d.require(docMetadataGet200ResponseFieldTitle) -} - -// SetAuthor sets the Author field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocMetadataGet200Response) SetAuthor(author *string) { - d.Author = author - d.require(docMetadataGet200ResponseFieldAuthor) -} - -// SetSubject sets the Subject field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocMetadataGet200Response) SetSubject(subject *string) { - d.Subject = subject - d.require(docMetadataGet200ResponseFieldSubject) -} - -// SetKeywords sets the Keywords field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocMetadataGet200Response) SetKeywords(keywords *string) { - d.Keywords = keywords - d.require(docMetadataGet200ResponseFieldKeywords) -} - -// SetProducer sets the Producer field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocMetadataGet200Response) SetProducer(producer *string) { - d.Producer = producer - d.require(docMetadataGet200ResponseFieldProducer) -} - -// SetCreator sets the Creator field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocMetadataGet200Response) SetCreator(creator *string) { - d.Creator = creator - d.require(docMetadataGet200ResponseFieldCreator) -} - -// SetCreated sets the Created field and marks it as non-optional; +// SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocMetadataGet200Response) SetCreated(created *time.Time) { - d.Created = created - d.require(docMetadataGet200ResponseFieldCreated) +func (d *DocPagesFlatten400Response) SetName(name DocPagesFlatten400ResponseName) { + d.Name = name + d.require(docPagesFlatten400ResponseFieldName) } -// SetModified sets the Modified field and marks it as non-optional; +// SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocMetadataGet200Response) SetModified(modified *time.Time) { - d.Modified = modified - d.require(docMetadataGet200ResponseFieldModified) +func (d *DocPagesFlatten400Response) SetCode(code DocPagesFlatten400ResponseCode) { + d.Code = code + d.require(docPagesFlatten400ResponseFieldCode) } -// SetTrapped sets the Trapped field and marks it as non-optional; +// SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocMetadataGet200Response) SetTrapped(trapped DocMetadataGet200ResponseTrapped) { - d.Trapped = trapped - d.require(docMetadataGet200ResponseFieldTrapped) +func (d *DocPagesFlatten400Response) SetMessage(message string) { + d.Message = message + d.require(docPagesFlatten400ResponseFieldMessage) } -// SetCustom sets the Custom field and marks it as non-optional; +// SetDetails sets the Details field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocMetadataGet200Response) SetCustom(custom map[string]string) { - d.Custom = custom - d.require(docMetadataGet200ResponseFieldCustom) +func (d *DocPagesFlatten400Response) SetDetails(details map[string]any) { + d.Details = details + d.require(docPagesFlatten400ResponseFieldDetails) } -func (d *DocMetadataGet200Response) UnmarshalJSON(data []byte) error { - type embed DocMetadataGet200Response - var unmarshaler = struct { - embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` - }{ - embed: embed(*d), - } - if err := json.Unmarshal(data, &unmarshaler); err != nil { +func (d *DocPagesFlatten400Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesFlatten400Response + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocMetadataGet200Response(unmarshaler.embed) - d.Created = unmarshaler.Created.TimePtr() - d.Modified = unmarshaler.Modified.TimePtr() + *d = DocPagesFlatten400Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -128705,22 +133974,18 @@ func (d *DocMetadataGet200Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocMetadataGet200Response) MarshalJSON() ([]byte, error) { - type embed DocMetadataGet200Response +func (d *DocPagesFlatten400Response) MarshalJSON() ([]byte, error) { + type embed DocPagesFlatten400Response var marshaler = struct { embed - Created *internal.DateTime `json:"created,omitempty"` - Modified *internal.DateTime `json:"modified,omitempty"` }{ - embed: embed(*d), - Created: internal.NewOptionalDateTime(d.Created), - Modified: internal.NewOptionalDateTime(d.Modified), + embed: embed(*d), } explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) return json.Marshal(explicitMarshaler) } -func (d *DocMetadataGet200Response) String() string { +func (d *DocPagesFlatten400Response) String() string { if d == nil { return "" } @@ -128735,43 +134000,110 @@ func (d *DocMetadataGet200Response) String() string { return fmt.Sprintf("%#v", d) } -type DocMetadataGet200ResponseTrapped string +type DocPagesFlatten400ResponseCode string const ( - DocMetadataGet200ResponseTrappedTrue DocMetadataGet200ResponseTrapped = "true" - DocMetadataGet200ResponseTrappedFalse DocMetadataGet200ResponseTrapped = "false" - DocMetadataGet200ResponseTrappedUnknown DocMetadataGet200ResponseTrapped = "unknown" + DocPagesFlatten400ResponseCodeUnknown DocPagesFlatten400ResponseCode = "Unknown" + DocPagesFlatten400ResponseCodeInvalidArg DocPagesFlatten400ResponseCode = "InvalidArg" + DocPagesFlatten400ResponseCodeDocNotOpen DocPagesFlatten400ResponseCode = "DocNotOpen" + DocPagesFlatten400ResponseCodeDocOpenFailed DocPagesFlatten400ResponseCode = "DocOpenFailed" + DocPagesFlatten400ResponseCodeDocPasswordRequired DocPagesFlatten400ResponseCode = "DocPasswordRequired" + DocPagesFlatten400ResponseCodeDocPasswordIncorrect DocPagesFlatten400ResponseCode = "DocPasswordIncorrect" + DocPagesFlatten400ResponseCodeSharePasswordRequired DocPagesFlatten400ResponseCode = "SharePasswordRequired" + DocPagesFlatten400ResponseCodeAborted DocPagesFlatten400ResponseCode = "Aborted" + DocPagesFlatten400ResponseCodeNetwork DocPagesFlatten400ResponseCode = "Network" + DocPagesFlatten400ResponseCodeUnauthenticated DocPagesFlatten400ResponseCode = "Unauthenticated" + DocPagesFlatten400ResponseCodeForbidden DocPagesFlatten400ResponseCode = "Forbidden" + DocPagesFlatten400ResponseCodeNotFound DocPagesFlatten400ResponseCode = "NotFound" + DocPagesFlatten400ResponseCodeWireFormat DocPagesFlatten400ResponseCode = "WireFormat" + DocPagesFlatten400ResponseCodeRuntimeUnavailable DocPagesFlatten400ResponseCode = "RuntimeUnavailable" + DocPagesFlatten400ResponseCodeInvalidReference DocPagesFlatten400ResponseCode = "InvalidReference" + DocPagesFlatten400ResponseCodeWeakAnnotationSessionConflict DocPagesFlatten400ResponseCode = "WeakAnnotationSessionConflict" + DocPagesFlatten400ResponseCodeLayerVersionConflict DocPagesFlatten400ResponseCode = "LayerVersionConflict" + DocPagesFlatten400ResponseCodeNotImplemented DocPagesFlatten400ResponseCode = "NotImplemented" + DocPagesFlatten400ResponseCodeMalformedPdf DocPagesFlatten400ResponseCode = "MalformedPdf" ) -func NewDocMetadataGet200ResponseTrappedFromString(s string) (DocMetadataGet200ResponseTrapped, error) { +func NewDocPagesFlatten400ResponseCodeFromString(s string) (DocPagesFlatten400ResponseCode, error) { switch s { - case "true": - return DocMetadataGet200ResponseTrappedTrue, nil - case "false": - return DocMetadataGet200ResponseTrappedFalse, nil - case "unknown": - return DocMetadataGet200ResponseTrappedUnknown, nil + case "Unknown": + return DocPagesFlatten400ResponseCodeUnknown, nil + case "InvalidArg": + return DocPagesFlatten400ResponseCodeInvalidArg, nil + case "DocNotOpen": + return DocPagesFlatten400ResponseCodeDocNotOpen, nil + case "DocOpenFailed": + return DocPagesFlatten400ResponseCodeDocOpenFailed, nil + case "DocPasswordRequired": + return DocPagesFlatten400ResponseCodeDocPasswordRequired, nil + case "DocPasswordIncorrect": + return DocPagesFlatten400ResponseCodeDocPasswordIncorrect, nil + case "SharePasswordRequired": + return DocPagesFlatten400ResponseCodeSharePasswordRequired, nil + case "Aborted": + return DocPagesFlatten400ResponseCodeAborted, nil + case "Network": + return DocPagesFlatten400ResponseCodeNetwork, nil + case "Unauthenticated": + return DocPagesFlatten400ResponseCodeUnauthenticated, nil + case "Forbidden": + return DocPagesFlatten400ResponseCodeForbidden, nil + case "NotFound": + return DocPagesFlatten400ResponseCodeNotFound, nil + case "WireFormat": + return DocPagesFlatten400ResponseCodeWireFormat, nil + case "RuntimeUnavailable": + return DocPagesFlatten400ResponseCodeRuntimeUnavailable, nil + case "InvalidReference": + return DocPagesFlatten400ResponseCodeInvalidReference, nil + case "WeakAnnotationSessionConflict": + return DocPagesFlatten400ResponseCodeWeakAnnotationSessionConflict, nil + case "LayerVersionConflict": + return DocPagesFlatten400ResponseCodeLayerVersionConflict, nil + case "NotImplemented": + return DocPagesFlatten400ResponseCodeNotImplemented, nil + case "MalformedPdf": + return DocPagesFlatten400ResponseCodeMalformedPdf, nil } - var t DocMetadataGet200ResponseTrapped + var t DocPagesFlatten400ResponseCode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocMetadataGet200ResponseTrapped) Ptr() *DocMetadataGet200ResponseTrapped { +func (d DocPagesFlatten400ResponseCode) Ptr() *DocPagesFlatten400ResponseCode { + return &d +} + +type DocPagesFlatten400ResponseName string + +const ( + DocPagesFlatten400ResponseNameEngineError DocPagesFlatten400ResponseName = "EngineError" +) + +func NewDocPagesFlatten400ResponseNameFromString(s string) (DocPagesFlatten400ResponseName, error) { + switch s { + case "EngineError": + return DocPagesFlatten400ResponseNameEngineError, nil + } + var t DocPagesFlatten400ResponseName + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (d DocPagesFlatten400ResponseName) Ptr() *DocPagesFlatten400ResponseName { return &d } var ( - docMetadataGet404ResponseFieldName = big.NewInt(1 << 0) - docMetadataGet404ResponseFieldCode = big.NewInt(1 << 1) - docMetadataGet404ResponseFieldMessage = big.NewInt(1 << 2) - docMetadataGet404ResponseFieldDetails = big.NewInt(1 << 3) + docPagesFlatten404ResponseFieldName = big.NewInt(1 << 0) + docPagesFlatten404ResponseFieldCode = big.NewInt(1 << 1) + docPagesFlatten404ResponseFieldMessage = big.NewInt(1 << 2) + docPagesFlatten404ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocMetadataGet404Response struct { - Name DocMetadataGet404ResponseName `json:"name" url:"name"` - Code DocMetadataGet404ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocPagesFlatten404Response struct { + Name DocPagesFlatten404ResponseName `json:"name" url:"name"` + Code DocPagesFlatten404ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -128780,42 +134112,42 @@ type DocMetadataGet404Response struct { rawJSON json.RawMessage } -func (d *DocMetadataGet404Response) GetName() DocMetadataGet404ResponseName { +func (d *DocPagesFlatten404Response) GetName() DocPagesFlatten404ResponseName { if d == nil { return "" } return d.Name } -func (d *DocMetadataGet404Response) GetCode() DocMetadataGet404ResponseCode { +func (d *DocPagesFlatten404Response) GetCode() DocPagesFlatten404ResponseCode { if d == nil { return "" } return d.Code } -func (d *DocMetadataGet404Response) GetMessage() string { +func (d *DocPagesFlatten404Response) GetMessage() string { if d == nil { return "" } return d.Message } -func (d *DocMetadataGet404Response) GetDetails() map[string]any { +func (d *DocPagesFlatten404Response) GetDetails() map[string]any { if d == nil { return nil } return d.Details } -func (d *DocMetadataGet404Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesFlatten404Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocMetadataGet404Response) require(field *big.Int) { +func (d *DocPagesFlatten404Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -128824,39 +134156,39 @@ func (d *DocMetadataGet404Response) require(field *big.Int) { // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocMetadataGet404Response) SetName(name DocMetadataGet404ResponseName) { +func (d *DocPagesFlatten404Response) SetName(name DocPagesFlatten404ResponseName) { d.Name = name - d.require(docMetadataGet404ResponseFieldName) + d.require(docPagesFlatten404ResponseFieldName) } // SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocMetadataGet404Response) SetCode(code DocMetadataGet404ResponseCode) { +func (d *DocPagesFlatten404Response) SetCode(code DocPagesFlatten404ResponseCode) { d.Code = code - d.require(docMetadataGet404ResponseFieldCode) + d.require(docPagesFlatten404ResponseFieldCode) } // SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocMetadataGet404Response) SetMessage(message string) { +func (d *DocPagesFlatten404Response) SetMessage(message string) { d.Message = message - d.require(docMetadataGet404ResponseFieldMessage) + d.require(docPagesFlatten404ResponseFieldMessage) } // SetDetails sets the Details field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocMetadataGet404Response) SetDetails(details map[string]any) { +func (d *DocPagesFlatten404Response) SetDetails(details map[string]any) { d.Details = details - d.require(docMetadataGet404ResponseFieldDetails) + d.require(docPagesFlatten404ResponseFieldDetails) } -func (d *DocMetadataGet404Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocMetadataGet404Response +func (d *DocPagesFlatten404Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesFlatten404Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocMetadataGet404Response(value) + *d = DocPagesFlatten404Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -128866,8 +134198,8 @@ func (d *DocMetadataGet404Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocMetadataGet404Response) MarshalJSON() ([]byte, error) { - type embed DocMetadataGet404Response +func (d *DocPagesFlatten404Response) MarshalJSON() ([]byte, error) { + type embed DocPagesFlatten404Response var marshaler = struct { embed }{ @@ -128877,7 +134209,7 @@ func (d *DocMetadataGet404Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocMetadataGet404Response) String() string { +func (d *DocPagesFlatten404Response) String() string { if d == nil { return "" } @@ -128892,104 +134224,106 @@ func (d *DocMetadataGet404Response) String() string { return fmt.Sprintf("%#v", d) } -type DocMetadataGet404ResponseCode string +type DocPagesFlatten404ResponseCode string const ( - DocMetadataGet404ResponseCodeUnknown DocMetadataGet404ResponseCode = "Unknown" - DocMetadataGet404ResponseCodeInvalidArg DocMetadataGet404ResponseCode = "InvalidArg" - DocMetadataGet404ResponseCodeDocNotOpen DocMetadataGet404ResponseCode = "DocNotOpen" - DocMetadataGet404ResponseCodeDocOpenFailed DocMetadataGet404ResponseCode = "DocOpenFailed" - DocMetadataGet404ResponseCodeDocPasswordRequired DocMetadataGet404ResponseCode = "DocPasswordRequired" - DocMetadataGet404ResponseCodeDocPasswordIncorrect DocMetadataGet404ResponseCode = "DocPasswordIncorrect" - DocMetadataGet404ResponseCodeSharePasswordRequired DocMetadataGet404ResponseCode = "SharePasswordRequired" - DocMetadataGet404ResponseCodeAborted DocMetadataGet404ResponseCode = "Aborted" - DocMetadataGet404ResponseCodeNetwork DocMetadataGet404ResponseCode = "Network" - DocMetadataGet404ResponseCodeUnauthenticated DocMetadataGet404ResponseCode = "Unauthenticated" - DocMetadataGet404ResponseCodeForbidden DocMetadataGet404ResponseCode = "Forbidden" - DocMetadataGet404ResponseCodeNotFound DocMetadataGet404ResponseCode = "NotFound" - DocMetadataGet404ResponseCodeWireFormat DocMetadataGet404ResponseCode = "WireFormat" - DocMetadataGet404ResponseCodeRuntimeUnavailable DocMetadataGet404ResponseCode = "RuntimeUnavailable" - DocMetadataGet404ResponseCodeInvalidReference DocMetadataGet404ResponseCode = "InvalidReference" - DocMetadataGet404ResponseCodeWeakAnnotationSessionConflict DocMetadataGet404ResponseCode = "WeakAnnotationSessionConflict" - DocMetadataGet404ResponseCodeLayerVersionConflict DocMetadataGet404ResponseCode = "LayerVersionConflict" - DocMetadataGet404ResponseCodeNotImplemented DocMetadataGet404ResponseCode = "NotImplemented" - DocMetadataGet404ResponseCodeMalformedPdf DocMetadataGet404ResponseCode = "MalformedPdf" + DocPagesFlatten404ResponseCodeUnknown DocPagesFlatten404ResponseCode = "Unknown" + DocPagesFlatten404ResponseCodeInvalidArg DocPagesFlatten404ResponseCode = "InvalidArg" + DocPagesFlatten404ResponseCodeDocNotOpen DocPagesFlatten404ResponseCode = "DocNotOpen" + DocPagesFlatten404ResponseCodeDocOpenFailed DocPagesFlatten404ResponseCode = "DocOpenFailed" + DocPagesFlatten404ResponseCodeDocPasswordRequired DocPagesFlatten404ResponseCode = "DocPasswordRequired" + DocPagesFlatten404ResponseCodeDocPasswordIncorrect DocPagesFlatten404ResponseCode = "DocPasswordIncorrect" + DocPagesFlatten404ResponseCodeSharePasswordRequired DocPagesFlatten404ResponseCode = "SharePasswordRequired" + DocPagesFlatten404ResponseCodeAborted DocPagesFlatten404ResponseCode = "Aborted" + DocPagesFlatten404ResponseCodeNetwork DocPagesFlatten404ResponseCode = "Network" + DocPagesFlatten404ResponseCodeUnauthenticated DocPagesFlatten404ResponseCode = "Unauthenticated" + DocPagesFlatten404ResponseCodeForbidden DocPagesFlatten404ResponseCode = "Forbidden" + DocPagesFlatten404ResponseCodeNotFound DocPagesFlatten404ResponseCode = "NotFound" + DocPagesFlatten404ResponseCodeWireFormat DocPagesFlatten404ResponseCode = "WireFormat" + DocPagesFlatten404ResponseCodeRuntimeUnavailable DocPagesFlatten404ResponseCode = "RuntimeUnavailable" + DocPagesFlatten404ResponseCodeInvalidReference DocPagesFlatten404ResponseCode = "InvalidReference" + DocPagesFlatten404ResponseCodeWeakAnnotationSessionConflict DocPagesFlatten404ResponseCode = "WeakAnnotationSessionConflict" + DocPagesFlatten404ResponseCodeLayerVersionConflict DocPagesFlatten404ResponseCode = "LayerVersionConflict" + DocPagesFlatten404ResponseCodeNotImplemented DocPagesFlatten404ResponseCode = "NotImplemented" + DocPagesFlatten404ResponseCodeMalformedPdf DocPagesFlatten404ResponseCode = "MalformedPdf" ) -func NewDocMetadataGet404ResponseCodeFromString(s string) (DocMetadataGet404ResponseCode, error) { +func NewDocPagesFlatten404ResponseCodeFromString(s string) (DocPagesFlatten404ResponseCode, error) { switch s { case "Unknown": - return DocMetadataGet404ResponseCodeUnknown, nil + return DocPagesFlatten404ResponseCodeUnknown, nil case "InvalidArg": - return DocMetadataGet404ResponseCodeInvalidArg, nil + return DocPagesFlatten404ResponseCodeInvalidArg, nil case "DocNotOpen": - return DocMetadataGet404ResponseCodeDocNotOpen, nil + return DocPagesFlatten404ResponseCodeDocNotOpen, nil case "DocOpenFailed": - return DocMetadataGet404ResponseCodeDocOpenFailed, nil + return DocPagesFlatten404ResponseCodeDocOpenFailed, nil case "DocPasswordRequired": - return DocMetadataGet404ResponseCodeDocPasswordRequired, nil + return DocPagesFlatten404ResponseCodeDocPasswordRequired, nil case "DocPasswordIncorrect": - return DocMetadataGet404ResponseCodeDocPasswordIncorrect, nil + return DocPagesFlatten404ResponseCodeDocPasswordIncorrect, nil case "SharePasswordRequired": - return DocMetadataGet404ResponseCodeSharePasswordRequired, nil + return DocPagesFlatten404ResponseCodeSharePasswordRequired, nil case "Aborted": - return DocMetadataGet404ResponseCodeAborted, nil + return DocPagesFlatten404ResponseCodeAborted, nil case "Network": - return DocMetadataGet404ResponseCodeNetwork, nil + return DocPagesFlatten404ResponseCodeNetwork, nil case "Unauthenticated": - return DocMetadataGet404ResponseCodeUnauthenticated, nil + return DocPagesFlatten404ResponseCodeUnauthenticated, nil case "Forbidden": - return DocMetadataGet404ResponseCodeForbidden, nil + return DocPagesFlatten404ResponseCodeForbidden, nil case "NotFound": - return DocMetadataGet404ResponseCodeNotFound, nil + return DocPagesFlatten404ResponseCodeNotFound, nil case "WireFormat": - return DocMetadataGet404ResponseCodeWireFormat, nil + return DocPagesFlatten404ResponseCodeWireFormat, nil case "RuntimeUnavailable": - return DocMetadataGet404ResponseCodeRuntimeUnavailable, nil + return DocPagesFlatten404ResponseCodeRuntimeUnavailable, nil case "InvalidReference": - return DocMetadataGet404ResponseCodeInvalidReference, nil + return DocPagesFlatten404ResponseCodeInvalidReference, nil case "WeakAnnotationSessionConflict": - return DocMetadataGet404ResponseCodeWeakAnnotationSessionConflict, nil + return DocPagesFlatten404ResponseCodeWeakAnnotationSessionConflict, nil case "LayerVersionConflict": - return DocMetadataGet404ResponseCodeLayerVersionConflict, nil + return DocPagesFlatten404ResponseCodeLayerVersionConflict, nil case "NotImplemented": - return DocMetadataGet404ResponseCodeNotImplemented, nil + return DocPagesFlatten404ResponseCodeNotImplemented, nil case "MalformedPdf": - return DocMetadataGet404ResponseCodeMalformedPdf, nil + return DocPagesFlatten404ResponseCodeMalformedPdf, nil } - var t DocMetadataGet404ResponseCode + var t DocPagesFlatten404ResponseCode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocMetadataGet404ResponseCode) Ptr() *DocMetadataGet404ResponseCode { +func (d DocPagesFlatten404ResponseCode) Ptr() *DocPagesFlatten404ResponseCode { return &d } -type DocMetadataGet404ResponseName string +type DocPagesFlatten404ResponseName string const ( - DocMetadataGet404ResponseNameEngineError DocMetadataGet404ResponseName = "EngineError" + DocPagesFlatten404ResponseNameEngineError DocPagesFlatten404ResponseName = "EngineError" ) -func NewDocMetadataGet404ResponseNameFromString(s string) (DocMetadataGet404ResponseName, error) { +func NewDocPagesFlatten404ResponseNameFromString(s string) (DocPagesFlatten404ResponseName, error) { switch s { case "EngineError": - return DocMetadataGet404ResponseNameEngineError, nil + return DocPagesFlatten404ResponseNameEngineError, nil } - var t DocMetadataGet404ResponseName + var t DocPagesFlatten404ResponseName return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocMetadataGet404ResponseName) Ptr() *DocMetadataGet404ResponseName { +func (d DocPagesFlatten404ResponseName) Ptr() *DocPagesFlatten404ResponseName { return &d } +type DocPagesFlattenRequest = map[string]any + var ( - docPagesDelete200ResponseFieldMeta = big.NewInt(1 << 0) + docPagesInsert200ResponseFieldMeta = big.NewInt(1 << 0) ) -type DocPagesDelete200Response struct { - Meta *DocPagesDelete200ResponseMeta `json:"meta" url:"meta"` +type DocPagesInsert200Response struct { + Meta *DocPagesInsert200ResponseMeta `json:"meta" url:"meta"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -128999,21 +134333,21 @@ type DocPagesDelete200Response struct { rawJSON json.RawMessage } -func (d *DocPagesDelete200Response) GetMeta() *DocPagesDelete200ResponseMeta { +func (d *DocPagesInsert200Response) GetMeta() *DocPagesInsert200ResponseMeta { if d == nil { return nil } return d.Meta } -func (d *DocPagesDelete200Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesInsert200Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.ExtraProperties } -func (d *DocPagesDelete200Response) require(field *big.Int) { +func (d *DocPagesInsert200Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -129022,13 +134356,13 @@ func (d *DocPagesDelete200Response) require(field *big.Int) { // SetMeta sets the Meta field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete200Response) SetMeta(meta *DocPagesDelete200ResponseMeta) { +func (d *DocPagesInsert200Response) SetMeta(meta *DocPagesInsert200ResponseMeta) { d.Meta = meta - d.require(docPagesDelete200ResponseFieldMeta) + d.require(docPagesInsert200ResponseFieldMeta) } -func (d *DocPagesDelete200Response) UnmarshalJSON(data []byte) error { - type embed DocPagesDelete200Response +func (d *DocPagesInsert200Response) UnmarshalJSON(data []byte) error { + type embed DocPagesInsert200Response var unmarshaler = struct { embed }{ @@ -129037,7 +134371,7 @@ func (d *DocPagesDelete200Response) UnmarshalJSON(data []byte) error { if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocPagesDelete200Response(unmarshaler.embed) + *d = DocPagesInsert200Response(unmarshaler.embed) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -129047,8 +134381,8 @@ func (d *DocPagesDelete200Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesDelete200Response) MarshalJSON() ([]byte, error) { - type embed DocPagesDelete200Response +func (d *DocPagesInsert200Response) MarshalJSON() ([]byte, error) { + type embed DocPagesInsert200Response var marshaler = struct { embed }{ @@ -129058,7 +134392,7 @@ func (d *DocPagesDelete200Response) MarshalJSON() ([]byte, error) { return internal.MarshalJSONWithExtraProperties(explicitMarshaler, d.ExtraProperties) } -func (d *DocPagesDelete200Response) String() string { +func (d *DocPagesInsert200Response) String() string { if d == nil { return "" } @@ -129074,13 +134408,13 @@ func (d *DocPagesDelete200Response) String() string { } var ( - docPagesDelete200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) - docPagesDelete200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) + docPagesInsert200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) + docPagesInsert200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) ) -type DocPagesDelete200ResponseMeta struct { - AffectedPages []*DocPagesDelete200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` - CacheDelta *DocPagesDelete200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` +type DocPagesInsert200ResponseMeta struct { + AffectedPages []*DocPagesInsert200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` + CacheDelta *DocPagesInsert200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -129089,28 +134423,28 @@ type DocPagesDelete200ResponseMeta struct { rawJSON json.RawMessage } -func (d *DocPagesDelete200ResponseMeta) GetAffectedPages() []*DocPagesDelete200ResponseMetaAffectedPagesItem { +func (d *DocPagesInsert200ResponseMeta) GetAffectedPages() []*DocPagesInsert200ResponseMetaAffectedPagesItem { if d == nil { return nil } return d.AffectedPages } -func (d *DocPagesDelete200ResponseMeta) GetCacheDelta() *DocPagesDelete200ResponseMetaCacheDelta { +func (d *DocPagesInsert200ResponseMeta) GetCacheDelta() *DocPagesInsert200ResponseMetaCacheDelta { if d == nil { return nil } return d.CacheDelta } -func (d *DocPagesDelete200ResponseMeta) GetExtraProperties() map[string]interface{} { +func (d *DocPagesInsert200ResponseMeta) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesDelete200ResponseMeta) require(field *big.Int) { +func (d *DocPagesInsert200ResponseMeta) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -129119,25 +134453,25 @@ func (d *DocPagesDelete200ResponseMeta) require(field *big.Int) { // SetAffectedPages sets the AffectedPages field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete200ResponseMeta) SetAffectedPages(affectedPages []*DocPagesDelete200ResponseMetaAffectedPagesItem) { +func (d *DocPagesInsert200ResponseMeta) SetAffectedPages(affectedPages []*DocPagesInsert200ResponseMetaAffectedPagesItem) { d.AffectedPages = affectedPages - d.require(docPagesDelete200ResponseMetaFieldAffectedPages) + d.require(docPagesInsert200ResponseMetaFieldAffectedPages) } // SetCacheDelta sets the CacheDelta field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete200ResponseMeta) SetCacheDelta(cacheDelta *DocPagesDelete200ResponseMetaCacheDelta) { +func (d *DocPagesInsert200ResponseMeta) SetCacheDelta(cacheDelta *DocPagesInsert200ResponseMetaCacheDelta) { d.CacheDelta = cacheDelta - d.require(docPagesDelete200ResponseMetaFieldCacheDelta) + d.require(docPagesInsert200ResponseMetaFieldCacheDelta) } -func (d *DocPagesDelete200ResponseMeta) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesDelete200ResponseMeta +func (d *DocPagesInsert200ResponseMeta) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesInsert200ResponseMeta var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesDelete200ResponseMeta(value) + *d = DocPagesInsert200ResponseMeta(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -129147,8 +134481,8 @@ func (d *DocPagesDelete200ResponseMeta) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesDelete200ResponseMeta) MarshalJSON() ([]byte, error) { - type embed DocPagesDelete200ResponseMeta +func (d *DocPagesInsert200ResponseMeta) MarshalJSON() ([]byte, error) { + type embed DocPagesInsert200ResponseMeta var marshaler = struct { embed }{ @@ -129158,7 +134492,7 @@ func (d *DocPagesDelete200ResponseMeta) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocPagesDelete200ResponseMeta) String() string { +func (d *DocPagesInsert200ResponseMeta) String() string { if d == nil { return "" } @@ -129174,15 +134508,15 @@ func (d *DocPagesDelete200ResponseMeta) String() string { } var ( - docPagesDelete200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) - docPagesDelete200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) - docPagesDelete200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) + docPagesInsert200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docPagesInsert200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) + docPagesInsert200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) ) -type DocPagesDelete200ResponseMetaAffectedPagesItem struct { +type DocPagesInsert200ResponseMetaAffectedPagesItem struct { PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Revision *DocPagesDelete200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` - WeakAnnotationState *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` + Revision *DocPagesInsert200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` + WeakAnnotationState *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -129191,35 +134525,35 @@ type DocPagesDelete200ResponseMetaAffectedPagesItem struct { rawJSON json.RawMessage } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) GetRevision() *DocPagesDelete200ResponseMetaAffectedPagesItemRevision { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) GetRevision() *DocPagesInsert200ResponseMetaAffectedPagesItemRevision { if d == nil { return nil } return d.Revision } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState { if d == nil { return nil } return d.WeakAnnotationState } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) require(field *big.Int) { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -129228,32 +134562,32 @@ func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) require(field *big.Int) // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docPagesDelete200ResponseMetaAffectedPagesItemFieldPageObjectNumber) + d.require(docPagesInsert200ResponseMetaAffectedPagesItemFieldPageObjectNumber) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) SetRevision(revision *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) SetRevision(revision *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) { d.Revision = revision - d.require(docPagesDelete200ResponseMetaAffectedPagesItemFieldRevision) + d.require(docPagesInsert200ResponseMetaAffectedPagesItemFieldRevision) } // SetWeakAnnotationState sets the WeakAnnotationState field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState) { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState) { d.WeakAnnotationState = weakAnnotationState - d.require(docPagesDelete200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) + d.require(docPagesInsert200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesDelete200ResponseMetaAffectedPagesItem +func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesInsert200ResponseMetaAffectedPagesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesDelete200ResponseMetaAffectedPagesItem(value) + *d = DocPagesInsert200ResponseMetaAffectedPagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -129263,8 +134597,8 @@ func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []by return nil } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { - type embed DocPagesDelete200ResponseMetaAffectedPagesItem +func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { + type embed DocPagesInsert200ResponseMetaAffectedPagesItem var marshaler = struct { embed }{ @@ -129274,7 +134608,7 @@ func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, return json.Marshal(explicitMarshaler) } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) String() string { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) String() string { if d == nil { return "" } @@ -129290,12 +134624,12 @@ func (d *DocPagesDelete200ResponseMetaAffectedPagesItem) String() string { } var ( - docPagesDelete200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) - docPagesDelete200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docPagesDelete200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) + docPagesInsert200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) + docPagesInsert200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docPagesInsert200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocPagesDelete200ResponseMetaAffectedPagesItemRevision struct { +type DocPagesInsert200ResponseMetaAffectedPagesItemRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -129307,35 +134641,35 @@ type DocPagesDelete200ResponseMetaAffectedPagesItemRevision struct { rawJSON json.RawMessage } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -129344,32 +134678,32 @@ func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) require(field * // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docPagesDelete200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) + d.require(docPagesInsert200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docPagesDelete200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) + d.require(docPagesInsert200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docPagesDelete200ResponseMetaAffectedPagesItemRevisionFieldGeneration) + d.require(docPagesInsert200ResponseMetaAffectedPagesItemRevisionFieldGeneration) } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesDelete200ResponseMetaAffectedPagesItemRevision +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesInsert200ResponseMetaAffectedPagesItemRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesDelete200ResponseMetaAffectedPagesItemRevision(value) + *d = DocPagesInsert200ResponseMetaAffectedPagesItemRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -129379,8 +134713,8 @@ func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(d return nil } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { - type embed DocPagesDelete200ResponseMetaAffectedPagesItemRevision +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { + type embed DocPagesInsert200ResponseMetaAffectedPagesItemRevision var marshaler = struct { embed }{ @@ -129390,7 +134724,7 @@ func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ( return json.Marshal(explicitMarshaler) } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) String() string { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) String() string { if d == nil { return "" } @@ -129405,36 +134739,36 @@ func (d *DocPagesDelete200ResponseMetaAffectedPagesItemRevision) String() string return fmt.Sprintf("%#v", d) } -type DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState struct { +type DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState struct { Kind string - Unknown *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown - Known *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + Unknown *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + Known *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown rawJSON json.RawMessage } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { if d == nil { return nil } return d.Unknown } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { if d == nil { return nil } return d.Known } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -129447,13 +134781,13 @@ func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState) Unma } switch unmarshaler.Kind { case "unknown": - value := new(DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) + value := new(DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) if err := json.Unmarshal(data, &value); err != nil { return err } d.Unknown = value case "known": - value := new(DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) + value := new(DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -129463,7 +134797,7 @@ func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState) Unma return nil } -func (d DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { +func (d DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -129479,12 +134813,12 @@ func (d DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState) Marsh return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { - VisitUnknown(*DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error - VisitKnown(*DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error +type DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { + VisitUnknown(*DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error + VisitKnown(*DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { if d.Unknown != nil { return visitor.VisitUnknown(d.Unknown) } @@ -129494,7 +134828,7 @@ func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState) Acce return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -129532,10 +134866,10 @@ func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState) vali } var ( - docPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) + docPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) ) -type DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { +type DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { HasAnyWeakAnnotations bool `json:"hasAnyWeakAnnotations" url:"hasAnyWeakAnnotations"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -129545,238 +134879,41 @@ type DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown stru rawJSON json.RawMessage } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { if d == nil { return false } return d.HasAnyWeakAnnotations } -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetHasAnyWeakAnnotations sets the HasAnyWeakAnnotations field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { - d.HasAnyWeakAnnotations = hasAnyWeakAnnotations - d.require(docPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) -} - -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { - type embed DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -type DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) - extraProperties, err := internal.ExtractExtraProperties(data, *d) - if err != nil { - return err - } - d.extraProperties = extraProperties - d.rawJSON = json.RawMessage(data) - return nil -} - -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { - type embed DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown - var marshaler = struct { - embed - }{ - embed: embed(*d), - } - explicitMarshaler := internal.HandleExplicitFields(marshaler, d.explicitFields) - return json.Marshal(explicitMarshaler) -} - -func (d *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { - if d == nil { - return "" - } - if len(d.rawJSON) > 0 { - if value, err := internal.StringifyJSON(d.rawJSON); err == nil { - return value - } - } - if value, err := internal.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) -} - -var ( - docPagesDelete200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) - docPagesDelete200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) - docPagesDelete200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) - docPagesDelete200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) -) - -type DocPagesDelete200ResponseMetaCacheDelta struct { - PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` - DocVersion int `json:"docVersion" url:"docVersion"` - AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` - Pages []*DocPagesDelete200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` - - // Private bitmask of fields set to an explicit value and therefore not to be omitted - explicitFields *big.Int `json:"-" url:"-"` - - extraProperties map[string]interface{} - rawJSON json.RawMessage -} - -func (d *DocPagesDelete200ResponseMetaCacheDelta) GetPreviousDocVersion() int { - if d == nil { - return 0 - } - return d.PreviousDocVersion -} - -func (d *DocPagesDelete200ResponseMetaCacheDelta) GetDocVersion() int { - if d == nil { - return 0 - } - return d.DocVersion -} - -func (d *DocPagesDelete200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { - if d == nil { - return nil - } - return d.AnnotationsVersion -} - -func (d *DocPagesDelete200ResponseMetaCacheDelta) GetPages() []*DocPagesDelete200ResponseMetaCacheDeltaPagesItem { - if d == nil { - return nil - } - return d.Pages -} - -func (d *DocPagesDelete200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { - if d == nil { - return nil - } - return d.extraProperties -} - -func (d *DocPagesDelete200ResponseMetaCacheDelta) require(field *big.Int) { - if d.explicitFields == nil { - d.explicitFields = big.NewInt(0) - } - d.explicitFields.Or(d.explicitFields, field) -} - -// SetPreviousDocVersion sets the PreviousDocVersion field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { - d.PreviousDocVersion = previousDocVersion - d.require(docPagesDelete200ResponseMetaCacheDeltaFieldPreviousDocVersion) -} - -// SetDocVersion sets the DocVersion field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { - d.DocVersion = docVersion - d.require(docPagesDelete200ResponseMetaCacheDeltaFieldDocVersion) -} - -// SetAnnotationsVersion sets the AnnotationsVersion field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { - d.AnnotationsVersion = annotationsVersion - d.require(docPagesDelete200ResponseMetaCacheDeltaFieldAnnotationsVersion) +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { + if d == nil { + return nil + } + return d.extraProperties } -// SetPages sets the Pages field and marks it as non-optional; +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { + if d.explicitFields == nil { + d.explicitFields = big.NewInt(0) + } + d.explicitFields.Or(d.explicitFields, field) +} + +// SetHasAnyWeakAnnotations sets the HasAnyWeakAnnotations field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete200ResponseMetaCacheDelta) SetPages(pages []*DocPagesDelete200ResponseMetaCacheDeltaPagesItem) { - d.Pages = pages - d.require(docPagesDelete200ResponseMetaCacheDeltaFieldPages) +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { + d.HasAnyWeakAnnotations = hasAnyWeakAnnotations + d.require(docPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) } -func (d *DocPagesDelete200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesDelete200ResponseMetaCacheDelta +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesDelete200ResponseMetaCacheDelta(value) + *d = DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -129786,8 +134923,8 @@ func (d *DocPagesDelete200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) err return nil } -func (d *DocPagesDelete200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { - type embed DocPagesDelete200ResponseMetaCacheDelta +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { + type embed DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown var marshaler = struct { embed }{ @@ -129797,7 +134934,7 @@ func (d *DocPagesDelete200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) return json.Marshal(explicitMarshaler) } -func (d *DocPagesDelete200ResponseMetaCacheDelta) String() string { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { if d == nil { return "" } @@ -129812,14 +134949,7 @@ func (d *DocPagesDelete200ResponseMetaCacheDelta) String() string { return fmt.Sprintf("%#v", d) } -var ( - docPagesDelete200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) - docPagesDelete200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) -) - -type DocPagesDelete200ResponseMetaCacheDeltaPagesItem struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Cache *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` +type DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -129828,55 +134958,27 @@ type DocPagesDelete200ResponseMetaCacheDeltaPagesItem struct { rawJSON json.RawMessage } -func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { - if d == nil { - return 0 - } - return d.PageObjectNumber -} - -func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItem) GetCache() *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache { - if d == nil { - return nil - } - return d.Cache -} - -func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { - d.PageObjectNumber = pageObjectNumber - d.require(docPagesDelete200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) -} - -// SetCache sets the Cache field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) { - d.Cache = cache - d.require(docPagesDelete200ResponseMetaCacheDeltaPagesItemFieldCache) -} - -func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesDelete200ResponseMetaCacheDeltaPagesItem +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesDelete200ResponseMetaCacheDeltaPagesItem(value) + *d = DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -129886,8 +134988,8 @@ func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data [] return nil } -func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { - type embed DocPagesDelete200ResponseMetaCacheDeltaPagesItem +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { + type embed DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var marshaler = struct { embed }{ @@ -129897,7 +134999,7 @@ func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte return json.Marshal(explicitMarshaler) } -func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItem) String() string { +func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { if d == nil { return "" } @@ -129913,13 +135015,17 @@ func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItem) String() string { } var ( - docPagesDelete200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) - docPagesDelete200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) + docPagesInsert200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) + docPagesInsert200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) + docPagesInsert200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) + docPagesInsert200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) ) -type DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache struct { - ContentVersion int `json:"contentVersion" url:"contentVersion"` - AnnotationVersion int `json:"annotationVersion" url:"annotationVersion"` +type DocPagesInsert200ResponseMetaCacheDelta struct { + PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` + DocVersion int `json:"docVersion" url:"docVersion"` + AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` + Pages []*DocPagesInsert200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -129928,55 +135034,83 @@ type DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache struct { rawJSON json.RawMessage } -func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { +func (d *DocPagesInsert200ResponseMetaCacheDelta) GetPreviousDocVersion() int { if d == nil { return 0 } - return d.ContentVersion + return d.PreviousDocVersion } -func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { +func (d *DocPagesInsert200ResponseMetaCacheDelta) GetDocVersion() int { if d == nil { return 0 } - return d.AnnotationVersion + return d.DocVersion } -func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { +func (d *DocPagesInsert200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { + if d == nil { + return nil + } + return d.AnnotationsVersion +} + +func (d *DocPagesInsert200ResponseMetaCacheDelta) GetPages() []*DocPagesInsert200ResponseMetaCacheDeltaPagesItem { + if d == nil { + return nil + } + return d.Pages +} + +func (d *DocPagesInsert200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { +func (d *DocPagesInsert200ResponseMetaCacheDelta) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetContentVersion sets the ContentVersion field and marks it as non-optional; +// SetPreviousDocVersion sets the PreviousDocVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { - d.ContentVersion = contentVersion - d.require(docPagesDelete200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) +func (d *DocPagesInsert200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { + d.PreviousDocVersion = previousDocVersion + d.require(docPagesInsert200ResponseMetaCacheDeltaFieldPreviousDocVersion) } -// SetAnnotationVersion sets the AnnotationVersion field and marks it as non-optional; +// SetDocVersion sets the DocVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { - d.AnnotationVersion = annotationVersion - d.require(docPagesDelete200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) +func (d *DocPagesInsert200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { + d.DocVersion = docVersion + d.require(docPagesInsert200ResponseMetaCacheDeltaFieldDocVersion) } -func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache +// SetAnnotationsVersion sets the AnnotationsVersion field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocPagesInsert200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { + d.AnnotationsVersion = annotationsVersion + d.require(docPagesInsert200ResponseMetaCacheDeltaFieldAnnotationsVersion) +} + +// SetPages sets the Pages field and marks it as non-optional; +// this prevents an empty or null value for this field from being omitted during serialization. +func (d *DocPagesInsert200ResponseMetaCacheDelta) SetPages(pages []*DocPagesInsert200ResponseMetaCacheDeltaPagesItem) { + d.Pages = pages + d.require(docPagesInsert200ResponseMetaCacheDeltaFieldPages) +} + +func (d *DocPagesInsert200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesInsert200ResponseMetaCacheDelta var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache(value) + *d = DocPagesInsert200ResponseMetaCacheDelta(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -129986,8 +135120,8 @@ func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(da return nil } -func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { - type embed DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache +func (d *DocPagesInsert200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { + type embed DocPagesInsert200ResponseMetaCacheDelta var marshaler = struct { embed }{ @@ -129997,7 +135131,7 @@ func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([ return json.Marshal(explicitMarshaler) } -func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) String() string { +func (d *DocPagesInsert200ResponseMetaCacheDelta) String() string { if d == nil { return "" } @@ -130013,17 +135147,13 @@ func (d *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache) String() string } var ( - docPagesDelete400ResponseFieldName = big.NewInt(1 << 0) - docPagesDelete400ResponseFieldCode = big.NewInt(1 << 1) - docPagesDelete400ResponseFieldMessage = big.NewInt(1 << 2) - docPagesDelete400ResponseFieldDetails = big.NewInt(1 << 3) + docPagesInsert200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docPagesInsert200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) ) -type DocPagesDelete400Response struct { - Name DocPagesDelete400ResponseName `json:"name" url:"name"` - Code DocPagesDelete400ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocPagesInsert200ResponseMetaCacheDeltaPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Cache *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -130032,83 +135162,55 @@ type DocPagesDelete400Response struct { rawJSON json.RawMessage } -func (d *DocPagesDelete400Response) GetName() DocPagesDelete400ResponseName { - if d == nil { - return "" - } - return d.Name -} - -func (d *DocPagesDelete400Response) GetCode() DocPagesDelete400ResponseCode { - if d == nil { - return "" - } - return d.Code -} - -func (d *DocPagesDelete400Response) GetMessage() string { +func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { if d == nil { - return "" + return 0 } - return d.Message + return d.PageObjectNumber } -func (d *DocPagesDelete400Response) GetDetails() map[string]any { +func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItem) GetCache() *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache { if d == nil { return nil } - return d.Details + return d.Cache } -func (d *DocPagesDelete400Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesDelete400Response) require(field *big.Int) { +func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetName sets the Name field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete400Response) SetName(name DocPagesDelete400ResponseName) { - d.Name = name - d.require(docPagesDelete400ResponseFieldName) -} - -// SetCode sets the Code field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete400Response) SetCode(code DocPagesDelete400ResponseCode) { - d.Code = code - d.require(docPagesDelete400ResponseFieldCode) -} - -// SetMessage sets the Message field and marks it as non-optional; +// SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete400Response) SetMessage(message string) { - d.Message = message - d.require(docPagesDelete400ResponseFieldMessage) +func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { + d.PageObjectNumber = pageObjectNumber + d.require(docPagesInsert200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) } -// SetDetails sets the Details field and marks it as non-optional; +// SetCache sets the Cache field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete400Response) SetDetails(details map[string]any) { - d.Details = details - d.require(docPagesDelete400ResponseFieldDetails) +func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) { + d.Cache = cache + d.require(docPagesInsert200ResponseMetaCacheDeltaPagesItemFieldCache) } -func (d *DocPagesDelete400Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesDelete400Response +func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesInsert200ResponseMetaCacheDeltaPagesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesDelete400Response(value) + *d = DocPagesInsert200ResponseMetaCacheDeltaPagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -130118,8 +135220,8 @@ func (d *DocPagesDelete400Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesDelete400Response) MarshalJSON() ([]byte, error) { - type embed DocPagesDelete400Response +func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { + type embed DocPagesInsert200ResponseMetaCacheDeltaPagesItem var marshaler = struct { embed }{ @@ -130129,7 +135231,7 @@ func (d *DocPagesDelete400Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocPagesDelete400Response) String() string { +func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItem) String() string { if d == nil { return "" } @@ -130144,110 +135246,14 @@ func (d *DocPagesDelete400Response) String() string { return fmt.Sprintf("%#v", d) } -type DocPagesDelete400ResponseCode string - -const ( - DocPagesDelete400ResponseCodeUnknown DocPagesDelete400ResponseCode = "Unknown" - DocPagesDelete400ResponseCodeInvalidArg DocPagesDelete400ResponseCode = "InvalidArg" - DocPagesDelete400ResponseCodeDocNotOpen DocPagesDelete400ResponseCode = "DocNotOpen" - DocPagesDelete400ResponseCodeDocOpenFailed DocPagesDelete400ResponseCode = "DocOpenFailed" - DocPagesDelete400ResponseCodeDocPasswordRequired DocPagesDelete400ResponseCode = "DocPasswordRequired" - DocPagesDelete400ResponseCodeDocPasswordIncorrect DocPagesDelete400ResponseCode = "DocPasswordIncorrect" - DocPagesDelete400ResponseCodeSharePasswordRequired DocPagesDelete400ResponseCode = "SharePasswordRequired" - DocPagesDelete400ResponseCodeAborted DocPagesDelete400ResponseCode = "Aborted" - DocPagesDelete400ResponseCodeNetwork DocPagesDelete400ResponseCode = "Network" - DocPagesDelete400ResponseCodeUnauthenticated DocPagesDelete400ResponseCode = "Unauthenticated" - DocPagesDelete400ResponseCodeForbidden DocPagesDelete400ResponseCode = "Forbidden" - DocPagesDelete400ResponseCodeNotFound DocPagesDelete400ResponseCode = "NotFound" - DocPagesDelete400ResponseCodeWireFormat DocPagesDelete400ResponseCode = "WireFormat" - DocPagesDelete400ResponseCodeRuntimeUnavailable DocPagesDelete400ResponseCode = "RuntimeUnavailable" - DocPagesDelete400ResponseCodeInvalidReference DocPagesDelete400ResponseCode = "InvalidReference" - DocPagesDelete400ResponseCodeWeakAnnotationSessionConflict DocPagesDelete400ResponseCode = "WeakAnnotationSessionConflict" - DocPagesDelete400ResponseCodeLayerVersionConflict DocPagesDelete400ResponseCode = "LayerVersionConflict" - DocPagesDelete400ResponseCodeNotImplemented DocPagesDelete400ResponseCode = "NotImplemented" - DocPagesDelete400ResponseCodeMalformedPdf DocPagesDelete400ResponseCode = "MalformedPdf" -) - -func NewDocPagesDelete400ResponseCodeFromString(s string) (DocPagesDelete400ResponseCode, error) { - switch s { - case "Unknown": - return DocPagesDelete400ResponseCodeUnknown, nil - case "InvalidArg": - return DocPagesDelete400ResponseCodeInvalidArg, nil - case "DocNotOpen": - return DocPagesDelete400ResponseCodeDocNotOpen, nil - case "DocOpenFailed": - return DocPagesDelete400ResponseCodeDocOpenFailed, nil - case "DocPasswordRequired": - return DocPagesDelete400ResponseCodeDocPasswordRequired, nil - case "DocPasswordIncorrect": - return DocPagesDelete400ResponseCodeDocPasswordIncorrect, nil - case "SharePasswordRequired": - return DocPagesDelete400ResponseCodeSharePasswordRequired, nil - case "Aborted": - return DocPagesDelete400ResponseCodeAborted, nil - case "Network": - return DocPagesDelete400ResponseCodeNetwork, nil - case "Unauthenticated": - return DocPagesDelete400ResponseCodeUnauthenticated, nil - case "Forbidden": - return DocPagesDelete400ResponseCodeForbidden, nil - case "NotFound": - return DocPagesDelete400ResponseCodeNotFound, nil - case "WireFormat": - return DocPagesDelete400ResponseCodeWireFormat, nil - case "RuntimeUnavailable": - return DocPagesDelete400ResponseCodeRuntimeUnavailable, nil - case "InvalidReference": - return DocPagesDelete400ResponseCodeInvalidReference, nil - case "WeakAnnotationSessionConflict": - return DocPagesDelete400ResponseCodeWeakAnnotationSessionConflict, nil - case "LayerVersionConflict": - return DocPagesDelete400ResponseCodeLayerVersionConflict, nil - case "NotImplemented": - return DocPagesDelete400ResponseCodeNotImplemented, nil - case "MalformedPdf": - return DocPagesDelete400ResponseCodeMalformedPdf, nil - } - var t DocPagesDelete400ResponseCode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocPagesDelete400ResponseCode) Ptr() *DocPagesDelete400ResponseCode { - return &d -} - -type DocPagesDelete400ResponseName string - -const ( - DocPagesDelete400ResponseNameEngineError DocPagesDelete400ResponseName = "EngineError" -) - -func NewDocPagesDelete400ResponseNameFromString(s string) (DocPagesDelete400ResponseName, error) { - switch s { - case "EngineError": - return DocPagesDelete400ResponseNameEngineError, nil - } - var t DocPagesDelete400ResponseName - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocPagesDelete400ResponseName) Ptr() *DocPagesDelete400ResponseName { - return &d -} - var ( - docPagesDelete404ResponseFieldName = big.NewInt(1 << 0) - docPagesDelete404ResponseFieldCode = big.NewInt(1 << 1) - docPagesDelete404ResponseFieldMessage = big.NewInt(1 << 2) - docPagesDelete404ResponseFieldDetails = big.NewInt(1 << 3) + docPagesInsert200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) + docPagesInsert200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) ) -type DocPagesDelete404Response struct { - Name DocPagesDelete404ResponseName `json:"name" url:"name"` - Code DocPagesDelete404ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache struct { + ContentVersion int `json:"contentVersion" url:"contentVersion"` + AnnotationVersion int `json:"annotationVersion" url:"annotationVersion"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -130256,83 +135262,55 @@ type DocPagesDelete404Response struct { rawJSON json.RawMessage } -func (d *DocPagesDelete404Response) GetName() DocPagesDelete404ResponseName { - if d == nil { - return "" - } - return d.Name -} - -func (d *DocPagesDelete404Response) GetCode() DocPagesDelete404ResponseCode { - if d == nil { - return "" - } - return d.Code -} - -func (d *DocPagesDelete404Response) GetMessage() string { +func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { if d == nil { - return "" + return 0 } - return d.Message + return d.ContentVersion } -func (d *DocPagesDelete404Response) GetDetails() map[string]any { +func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { if d == nil { - return nil + return 0 } - return d.Details + return d.AnnotationVersion } -func (d *DocPagesDelete404Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesDelete404Response) require(field *big.Int) { +func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -// SetName sets the Name field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete404Response) SetName(name DocPagesDelete404ResponseName) { - d.Name = name - d.require(docPagesDelete404ResponseFieldName) -} - -// SetCode sets the Code field and marks it as non-optional; -// this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete404Response) SetCode(code DocPagesDelete404ResponseCode) { - d.Code = code - d.require(docPagesDelete404ResponseFieldCode) -} - -// SetMessage sets the Message field and marks it as non-optional; +// SetContentVersion sets the ContentVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete404Response) SetMessage(message string) { - d.Message = message - d.require(docPagesDelete404ResponseFieldMessage) +func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { + d.ContentVersion = contentVersion + d.require(docPagesInsert200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) } -// SetDetails sets the Details field and marks it as non-optional; +// SetAnnotationVersion sets the AnnotationVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesDelete404Response) SetDetails(details map[string]any) { - d.Details = details - d.require(docPagesDelete404ResponseFieldDetails) +func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { + d.AnnotationVersion = annotationVersion + d.require(docPagesInsert200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) } -func (d *DocPagesDelete404Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesDelete404Response +func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesDelete404Response(value) + *d = DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -130342,8 +135320,8 @@ func (d *DocPagesDelete404Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesDelete404Response) MarshalJSON() ([]byte, error) { - type embed DocPagesDelete404Response +func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { + type embed DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache var marshaler = struct { embed }{ @@ -130353,7 +135331,7 @@ func (d *DocPagesDelete404Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocPagesDelete404Response) String() string { +func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) String() string { if d == nil { return "" } @@ -130368,112 +135346,18 @@ func (d *DocPagesDelete404Response) String() string { return fmt.Sprintf("%#v", d) } -type DocPagesDelete404ResponseCode string - -const ( - DocPagesDelete404ResponseCodeUnknown DocPagesDelete404ResponseCode = "Unknown" - DocPagesDelete404ResponseCodeInvalidArg DocPagesDelete404ResponseCode = "InvalidArg" - DocPagesDelete404ResponseCodeDocNotOpen DocPagesDelete404ResponseCode = "DocNotOpen" - DocPagesDelete404ResponseCodeDocOpenFailed DocPagesDelete404ResponseCode = "DocOpenFailed" - DocPagesDelete404ResponseCodeDocPasswordRequired DocPagesDelete404ResponseCode = "DocPasswordRequired" - DocPagesDelete404ResponseCodeDocPasswordIncorrect DocPagesDelete404ResponseCode = "DocPasswordIncorrect" - DocPagesDelete404ResponseCodeSharePasswordRequired DocPagesDelete404ResponseCode = "SharePasswordRequired" - DocPagesDelete404ResponseCodeAborted DocPagesDelete404ResponseCode = "Aborted" - DocPagesDelete404ResponseCodeNetwork DocPagesDelete404ResponseCode = "Network" - DocPagesDelete404ResponseCodeUnauthenticated DocPagesDelete404ResponseCode = "Unauthenticated" - DocPagesDelete404ResponseCodeForbidden DocPagesDelete404ResponseCode = "Forbidden" - DocPagesDelete404ResponseCodeNotFound DocPagesDelete404ResponseCode = "NotFound" - DocPagesDelete404ResponseCodeWireFormat DocPagesDelete404ResponseCode = "WireFormat" - DocPagesDelete404ResponseCodeRuntimeUnavailable DocPagesDelete404ResponseCode = "RuntimeUnavailable" - DocPagesDelete404ResponseCodeInvalidReference DocPagesDelete404ResponseCode = "InvalidReference" - DocPagesDelete404ResponseCodeWeakAnnotationSessionConflict DocPagesDelete404ResponseCode = "WeakAnnotationSessionConflict" - DocPagesDelete404ResponseCodeLayerVersionConflict DocPagesDelete404ResponseCode = "LayerVersionConflict" - DocPagesDelete404ResponseCodeNotImplemented DocPagesDelete404ResponseCode = "NotImplemented" - DocPagesDelete404ResponseCodeMalformedPdf DocPagesDelete404ResponseCode = "MalformedPdf" -) - -func NewDocPagesDelete404ResponseCodeFromString(s string) (DocPagesDelete404ResponseCode, error) { - switch s { - case "Unknown": - return DocPagesDelete404ResponseCodeUnknown, nil - case "InvalidArg": - return DocPagesDelete404ResponseCodeInvalidArg, nil - case "DocNotOpen": - return DocPagesDelete404ResponseCodeDocNotOpen, nil - case "DocOpenFailed": - return DocPagesDelete404ResponseCodeDocOpenFailed, nil - case "DocPasswordRequired": - return DocPagesDelete404ResponseCodeDocPasswordRequired, nil - case "DocPasswordIncorrect": - return DocPagesDelete404ResponseCodeDocPasswordIncorrect, nil - case "SharePasswordRequired": - return DocPagesDelete404ResponseCodeSharePasswordRequired, nil - case "Aborted": - return DocPagesDelete404ResponseCodeAborted, nil - case "Network": - return DocPagesDelete404ResponseCodeNetwork, nil - case "Unauthenticated": - return DocPagesDelete404ResponseCodeUnauthenticated, nil - case "Forbidden": - return DocPagesDelete404ResponseCodeForbidden, nil - case "NotFound": - return DocPagesDelete404ResponseCodeNotFound, nil - case "WireFormat": - return DocPagesDelete404ResponseCodeWireFormat, nil - case "RuntimeUnavailable": - return DocPagesDelete404ResponseCodeRuntimeUnavailable, nil - case "InvalidReference": - return DocPagesDelete404ResponseCodeInvalidReference, nil - case "WeakAnnotationSessionConflict": - return DocPagesDelete404ResponseCodeWeakAnnotationSessionConflict, nil - case "LayerVersionConflict": - return DocPagesDelete404ResponseCodeLayerVersionConflict, nil - case "NotImplemented": - return DocPagesDelete404ResponseCodeNotImplemented, nil - case "MalformedPdf": - return DocPagesDelete404ResponseCodeMalformedPdf, nil - } - var t DocPagesDelete404ResponseCode - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocPagesDelete404ResponseCode) Ptr() *DocPagesDelete404ResponseCode { - return &d -} - -type DocPagesDelete404ResponseName string - -const ( - DocPagesDelete404ResponseNameEngineError DocPagesDelete404ResponseName = "EngineError" -) - -func NewDocPagesDelete404ResponseNameFromString(s string) (DocPagesDelete404ResponseName, error) { - switch s { - case "EngineError": - return DocPagesDelete404ResponseNameEngineError, nil - } - var t DocPagesDelete404ResponseName - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (d DocPagesDelete404ResponseName) Ptr() *DocPagesDelete404ResponseName { - return &d -} - -type DocPagesDeleteRequest = map[string]any - var ( - docPagesExtract400ResponseFieldName = big.NewInt(1 << 0) - docPagesExtract400ResponseFieldCode = big.NewInt(1 << 1) - docPagesExtract400ResponseFieldMessage = big.NewInt(1 << 2) - docPagesExtract400ResponseFieldDetails = big.NewInt(1 << 3) + docPagesInsert400ResponseFieldName = big.NewInt(1 << 0) + docPagesInsert400ResponseFieldCode = big.NewInt(1 << 1) + docPagesInsert400ResponseFieldMessage = big.NewInt(1 << 2) + docPagesInsert400ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocPagesExtract400Response struct { - Name DocPagesExtract400ResponseName `json:"name" url:"name"` - Code DocPagesExtract400ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocPagesInsert400Response struct { + Name DocPagesInsert400ResponseName `json:"name" url:"name"` + Code DocPagesInsert400ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -130482,42 +135366,42 @@ type DocPagesExtract400Response struct { rawJSON json.RawMessage } -func (d *DocPagesExtract400Response) GetName() DocPagesExtract400ResponseName { +func (d *DocPagesInsert400Response) GetName() DocPagesInsert400ResponseName { if d == nil { return "" } return d.Name } -func (d *DocPagesExtract400Response) GetCode() DocPagesExtract400ResponseCode { +func (d *DocPagesInsert400Response) GetCode() DocPagesInsert400ResponseCode { if d == nil { return "" } return d.Code } -func (d *DocPagesExtract400Response) GetMessage() string { +func (d *DocPagesInsert400Response) GetMessage() string { if d == nil { return "" } return d.Message } -func (d *DocPagesExtract400Response) GetDetails() map[string]any { +func (d *DocPagesInsert400Response) GetDetails() map[string]any { if d == nil { return nil } return d.Details } -func (d *DocPagesExtract400Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesInsert400Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesExtract400Response) require(field *big.Int) { +func (d *DocPagesInsert400Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -130526,39 +135410,39 @@ func (d *DocPagesExtract400Response) require(field *big.Int) { // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesExtract400Response) SetName(name DocPagesExtract400ResponseName) { +func (d *DocPagesInsert400Response) SetName(name DocPagesInsert400ResponseName) { d.Name = name - d.require(docPagesExtract400ResponseFieldName) + d.require(docPagesInsert400ResponseFieldName) } // SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesExtract400Response) SetCode(code DocPagesExtract400ResponseCode) { +func (d *DocPagesInsert400Response) SetCode(code DocPagesInsert400ResponseCode) { d.Code = code - d.require(docPagesExtract400ResponseFieldCode) + d.require(docPagesInsert400ResponseFieldCode) } // SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesExtract400Response) SetMessage(message string) { +func (d *DocPagesInsert400Response) SetMessage(message string) { d.Message = message - d.require(docPagesExtract400ResponseFieldMessage) + d.require(docPagesInsert400ResponseFieldMessage) } // SetDetails sets the Details field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesExtract400Response) SetDetails(details map[string]any) { +func (d *DocPagesInsert400Response) SetDetails(details map[string]any) { d.Details = details - d.require(docPagesExtract400ResponseFieldDetails) + d.require(docPagesInsert400ResponseFieldDetails) } -func (d *DocPagesExtract400Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesExtract400Response +func (d *DocPagesInsert400Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesInsert400Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesExtract400Response(value) + *d = DocPagesInsert400Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -130568,8 +135452,8 @@ func (d *DocPagesExtract400Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesExtract400Response) MarshalJSON() ([]byte, error) { - type embed DocPagesExtract400Response +func (d *DocPagesInsert400Response) MarshalJSON() ([]byte, error) { + type embed DocPagesInsert400Response var marshaler = struct { embed }{ @@ -130579,7 +135463,7 @@ func (d *DocPagesExtract400Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocPagesExtract400Response) String() string { +func (d *DocPagesInsert400Response) String() string { if d == nil { return "" } @@ -130594,110 +135478,110 @@ func (d *DocPagesExtract400Response) String() string { return fmt.Sprintf("%#v", d) } -type DocPagesExtract400ResponseCode string +type DocPagesInsert400ResponseCode string const ( - DocPagesExtract400ResponseCodeUnknown DocPagesExtract400ResponseCode = "Unknown" - DocPagesExtract400ResponseCodeInvalidArg DocPagesExtract400ResponseCode = "InvalidArg" - DocPagesExtract400ResponseCodeDocNotOpen DocPagesExtract400ResponseCode = "DocNotOpen" - DocPagesExtract400ResponseCodeDocOpenFailed DocPagesExtract400ResponseCode = "DocOpenFailed" - DocPagesExtract400ResponseCodeDocPasswordRequired DocPagesExtract400ResponseCode = "DocPasswordRequired" - DocPagesExtract400ResponseCodeDocPasswordIncorrect DocPagesExtract400ResponseCode = "DocPasswordIncorrect" - DocPagesExtract400ResponseCodeSharePasswordRequired DocPagesExtract400ResponseCode = "SharePasswordRequired" - DocPagesExtract400ResponseCodeAborted DocPagesExtract400ResponseCode = "Aborted" - DocPagesExtract400ResponseCodeNetwork DocPagesExtract400ResponseCode = "Network" - DocPagesExtract400ResponseCodeUnauthenticated DocPagesExtract400ResponseCode = "Unauthenticated" - DocPagesExtract400ResponseCodeForbidden DocPagesExtract400ResponseCode = "Forbidden" - DocPagesExtract400ResponseCodeNotFound DocPagesExtract400ResponseCode = "NotFound" - DocPagesExtract400ResponseCodeWireFormat DocPagesExtract400ResponseCode = "WireFormat" - DocPagesExtract400ResponseCodeRuntimeUnavailable DocPagesExtract400ResponseCode = "RuntimeUnavailable" - DocPagesExtract400ResponseCodeInvalidReference DocPagesExtract400ResponseCode = "InvalidReference" - DocPagesExtract400ResponseCodeWeakAnnotationSessionConflict DocPagesExtract400ResponseCode = "WeakAnnotationSessionConflict" - DocPagesExtract400ResponseCodeLayerVersionConflict DocPagesExtract400ResponseCode = "LayerVersionConflict" - DocPagesExtract400ResponseCodeNotImplemented DocPagesExtract400ResponseCode = "NotImplemented" - DocPagesExtract400ResponseCodeMalformedPdf DocPagesExtract400ResponseCode = "MalformedPdf" + DocPagesInsert400ResponseCodeUnknown DocPagesInsert400ResponseCode = "Unknown" + DocPagesInsert400ResponseCodeInvalidArg DocPagesInsert400ResponseCode = "InvalidArg" + DocPagesInsert400ResponseCodeDocNotOpen DocPagesInsert400ResponseCode = "DocNotOpen" + DocPagesInsert400ResponseCodeDocOpenFailed DocPagesInsert400ResponseCode = "DocOpenFailed" + DocPagesInsert400ResponseCodeDocPasswordRequired DocPagesInsert400ResponseCode = "DocPasswordRequired" + DocPagesInsert400ResponseCodeDocPasswordIncorrect DocPagesInsert400ResponseCode = "DocPasswordIncorrect" + DocPagesInsert400ResponseCodeSharePasswordRequired DocPagesInsert400ResponseCode = "SharePasswordRequired" + DocPagesInsert400ResponseCodeAborted DocPagesInsert400ResponseCode = "Aborted" + DocPagesInsert400ResponseCodeNetwork DocPagesInsert400ResponseCode = "Network" + DocPagesInsert400ResponseCodeUnauthenticated DocPagesInsert400ResponseCode = "Unauthenticated" + DocPagesInsert400ResponseCodeForbidden DocPagesInsert400ResponseCode = "Forbidden" + DocPagesInsert400ResponseCodeNotFound DocPagesInsert400ResponseCode = "NotFound" + DocPagesInsert400ResponseCodeWireFormat DocPagesInsert400ResponseCode = "WireFormat" + DocPagesInsert400ResponseCodeRuntimeUnavailable DocPagesInsert400ResponseCode = "RuntimeUnavailable" + DocPagesInsert400ResponseCodeInvalidReference DocPagesInsert400ResponseCode = "InvalidReference" + DocPagesInsert400ResponseCodeWeakAnnotationSessionConflict DocPagesInsert400ResponseCode = "WeakAnnotationSessionConflict" + DocPagesInsert400ResponseCodeLayerVersionConflict DocPagesInsert400ResponseCode = "LayerVersionConflict" + DocPagesInsert400ResponseCodeNotImplemented DocPagesInsert400ResponseCode = "NotImplemented" + DocPagesInsert400ResponseCodeMalformedPdf DocPagesInsert400ResponseCode = "MalformedPdf" ) -func NewDocPagesExtract400ResponseCodeFromString(s string) (DocPagesExtract400ResponseCode, error) { +func NewDocPagesInsert400ResponseCodeFromString(s string) (DocPagesInsert400ResponseCode, error) { switch s { case "Unknown": - return DocPagesExtract400ResponseCodeUnknown, nil + return DocPagesInsert400ResponseCodeUnknown, nil case "InvalidArg": - return DocPagesExtract400ResponseCodeInvalidArg, nil + return DocPagesInsert400ResponseCodeInvalidArg, nil case "DocNotOpen": - return DocPagesExtract400ResponseCodeDocNotOpen, nil + return DocPagesInsert400ResponseCodeDocNotOpen, nil case "DocOpenFailed": - return DocPagesExtract400ResponseCodeDocOpenFailed, nil + return DocPagesInsert400ResponseCodeDocOpenFailed, nil case "DocPasswordRequired": - return DocPagesExtract400ResponseCodeDocPasswordRequired, nil + return DocPagesInsert400ResponseCodeDocPasswordRequired, nil case "DocPasswordIncorrect": - return DocPagesExtract400ResponseCodeDocPasswordIncorrect, nil + return DocPagesInsert400ResponseCodeDocPasswordIncorrect, nil case "SharePasswordRequired": - return DocPagesExtract400ResponseCodeSharePasswordRequired, nil + return DocPagesInsert400ResponseCodeSharePasswordRequired, nil case "Aborted": - return DocPagesExtract400ResponseCodeAborted, nil + return DocPagesInsert400ResponseCodeAborted, nil case "Network": - return DocPagesExtract400ResponseCodeNetwork, nil + return DocPagesInsert400ResponseCodeNetwork, nil case "Unauthenticated": - return DocPagesExtract400ResponseCodeUnauthenticated, nil + return DocPagesInsert400ResponseCodeUnauthenticated, nil case "Forbidden": - return DocPagesExtract400ResponseCodeForbidden, nil + return DocPagesInsert400ResponseCodeForbidden, nil case "NotFound": - return DocPagesExtract400ResponseCodeNotFound, nil + return DocPagesInsert400ResponseCodeNotFound, nil case "WireFormat": - return DocPagesExtract400ResponseCodeWireFormat, nil + return DocPagesInsert400ResponseCodeWireFormat, nil case "RuntimeUnavailable": - return DocPagesExtract400ResponseCodeRuntimeUnavailable, nil + return DocPagesInsert400ResponseCodeRuntimeUnavailable, nil case "InvalidReference": - return DocPagesExtract400ResponseCodeInvalidReference, nil + return DocPagesInsert400ResponseCodeInvalidReference, nil case "WeakAnnotationSessionConflict": - return DocPagesExtract400ResponseCodeWeakAnnotationSessionConflict, nil + return DocPagesInsert400ResponseCodeWeakAnnotationSessionConflict, nil case "LayerVersionConflict": - return DocPagesExtract400ResponseCodeLayerVersionConflict, nil + return DocPagesInsert400ResponseCodeLayerVersionConflict, nil case "NotImplemented": - return DocPagesExtract400ResponseCodeNotImplemented, nil + return DocPagesInsert400ResponseCodeNotImplemented, nil case "MalformedPdf": - return DocPagesExtract400ResponseCodeMalformedPdf, nil + return DocPagesInsert400ResponseCodeMalformedPdf, nil } - var t DocPagesExtract400ResponseCode + var t DocPagesInsert400ResponseCode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesExtract400ResponseCode) Ptr() *DocPagesExtract400ResponseCode { +func (d DocPagesInsert400ResponseCode) Ptr() *DocPagesInsert400ResponseCode { return &d } -type DocPagesExtract400ResponseName string +type DocPagesInsert400ResponseName string const ( - DocPagesExtract400ResponseNameEngineError DocPagesExtract400ResponseName = "EngineError" + DocPagesInsert400ResponseNameEngineError DocPagesInsert400ResponseName = "EngineError" ) -func NewDocPagesExtract400ResponseNameFromString(s string) (DocPagesExtract400ResponseName, error) { +func NewDocPagesInsert400ResponseNameFromString(s string) (DocPagesInsert400ResponseName, error) { switch s { case "EngineError": - return DocPagesExtract400ResponseNameEngineError, nil + return DocPagesInsert400ResponseNameEngineError, nil } - var t DocPagesExtract400ResponseName + var t DocPagesInsert400ResponseName return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesExtract400ResponseName) Ptr() *DocPagesExtract400ResponseName { +func (d DocPagesInsert400ResponseName) Ptr() *DocPagesInsert400ResponseName { return &d } var ( - docPagesExtract404ResponseFieldName = big.NewInt(1 << 0) - docPagesExtract404ResponseFieldCode = big.NewInt(1 << 1) - docPagesExtract404ResponseFieldMessage = big.NewInt(1 << 2) - docPagesExtract404ResponseFieldDetails = big.NewInt(1 << 3) + docPagesInsert404ResponseFieldName = big.NewInt(1 << 0) + docPagesInsert404ResponseFieldCode = big.NewInt(1 << 1) + docPagesInsert404ResponseFieldMessage = big.NewInt(1 << 2) + docPagesInsert404ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocPagesExtract404Response struct { - Name DocPagesExtract404ResponseName `json:"name" url:"name"` - Code DocPagesExtract404ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocPagesInsert404Response struct { + Name DocPagesInsert404ResponseName `json:"name" url:"name"` + Code DocPagesInsert404ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -130706,42 +135590,42 @@ type DocPagesExtract404Response struct { rawJSON json.RawMessage } -func (d *DocPagesExtract404Response) GetName() DocPagesExtract404ResponseName { +func (d *DocPagesInsert404Response) GetName() DocPagesInsert404ResponseName { if d == nil { return "" } return d.Name } -func (d *DocPagesExtract404Response) GetCode() DocPagesExtract404ResponseCode { +func (d *DocPagesInsert404Response) GetCode() DocPagesInsert404ResponseCode { if d == nil { return "" } return d.Code } -func (d *DocPagesExtract404Response) GetMessage() string { +func (d *DocPagesInsert404Response) GetMessage() string { if d == nil { return "" } return d.Message } -func (d *DocPagesExtract404Response) GetDetails() map[string]any { +func (d *DocPagesInsert404Response) GetDetails() map[string]any { if d == nil { return nil } return d.Details } -func (d *DocPagesExtract404Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesInsert404Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesExtract404Response) require(field *big.Int) { +func (d *DocPagesInsert404Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -130750,39 +135634,39 @@ func (d *DocPagesExtract404Response) require(field *big.Int) { // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesExtract404Response) SetName(name DocPagesExtract404ResponseName) { +func (d *DocPagesInsert404Response) SetName(name DocPagesInsert404ResponseName) { d.Name = name - d.require(docPagesExtract404ResponseFieldName) + d.require(docPagesInsert404ResponseFieldName) } // SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesExtract404Response) SetCode(code DocPagesExtract404ResponseCode) { +func (d *DocPagesInsert404Response) SetCode(code DocPagesInsert404ResponseCode) { d.Code = code - d.require(docPagesExtract404ResponseFieldCode) + d.require(docPagesInsert404ResponseFieldCode) } // SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesExtract404Response) SetMessage(message string) { +func (d *DocPagesInsert404Response) SetMessage(message string) { d.Message = message - d.require(docPagesExtract404ResponseFieldMessage) + d.require(docPagesInsert404ResponseFieldMessage) } // SetDetails sets the Details field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesExtract404Response) SetDetails(details map[string]any) { +func (d *DocPagesInsert404Response) SetDetails(details map[string]any) { d.Details = details - d.require(docPagesExtract404ResponseFieldDetails) + d.require(docPagesInsert404ResponseFieldDetails) } -func (d *DocPagesExtract404Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesExtract404Response +func (d *DocPagesInsert404Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesInsert404Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesExtract404Response(value) + *d = DocPagesInsert404Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -130792,8 +135676,8 @@ func (d *DocPagesExtract404Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesExtract404Response) MarshalJSON() ([]byte, error) { - type embed DocPagesExtract404Response +func (d *DocPagesInsert404Response) MarshalJSON() ([]byte, error) { + type embed DocPagesInsert404Response var marshaler = struct { embed }{ @@ -130803,7 +135687,7 @@ func (d *DocPagesExtract404Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocPagesExtract404Response) String() string { +func (d *DocPagesInsert404Response) String() string { if d == nil { return "" } @@ -130818,106 +135702,104 @@ func (d *DocPagesExtract404Response) String() string { return fmt.Sprintf("%#v", d) } -type DocPagesExtract404ResponseCode string +type DocPagesInsert404ResponseCode string const ( - DocPagesExtract404ResponseCodeUnknown DocPagesExtract404ResponseCode = "Unknown" - DocPagesExtract404ResponseCodeInvalidArg DocPagesExtract404ResponseCode = "InvalidArg" - DocPagesExtract404ResponseCodeDocNotOpen DocPagesExtract404ResponseCode = "DocNotOpen" - DocPagesExtract404ResponseCodeDocOpenFailed DocPagesExtract404ResponseCode = "DocOpenFailed" - DocPagesExtract404ResponseCodeDocPasswordRequired DocPagesExtract404ResponseCode = "DocPasswordRequired" - DocPagesExtract404ResponseCodeDocPasswordIncorrect DocPagesExtract404ResponseCode = "DocPasswordIncorrect" - DocPagesExtract404ResponseCodeSharePasswordRequired DocPagesExtract404ResponseCode = "SharePasswordRequired" - DocPagesExtract404ResponseCodeAborted DocPagesExtract404ResponseCode = "Aborted" - DocPagesExtract404ResponseCodeNetwork DocPagesExtract404ResponseCode = "Network" - DocPagesExtract404ResponseCodeUnauthenticated DocPagesExtract404ResponseCode = "Unauthenticated" - DocPagesExtract404ResponseCodeForbidden DocPagesExtract404ResponseCode = "Forbidden" - DocPagesExtract404ResponseCodeNotFound DocPagesExtract404ResponseCode = "NotFound" - DocPagesExtract404ResponseCodeWireFormat DocPagesExtract404ResponseCode = "WireFormat" - DocPagesExtract404ResponseCodeRuntimeUnavailable DocPagesExtract404ResponseCode = "RuntimeUnavailable" - DocPagesExtract404ResponseCodeInvalidReference DocPagesExtract404ResponseCode = "InvalidReference" - DocPagesExtract404ResponseCodeWeakAnnotationSessionConflict DocPagesExtract404ResponseCode = "WeakAnnotationSessionConflict" - DocPagesExtract404ResponseCodeLayerVersionConflict DocPagesExtract404ResponseCode = "LayerVersionConflict" - DocPagesExtract404ResponseCodeNotImplemented DocPagesExtract404ResponseCode = "NotImplemented" - DocPagesExtract404ResponseCodeMalformedPdf DocPagesExtract404ResponseCode = "MalformedPdf" + DocPagesInsert404ResponseCodeUnknown DocPagesInsert404ResponseCode = "Unknown" + DocPagesInsert404ResponseCodeInvalidArg DocPagesInsert404ResponseCode = "InvalidArg" + DocPagesInsert404ResponseCodeDocNotOpen DocPagesInsert404ResponseCode = "DocNotOpen" + DocPagesInsert404ResponseCodeDocOpenFailed DocPagesInsert404ResponseCode = "DocOpenFailed" + DocPagesInsert404ResponseCodeDocPasswordRequired DocPagesInsert404ResponseCode = "DocPasswordRequired" + DocPagesInsert404ResponseCodeDocPasswordIncorrect DocPagesInsert404ResponseCode = "DocPasswordIncorrect" + DocPagesInsert404ResponseCodeSharePasswordRequired DocPagesInsert404ResponseCode = "SharePasswordRequired" + DocPagesInsert404ResponseCodeAborted DocPagesInsert404ResponseCode = "Aborted" + DocPagesInsert404ResponseCodeNetwork DocPagesInsert404ResponseCode = "Network" + DocPagesInsert404ResponseCodeUnauthenticated DocPagesInsert404ResponseCode = "Unauthenticated" + DocPagesInsert404ResponseCodeForbidden DocPagesInsert404ResponseCode = "Forbidden" + DocPagesInsert404ResponseCodeNotFound DocPagesInsert404ResponseCode = "NotFound" + DocPagesInsert404ResponseCodeWireFormat DocPagesInsert404ResponseCode = "WireFormat" + DocPagesInsert404ResponseCodeRuntimeUnavailable DocPagesInsert404ResponseCode = "RuntimeUnavailable" + DocPagesInsert404ResponseCodeInvalidReference DocPagesInsert404ResponseCode = "InvalidReference" + DocPagesInsert404ResponseCodeWeakAnnotationSessionConflict DocPagesInsert404ResponseCode = "WeakAnnotationSessionConflict" + DocPagesInsert404ResponseCodeLayerVersionConflict DocPagesInsert404ResponseCode = "LayerVersionConflict" + DocPagesInsert404ResponseCodeNotImplemented DocPagesInsert404ResponseCode = "NotImplemented" + DocPagesInsert404ResponseCodeMalformedPdf DocPagesInsert404ResponseCode = "MalformedPdf" ) -func NewDocPagesExtract404ResponseCodeFromString(s string) (DocPagesExtract404ResponseCode, error) { +func NewDocPagesInsert404ResponseCodeFromString(s string) (DocPagesInsert404ResponseCode, error) { switch s { case "Unknown": - return DocPagesExtract404ResponseCodeUnknown, nil + return DocPagesInsert404ResponseCodeUnknown, nil case "InvalidArg": - return DocPagesExtract404ResponseCodeInvalidArg, nil + return DocPagesInsert404ResponseCodeInvalidArg, nil case "DocNotOpen": - return DocPagesExtract404ResponseCodeDocNotOpen, nil + return DocPagesInsert404ResponseCodeDocNotOpen, nil case "DocOpenFailed": - return DocPagesExtract404ResponseCodeDocOpenFailed, nil + return DocPagesInsert404ResponseCodeDocOpenFailed, nil case "DocPasswordRequired": - return DocPagesExtract404ResponseCodeDocPasswordRequired, nil + return DocPagesInsert404ResponseCodeDocPasswordRequired, nil case "DocPasswordIncorrect": - return DocPagesExtract404ResponseCodeDocPasswordIncorrect, nil + return DocPagesInsert404ResponseCodeDocPasswordIncorrect, nil case "SharePasswordRequired": - return DocPagesExtract404ResponseCodeSharePasswordRequired, nil + return DocPagesInsert404ResponseCodeSharePasswordRequired, nil case "Aborted": - return DocPagesExtract404ResponseCodeAborted, nil + return DocPagesInsert404ResponseCodeAborted, nil case "Network": - return DocPagesExtract404ResponseCodeNetwork, nil + return DocPagesInsert404ResponseCodeNetwork, nil case "Unauthenticated": - return DocPagesExtract404ResponseCodeUnauthenticated, nil + return DocPagesInsert404ResponseCodeUnauthenticated, nil case "Forbidden": - return DocPagesExtract404ResponseCodeForbidden, nil + return DocPagesInsert404ResponseCodeForbidden, nil case "NotFound": - return DocPagesExtract404ResponseCodeNotFound, nil + return DocPagesInsert404ResponseCodeNotFound, nil case "WireFormat": - return DocPagesExtract404ResponseCodeWireFormat, nil + return DocPagesInsert404ResponseCodeWireFormat, nil case "RuntimeUnavailable": - return DocPagesExtract404ResponseCodeRuntimeUnavailable, nil + return DocPagesInsert404ResponseCodeRuntimeUnavailable, nil case "InvalidReference": - return DocPagesExtract404ResponseCodeInvalidReference, nil + return DocPagesInsert404ResponseCodeInvalidReference, nil case "WeakAnnotationSessionConflict": - return DocPagesExtract404ResponseCodeWeakAnnotationSessionConflict, nil + return DocPagesInsert404ResponseCodeWeakAnnotationSessionConflict, nil case "LayerVersionConflict": - return DocPagesExtract404ResponseCodeLayerVersionConflict, nil + return DocPagesInsert404ResponseCodeLayerVersionConflict, nil case "NotImplemented": - return DocPagesExtract404ResponseCodeNotImplemented, nil + return DocPagesInsert404ResponseCodeNotImplemented, nil case "MalformedPdf": - return DocPagesExtract404ResponseCodeMalformedPdf, nil + return DocPagesInsert404ResponseCodeMalformedPdf, nil } - var t DocPagesExtract404ResponseCode + var t DocPagesInsert404ResponseCode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesExtract404ResponseCode) Ptr() *DocPagesExtract404ResponseCode { +func (d DocPagesInsert404ResponseCode) Ptr() *DocPagesInsert404ResponseCode { return &d } -type DocPagesExtract404ResponseName string +type DocPagesInsert404ResponseName string const ( - DocPagesExtract404ResponseNameEngineError DocPagesExtract404ResponseName = "EngineError" + DocPagesInsert404ResponseNameEngineError DocPagesInsert404ResponseName = "EngineError" ) -func NewDocPagesExtract404ResponseNameFromString(s string) (DocPagesExtract404ResponseName, error) { +func NewDocPagesInsert404ResponseNameFromString(s string) (DocPagesInsert404ResponseName, error) { switch s { case "EngineError": - return DocPagesExtract404ResponseNameEngineError, nil + return DocPagesInsert404ResponseNameEngineError, nil } - var t DocPagesExtract404ResponseName + var t DocPagesInsert404ResponseName return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesExtract404ResponseName) Ptr() *DocPagesExtract404ResponseName { +func (d DocPagesInsert404ResponseName) Ptr() *DocPagesInsert404ResponseName { return &d } -type DocPagesExtractRequest = map[string]any - var ( - docPagesFlatten200ResponseFieldMeta = big.NewInt(1 << 0) + docPagesInsertBlank200ResponseFieldMeta = big.NewInt(1 << 0) ) -type DocPagesFlatten200Response struct { - Meta *DocPagesFlatten200ResponseMeta `json:"meta" url:"meta"` +type DocPagesInsertBlank200Response struct { + Meta *DocPagesInsertBlank200ResponseMeta `json:"meta" url:"meta"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -130927,21 +135809,21 @@ type DocPagesFlatten200Response struct { rawJSON json.RawMessage } -func (d *DocPagesFlatten200Response) GetMeta() *DocPagesFlatten200ResponseMeta { +func (d *DocPagesInsertBlank200Response) GetMeta() *DocPagesInsertBlank200ResponseMeta { if d == nil { return nil } return d.Meta } -func (d *DocPagesFlatten200Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesInsertBlank200Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.ExtraProperties } -func (d *DocPagesFlatten200Response) require(field *big.Int) { +func (d *DocPagesInsertBlank200Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -130950,13 +135832,13 @@ func (d *DocPagesFlatten200Response) require(field *big.Int) { // SetMeta sets the Meta field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten200Response) SetMeta(meta *DocPagesFlatten200ResponseMeta) { +func (d *DocPagesInsertBlank200Response) SetMeta(meta *DocPagesInsertBlank200ResponseMeta) { d.Meta = meta - d.require(docPagesFlatten200ResponseFieldMeta) + d.require(docPagesInsertBlank200ResponseFieldMeta) } -func (d *DocPagesFlatten200Response) UnmarshalJSON(data []byte) error { - type embed DocPagesFlatten200Response +func (d *DocPagesInsertBlank200Response) UnmarshalJSON(data []byte) error { + type embed DocPagesInsertBlank200Response var unmarshaler = struct { embed }{ @@ -130965,7 +135847,7 @@ func (d *DocPagesFlatten200Response) UnmarshalJSON(data []byte) error { if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocPagesFlatten200Response(unmarshaler.embed) + *d = DocPagesInsertBlank200Response(unmarshaler.embed) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -130975,8 +135857,8 @@ func (d *DocPagesFlatten200Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesFlatten200Response) MarshalJSON() ([]byte, error) { - type embed DocPagesFlatten200Response +func (d *DocPagesInsertBlank200Response) MarshalJSON() ([]byte, error) { + type embed DocPagesInsertBlank200Response var marshaler = struct { embed }{ @@ -130986,7 +135868,7 @@ func (d *DocPagesFlatten200Response) MarshalJSON() ([]byte, error) { return internal.MarshalJSONWithExtraProperties(explicitMarshaler, d.ExtraProperties) } -func (d *DocPagesFlatten200Response) String() string { +func (d *DocPagesInsertBlank200Response) String() string { if d == nil { return "" } @@ -131002,13 +135884,13 @@ func (d *DocPagesFlatten200Response) String() string { } var ( - docPagesFlatten200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) - docPagesFlatten200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) + docPagesInsertBlank200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) + docPagesInsertBlank200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) ) -type DocPagesFlatten200ResponseMeta struct { - AffectedPages []*DocPagesFlatten200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` - CacheDelta *DocPagesFlatten200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` +type DocPagesInsertBlank200ResponseMeta struct { + AffectedPages []*DocPagesInsertBlank200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` + CacheDelta *DocPagesInsertBlank200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -131017,28 +135899,28 @@ type DocPagesFlatten200ResponseMeta struct { rawJSON json.RawMessage } -func (d *DocPagesFlatten200ResponseMeta) GetAffectedPages() []*DocPagesFlatten200ResponseMetaAffectedPagesItem { +func (d *DocPagesInsertBlank200ResponseMeta) GetAffectedPages() []*DocPagesInsertBlank200ResponseMetaAffectedPagesItem { if d == nil { return nil } return d.AffectedPages } -func (d *DocPagesFlatten200ResponseMeta) GetCacheDelta() *DocPagesFlatten200ResponseMetaCacheDelta { +func (d *DocPagesInsertBlank200ResponseMeta) GetCacheDelta() *DocPagesInsertBlank200ResponseMetaCacheDelta { if d == nil { return nil } return d.CacheDelta } -func (d *DocPagesFlatten200ResponseMeta) GetExtraProperties() map[string]interface{} { +func (d *DocPagesInsertBlank200ResponseMeta) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesFlatten200ResponseMeta) require(field *big.Int) { +func (d *DocPagesInsertBlank200ResponseMeta) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -131047,25 +135929,25 @@ func (d *DocPagesFlatten200ResponseMeta) require(field *big.Int) { // SetAffectedPages sets the AffectedPages field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten200ResponseMeta) SetAffectedPages(affectedPages []*DocPagesFlatten200ResponseMetaAffectedPagesItem) { +func (d *DocPagesInsertBlank200ResponseMeta) SetAffectedPages(affectedPages []*DocPagesInsertBlank200ResponseMetaAffectedPagesItem) { d.AffectedPages = affectedPages - d.require(docPagesFlatten200ResponseMetaFieldAffectedPages) + d.require(docPagesInsertBlank200ResponseMetaFieldAffectedPages) } // SetCacheDelta sets the CacheDelta field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten200ResponseMeta) SetCacheDelta(cacheDelta *DocPagesFlatten200ResponseMetaCacheDelta) { +func (d *DocPagesInsertBlank200ResponseMeta) SetCacheDelta(cacheDelta *DocPagesInsertBlank200ResponseMetaCacheDelta) { d.CacheDelta = cacheDelta - d.require(docPagesFlatten200ResponseMetaFieldCacheDelta) + d.require(docPagesInsertBlank200ResponseMetaFieldCacheDelta) } -func (d *DocPagesFlatten200ResponseMeta) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesFlatten200ResponseMeta +func (d *DocPagesInsertBlank200ResponseMeta) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesInsertBlank200ResponseMeta var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesFlatten200ResponseMeta(value) + *d = DocPagesInsertBlank200ResponseMeta(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -131075,8 +135957,8 @@ func (d *DocPagesFlatten200ResponseMeta) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesFlatten200ResponseMeta) MarshalJSON() ([]byte, error) { - type embed DocPagesFlatten200ResponseMeta +func (d *DocPagesInsertBlank200ResponseMeta) MarshalJSON() ([]byte, error) { + type embed DocPagesInsertBlank200ResponseMeta var marshaler = struct { embed }{ @@ -131086,7 +135968,7 @@ func (d *DocPagesFlatten200ResponseMeta) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocPagesFlatten200ResponseMeta) String() string { +func (d *DocPagesInsertBlank200ResponseMeta) String() string { if d == nil { return "" } @@ -131102,15 +135984,15 @@ func (d *DocPagesFlatten200ResponseMeta) String() string { } var ( - docPagesFlatten200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) - docPagesFlatten200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) - docPagesFlatten200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) + docPagesInsertBlank200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docPagesInsertBlank200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) + docPagesInsertBlank200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) ) -type DocPagesFlatten200ResponseMetaAffectedPagesItem struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Revision *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` - WeakAnnotationState *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` +type DocPagesInsertBlank200ResponseMetaAffectedPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Revision *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` + WeakAnnotationState *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -131119,35 +136001,35 @@ type DocPagesFlatten200ResponseMetaAffectedPagesItem struct { rawJSON json.RawMessage } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) GetRevision() *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) GetRevision() *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision { if d == nil { return nil } return d.Revision } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState { if d == nil { return nil } return d.WeakAnnotationState } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) require(field *big.Int) { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -131156,32 +136038,32 @@ func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) require(field *big.Int // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docPagesFlatten200ResponseMetaAffectedPagesItemFieldPageObjectNumber) + d.require(docPagesInsertBlank200ResponseMetaAffectedPagesItemFieldPageObjectNumber) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) SetRevision(revision *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) SetRevision(revision *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) { d.Revision = revision - d.require(docPagesFlatten200ResponseMetaAffectedPagesItemFieldRevision) + d.require(docPagesInsertBlank200ResponseMetaAffectedPagesItemFieldRevision) } // SetWeakAnnotationState sets the WeakAnnotationState field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState) { d.WeakAnnotationState = weakAnnotationState - d.require(docPagesFlatten200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) + d.require(docPagesInsertBlank200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesFlatten200ResponseMetaAffectedPagesItem +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesInsertBlank200ResponseMetaAffectedPagesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesFlatten200ResponseMetaAffectedPagesItem(value) + *d = DocPagesInsertBlank200ResponseMetaAffectedPagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -131191,8 +136073,8 @@ func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []b return nil } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { - type embed DocPagesFlatten200ResponseMetaAffectedPagesItem +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { + type embed DocPagesInsertBlank200ResponseMetaAffectedPagesItem var marshaler = struct { embed }{ @@ -131202,7 +136084,7 @@ func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, return json.Marshal(explicitMarshaler) } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) String() string { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) String() string { if d == nil { return "" } @@ -131218,12 +136100,12 @@ func (d *DocPagesFlatten200ResponseMetaAffectedPagesItem) String() string { } var ( - docPagesFlatten200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) - docPagesFlatten200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docPagesFlatten200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) + docPagesInsertBlank200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) + docPagesInsertBlank200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docPagesInsertBlank200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocPagesFlatten200ResponseMetaAffectedPagesItemRevision struct { +type DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -131235,35 +136117,35 @@ type DocPagesFlatten200ResponseMetaAffectedPagesItemRevision struct { rawJSON json.RawMessage } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -131272,32 +136154,32 @@ func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) require(field // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docPagesFlatten200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) + d.require(docPagesInsertBlank200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docPagesFlatten200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) + d.require(docPagesInsertBlank200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docPagesFlatten200ResponseMetaAffectedPagesItemRevisionFieldGeneration) + d.require(docPagesInsertBlank200ResponseMetaAffectedPagesItemRevisionFieldGeneration) } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesFlatten200ResponseMetaAffectedPagesItemRevision +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesFlatten200ResponseMetaAffectedPagesItemRevision(value) + *d = DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -131307,8 +136189,8 @@ func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON( return nil } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { - type embed DocPagesFlatten200ResponseMetaAffectedPagesItemRevision +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { + type embed DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision var marshaler = struct { embed }{ @@ -131318,7 +136200,7 @@ func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) MarshalJSON() return json.Marshal(explicitMarshaler) } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) String() string { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) String() string { if d == nil { return "" } @@ -131333,36 +136215,36 @@ func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision) String() strin return fmt.Sprintf("%#v", d) } -type DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState struct { +type DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState struct { Kind string - Unknown *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown - Known *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + Unknown *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + Known *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown rawJSON json.RawMessage } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { if d == nil { return nil } return d.Unknown } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { if d == nil { return nil } return d.Known } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -131375,13 +136257,13 @@ func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) Unm } switch unmarshaler.Kind { case "unknown": - value := new(DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) + value := new(DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) if err := json.Unmarshal(data, &value); err != nil { return err } d.Unknown = value case "known": - value := new(DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) + value := new(DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -131391,7 +136273,7 @@ func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) Unm return nil } -func (d DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { +func (d DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -131407,12 +136289,12 @@ func (d DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) Mars return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { - VisitUnknown(*DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error - VisitKnown(*DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error +type DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { + VisitUnknown(*DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error + VisitKnown(*DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { if d.Unknown != nil { return visitor.VisitUnknown(d.Unknown) } @@ -131422,7 +136304,7 @@ func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) Acc return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -131460,10 +136342,10 @@ func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState) val } var ( - docPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) + docPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) ) -type DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { +type DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { HasAnyWeakAnnotations bool `json:"hasAnyWeakAnnotations" url:"hasAnyWeakAnnotations"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -131473,21 +136355,21 @@ type DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown str rawJSON json.RawMessage } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { if d == nil { return false } return d.HasAnyWeakAnnotations } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -131496,18 +136378,18 @@ func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown // SetHasAnyWeakAnnotations sets the HasAnyWeakAnnotations field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { d.HasAnyWeakAnnotations = hasAnyWeakAnnotations - d.require(docPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) + d.require(docPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) + *d = DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -131517,8 +136399,8 @@ func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown return nil } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { - type embed DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { + type embed DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown var marshaler = struct { embed }{ @@ -131528,7 +136410,7 @@ func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown return json.Marshal(explicitMarshaler) } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { if d == nil { return "" } @@ -131543,7 +136425,7 @@ func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown return fmt.Sprintf("%#v", d) } -type DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { +type DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -131552,27 +136434,27 @@ type DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown s rawJSON json.RawMessage } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) + *d = DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -131582,8 +136464,8 @@ func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnkno return nil } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { - type embed DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { + type embed DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var marshaler = struct { embed }{ @@ -131593,7 +136475,7 @@ func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnkno return json.Marshal(explicitMarshaler) } -func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { +func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { if d == nil { return "" } @@ -131609,17 +136491,17 @@ func (d *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnkno } var ( - docPagesFlatten200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) - docPagesFlatten200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) - docPagesFlatten200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) - docPagesFlatten200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) + docPagesInsertBlank200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) + docPagesInsertBlank200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) + docPagesInsertBlank200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) + docPagesInsertBlank200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) ) -type DocPagesFlatten200ResponseMetaCacheDelta struct { - PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` - DocVersion int `json:"docVersion" url:"docVersion"` - AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` - Pages []*DocPagesFlatten200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` +type DocPagesInsertBlank200ResponseMetaCacheDelta struct { + PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` + DocVersion int `json:"docVersion" url:"docVersion"` + AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` + Pages []*DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -131628,42 +136510,42 @@ type DocPagesFlatten200ResponseMetaCacheDelta struct { rawJSON json.RawMessage } -func (d *DocPagesFlatten200ResponseMetaCacheDelta) GetPreviousDocVersion() int { +func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) GetPreviousDocVersion() int { if d == nil { return 0 } return d.PreviousDocVersion } -func (d *DocPagesFlatten200ResponseMetaCacheDelta) GetDocVersion() int { +func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) GetDocVersion() int { if d == nil { return 0 } return d.DocVersion } -func (d *DocPagesFlatten200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { +func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { if d == nil { return nil } return d.AnnotationsVersion } -func (d *DocPagesFlatten200ResponseMetaCacheDelta) GetPages() []*DocPagesFlatten200ResponseMetaCacheDeltaPagesItem { +func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) GetPages() []*DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem { if d == nil { return nil } return d.Pages } -func (d *DocPagesFlatten200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { +func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesFlatten200ResponseMetaCacheDelta) require(field *big.Int) { +func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -131672,39 +136554,39 @@ func (d *DocPagesFlatten200ResponseMetaCacheDelta) require(field *big.Int) { // SetPreviousDocVersion sets the PreviousDocVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { +func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { d.PreviousDocVersion = previousDocVersion - d.require(docPagesFlatten200ResponseMetaCacheDeltaFieldPreviousDocVersion) + d.require(docPagesInsertBlank200ResponseMetaCacheDeltaFieldPreviousDocVersion) } // SetDocVersion sets the DocVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { +func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { d.DocVersion = docVersion - d.require(docPagesFlatten200ResponseMetaCacheDeltaFieldDocVersion) + d.require(docPagesInsertBlank200ResponseMetaCacheDeltaFieldDocVersion) } // SetAnnotationsVersion sets the AnnotationsVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { +func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { d.AnnotationsVersion = annotationsVersion - d.require(docPagesFlatten200ResponseMetaCacheDeltaFieldAnnotationsVersion) + d.require(docPagesInsertBlank200ResponseMetaCacheDeltaFieldAnnotationsVersion) } // SetPages sets the Pages field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten200ResponseMetaCacheDelta) SetPages(pages []*DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) { +func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) SetPages(pages []*DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) { d.Pages = pages - d.require(docPagesFlatten200ResponseMetaCacheDeltaFieldPages) + d.require(docPagesInsertBlank200ResponseMetaCacheDeltaFieldPages) } -func (d *DocPagesFlatten200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesFlatten200ResponseMetaCacheDelta +func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesInsertBlank200ResponseMetaCacheDelta var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesFlatten200ResponseMetaCacheDelta(value) + *d = DocPagesInsertBlank200ResponseMetaCacheDelta(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -131714,8 +136596,8 @@ func (d *DocPagesFlatten200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) er return nil } -func (d *DocPagesFlatten200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { - type embed DocPagesFlatten200ResponseMetaCacheDelta +func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { + type embed DocPagesInsertBlank200ResponseMetaCacheDelta var marshaler = struct { embed }{ @@ -131725,7 +136607,7 @@ func (d *DocPagesFlatten200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) return json.Marshal(explicitMarshaler) } -func (d *DocPagesFlatten200ResponseMetaCacheDelta) String() string { +func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) String() string { if d == nil { return "" } @@ -131741,13 +136623,13 @@ func (d *DocPagesFlatten200ResponseMetaCacheDelta) String() string { } var ( - docPagesFlatten200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) - docPagesFlatten200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) + docPagesInsertBlank200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docPagesInsertBlank200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) ) -type DocPagesFlatten200ResponseMetaCacheDeltaPagesItem struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Cache *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` +type DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Cache *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -131756,28 +136638,28 @@ type DocPagesFlatten200ResponseMetaCacheDeltaPagesItem struct { rawJSON json.RawMessage } -func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { +func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) GetCache() *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache { +func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) GetCache() *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache { if d == nil { return nil } return d.Cache } -func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { +func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { +func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -131786,25 +136668,25 @@ func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) require(field *big.I // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docPagesFlatten200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) + d.require(docPagesInsertBlank200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) } // SetCache sets the Cache field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) { +func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) { d.Cache = cache - d.require(docPagesFlatten200ResponseMetaCacheDeltaPagesItemFieldCache) + d.require(docPagesInsertBlank200ResponseMetaCacheDeltaPagesItemFieldCache) } -func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesFlatten200ResponseMetaCacheDeltaPagesItem +func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesFlatten200ResponseMetaCacheDeltaPagesItem(value) + *d = DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -131814,8 +136696,8 @@ func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data [ return nil } -func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { - type embed DocPagesFlatten200ResponseMetaCacheDeltaPagesItem +func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { + type embed DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem var marshaler = struct { embed }{ @@ -131825,7 +136707,7 @@ func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byt return json.Marshal(explicitMarshaler) } -func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) String() string { +func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) String() string { if d == nil { return "" } @@ -131841,11 +136723,11 @@ func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem) String() string { } var ( - docPagesFlatten200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) - docPagesFlatten200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) + docPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) + docPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) ) -type DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache struct { +type DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache struct { ContentVersion int `json:"contentVersion" url:"contentVersion"` AnnotationVersion int `json:"annotationVersion" url:"annotationVersion"` @@ -131856,28 +136738,28 @@ type DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache struct { rawJSON json.RawMessage } -func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { +func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { if d == nil { return 0 } return d.ContentVersion } -func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { +func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { if d == nil { return 0 } return d.AnnotationVersion } -func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { +func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { +func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -131886,25 +136768,25 @@ func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) require(field * // SetContentVersion sets the ContentVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { +func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { d.ContentVersion = contentVersion - d.require(docPagesFlatten200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) + d.require(docPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) } // SetAnnotationVersion sets the AnnotationVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { +func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { d.AnnotationVersion = annotationVersion - d.require(docPagesFlatten200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) + d.require(docPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) } -func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache +func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache(value) + *d = DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -131914,8 +136796,8 @@ func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(d return nil } -func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { - type embed DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache +func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { + type embed DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache var marshaler = struct { embed }{ @@ -131925,7 +136807,7 @@ func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ( return json.Marshal(explicitMarshaler) } -func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) String() string { +func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) String() string { if d == nil { return "" } @@ -131941,17 +136823,17 @@ func (d *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache) String() string } var ( - docPagesFlatten400ResponseFieldName = big.NewInt(1 << 0) - docPagesFlatten400ResponseFieldCode = big.NewInt(1 << 1) - docPagesFlatten400ResponseFieldMessage = big.NewInt(1 << 2) - docPagesFlatten400ResponseFieldDetails = big.NewInt(1 << 3) + docPagesInsertBlank400ResponseFieldName = big.NewInt(1 << 0) + docPagesInsertBlank400ResponseFieldCode = big.NewInt(1 << 1) + docPagesInsertBlank400ResponseFieldMessage = big.NewInt(1 << 2) + docPagesInsertBlank400ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocPagesFlatten400Response struct { - Name DocPagesFlatten400ResponseName `json:"name" url:"name"` - Code DocPagesFlatten400ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocPagesInsertBlank400Response struct { + Name DocPagesInsertBlank400ResponseName `json:"name" url:"name"` + Code DocPagesInsertBlank400ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -131960,42 +136842,42 @@ type DocPagesFlatten400Response struct { rawJSON json.RawMessage } -func (d *DocPagesFlatten400Response) GetName() DocPagesFlatten400ResponseName { +func (d *DocPagesInsertBlank400Response) GetName() DocPagesInsertBlank400ResponseName { if d == nil { return "" } return d.Name } -func (d *DocPagesFlatten400Response) GetCode() DocPagesFlatten400ResponseCode { +func (d *DocPagesInsertBlank400Response) GetCode() DocPagesInsertBlank400ResponseCode { if d == nil { return "" } return d.Code } -func (d *DocPagesFlatten400Response) GetMessage() string { +func (d *DocPagesInsertBlank400Response) GetMessage() string { if d == nil { return "" } return d.Message } -func (d *DocPagesFlatten400Response) GetDetails() map[string]any { +func (d *DocPagesInsertBlank400Response) GetDetails() map[string]any { if d == nil { return nil } return d.Details } -func (d *DocPagesFlatten400Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesInsertBlank400Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesFlatten400Response) require(field *big.Int) { +func (d *DocPagesInsertBlank400Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -132004,39 +136886,39 @@ func (d *DocPagesFlatten400Response) require(field *big.Int) { // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten400Response) SetName(name DocPagesFlatten400ResponseName) { +func (d *DocPagesInsertBlank400Response) SetName(name DocPagesInsertBlank400ResponseName) { d.Name = name - d.require(docPagesFlatten400ResponseFieldName) + d.require(docPagesInsertBlank400ResponseFieldName) } // SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten400Response) SetCode(code DocPagesFlatten400ResponseCode) { +func (d *DocPagesInsertBlank400Response) SetCode(code DocPagesInsertBlank400ResponseCode) { d.Code = code - d.require(docPagesFlatten400ResponseFieldCode) + d.require(docPagesInsertBlank400ResponseFieldCode) } // SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten400Response) SetMessage(message string) { +func (d *DocPagesInsertBlank400Response) SetMessage(message string) { d.Message = message - d.require(docPagesFlatten400ResponseFieldMessage) + d.require(docPagesInsertBlank400ResponseFieldMessage) } // SetDetails sets the Details field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten400Response) SetDetails(details map[string]any) { +func (d *DocPagesInsertBlank400Response) SetDetails(details map[string]any) { d.Details = details - d.require(docPagesFlatten400ResponseFieldDetails) + d.require(docPagesInsertBlank400ResponseFieldDetails) } -func (d *DocPagesFlatten400Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesFlatten400Response +func (d *DocPagesInsertBlank400Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesInsertBlank400Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesFlatten400Response(value) + *d = DocPagesInsertBlank400Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -132046,8 +136928,8 @@ func (d *DocPagesFlatten400Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesFlatten400Response) MarshalJSON() ([]byte, error) { - type embed DocPagesFlatten400Response +func (d *DocPagesInsertBlank400Response) MarshalJSON() ([]byte, error) { + type embed DocPagesInsertBlank400Response var marshaler = struct { embed }{ @@ -132057,7 +136939,7 @@ func (d *DocPagesFlatten400Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocPagesFlatten400Response) String() string { +func (d *DocPagesInsertBlank400Response) String() string { if d == nil { return "" } @@ -132072,110 +136954,110 @@ func (d *DocPagesFlatten400Response) String() string { return fmt.Sprintf("%#v", d) } -type DocPagesFlatten400ResponseCode string +type DocPagesInsertBlank400ResponseCode string const ( - DocPagesFlatten400ResponseCodeUnknown DocPagesFlatten400ResponseCode = "Unknown" - DocPagesFlatten400ResponseCodeInvalidArg DocPagesFlatten400ResponseCode = "InvalidArg" - DocPagesFlatten400ResponseCodeDocNotOpen DocPagesFlatten400ResponseCode = "DocNotOpen" - DocPagesFlatten400ResponseCodeDocOpenFailed DocPagesFlatten400ResponseCode = "DocOpenFailed" - DocPagesFlatten400ResponseCodeDocPasswordRequired DocPagesFlatten400ResponseCode = "DocPasswordRequired" - DocPagesFlatten400ResponseCodeDocPasswordIncorrect DocPagesFlatten400ResponseCode = "DocPasswordIncorrect" - DocPagesFlatten400ResponseCodeSharePasswordRequired DocPagesFlatten400ResponseCode = "SharePasswordRequired" - DocPagesFlatten400ResponseCodeAborted DocPagesFlatten400ResponseCode = "Aborted" - DocPagesFlatten400ResponseCodeNetwork DocPagesFlatten400ResponseCode = "Network" - DocPagesFlatten400ResponseCodeUnauthenticated DocPagesFlatten400ResponseCode = "Unauthenticated" - DocPagesFlatten400ResponseCodeForbidden DocPagesFlatten400ResponseCode = "Forbidden" - DocPagesFlatten400ResponseCodeNotFound DocPagesFlatten400ResponseCode = "NotFound" - DocPagesFlatten400ResponseCodeWireFormat DocPagesFlatten400ResponseCode = "WireFormat" - DocPagesFlatten400ResponseCodeRuntimeUnavailable DocPagesFlatten400ResponseCode = "RuntimeUnavailable" - DocPagesFlatten400ResponseCodeInvalidReference DocPagesFlatten400ResponseCode = "InvalidReference" - DocPagesFlatten400ResponseCodeWeakAnnotationSessionConflict DocPagesFlatten400ResponseCode = "WeakAnnotationSessionConflict" - DocPagesFlatten400ResponseCodeLayerVersionConflict DocPagesFlatten400ResponseCode = "LayerVersionConflict" - DocPagesFlatten400ResponseCodeNotImplemented DocPagesFlatten400ResponseCode = "NotImplemented" - DocPagesFlatten400ResponseCodeMalformedPdf DocPagesFlatten400ResponseCode = "MalformedPdf" + DocPagesInsertBlank400ResponseCodeUnknown DocPagesInsertBlank400ResponseCode = "Unknown" + DocPagesInsertBlank400ResponseCodeInvalidArg DocPagesInsertBlank400ResponseCode = "InvalidArg" + DocPagesInsertBlank400ResponseCodeDocNotOpen DocPagesInsertBlank400ResponseCode = "DocNotOpen" + DocPagesInsertBlank400ResponseCodeDocOpenFailed DocPagesInsertBlank400ResponseCode = "DocOpenFailed" + DocPagesInsertBlank400ResponseCodeDocPasswordRequired DocPagesInsertBlank400ResponseCode = "DocPasswordRequired" + DocPagesInsertBlank400ResponseCodeDocPasswordIncorrect DocPagesInsertBlank400ResponseCode = "DocPasswordIncorrect" + DocPagesInsertBlank400ResponseCodeSharePasswordRequired DocPagesInsertBlank400ResponseCode = "SharePasswordRequired" + DocPagesInsertBlank400ResponseCodeAborted DocPagesInsertBlank400ResponseCode = "Aborted" + DocPagesInsertBlank400ResponseCodeNetwork DocPagesInsertBlank400ResponseCode = "Network" + DocPagesInsertBlank400ResponseCodeUnauthenticated DocPagesInsertBlank400ResponseCode = "Unauthenticated" + DocPagesInsertBlank400ResponseCodeForbidden DocPagesInsertBlank400ResponseCode = "Forbidden" + DocPagesInsertBlank400ResponseCodeNotFound DocPagesInsertBlank400ResponseCode = "NotFound" + DocPagesInsertBlank400ResponseCodeWireFormat DocPagesInsertBlank400ResponseCode = "WireFormat" + DocPagesInsertBlank400ResponseCodeRuntimeUnavailable DocPagesInsertBlank400ResponseCode = "RuntimeUnavailable" + DocPagesInsertBlank400ResponseCodeInvalidReference DocPagesInsertBlank400ResponseCode = "InvalidReference" + DocPagesInsertBlank400ResponseCodeWeakAnnotationSessionConflict DocPagesInsertBlank400ResponseCode = "WeakAnnotationSessionConflict" + DocPagesInsertBlank400ResponseCodeLayerVersionConflict DocPagesInsertBlank400ResponseCode = "LayerVersionConflict" + DocPagesInsertBlank400ResponseCodeNotImplemented DocPagesInsertBlank400ResponseCode = "NotImplemented" + DocPagesInsertBlank400ResponseCodeMalformedPdf DocPagesInsertBlank400ResponseCode = "MalformedPdf" ) -func NewDocPagesFlatten400ResponseCodeFromString(s string) (DocPagesFlatten400ResponseCode, error) { +func NewDocPagesInsertBlank400ResponseCodeFromString(s string) (DocPagesInsertBlank400ResponseCode, error) { switch s { case "Unknown": - return DocPagesFlatten400ResponseCodeUnknown, nil + return DocPagesInsertBlank400ResponseCodeUnknown, nil case "InvalidArg": - return DocPagesFlatten400ResponseCodeInvalidArg, nil + return DocPagesInsertBlank400ResponseCodeInvalidArg, nil case "DocNotOpen": - return DocPagesFlatten400ResponseCodeDocNotOpen, nil + return DocPagesInsertBlank400ResponseCodeDocNotOpen, nil case "DocOpenFailed": - return DocPagesFlatten400ResponseCodeDocOpenFailed, nil + return DocPagesInsertBlank400ResponseCodeDocOpenFailed, nil case "DocPasswordRequired": - return DocPagesFlatten400ResponseCodeDocPasswordRequired, nil + return DocPagesInsertBlank400ResponseCodeDocPasswordRequired, nil case "DocPasswordIncorrect": - return DocPagesFlatten400ResponseCodeDocPasswordIncorrect, nil + return DocPagesInsertBlank400ResponseCodeDocPasswordIncorrect, nil case "SharePasswordRequired": - return DocPagesFlatten400ResponseCodeSharePasswordRequired, nil + return DocPagesInsertBlank400ResponseCodeSharePasswordRequired, nil case "Aborted": - return DocPagesFlatten400ResponseCodeAborted, nil + return DocPagesInsertBlank400ResponseCodeAborted, nil case "Network": - return DocPagesFlatten400ResponseCodeNetwork, nil + return DocPagesInsertBlank400ResponseCodeNetwork, nil case "Unauthenticated": - return DocPagesFlatten400ResponseCodeUnauthenticated, nil + return DocPagesInsertBlank400ResponseCodeUnauthenticated, nil case "Forbidden": - return DocPagesFlatten400ResponseCodeForbidden, nil + return DocPagesInsertBlank400ResponseCodeForbidden, nil case "NotFound": - return DocPagesFlatten400ResponseCodeNotFound, nil + return DocPagesInsertBlank400ResponseCodeNotFound, nil case "WireFormat": - return DocPagesFlatten400ResponseCodeWireFormat, nil + return DocPagesInsertBlank400ResponseCodeWireFormat, nil case "RuntimeUnavailable": - return DocPagesFlatten400ResponseCodeRuntimeUnavailable, nil + return DocPagesInsertBlank400ResponseCodeRuntimeUnavailable, nil case "InvalidReference": - return DocPagesFlatten400ResponseCodeInvalidReference, nil + return DocPagesInsertBlank400ResponseCodeInvalidReference, nil case "WeakAnnotationSessionConflict": - return DocPagesFlatten400ResponseCodeWeakAnnotationSessionConflict, nil + return DocPagesInsertBlank400ResponseCodeWeakAnnotationSessionConflict, nil case "LayerVersionConflict": - return DocPagesFlatten400ResponseCodeLayerVersionConflict, nil + return DocPagesInsertBlank400ResponseCodeLayerVersionConflict, nil case "NotImplemented": - return DocPagesFlatten400ResponseCodeNotImplemented, nil + return DocPagesInsertBlank400ResponseCodeNotImplemented, nil case "MalformedPdf": - return DocPagesFlatten400ResponseCodeMalformedPdf, nil + return DocPagesInsertBlank400ResponseCodeMalformedPdf, nil } - var t DocPagesFlatten400ResponseCode + var t DocPagesInsertBlank400ResponseCode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesFlatten400ResponseCode) Ptr() *DocPagesFlatten400ResponseCode { +func (d DocPagesInsertBlank400ResponseCode) Ptr() *DocPagesInsertBlank400ResponseCode { return &d } -type DocPagesFlatten400ResponseName string +type DocPagesInsertBlank400ResponseName string const ( - DocPagesFlatten400ResponseNameEngineError DocPagesFlatten400ResponseName = "EngineError" + DocPagesInsertBlank400ResponseNameEngineError DocPagesInsertBlank400ResponseName = "EngineError" ) -func NewDocPagesFlatten400ResponseNameFromString(s string) (DocPagesFlatten400ResponseName, error) { +func NewDocPagesInsertBlank400ResponseNameFromString(s string) (DocPagesInsertBlank400ResponseName, error) { switch s { case "EngineError": - return DocPagesFlatten400ResponseNameEngineError, nil + return DocPagesInsertBlank400ResponseNameEngineError, nil } - var t DocPagesFlatten400ResponseName + var t DocPagesInsertBlank400ResponseName return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesFlatten400ResponseName) Ptr() *DocPagesFlatten400ResponseName { +func (d DocPagesInsertBlank400ResponseName) Ptr() *DocPagesInsertBlank400ResponseName { return &d } var ( - docPagesFlatten404ResponseFieldName = big.NewInt(1 << 0) - docPagesFlatten404ResponseFieldCode = big.NewInt(1 << 1) - docPagesFlatten404ResponseFieldMessage = big.NewInt(1 << 2) - docPagesFlatten404ResponseFieldDetails = big.NewInt(1 << 3) + docPagesInsertBlank404ResponseFieldName = big.NewInt(1 << 0) + docPagesInsertBlank404ResponseFieldCode = big.NewInt(1 << 1) + docPagesInsertBlank404ResponseFieldMessage = big.NewInt(1 << 2) + docPagesInsertBlank404ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocPagesFlatten404Response struct { - Name DocPagesFlatten404ResponseName `json:"name" url:"name"` - Code DocPagesFlatten404ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocPagesInsertBlank404Response struct { + Name DocPagesInsertBlank404ResponseName `json:"name" url:"name"` + Code DocPagesInsertBlank404ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -132184,42 +137066,42 @@ type DocPagesFlatten404Response struct { rawJSON json.RawMessage } -func (d *DocPagesFlatten404Response) GetName() DocPagesFlatten404ResponseName { +func (d *DocPagesInsertBlank404Response) GetName() DocPagesInsertBlank404ResponseName { if d == nil { return "" } return d.Name } -func (d *DocPagesFlatten404Response) GetCode() DocPagesFlatten404ResponseCode { +func (d *DocPagesInsertBlank404Response) GetCode() DocPagesInsertBlank404ResponseCode { if d == nil { return "" } return d.Code } -func (d *DocPagesFlatten404Response) GetMessage() string { +func (d *DocPagesInsertBlank404Response) GetMessage() string { if d == nil { return "" } return d.Message } -func (d *DocPagesFlatten404Response) GetDetails() map[string]any { +func (d *DocPagesInsertBlank404Response) GetDetails() map[string]any { if d == nil { return nil } return d.Details } -func (d *DocPagesFlatten404Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesInsertBlank404Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesFlatten404Response) require(field *big.Int) { +func (d *DocPagesInsertBlank404Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -132228,39 +137110,39 @@ func (d *DocPagesFlatten404Response) require(field *big.Int) { // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten404Response) SetName(name DocPagesFlatten404ResponseName) { +func (d *DocPagesInsertBlank404Response) SetName(name DocPagesInsertBlank404ResponseName) { d.Name = name - d.require(docPagesFlatten404ResponseFieldName) + d.require(docPagesInsertBlank404ResponseFieldName) } // SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten404Response) SetCode(code DocPagesFlatten404ResponseCode) { +func (d *DocPagesInsertBlank404Response) SetCode(code DocPagesInsertBlank404ResponseCode) { d.Code = code - d.require(docPagesFlatten404ResponseFieldCode) + d.require(docPagesInsertBlank404ResponseFieldCode) } // SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten404Response) SetMessage(message string) { +func (d *DocPagesInsertBlank404Response) SetMessage(message string) { d.Message = message - d.require(docPagesFlatten404ResponseFieldMessage) + d.require(docPagesInsertBlank404ResponseFieldMessage) } // SetDetails sets the Details field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesFlatten404Response) SetDetails(details map[string]any) { +func (d *DocPagesInsertBlank404Response) SetDetails(details map[string]any) { d.Details = details - d.require(docPagesFlatten404ResponseFieldDetails) + d.require(docPagesInsertBlank404ResponseFieldDetails) } -func (d *DocPagesFlatten404Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesFlatten404Response +func (d *DocPagesInsertBlank404Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesInsertBlank404Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesFlatten404Response(value) + *d = DocPagesInsertBlank404Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -132270,8 +137152,8 @@ func (d *DocPagesFlatten404Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesFlatten404Response) MarshalJSON() ([]byte, error) { - type embed DocPagesFlatten404Response +func (d *DocPagesInsertBlank404Response) MarshalJSON() ([]byte, error) { + type embed DocPagesInsertBlank404Response var marshaler = struct { embed }{ @@ -132281,7 +137163,7 @@ func (d *DocPagesFlatten404Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocPagesFlatten404Response) String() string { +func (d *DocPagesInsertBlank404Response) String() string { if d == nil { return "" } @@ -132296,106 +137178,106 @@ func (d *DocPagesFlatten404Response) String() string { return fmt.Sprintf("%#v", d) } -type DocPagesFlatten404ResponseCode string +type DocPagesInsertBlank404ResponseCode string const ( - DocPagesFlatten404ResponseCodeUnknown DocPagesFlatten404ResponseCode = "Unknown" - DocPagesFlatten404ResponseCodeInvalidArg DocPagesFlatten404ResponseCode = "InvalidArg" - DocPagesFlatten404ResponseCodeDocNotOpen DocPagesFlatten404ResponseCode = "DocNotOpen" - DocPagesFlatten404ResponseCodeDocOpenFailed DocPagesFlatten404ResponseCode = "DocOpenFailed" - DocPagesFlatten404ResponseCodeDocPasswordRequired DocPagesFlatten404ResponseCode = "DocPasswordRequired" - DocPagesFlatten404ResponseCodeDocPasswordIncorrect DocPagesFlatten404ResponseCode = "DocPasswordIncorrect" - DocPagesFlatten404ResponseCodeSharePasswordRequired DocPagesFlatten404ResponseCode = "SharePasswordRequired" - DocPagesFlatten404ResponseCodeAborted DocPagesFlatten404ResponseCode = "Aborted" - DocPagesFlatten404ResponseCodeNetwork DocPagesFlatten404ResponseCode = "Network" - DocPagesFlatten404ResponseCodeUnauthenticated DocPagesFlatten404ResponseCode = "Unauthenticated" - DocPagesFlatten404ResponseCodeForbidden DocPagesFlatten404ResponseCode = "Forbidden" - DocPagesFlatten404ResponseCodeNotFound DocPagesFlatten404ResponseCode = "NotFound" - DocPagesFlatten404ResponseCodeWireFormat DocPagesFlatten404ResponseCode = "WireFormat" - DocPagesFlatten404ResponseCodeRuntimeUnavailable DocPagesFlatten404ResponseCode = "RuntimeUnavailable" - DocPagesFlatten404ResponseCodeInvalidReference DocPagesFlatten404ResponseCode = "InvalidReference" - DocPagesFlatten404ResponseCodeWeakAnnotationSessionConflict DocPagesFlatten404ResponseCode = "WeakAnnotationSessionConflict" - DocPagesFlatten404ResponseCodeLayerVersionConflict DocPagesFlatten404ResponseCode = "LayerVersionConflict" - DocPagesFlatten404ResponseCodeNotImplemented DocPagesFlatten404ResponseCode = "NotImplemented" - DocPagesFlatten404ResponseCodeMalformedPdf DocPagesFlatten404ResponseCode = "MalformedPdf" + DocPagesInsertBlank404ResponseCodeUnknown DocPagesInsertBlank404ResponseCode = "Unknown" + DocPagesInsertBlank404ResponseCodeInvalidArg DocPagesInsertBlank404ResponseCode = "InvalidArg" + DocPagesInsertBlank404ResponseCodeDocNotOpen DocPagesInsertBlank404ResponseCode = "DocNotOpen" + DocPagesInsertBlank404ResponseCodeDocOpenFailed DocPagesInsertBlank404ResponseCode = "DocOpenFailed" + DocPagesInsertBlank404ResponseCodeDocPasswordRequired DocPagesInsertBlank404ResponseCode = "DocPasswordRequired" + DocPagesInsertBlank404ResponseCodeDocPasswordIncorrect DocPagesInsertBlank404ResponseCode = "DocPasswordIncorrect" + DocPagesInsertBlank404ResponseCodeSharePasswordRequired DocPagesInsertBlank404ResponseCode = "SharePasswordRequired" + DocPagesInsertBlank404ResponseCodeAborted DocPagesInsertBlank404ResponseCode = "Aborted" + DocPagesInsertBlank404ResponseCodeNetwork DocPagesInsertBlank404ResponseCode = "Network" + DocPagesInsertBlank404ResponseCodeUnauthenticated DocPagesInsertBlank404ResponseCode = "Unauthenticated" + DocPagesInsertBlank404ResponseCodeForbidden DocPagesInsertBlank404ResponseCode = "Forbidden" + DocPagesInsertBlank404ResponseCodeNotFound DocPagesInsertBlank404ResponseCode = "NotFound" + DocPagesInsertBlank404ResponseCodeWireFormat DocPagesInsertBlank404ResponseCode = "WireFormat" + DocPagesInsertBlank404ResponseCodeRuntimeUnavailable DocPagesInsertBlank404ResponseCode = "RuntimeUnavailable" + DocPagesInsertBlank404ResponseCodeInvalidReference DocPagesInsertBlank404ResponseCode = "InvalidReference" + DocPagesInsertBlank404ResponseCodeWeakAnnotationSessionConflict DocPagesInsertBlank404ResponseCode = "WeakAnnotationSessionConflict" + DocPagesInsertBlank404ResponseCodeLayerVersionConflict DocPagesInsertBlank404ResponseCode = "LayerVersionConflict" + DocPagesInsertBlank404ResponseCodeNotImplemented DocPagesInsertBlank404ResponseCode = "NotImplemented" + DocPagesInsertBlank404ResponseCodeMalformedPdf DocPagesInsertBlank404ResponseCode = "MalformedPdf" ) -func NewDocPagesFlatten404ResponseCodeFromString(s string) (DocPagesFlatten404ResponseCode, error) { +func NewDocPagesInsertBlank404ResponseCodeFromString(s string) (DocPagesInsertBlank404ResponseCode, error) { switch s { case "Unknown": - return DocPagesFlatten404ResponseCodeUnknown, nil + return DocPagesInsertBlank404ResponseCodeUnknown, nil case "InvalidArg": - return DocPagesFlatten404ResponseCodeInvalidArg, nil + return DocPagesInsertBlank404ResponseCodeInvalidArg, nil case "DocNotOpen": - return DocPagesFlatten404ResponseCodeDocNotOpen, nil + return DocPagesInsertBlank404ResponseCodeDocNotOpen, nil case "DocOpenFailed": - return DocPagesFlatten404ResponseCodeDocOpenFailed, nil + return DocPagesInsertBlank404ResponseCodeDocOpenFailed, nil case "DocPasswordRequired": - return DocPagesFlatten404ResponseCodeDocPasswordRequired, nil + return DocPagesInsertBlank404ResponseCodeDocPasswordRequired, nil case "DocPasswordIncorrect": - return DocPagesFlatten404ResponseCodeDocPasswordIncorrect, nil + return DocPagesInsertBlank404ResponseCodeDocPasswordIncorrect, nil case "SharePasswordRequired": - return DocPagesFlatten404ResponseCodeSharePasswordRequired, nil + return DocPagesInsertBlank404ResponseCodeSharePasswordRequired, nil case "Aborted": - return DocPagesFlatten404ResponseCodeAborted, nil + return DocPagesInsertBlank404ResponseCodeAborted, nil case "Network": - return DocPagesFlatten404ResponseCodeNetwork, nil + return DocPagesInsertBlank404ResponseCodeNetwork, nil case "Unauthenticated": - return DocPagesFlatten404ResponseCodeUnauthenticated, nil + return DocPagesInsertBlank404ResponseCodeUnauthenticated, nil case "Forbidden": - return DocPagesFlatten404ResponseCodeForbidden, nil + return DocPagesInsertBlank404ResponseCodeForbidden, nil case "NotFound": - return DocPagesFlatten404ResponseCodeNotFound, nil + return DocPagesInsertBlank404ResponseCodeNotFound, nil case "WireFormat": - return DocPagesFlatten404ResponseCodeWireFormat, nil + return DocPagesInsertBlank404ResponseCodeWireFormat, nil case "RuntimeUnavailable": - return DocPagesFlatten404ResponseCodeRuntimeUnavailable, nil + return DocPagesInsertBlank404ResponseCodeRuntimeUnavailable, nil case "InvalidReference": - return DocPagesFlatten404ResponseCodeInvalidReference, nil + return DocPagesInsertBlank404ResponseCodeInvalidReference, nil case "WeakAnnotationSessionConflict": - return DocPagesFlatten404ResponseCodeWeakAnnotationSessionConflict, nil + return DocPagesInsertBlank404ResponseCodeWeakAnnotationSessionConflict, nil case "LayerVersionConflict": - return DocPagesFlatten404ResponseCodeLayerVersionConflict, nil + return DocPagesInsertBlank404ResponseCodeLayerVersionConflict, nil case "NotImplemented": - return DocPagesFlatten404ResponseCodeNotImplemented, nil + return DocPagesInsertBlank404ResponseCodeNotImplemented, nil case "MalformedPdf": - return DocPagesFlatten404ResponseCodeMalformedPdf, nil + return DocPagesInsertBlank404ResponseCodeMalformedPdf, nil } - var t DocPagesFlatten404ResponseCode + var t DocPagesInsertBlank404ResponseCode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesFlatten404ResponseCode) Ptr() *DocPagesFlatten404ResponseCode { +func (d DocPagesInsertBlank404ResponseCode) Ptr() *DocPagesInsertBlank404ResponseCode { return &d } -type DocPagesFlatten404ResponseName string +type DocPagesInsertBlank404ResponseName string const ( - DocPagesFlatten404ResponseNameEngineError DocPagesFlatten404ResponseName = "EngineError" + DocPagesInsertBlank404ResponseNameEngineError DocPagesInsertBlank404ResponseName = "EngineError" ) -func NewDocPagesFlatten404ResponseNameFromString(s string) (DocPagesFlatten404ResponseName, error) { +func NewDocPagesInsertBlank404ResponseNameFromString(s string) (DocPagesInsertBlank404ResponseName, error) { switch s { case "EngineError": - return DocPagesFlatten404ResponseNameEngineError, nil + return DocPagesInsertBlank404ResponseNameEngineError, nil } - var t DocPagesFlatten404ResponseName + var t DocPagesInsertBlank404ResponseName return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesFlatten404ResponseName) Ptr() *DocPagesFlatten404ResponseName { +func (d DocPagesInsertBlank404ResponseName) Ptr() *DocPagesInsertBlank404ResponseName { return &d } -type DocPagesFlattenRequest = map[string]any +type DocPagesInsertBlankRequest = map[string]any var ( - docPagesInsert200ResponseFieldMeta = big.NewInt(1 << 0) + docPagesMove200ResponseFieldMeta = big.NewInt(1 << 0) ) -type DocPagesInsert200Response struct { - Meta *DocPagesInsert200ResponseMeta `json:"meta" url:"meta"` +type DocPagesMove200Response struct { + Meta *DocPagesMove200ResponseMeta `json:"meta" url:"meta"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -132405,21 +137287,21 @@ type DocPagesInsert200Response struct { rawJSON json.RawMessage } -func (d *DocPagesInsert200Response) GetMeta() *DocPagesInsert200ResponseMeta { +func (d *DocPagesMove200Response) GetMeta() *DocPagesMove200ResponseMeta { if d == nil { return nil } return d.Meta } -func (d *DocPagesInsert200Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesMove200Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.ExtraProperties } -func (d *DocPagesInsert200Response) require(field *big.Int) { +func (d *DocPagesMove200Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -132428,13 +137310,13 @@ func (d *DocPagesInsert200Response) require(field *big.Int) { // SetMeta sets the Meta field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert200Response) SetMeta(meta *DocPagesInsert200ResponseMeta) { +func (d *DocPagesMove200Response) SetMeta(meta *DocPagesMove200ResponseMeta) { d.Meta = meta - d.require(docPagesInsert200ResponseFieldMeta) + d.require(docPagesMove200ResponseFieldMeta) } -func (d *DocPagesInsert200Response) UnmarshalJSON(data []byte) error { - type embed DocPagesInsert200Response +func (d *DocPagesMove200Response) UnmarshalJSON(data []byte) error { + type embed DocPagesMove200Response var unmarshaler = struct { embed }{ @@ -132443,7 +137325,7 @@ func (d *DocPagesInsert200Response) UnmarshalJSON(data []byte) error { if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocPagesInsert200Response(unmarshaler.embed) + *d = DocPagesMove200Response(unmarshaler.embed) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -132453,8 +137335,8 @@ func (d *DocPagesInsert200Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesInsert200Response) MarshalJSON() ([]byte, error) { - type embed DocPagesInsert200Response +func (d *DocPagesMove200Response) MarshalJSON() ([]byte, error) { + type embed DocPagesMove200Response var marshaler = struct { embed }{ @@ -132464,7 +137346,7 @@ func (d *DocPagesInsert200Response) MarshalJSON() ([]byte, error) { return internal.MarshalJSONWithExtraProperties(explicitMarshaler, d.ExtraProperties) } -func (d *DocPagesInsert200Response) String() string { +func (d *DocPagesMove200Response) String() string { if d == nil { return "" } @@ -132480,13 +137362,13 @@ func (d *DocPagesInsert200Response) String() string { } var ( - docPagesInsert200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) - docPagesInsert200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) + docPagesMove200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) + docPagesMove200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) ) -type DocPagesInsert200ResponseMeta struct { - AffectedPages []*DocPagesInsert200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` - CacheDelta *DocPagesInsert200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` +type DocPagesMove200ResponseMeta struct { + AffectedPages []*DocPagesMove200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` + CacheDelta *DocPagesMove200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -132495,28 +137377,28 @@ type DocPagesInsert200ResponseMeta struct { rawJSON json.RawMessage } -func (d *DocPagesInsert200ResponseMeta) GetAffectedPages() []*DocPagesInsert200ResponseMetaAffectedPagesItem { +func (d *DocPagesMove200ResponseMeta) GetAffectedPages() []*DocPagesMove200ResponseMetaAffectedPagesItem { if d == nil { return nil } return d.AffectedPages } -func (d *DocPagesInsert200ResponseMeta) GetCacheDelta() *DocPagesInsert200ResponseMetaCacheDelta { +func (d *DocPagesMove200ResponseMeta) GetCacheDelta() *DocPagesMove200ResponseMetaCacheDelta { if d == nil { return nil } return d.CacheDelta } -func (d *DocPagesInsert200ResponseMeta) GetExtraProperties() map[string]interface{} { +func (d *DocPagesMove200ResponseMeta) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesInsert200ResponseMeta) require(field *big.Int) { +func (d *DocPagesMove200ResponseMeta) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -132525,25 +137407,25 @@ func (d *DocPagesInsert200ResponseMeta) require(field *big.Int) { // SetAffectedPages sets the AffectedPages field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert200ResponseMeta) SetAffectedPages(affectedPages []*DocPagesInsert200ResponseMetaAffectedPagesItem) { +func (d *DocPagesMove200ResponseMeta) SetAffectedPages(affectedPages []*DocPagesMove200ResponseMetaAffectedPagesItem) { d.AffectedPages = affectedPages - d.require(docPagesInsert200ResponseMetaFieldAffectedPages) + d.require(docPagesMove200ResponseMetaFieldAffectedPages) } // SetCacheDelta sets the CacheDelta field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert200ResponseMeta) SetCacheDelta(cacheDelta *DocPagesInsert200ResponseMetaCacheDelta) { +func (d *DocPagesMove200ResponseMeta) SetCacheDelta(cacheDelta *DocPagesMove200ResponseMetaCacheDelta) { d.CacheDelta = cacheDelta - d.require(docPagesInsert200ResponseMetaFieldCacheDelta) + d.require(docPagesMove200ResponseMetaFieldCacheDelta) } -func (d *DocPagesInsert200ResponseMeta) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesInsert200ResponseMeta +func (d *DocPagesMove200ResponseMeta) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesMove200ResponseMeta var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesInsert200ResponseMeta(value) + *d = DocPagesMove200ResponseMeta(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -132553,8 +137435,8 @@ func (d *DocPagesInsert200ResponseMeta) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesInsert200ResponseMeta) MarshalJSON() ([]byte, error) { - type embed DocPagesInsert200ResponseMeta +func (d *DocPagesMove200ResponseMeta) MarshalJSON() ([]byte, error) { + type embed DocPagesMove200ResponseMeta var marshaler = struct { embed }{ @@ -132564,7 +137446,7 @@ func (d *DocPagesInsert200ResponseMeta) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocPagesInsert200ResponseMeta) String() string { +func (d *DocPagesMove200ResponseMeta) String() string { if d == nil { return "" } @@ -132580,15 +137462,15 @@ func (d *DocPagesInsert200ResponseMeta) String() string { } var ( - docPagesInsert200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) - docPagesInsert200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) - docPagesInsert200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) + docPagesMove200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docPagesMove200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) + docPagesMove200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) ) -type DocPagesInsert200ResponseMetaAffectedPagesItem struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Revision *DocPagesInsert200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` - WeakAnnotationState *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` +type DocPagesMove200ResponseMetaAffectedPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Revision *DocPagesMove200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` + WeakAnnotationState *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -132597,35 +137479,35 @@ type DocPagesInsert200ResponseMetaAffectedPagesItem struct { rawJSON json.RawMessage } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { +func (d *DocPagesMove200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) GetRevision() *DocPagesInsert200ResponseMetaAffectedPagesItemRevision { +func (d *DocPagesMove200ResponseMetaAffectedPagesItem) GetRevision() *DocPagesMove200ResponseMetaAffectedPagesItemRevision { if d == nil { return nil } return d.Revision } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState { +func (d *DocPagesMove200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState { if d == nil { return nil } return d.WeakAnnotationState } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { +func (d *DocPagesMove200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) require(field *big.Int) { +func (d *DocPagesMove200ResponseMetaAffectedPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -132634,32 +137516,32 @@ func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) require(field *big.Int) // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocPagesMove200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docPagesInsert200ResponseMetaAffectedPagesItemFieldPageObjectNumber) + d.require(docPagesMove200ResponseMetaAffectedPagesItemFieldPageObjectNumber) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) SetRevision(revision *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) { +func (d *DocPagesMove200ResponseMetaAffectedPagesItem) SetRevision(revision *DocPagesMove200ResponseMetaAffectedPagesItemRevision) { d.Revision = revision - d.require(docPagesInsert200ResponseMetaAffectedPagesItemFieldRevision) + d.require(docPagesMove200ResponseMetaAffectedPagesItemFieldRevision) } // SetWeakAnnotationState sets the WeakAnnotationState field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState) { +func (d *DocPagesMove200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState) { d.WeakAnnotationState = weakAnnotationState - d.require(docPagesInsert200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) + d.require(docPagesMove200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesInsert200ResponseMetaAffectedPagesItem +func (d *DocPagesMove200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesMove200ResponseMetaAffectedPagesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesInsert200ResponseMetaAffectedPagesItem(value) + *d = DocPagesMove200ResponseMetaAffectedPagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -132669,8 +137551,8 @@ func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []by return nil } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { - type embed DocPagesInsert200ResponseMetaAffectedPagesItem +func (d *DocPagesMove200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { + type embed DocPagesMove200ResponseMetaAffectedPagesItem var marshaler = struct { embed }{ @@ -132680,7 +137562,7 @@ func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, return json.Marshal(explicitMarshaler) } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) String() string { +func (d *DocPagesMove200ResponseMetaAffectedPagesItem) String() string { if d == nil { return "" } @@ -132696,12 +137578,12 @@ func (d *DocPagesInsert200ResponseMetaAffectedPagesItem) String() string { } var ( - docPagesInsert200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) - docPagesInsert200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docPagesInsert200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) + docPagesMove200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) + docPagesMove200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docPagesMove200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocPagesInsert200ResponseMetaAffectedPagesItemRevision struct { +type DocPagesMove200ResponseMetaAffectedPagesItemRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -132713,35 +137595,35 @@ type DocPagesInsert200ResponseMetaAffectedPagesItemRevision struct { rawJSON json.RawMessage } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -132750,32 +137632,32 @@ func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) require(field * // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docPagesInsert200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) + d.require(docPagesMove200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docPagesInsert200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) + d.require(docPagesMove200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docPagesInsert200ResponseMetaAffectedPagesItemRevisionFieldGeneration) + d.require(docPagesMove200ResponseMetaAffectedPagesItemRevisionFieldGeneration) } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesInsert200ResponseMetaAffectedPagesItemRevision +func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesMove200ResponseMetaAffectedPagesItemRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesInsert200ResponseMetaAffectedPagesItemRevision(value) + *d = DocPagesMove200ResponseMetaAffectedPagesItemRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -132785,8 +137667,8 @@ func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(d return nil } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { - type embed DocPagesInsert200ResponseMetaAffectedPagesItemRevision +func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { + type embed DocPagesMove200ResponseMetaAffectedPagesItemRevision var marshaler = struct { embed }{ @@ -132796,7 +137678,7 @@ func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ( return json.Marshal(explicitMarshaler) } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) String() string { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) String() string { if d == nil { return "" } @@ -132811,36 +137693,36 @@ func (d *DocPagesInsert200ResponseMetaAffectedPagesItemRevision) String() string return fmt.Sprintf("%#v", d) } -type DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState struct { +type DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState struct { Kind string - Unknown *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown - Known *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + Unknown *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + Known *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown rawJSON json.RawMessage } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { if d == nil { return nil } return d.Unknown } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { if d == nil { return nil } return d.Known } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -132853,13 +137735,13 @@ func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState) Unma } switch unmarshaler.Kind { case "unknown": - value := new(DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) + value := new(DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) if err := json.Unmarshal(data, &value); err != nil { return err } d.Unknown = value case "known": - value := new(DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) + value := new(DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -132869,7 +137751,7 @@ func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState) Unma return nil } -func (d DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { +func (d DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -132885,12 +137767,12 @@ func (d DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState) Marsh return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { - VisitUnknown(*DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error - VisitKnown(*DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error +type DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { + VisitUnknown(*DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error + VisitKnown(*DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { if d.Unknown != nil { return visitor.VisitUnknown(d.Unknown) } @@ -132900,7 +137782,7 @@ func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState) Acce return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -132938,10 +137820,10 @@ func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState) vali } var ( - docPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) + docPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) ) -type DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { +type DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { HasAnyWeakAnnotations bool `json:"hasAnyWeakAnnotations" url:"hasAnyWeakAnnotations"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -132951,21 +137833,21 @@ type DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown stru rawJSON json.RawMessage } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { if d == nil { return false } return d.HasAnyWeakAnnotations } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -132974,18 +137856,18 @@ func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) // SetHasAnyWeakAnnotations sets the HasAnyWeakAnnotations field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { d.HasAnyWeakAnnotations = hasAnyWeakAnnotations - d.require(docPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) + d.require(docPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown +func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) + *d = DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -132995,8 +137877,8 @@ func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) return nil } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { - type embed DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown +func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { + type embed DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown var marshaler = struct { embed }{ @@ -133006,7 +137888,7 @@ func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) return json.Marshal(explicitMarshaler) } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { if d == nil { return "" } @@ -133021,7 +137903,7 @@ func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) return fmt.Sprintf("%#v", d) } -type DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { +type DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -133030,27 +137912,27 @@ type DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown st rawJSON json.RawMessage } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown +func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) + *d = DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -133060,8 +137942,8 @@ func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknow return nil } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { - type embed DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown +func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { + type embed DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var marshaler = struct { embed }{ @@ -133071,7 +137953,7 @@ func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknow return json.Marshal(explicitMarshaler) } -func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { +func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { if d == nil { return "" } @@ -133087,17 +137969,17 @@ func (d *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknow } var ( - docPagesInsert200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) - docPagesInsert200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) - docPagesInsert200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) - docPagesInsert200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) + docPagesMove200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) + docPagesMove200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) + docPagesMove200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) + docPagesMove200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) ) -type DocPagesInsert200ResponseMetaCacheDelta struct { - PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` - DocVersion int `json:"docVersion" url:"docVersion"` - AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` - Pages []*DocPagesInsert200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` +type DocPagesMove200ResponseMetaCacheDelta struct { + PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` + DocVersion int `json:"docVersion" url:"docVersion"` + AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` + Pages []*DocPagesMove200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -133106,42 +137988,42 @@ type DocPagesInsert200ResponseMetaCacheDelta struct { rawJSON json.RawMessage } -func (d *DocPagesInsert200ResponseMetaCacheDelta) GetPreviousDocVersion() int { +func (d *DocPagesMove200ResponseMetaCacheDelta) GetPreviousDocVersion() int { if d == nil { return 0 } return d.PreviousDocVersion } -func (d *DocPagesInsert200ResponseMetaCacheDelta) GetDocVersion() int { +func (d *DocPagesMove200ResponseMetaCacheDelta) GetDocVersion() int { if d == nil { return 0 } return d.DocVersion } -func (d *DocPagesInsert200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { +func (d *DocPagesMove200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { if d == nil { return nil } return d.AnnotationsVersion } -func (d *DocPagesInsert200ResponseMetaCacheDelta) GetPages() []*DocPagesInsert200ResponseMetaCacheDeltaPagesItem { +func (d *DocPagesMove200ResponseMetaCacheDelta) GetPages() []*DocPagesMove200ResponseMetaCacheDeltaPagesItem { if d == nil { return nil } return d.Pages } -func (d *DocPagesInsert200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { +func (d *DocPagesMove200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesInsert200ResponseMetaCacheDelta) require(field *big.Int) { +func (d *DocPagesMove200ResponseMetaCacheDelta) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -133150,39 +138032,39 @@ func (d *DocPagesInsert200ResponseMetaCacheDelta) require(field *big.Int) { // SetPreviousDocVersion sets the PreviousDocVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { +func (d *DocPagesMove200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { d.PreviousDocVersion = previousDocVersion - d.require(docPagesInsert200ResponseMetaCacheDeltaFieldPreviousDocVersion) + d.require(docPagesMove200ResponseMetaCacheDeltaFieldPreviousDocVersion) } // SetDocVersion sets the DocVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { +func (d *DocPagesMove200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { d.DocVersion = docVersion - d.require(docPagesInsert200ResponseMetaCacheDeltaFieldDocVersion) + d.require(docPagesMove200ResponseMetaCacheDeltaFieldDocVersion) } // SetAnnotationsVersion sets the AnnotationsVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { +func (d *DocPagesMove200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { d.AnnotationsVersion = annotationsVersion - d.require(docPagesInsert200ResponseMetaCacheDeltaFieldAnnotationsVersion) + d.require(docPagesMove200ResponseMetaCacheDeltaFieldAnnotationsVersion) } // SetPages sets the Pages field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert200ResponseMetaCacheDelta) SetPages(pages []*DocPagesInsert200ResponseMetaCacheDeltaPagesItem) { +func (d *DocPagesMove200ResponseMetaCacheDelta) SetPages(pages []*DocPagesMove200ResponseMetaCacheDeltaPagesItem) { d.Pages = pages - d.require(docPagesInsert200ResponseMetaCacheDeltaFieldPages) + d.require(docPagesMove200ResponseMetaCacheDeltaFieldPages) } -func (d *DocPagesInsert200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesInsert200ResponseMetaCacheDelta +func (d *DocPagesMove200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesMove200ResponseMetaCacheDelta var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesInsert200ResponseMetaCacheDelta(value) + *d = DocPagesMove200ResponseMetaCacheDelta(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -133192,8 +138074,8 @@ func (d *DocPagesInsert200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) err return nil } -func (d *DocPagesInsert200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { - type embed DocPagesInsert200ResponseMetaCacheDelta +func (d *DocPagesMove200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { + type embed DocPagesMove200ResponseMetaCacheDelta var marshaler = struct { embed }{ @@ -133203,7 +138085,7 @@ func (d *DocPagesInsert200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) return json.Marshal(explicitMarshaler) } -func (d *DocPagesInsert200ResponseMetaCacheDelta) String() string { +func (d *DocPagesMove200ResponseMetaCacheDelta) String() string { if d == nil { return "" } @@ -133219,13 +138101,13 @@ func (d *DocPagesInsert200ResponseMetaCacheDelta) String() string { } var ( - docPagesInsert200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) - docPagesInsert200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) + docPagesMove200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docPagesMove200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) ) -type DocPagesInsert200ResponseMetaCacheDeltaPagesItem struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Cache *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` +type DocPagesMove200ResponseMetaCacheDeltaPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Cache *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -133234,28 +138116,28 @@ type DocPagesInsert200ResponseMetaCacheDeltaPagesItem struct { rawJSON json.RawMessage } -func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { +func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItem) GetCache() *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache { +func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItem) GetCache() *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache { if d == nil { return nil } return d.Cache } -func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { +func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { +func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -133264,25 +138146,25 @@ func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItem) require(field *big.In // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docPagesInsert200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) + d.require(docPagesMove200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) } // SetCache sets the Cache field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) { +func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) { d.Cache = cache - d.require(docPagesInsert200ResponseMetaCacheDeltaPagesItemFieldCache) + d.require(docPagesMove200ResponseMetaCacheDeltaPagesItemFieldCache) } -func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesInsert200ResponseMetaCacheDeltaPagesItem +func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesMove200ResponseMetaCacheDeltaPagesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesInsert200ResponseMetaCacheDeltaPagesItem(value) + *d = DocPagesMove200ResponseMetaCacheDeltaPagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -133292,8 +138174,8 @@ func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data [] return nil } -func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { - type embed DocPagesInsert200ResponseMetaCacheDeltaPagesItem +func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { + type embed DocPagesMove200ResponseMetaCacheDeltaPagesItem var marshaler = struct { embed }{ @@ -133303,7 +138185,7 @@ func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte return json.Marshal(explicitMarshaler) } -func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItem) String() string { +func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItem) String() string { if d == nil { return "" } @@ -133319,11 +138201,11 @@ func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItem) String() string { } var ( - docPagesInsert200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) - docPagesInsert200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) + docPagesMove200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) + docPagesMove200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) ) -type DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache struct { +type DocPagesMove200ResponseMetaCacheDeltaPagesItemCache struct { ContentVersion int `json:"contentVersion" url:"contentVersion"` AnnotationVersion int `json:"annotationVersion" url:"annotationVersion"` @@ -133334,28 +138216,28 @@ type DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache struct { rawJSON json.RawMessage } -func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { +func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { if d == nil { return 0 } return d.ContentVersion } -func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { +func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { if d == nil { return 0 } return d.AnnotationVersion } -func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { +func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { +func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -133364,25 +138246,25 @@ func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) require(field *b // SetContentVersion sets the ContentVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { +func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { d.ContentVersion = contentVersion - d.require(docPagesInsert200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) + d.require(docPagesMove200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) } // SetAnnotationVersion sets the AnnotationVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { +func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { d.AnnotationVersion = annotationVersion - d.require(docPagesInsert200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) + d.require(docPagesMove200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) } -func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache +func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesMove200ResponseMetaCacheDeltaPagesItemCache var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache(value) + *d = DocPagesMove200ResponseMetaCacheDeltaPagesItemCache(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -133392,8 +138274,8 @@ func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(da return nil } -func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { - type embed DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache +func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { + type embed DocPagesMove200ResponseMetaCacheDeltaPagesItemCache var marshaler = struct { embed }{ @@ -133403,7 +138285,7 @@ func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([ return json.Marshal(explicitMarshaler) } -func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) String() string { +func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) String() string { if d == nil { return "" } @@ -133419,17 +138301,17 @@ func (d *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache) String() string } var ( - docPagesInsert400ResponseFieldName = big.NewInt(1 << 0) - docPagesInsert400ResponseFieldCode = big.NewInt(1 << 1) - docPagesInsert400ResponseFieldMessage = big.NewInt(1 << 2) - docPagesInsert400ResponseFieldDetails = big.NewInt(1 << 3) + docPagesMove400ResponseFieldName = big.NewInt(1 << 0) + docPagesMove400ResponseFieldCode = big.NewInt(1 << 1) + docPagesMove400ResponseFieldMessage = big.NewInt(1 << 2) + docPagesMove400ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocPagesInsert400Response struct { - Name DocPagesInsert400ResponseName `json:"name" url:"name"` - Code DocPagesInsert400ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocPagesMove400Response struct { + Name DocPagesMove400ResponseName `json:"name" url:"name"` + Code DocPagesMove400ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -133438,42 +138320,42 @@ type DocPagesInsert400Response struct { rawJSON json.RawMessage } -func (d *DocPagesInsert400Response) GetName() DocPagesInsert400ResponseName { +func (d *DocPagesMove400Response) GetName() DocPagesMove400ResponseName { if d == nil { return "" } return d.Name } -func (d *DocPagesInsert400Response) GetCode() DocPagesInsert400ResponseCode { +func (d *DocPagesMove400Response) GetCode() DocPagesMove400ResponseCode { if d == nil { return "" } return d.Code } -func (d *DocPagesInsert400Response) GetMessage() string { +func (d *DocPagesMove400Response) GetMessage() string { if d == nil { return "" } return d.Message } -func (d *DocPagesInsert400Response) GetDetails() map[string]any { +func (d *DocPagesMove400Response) GetDetails() map[string]any { if d == nil { return nil } return d.Details } -func (d *DocPagesInsert400Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesMove400Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesInsert400Response) require(field *big.Int) { +func (d *DocPagesMove400Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -133482,39 +138364,39 @@ func (d *DocPagesInsert400Response) require(field *big.Int) { // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert400Response) SetName(name DocPagesInsert400ResponseName) { +func (d *DocPagesMove400Response) SetName(name DocPagesMove400ResponseName) { d.Name = name - d.require(docPagesInsert400ResponseFieldName) + d.require(docPagesMove400ResponseFieldName) } // SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert400Response) SetCode(code DocPagesInsert400ResponseCode) { +func (d *DocPagesMove400Response) SetCode(code DocPagesMove400ResponseCode) { d.Code = code - d.require(docPagesInsert400ResponseFieldCode) + d.require(docPagesMove400ResponseFieldCode) } // SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert400Response) SetMessage(message string) { +func (d *DocPagesMove400Response) SetMessage(message string) { d.Message = message - d.require(docPagesInsert400ResponseFieldMessage) + d.require(docPagesMove400ResponseFieldMessage) } // SetDetails sets the Details field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert400Response) SetDetails(details map[string]any) { +func (d *DocPagesMove400Response) SetDetails(details map[string]any) { d.Details = details - d.require(docPagesInsert400ResponseFieldDetails) + d.require(docPagesMove400ResponseFieldDetails) } -func (d *DocPagesInsert400Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesInsert400Response +func (d *DocPagesMove400Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesMove400Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesInsert400Response(value) + *d = DocPagesMove400Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -133524,8 +138406,8 @@ func (d *DocPagesInsert400Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesInsert400Response) MarshalJSON() ([]byte, error) { - type embed DocPagesInsert400Response +func (d *DocPagesMove400Response) MarshalJSON() ([]byte, error) { + type embed DocPagesMove400Response var marshaler = struct { embed }{ @@ -133535,7 +138417,7 @@ func (d *DocPagesInsert400Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocPagesInsert400Response) String() string { +func (d *DocPagesMove400Response) String() string { if d == nil { return "" } @@ -133550,110 +138432,110 @@ func (d *DocPagesInsert400Response) String() string { return fmt.Sprintf("%#v", d) } -type DocPagesInsert400ResponseCode string +type DocPagesMove400ResponseCode string const ( - DocPagesInsert400ResponseCodeUnknown DocPagesInsert400ResponseCode = "Unknown" - DocPagesInsert400ResponseCodeInvalidArg DocPagesInsert400ResponseCode = "InvalidArg" - DocPagesInsert400ResponseCodeDocNotOpen DocPagesInsert400ResponseCode = "DocNotOpen" - DocPagesInsert400ResponseCodeDocOpenFailed DocPagesInsert400ResponseCode = "DocOpenFailed" - DocPagesInsert400ResponseCodeDocPasswordRequired DocPagesInsert400ResponseCode = "DocPasswordRequired" - DocPagesInsert400ResponseCodeDocPasswordIncorrect DocPagesInsert400ResponseCode = "DocPasswordIncorrect" - DocPagesInsert400ResponseCodeSharePasswordRequired DocPagesInsert400ResponseCode = "SharePasswordRequired" - DocPagesInsert400ResponseCodeAborted DocPagesInsert400ResponseCode = "Aborted" - DocPagesInsert400ResponseCodeNetwork DocPagesInsert400ResponseCode = "Network" - DocPagesInsert400ResponseCodeUnauthenticated DocPagesInsert400ResponseCode = "Unauthenticated" - DocPagesInsert400ResponseCodeForbidden DocPagesInsert400ResponseCode = "Forbidden" - DocPagesInsert400ResponseCodeNotFound DocPagesInsert400ResponseCode = "NotFound" - DocPagesInsert400ResponseCodeWireFormat DocPagesInsert400ResponseCode = "WireFormat" - DocPagesInsert400ResponseCodeRuntimeUnavailable DocPagesInsert400ResponseCode = "RuntimeUnavailable" - DocPagesInsert400ResponseCodeInvalidReference DocPagesInsert400ResponseCode = "InvalidReference" - DocPagesInsert400ResponseCodeWeakAnnotationSessionConflict DocPagesInsert400ResponseCode = "WeakAnnotationSessionConflict" - DocPagesInsert400ResponseCodeLayerVersionConflict DocPagesInsert400ResponseCode = "LayerVersionConflict" - DocPagesInsert400ResponseCodeNotImplemented DocPagesInsert400ResponseCode = "NotImplemented" - DocPagesInsert400ResponseCodeMalformedPdf DocPagesInsert400ResponseCode = "MalformedPdf" + DocPagesMove400ResponseCodeUnknown DocPagesMove400ResponseCode = "Unknown" + DocPagesMove400ResponseCodeInvalidArg DocPagesMove400ResponseCode = "InvalidArg" + DocPagesMove400ResponseCodeDocNotOpen DocPagesMove400ResponseCode = "DocNotOpen" + DocPagesMove400ResponseCodeDocOpenFailed DocPagesMove400ResponseCode = "DocOpenFailed" + DocPagesMove400ResponseCodeDocPasswordRequired DocPagesMove400ResponseCode = "DocPasswordRequired" + DocPagesMove400ResponseCodeDocPasswordIncorrect DocPagesMove400ResponseCode = "DocPasswordIncorrect" + DocPagesMove400ResponseCodeSharePasswordRequired DocPagesMove400ResponseCode = "SharePasswordRequired" + DocPagesMove400ResponseCodeAborted DocPagesMove400ResponseCode = "Aborted" + DocPagesMove400ResponseCodeNetwork DocPagesMove400ResponseCode = "Network" + DocPagesMove400ResponseCodeUnauthenticated DocPagesMove400ResponseCode = "Unauthenticated" + DocPagesMove400ResponseCodeForbidden DocPagesMove400ResponseCode = "Forbidden" + DocPagesMove400ResponseCodeNotFound DocPagesMove400ResponseCode = "NotFound" + DocPagesMove400ResponseCodeWireFormat DocPagesMove400ResponseCode = "WireFormat" + DocPagesMove400ResponseCodeRuntimeUnavailable DocPagesMove400ResponseCode = "RuntimeUnavailable" + DocPagesMove400ResponseCodeInvalidReference DocPagesMove400ResponseCode = "InvalidReference" + DocPagesMove400ResponseCodeWeakAnnotationSessionConflict DocPagesMove400ResponseCode = "WeakAnnotationSessionConflict" + DocPagesMove400ResponseCodeLayerVersionConflict DocPagesMove400ResponseCode = "LayerVersionConflict" + DocPagesMove400ResponseCodeNotImplemented DocPagesMove400ResponseCode = "NotImplemented" + DocPagesMove400ResponseCodeMalformedPdf DocPagesMove400ResponseCode = "MalformedPdf" ) -func NewDocPagesInsert400ResponseCodeFromString(s string) (DocPagesInsert400ResponseCode, error) { +func NewDocPagesMove400ResponseCodeFromString(s string) (DocPagesMove400ResponseCode, error) { switch s { case "Unknown": - return DocPagesInsert400ResponseCodeUnknown, nil + return DocPagesMove400ResponseCodeUnknown, nil case "InvalidArg": - return DocPagesInsert400ResponseCodeInvalidArg, nil + return DocPagesMove400ResponseCodeInvalidArg, nil case "DocNotOpen": - return DocPagesInsert400ResponseCodeDocNotOpen, nil + return DocPagesMove400ResponseCodeDocNotOpen, nil case "DocOpenFailed": - return DocPagesInsert400ResponseCodeDocOpenFailed, nil + return DocPagesMove400ResponseCodeDocOpenFailed, nil case "DocPasswordRequired": - return DocPagesInsert400ResponseCodeDocPasswordRequired, nil + return DocPagesMove400ResponseCodeDocPasswordRequired, nil case "DocPasswordIncorrect": - return DocPagesInsert400ResponseCodeDocPasswordIncorrect, nil + return DocPagesMove400ResponseCodeDocPasswordIncorrect, nil case "SharePasswordRequired": - return DocPagesInsert400ResponseCodeSharePasswordRequired, nil + return DocPagesMove400ResponseCodeSharePasswordRequired, nil case "Aborted": - return DocPagesInsert400ResponseCodeAborted, nil + return DocPagesMove400ResponseCodeAborted, nil case "Network": - return DocPagesInsert400ResponseCodeNetwork, nil + return DocPagesMove400ResponseCodeNetwork, nil case "Unauthenticated": - return DocPagesInsert400ResponseCodeUnauthenticated, nil + return DocPagesMove400ResponseCodeUnauthenticated, nil case "Forbidden": - return DocPagesInsert400ResponseCodeForbidden, nil + return DocPagesMove400ResponseCodeForbidden, nil case "NotFound": - return DocPagesInsert400ResponseCodeNotFound, nil + return DocPagesMove400ResponseCodeNotFound, nil case "WireFormat": - return DocPagesInsert400ResponseCodeWireFormat, nil + return DocPagesMove400ResponseCodeWireFormat, nil case "RuntimeUnavailable": - return DocPagesInsert400ResponseCodeRuntimeUnavailable, nil + return DocPagesMove400ResponseCodeRuntimeUnavailable, nil case "InvalidReference": - return DocPagesInsert400ResponseCodeInvalidReference, nil + return DocPagesMove400ResponseCodeInvalidReference, nil case "WeakAnnotationSessionConflict": - return DocPagesInsert400ResponseCodeWeakAnnotationSessionConflict, nil + return DocPagesMove400ResponseCodeWeakAnnotationSessionConflict, nil case "LayerVersionConflict": - return DocPagesInsert400ResponseCodeLayerVersionConflict, nil + return DocPagesMove400ResponseCodeLayerVersionConflict, nil case "NotImplemented": - return DocPagesInsert400ResponseCodeNotImplemented, nil + return DocPagesMove400ResponseCodeNotImplemented, nil case "MalformedPdf": - return DocPagesInsert400ResponseCodeMalformedPdf, nil + return DocPagesMove400ResponseCodeMalformedPdf, nil } - var t DocPagesInsert400ResponseCode + var t DocPagesMove400ResponseCode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesInsert400ResponseCode) Ptr() *DocPagesInsert400ResponseCode { +func (d DocPagesMove400ResponseCode) Ptr() *DocPagesMove400ResponseCode { return &d } -type DocPagesInsert400ResponseName string +type DocPagesMove400ResponseName string const ( - DocPagesInsert400ResponseNameEngineError DocPagesInsert400ResponseName = "EngineError" + DocPagesMove400ResponseNameEngineError DocPagesMove400ResponseName = "EngineError" ) -func NewDocPagesInsert400ResponseNameFromString(s string) (DocPagesInsert400ResponseName, error) { +func NewDocPagesMove400ResponseNameFromString(s string) (DocPagesMove400ResponseName, error) { switch s { case "EngineError": - return DocPagesInsert400ResponseNameEngineError, nil + return DocPagesMove400ResponseNameEngineError, nil } - var t DocPagesInsert400ResponseName + var t DocPagesMove400ResponseName return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesInsert400ResponseName) Ptr() *DocPagesInsert400ResponseName { +func (d DocPagesMove400ResponseName) Ptr() *DocPagesMove400ResponseName { return &d } var ( - docPagesInsert404ResponseFieldName = big.NewInt(1 << 0) - docPagesInsert404ResponseFieldCode = big.NewInt(1 << 1) - docPagesInsert404ResponseFieldMessage = big.NewInt(1 << 2) - docPagesInsert404ResponseFieldDetails = big.NewInt(1 << 3) + docPagesMove404ResponseFieldName = big.NewInt(1 << 0) + docPagesMove404ResponseFieldCode = big.NewInt(1 << 1) + docPagesMove404ResponseFieldMessage = big.NewInt(1 << 2) + docPagesMove404ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocPagesInsert404Response struct { - Name DocPagesInsert404ResponseName `json:"name" url:"name"` - Code DocPagesInsert404ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocPagesMove404Response struct { + Name DocPagesMove404ResponseName `json:"name" url:"name"` + Code DocPagesMove404ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -133662,42 +138544,42 @@ type DocPagesInsert404Response struct { rawJSON json.RawMessage } -func (d *DocPagesInsert404Response) GetName() DocPagesInsert404ResponseName { +func (d *DocPagesMove404Response) GetName() DocPagesMove404ResponseName { if d == nil { return "" } return d.Name } -func (d *DocPagesInsert404Response) GetCode() DocPagesInsert404ResponseCode { +func (d *DocPagesMove404Response) GetCode() DocPagesMove404ResponseCode { if d == nil { return "" } return d.Code } -func (d *DocPagesInsert404Response) GetMessage() string { +func (d *DocPagesMove404Response) GetMessage() string { if d == nil { return "" } return d.Message } -func (d *DocPagesInsert404Response) GetDetails() map[string]any { +func (d *DocPagesMove404Response) GetDetails() map[string]any { if d == nil { return nil } return d.Details } -func (d *DocPagesInsert404Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesMove404Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesInsert404Response) require(field *big.Int) { +func (d *DocPagesMove404Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -133706,39 +138588,39 @@ func (d *DocPagesInsert404Response) require(field *big.Int) { // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert404Response) SetName(name DocPagesInsert404ResponseName) { +func (d *DocPagesMove404Response) SetName(name DocPagesMove404ResponseName) { d.Name = name - d.require(docPagesInsert404ResponseFieldName) + d.require(docPagesMove404ResponseFieldName) } // SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert404Response) SetCode(code DocPagesInsert404ResponseCode) { +func (d *DocPagesMove404Response) SetCode(code DocPagesMove404ResponseCode) { d.Code = code - d.require(docPagesInsert404ResponseFieldCode) + d.require(docPagesMove404ResponseFieldCode) } // SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert404Response) SetMessage(message string) { +func (d *DocPagesMove404Response) SetMessage(message string) { d.Message = message - d.require(docPagesInsert404ResponseFieldMessage) + d.require(docPagesMove404ResponseFieldMessage) } // SetDetails sets the Details field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsert404Response) SetDetails(details map[string]any) { +func (d *DocPagesMove404Response) SetDetails(details map[string]any) { d.Details = details - d.require(docPagesInsert404ResponseFieldDetails) + d.require(docPagesMove404ResponseFieldDetails) } -func (d *DocPagesInsert404Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesInsert404Response +func (d *DocPagesMove404Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesMove404Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesInsert404Response(value) + *d = DocPagesMove404Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -133748,8 +138630,8 @@ func (d *DocPagesInsert404Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesInsert404Response) MarshalJSON() ([]byte, error) { - type embed DocPagesInsert404Response +func (d *DocPagesMove404Response) MarshalJSON() ([]byte, error) { + type embed DocPagesMove404Response var marshaler = struct { embed }{ @@ -133759,7 +138641,7 @@ func (d *DocPagesInsert404Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocPagesInsert404Response) String() string { +func (d *DocPagesMove404Response) String() string { if d == nil { return "" } @@ -133774,104 +138656,106 @@ func (d *DocPagesInsert404Response) String() string { return fmt.Sprintf("%#v", d) } -type DocPagesInsert404ResponseCode string +type DocPagesMove404ResponseCode string const ( - DocPagesInsert404ResponseCodeUnknown DocPagesInsert404ResponseCode = "Unknown" - DocPagesInsert404ResponseCodeInvalidArg DocPagesInsert404ResponseCode = "InvalidArg" - DocPagesInsert404ResponseCodeDocNotOpen DocPagesInsert404ResponseCode = "DocNotOpen" - DocPagesInsert404ResponseCodeDocOpenFailed DocPagesInsert404ResponseCode = "DocOpenFailed" - DocPagesInsert404ResponseCodeDocPasswordRequired DocPagesInsert404ResponseCode = "DocPasswordRequired" - DocPagesInsert404ResponseCodeDocPasswordIncorrect DocPagesInsert404ResponseCode = "DocPasswordIncorrect" - DocPagesInsert404ResponseCodeSharePasswordRequired DocPagesInsert404ResponseCode = "SharePasswordRequired" - DocPagesInsert404ResponseCodeAborted DocPagesInsert404ResponseCode = "Aborted" - DocPagesInsert404ResponseCodeNetwork DocPagesInsert404ResponseCode = "Network" - DocPagesInsert404ResponseCodeUnauthenticated DocPagesInsert404ResponseCode = "Unauthenticated" - DocPagesInsert404ResponseCodeForbidden DocPagesInsert404ResponseCode = "Forbidden" - DocPagesInsert404ResponseCodeNotFound DocPagesInsert404ResponseCode = "NotFound" - DocPagesInsert404ResponseCodeWireFormat DocPagesInsert404ResponseCode = "WireFormat" - DocPagesInsert404ResponseCodeRuntimeUnavailable DocPagesInsert404ResponseCode = "RuntimeUnavailable" - DocPagesInsert404ResponseCodeInvalidReference DocPagesInsert404ResponseCode = "InvalidReference" - DocPagesInsert404ResponseCodeWeakAnnotationSessionConflict DocPagesInsert404ResponseCode = "WeakAnnotationSessionConflict" - DocPagesInsert404ResponseCodeLayerVersionConflict DocPagesInsert404ResponseCode = "LayerVersionConflict" - DocPagesInsert404ResponseCodeNotImplemented DocPagesInsert404ResponseCode = "NotImplemented" - DocPagesInsert404ResponseCodeMalformedPdf DocPagesInsert404ResponseCode = "MalformedPdf" + DocPagesMove404ResponseCodeUnknown DocPagesMove404ResponseCode = "Unknown" + DocPagesMove404ResponseCodeInvalidArg DocPagesMove404ResponseCode = "InvalidArg" + DocPagesMove404ResponseCodeDocNotOpen DocPagesMove404ResponseCode = "DocNotOpen" + DocPagesMove404ResponseCodeDocOpenFailed DocPagesMove404ResponseCode = "DocOpenFailed" + DocPagesMove404ResponseCodeDocPasswordRequired DocPagesMove404ResponseCode = "DocPasswordRequired" + DocPagesMove404ResponseCodeDocPasswordIncorrect DocPagesMove404ResponseCode = "DocPasswordIncorrect" + DocPagesMove404ResponseCodeSharePasswordRequired DocPagesMove404ResponseCode = "SharePasswordRequired" + DocPagesMove404ResponseCodeAborted DocPagesMove404ResponseCode = "Aborted" + DocPagesMove404ResponseCodeNetwork DocPagesMove404ResponseCode = "Network" + DocPagesMove404ResponseCodeUnauthenticated DocPagesMove404ResponseCode = "Unauthenticated" + DocPagesMove404ResponseCodeForbidden DocPagesMove404ResponseCode = "Forbidden" + DocPagesMove404ResponseCodeNotFound DocPagesMove404ResponseCode = "NotFound" + DocPagesMove404ResponseCodeWireFormat DocPagesMove404ResponseCode = "WireFormat" + DocPagesMove404ResponseCodeRuntimeUnavailable DocPagesMove404ResponseCode = "RuntimeUnavailable" + DocPagesMove404ResponseCodeInvalidReference DocPagesMove404ResponseCode = "InvalidReference" + DocPagesMove404ResponseCodeWeakAnnotationSessionConflict DocPagesMove404ResponseCode = "WeakAnnotationSessionConflict" + DocPagesMove404ResponseCodeLayerVersionConflict DocPagesMove404ResponseCode = "LayerVersionConflict" + DocPagesMove404ResponseCodeNotImplemented DocPagesMove404ResponseCode = "NotImplemented" + DocPagesMove404ResponseCodeMalformedPdf DocPagesMove404ResponseCode = "MalformedPdf" ) -func NewDocPagesInsert404ResponseCodeFromString(s string) (DocPagesInsert404ResponseCode, error) { +func NewDocPagesMove404ResponseCodeFromString(s string) (DocPagesMove404ResponseCode, error) { switch s { case "Unknown": - return DocPagesInsert404ResponseCodeUnknown, nil + return DocPagesMove404ResponseCodeUnknown, nil case "InvalidArg": - return DocPagesInsert404ResponseCodeInvalidArg, nil + return DocPagesMove404ResponseCodeInvalidArg, nil case "DocNotOpen": - return DocPagesInsert404ResponseCodeDocNotOpen, nil + return DocPagesMove404ResponseCodeDocNotOpen, nil case "DocOpenFailed": - return DocPagesInsert404ResponseCodeDocOpenFailed, nil + return DocPagesMove404ResponseCodeDocOpenFailed, nil case "DocPasswordRequired": - return DocPagesInsert404ResponseCodeDocPasswordRequired, nil + return DocPagesMove404ResponseCodeDocPasswordRequired, nil case "DocPasswordIncorrect": - return DocPagesInsert404ResponseCodeDocPasswordIncorrect, nil + return DocPagesMove404ResponseCodeDocPasswordIncorrect, nil case "SharePasswordRequired": - return DocPagesInsert404ResponseCodeSharePasswordRequired, nil + return DocPagesMove404ResponseCodeSharePasswordRequired, nil case "Aborted": - return DocPagesInsert404ResponseCodeAborted, nil + return DocPagesMove404ResponseCodeAborted, nil case "Network": - return DocPagesInsert404ResponseCodeNetwork, nil + return DocPagesMove404ResponseCodeNetwork, nil case "Unauthenticated": - return DocPagesInsert404ResponseCodeUnauthenticated, nil + return DocPagesMove404ResponseCodeUnauthenticated, nil case "Forbidden": - return DocPagesInsert404ResponseCodeForbidden, nil + return DocPagesMove404ResponseCodeForbidden, nil case "NotFound": - return DocPagesInsert404ResponseCodeNotFound, nil + return DocPagesMove404ResponseCodeNotFound, nil case "WireFormat": - return DocPagesInsert404ResponseCodeWireFormat, nil + return DocPagesMove404ResponseCodeWireFormat, nil case "RuntimeUnavailable": - return DocPagesInsert404ResponseCodeRuntimeUnavailable, nil + return DocPagesMove404ResponseCodeRuntimeUnavailable, nil case "InvalidReference": - return DocPagesInsert404ResponseCodeInvalidReference, nil + return DocPagesMove404ResponseCodeInvalidReference, nil case "WeakAnnotationSessionConflict": - return DocPagesInsert404ResponseCodeWeakAnnotationSessionConflict, nil + return DocPagesMove404ResponseCodeWeakAnnotationSessionConflict, nil case "LayerVersionConflict": - return DocPagesInsert404ResponseCodeLayerVersionConflict, nil + return DocPagesMove404ResponseCodeLayerVersionConflict, nil case "NotImplemented": - return DocPagesInsert404ResponseCodeNotImplemented, nil + return DocPagesMove404ResponseCodeNotImplemented, nil case "MalformedPdf": - return DocPagesInsert404ResponseCodeMalformedPdf, nil + return DocPagesMove404ResponseCodeMalformedPdf, nil } - var t DocPagesInsert404ResponseCode + var t DocPagesMove404ResponseCode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesInsert404ResponseCode) Ptr() *DocPagesInsert404ResponseCode { +func (d DocPagesMove404ResponseCode) Ptr() *DocPagesMove404ResponseCode { return &d } -type DocPagesInsert404ResponseName string +type DocPagesMove404ResponseName string const ( - DocPagesInsert404ResponseNameEngineError DocPagesInsert404ResponseName = "EngineError" + DocPagesMove404ResponseNameEngineError DocPagesMove404ResponseName = "EngineError" ) -func NewDocPagesInsert404ResponseNameFromString(s string) (DocPagesInsert404ResponseName, error) { +func NewDocPagesMove404ResponseNameFromString(s string) (DocPagesMove404ResponseName, error) { switch s { case "EngineError": - return DocPagesInsert404ResponseNameEngineError, nil + return DocPagesMove404ResponseNameEngineError, nil } - var t DocPagesInsert404ResponseName + var t DocPagesMove404ResponseName return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesInsert404ResponseName) Ptr() *DocPagesInsert404ResponseName { +func (d DocPagesMove404ResponseName) Ptr() *DocPagesMove404ResponseName { return &d } +type DocPagesMoveRequest = map[string]any + var ( - docPagesInsertBlank200ResponseFieldMeta = big.NewInt(1 << 0) + docPagesRemoveName200ResponseFieldMeta = big.NewInt(1 << 0) ) -type DocPagesInsertBlank200Response struct { - Meta *DocPagesInsertBlank200ResponseMeta `json:"meta" url:"meta"` +type DocPagesRemoveName200Response struct { + Meta *DocPagesRemoveName200ResponseMeta `json:"meta" url:"meta"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -133881,21 +138765,21 @@ type DocPagesInsertBlank200Response struct { rawJSON json.RawMessage } -func (d *DocPagesInsertBlank200Response) GetMeta() *DocPagesInsertBlank200ResponseMeta { +func (d *DocPagesRemoveName200Response) GetMeta() *DocPagesRemoveName200ResponseMeta { if d == nil { return nil } return d.Meta } -func (d *DocPagesInsertBlank200Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesRemoveName200Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.ExtraProperties } -func (d *DocPagesInsertBlank200Response) require(field *big.Int) { +func (d *DocPagesRemoveName200Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -133904,13 +138788,13 @@ func (d *DocPagesInsertBlank200Response) require(field *big.Int) { // SetMeta sets the Meta field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank200Response) SetMeta(meta *DocPagesInsertBlank200ResponseMeta) { +func (d *DocPagesRemoveName200Response) SetMeta(meta *DocPagesRemoveName200ResponseMeta) { d.Meta = meta - d.require(docPagesInsertBlank200ResponseFieldMeta) + d.require(docPagesRemoveName200ResponseFieldMeta) } -func (d *DocPagesInsertBlank200Response) UnmarshalJSON(data []byte) error { - type embed DocPagesInsertBlank200Response +func (d *DocPagesRemoveName200Response) UnmarshalJSON(data []byte) error { + type embed DocPagesRemoveName200Response var unmarshaler = struct { embed }{ @@ -133919,7 +138803,7 @@ func (d *DocPagesInsertBlank200Response) UnmarshalJSON(data []byte) error { if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocPagesInsertBlank200Response(unmarshaler.embed) + *d = DocPagesRemoveName200Response(unmarshaler.embed) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -133929,8 +138813,8 @@ func (d *DocPagesInsertBlank200Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesInsertBlank200Response) MarshalJSON() ([]byte, error) { - type embed DocPagesInsertBlank200Response +func (d *DocPagesRemoveName200Response) MarshalJSON() ([]byte, error) { + type embed DocPagesRemoveName200Response var marshaler = struct { embed }{ @@ -133940,7 +138824,7 @@ func (d *DocPagesInsertBlank200Response) MarshalJSON() ([]byte, error) { return internal.MarshalJSONWithExtraProperties(explicitMarshaler, d.ExtraProperties) } -func (d *DocPagesInsertBlank200Response) String() string { +func (d *DocPagesRemoveName200Response) String() string { if d == nil { return "" } @@ -133956,13 +138840,13 @@ func (d *DocPagesInsertBlank200Response) String() string { } var ( - docPagesInsertBlank200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) - docPagesInsertBlank200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) + docPagesRemoveName200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) + docPagesRemoveName200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) ) -type DocPagesInsertBlank200ResponseMeta struct { - AffectedPages []*DocPagesInsertBlank200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` - CacheDelta *DocPagesInsertBlank200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` +type DocPagesRemoveName200ResponseMeta struct { + AffectedPages []*DocPagesRemoveName200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` + CacheDelta *DocPagesRemoveName200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -133971,28 +138855,28 @@ type DocPagesInsertBlank200ResponseMeta struct { rawJSON json.RawMessage } -func (d *DocPagesInsertBlank200ResponseMeta) GetAffectedPages() []*DocPagesInsertBlank200ResponseMetaAffectedPagesItem { +func (d *DocPagesRemoveName200ResponseMeta) GetAffectedPages() []*DocPagesRemoveName200ResponseMetaAffectedPagesItem { if d == nil { return nil } return d.AffectedPages } -func (d *DocPagesInsertBlank200ResponseMeta) GetCacheDelta() *DocPagesInsertBlank200ResponseMetaCacheDelta { +func (d *DocPagesRemoveName200ResponseMeta) GetCacheDelta() *DocPagesRemoveName200ResponseMetaCacheDelta { if d == nil { return nil } return d.CacheDelta } -func (d *DocPagesInsertBlank200ResponseMeta) GetExtraProperties() map[string]interface{} { +func (d *DocPagesRemoveName200ResponseMeta) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesInsertBlank200ResponseMeta) require(field *big.Int) { +func (d *DocPagesRemoveName200ResponseMeta) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -134001,25 +138885,25 @@ func (d *DocPagesInsertBlank200ResponseMeta) require(field *big.Int) { // SetAffectedPages sets the AffectedPages field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank200ResponseMeta) SetAffectedPages(affectedPages []*DocPagesInsertBlank200ResponseMetaAffectedPagesItem) { +func (d *DocPagesRemoveName200ResponseMeta) SetAffectedPages(affectedPages []*DocPagesRemoveName200ResponseMetaAffectedPagesItem) { d.AffectedPages = affectedPages - d.require(docPagesInsertBlank200ResponseMetaFieldAffectedPages) + d.require(docPagesRemoveName200ResponseMetaFieldAffectedPages) } // SetCacheDelta sets the CacheDelta field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank200ResponseMeta) SetCacheDelta(cacheDelta *DocPagesInsertBlank200ResponseMetaCacheDelta) { +func (d *DocPagesRemoveName200ResponseMeta) SetCacheDelta(cacheDelta *DocPagesRemoveName200ResponseMetaCacheDelta) { d.CacheDelta = cacheDelta - d.require(docPagesInsertBlank200ResponseMetaFieldCacheDelta) + d.require(docPagesRemoveName200ResponseMetaFieldCacheDelta) } -func (d *DocPagesInsertBlank200ResponseMeta) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesInsertBlank200ResponseMeta +func (d *DocPagesRemoveName200ResponseMeta) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesRemoveName200ResponseMeta var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesInsertBlank200ResponseMeta(value) + *d = DocPagesRemoveName200ResponseMeta(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -134029,8 +138913,8 @@ func (d *DocPagesInsertBlank200ResponseMeta) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesInsertBlank200ResponseMeta) MarshalJSON() ([]byte, error) { - type embed DocPagesInsertBlank200ResponseMeta +func (d *DocPagesRemoveName200ResponseMeta) MarshalJSON() ([]byte, error) { + type embed DocPagesRemoveName200ResponseMeta var marshaler = struct { embed }{ @@ -134040,7 +138924,7 @@ func (d *DocPagesInsertBlank200ResponseMeta) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocPagesInsertBlank200ResponseMeta) String() string { +func (d *DocPagesRemoveName200ResponseMeta) String() string { if d == nil { return "" } @@ -134056,15 +138940,15 @@ func (d *DocPagesInsertBlank200ResponseMeta) String() string { } var ( - docPagesInsertBlank200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) - docPagesInsertBlank200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) - docPagesInsertBlank200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) + docPagesRemoveName200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docPagesRemoveName200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) + docPagesRemoveName200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) ) -type DocPagesInsertBlank200ResponseMetaAffectedPagesItem struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Revision *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` - WeakAnnotationState *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` +type DocPagesRemoveName200ResponseMetaAffectedPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Revision *DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` + WeakAnnotationState *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -134073,35 +138957,35 @@ type DocPagesInsertBlank200ResponseMetaAffectedPagesItem struct { rawJSON json.RawMessage } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) GetRevision() *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItem) GetRevision() *DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision { if d == nil { return nil } return d.Revision } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState { if d == nil { return nil } return d.WeakAnnotationState } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) require(field *big.Int) { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -134110,32 +138994,32 @@ func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) require(field *big // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docPagesInsertBlank200ResponseMetaAffectedPagesItemFieldPageObjectNumber) + d.require(docPagesRemoveName200ResponseMetaAffectedPagesItemFieldPageObjectNumber) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) SetRevision(revision *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItem) SetRevision(revision *DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision) { d.Revision = revision - d.require(docPagesInsertBlank200ResponseMetaAffectedPagesItemFieldRevision) + d.require(docPagesRemoveName200ResponseMetaAffectedPagesItemFieldRevision) } // SetWeakAnnotationState sets the WeakAnnotationState field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState) { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState) { d.WeakAnnotationState = weakAnnotationState - d.require(docPagesInsertBlank200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) + d.require(docPagesRemoveName200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesInsertBlank200ResponseMetaAffectedPagesItem +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesRemoveName200ResponseMetaAffectedPagesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesInsertBlank200ResponseMetaAffectedPagesItem(value) + *d = DocPagesRemoveName200ResponseMetaAffectedPagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -134145,8 +139029,8 @@ func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) UnmarshalJSON(data return nil } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { - type embed DocPagesInsertBlank200ResponseMetaAffectedPagesItem +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { + type embed DocPagesRemoveName200ResponseMetaAffectedPagesItem var marshaler = struct { embed }{ @@ -134156,7 +139040,7 @@ func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) MarshalJSON() ([]b return json.Marshal(explicitMarshaler) } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) String() string { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItem) String() string { if d == nil { return "" } @@ -134172,12 +139056,12 @@ func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItem) String() string { } var ( - docPagesInsertBlank200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) - docPagesInsertBlank200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docPagesInsertBlank200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) + docPagesRemoveName200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) + docPagesRemoveName200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docPagesRemoveName200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision struct { +type DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -134189,35 +139073,35 @@ type DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision struct { rawJSON json.RawMessage } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -134226,32 +139110,32 @@ func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) require(fi // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docPagesInsertBlank200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) + d.require(docPagesRemoveName200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docPagesInsertBlank200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) + d.require(docPagesRemoveName200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docPagesInsertBlank200ResponseMetaAffectedPagesItemRevisionFieldGeneration) + d.require(docPagesRemoveName200ResponseMetaAffectedPagesItemRevisionFieldGeneration) } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision(value) + *d = DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -134261,8 +139145,8 @@ func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) UnmarshalJ return nil } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { - type embed DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { + type embed DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision var marshaler = struct { embed }{ @@ -134272,7 +139156,7 @@ func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) MarshalJSO return json.Marshal(explicitMarshaler) } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) String() string { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision) String() string { if d == nil { return "" } @@ -134287,36 +139171,36 @@ func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision) String() s return fmt.Sprintf("%#v", d) } -type DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState struct { +type DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState struct { Kind string - Unknown *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown - Known *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + Unknown *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + Known *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown rawJSON json.RawMessage } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { if d == nil { return nil } return d.Unknown } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { if d == nil { return nil } return d.Known } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -134329,13 +139213,13 @@ func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState) } switch unmarshaler.Kind { case "unknown": - value := new(DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) + value := new(DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) if err := json.Unmarshal(data, &value); err != nil { return err } d.Unknown = value case "known": - value := new(DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) + value := new(DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -134345,7 +139229,7 @@ func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState) return nil } -func (d DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { +func (d DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -134361,12 +139245,12 @@ func (d DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState) return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { - VisitUnknown(*DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error - VisitKnown(*DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error +type DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { + VisitUnknown(*DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error + VisitKnown(*DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { if d.Unknown != nil { return visitor.VisitUnknown(d.Unknown) } @@ -134376,7 +139260,7 @@ func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState) return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -134414,10 +139298,10 @@ func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState) } var ( - docPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) + docPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) ) -type DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { +type DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { HasAnyWeakAnnotations bool `json:"hasAnyWeakAnnotations" url:"hasAnyWeakAnnotations"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -134427,21 +139311,21 @@ type DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown rawJSON json.RawMessage } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { if d == nil { return false } return d.HasAnyWeakAnnotations } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -134450,18 +139334,18 @@ func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateK // SetHasAnyWeakAnnotations sets the HasAnyWeakAnnotations field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { d.HasAnyWeakAnnotations = hasAnyWeakAnnotations - d.require(docPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) + d.require(docPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) + *d = DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -134471,8 +139355,8 @@ func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateK return nil } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { - type embed DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { + type embed DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown var marshaler = struct { embed }{ @@ -134482,7 +139366,7 @@ func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateK return json.Marshal(explicitMarshaler) } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { if d == nil { return "" } @@ -134497,7 +139381,7 @@ func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateK return fmt.Sprintf("%#v", d) } -type DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { +type DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -134506,27 +139390,27 @@ type DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnkno rawJSON json.RawMessage } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) + *d = DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -134536,8 +139420,8 @@ func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateU return nil } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { - type embed DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { + type embed DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var marshaler = struct { embed }{ @@ -134547,7 +139431,7 @@ func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateU return json.Marshal(explicitMarshaler) } -func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { +func (d *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { if d == nil { return "" } @@ -134563,17 +139447,17 @@ func (d *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateU } var ( - docPagesInsertBlank200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) - docPagesInsertBlank200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) - docPagesInsertBlank200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) - docPagesInsertBlank200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) + docPagesRemoveName200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) + docPagesRemoveName200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) + docPagesRemoveName200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) + docPagesRemoveName200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) ) -type DocPagesInsertBlank200ResponseMetaCacheDelta struct { - PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` - DocVersion int `json:"docVersion" url:"docVersion"` - AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` - Pages []*DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` +type DocPagesRemoveName200ResponseMetaCacheDelta struct { + PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` + DocVersion int `json:"docVersion" url:"docVersion"` + AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` + Pages []*DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -134582,42 +139466,42 @@ type DocPagesInsertBlank200ResponseMetaCacheDelta struct { rawJSON json.RawMessage } -func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) GetPreviousDocVersion() int { +func (d *DocPagesRemoveName200ResponseMetaCacheDelta) GetPreviousDocVersion() int { if d == nil { return 0 } return d.PreviousDocVersion } -func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) GetDocVersion() int { +func (d *DocPagesRemoveName200ResponseMetaCacheDelta) GetDocVersion() int { if d == nil { return 0 } return d.DocVersion } -func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { +func (d *DocPagesRemoveName200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { if d == nil { return nil } return d.AnnotationsVersion } -func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) GetPages() []*DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem { +func (d *DocPagesRemoveName200ResponseMetaCacheDelta) GetPages() []*DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem { if d == nil { return nil } return d.Pages } -func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { +func (d *DocPagesRemoveName200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) require(field *big.Int) { +func (d *DocPagesRemoveName200ResponseMetaCacheDelta) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -134626,39 +139510,39 @@ func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) require(field *big.Int) { // SetPreviousDocVersion sets the PreviousDocVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { +func (d *DocPagesRemoveName200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { d.PreviousDocVersion = previousDocVersion - d.require(docPagesInsertBlank200ResponseMetaCacheDeltaFieldPreviousDocVersion) + d.require(docPagesRemoveName200ResponseMetaCacheDeltaFieldPreviousDocVersion) } // SetDocVersion sets the DocVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { +func (d *DocPagesRemoveName200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { d.DocVersion = docVersion - d.require(docPagesInsertBlank200ResponseMetaCacheDeltaFieldDocVersion) + d.require(docPagesRemoveName200ResponseMetaCacheDeltaFieldDocVersion) } // SetAnnotationsVersion sets the AnnotationsVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { +func (d *DocPagesRemoveName200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { d.AnnotationsVersion = annotationsVersion - d.require(docPagesInsertBlank200ResponseMetaCacheDeltaFieldAnnotationsVersion) + d.require(docPagesRemoveName200ResponseMetaCacheDeltaFieldAnnotationsVersion) } // SetPages sets the Pages field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) SetPages(pages []*DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) { +func (d *DocPagesRemoveName200ResponseMetaCacheDelta) SetPages(pages []*DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem) { d.Pages = pages - d.require(docPagesInsertBlank200ResponseMetaCacheDeltaFieldPages) + d.require(docPagesRemoveName200ResponseMetaCacheDeltaFieldPages) } -func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesInsertBlank200ResponseMetaCacheDelta +func (d *DocPagesRemoveName200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesRemoveName200ResponseMetaCacheDelta var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesInsertBlank200ResponseMetaCacheDelta(value) + *d = DocPagesRemoveName200ResponseMetaCacheDelta(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -134668,8 +139552,8 @@ func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) UnmarshalJSON(data []byte return nil } -func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { - type embed DocPagesInsertBlank200ResponseMetaCacheDelta +func (d *DocPagesRemoveName200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { + type embed DocPagesRemoveName200ResponseMetaCacheDelta var marshaler = struct { embed }{ @@ -134679,7 +139563,7 @@ func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) MarshalJSON() ([]byte, er return json.Marshal(explicitMarshaler) } -func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) String() string { +func (d *DocPagesRemoveName200ResponseMetaCacheDelta) String() string { if d == nil { return "" } @@ -134695,13 +139579,13 @@ func (d *DocPagesInsertBlank200ResponseMetaCacheDelta) String() string { } var ( - docPagesInsertBlank200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) - docPagesInsertBlank200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) + docPagesRemoveName200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docPagesRemoveName200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) ) -type DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Cache *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` +type DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Cache *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -134710,28 +139594,28 @@ type DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem struct { rawJSON json.RawMessage } -func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { +func (d *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) GetCache() *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache { +func (d *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem) GetCache() *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache { if d == nil { return nil } return d.Cache } -func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { +func (d *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { +func (d *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -134740,25 +139624,25 @@ func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) require(field *b // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docPagesInsertBlank200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) + d.require(docPagesRemoveName200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) } // SetCache sets the Cache field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) { +func (d *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache) { d.Cache = cache - d.require(docPagesInsertBlank200ResponseMetaCacheDeltaPagesItemFieldCache) + d.require(docPagesRemoveName200ResponseMetaCacheDeltaPagesItemFieldCache) } -func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem +func (d *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem(value) + *d = DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -134768,8 +139652,8 @@ func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(da return nil } -func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { - type embed DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem +func (d *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { + type embed DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem var marshaler = struct { embed }{ @@ -134779,7 +139663,7 @@ func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([ return json.Marshal(explicitMarshaler) } -func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) String() string { +func (d *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem) String() string { if d == nil { return "" } @@ -134795,11 +139679,11 @@ func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem) String() string } var ( - docPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) - docPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) + docPagesRemoveName200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) + docPagesRemoveName200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) ) -type DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache struct { +type DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache struct { ContentVersion int `json:"contentVersion" url:"contentVersion"` AnnotationVersion int `json:"annotationVersion" url:"annotationVersion"` @@ -134810,28 +139694,28 @@ type DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache struct { rawJSON json.RawMessage } -func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { +func (d *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { if d == nil { return 0 } return d.ContentVersion } -func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { +func (d *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { if d == nil { return 0 } return d.AnnotationVersion } -func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { +func (d *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { +func (d *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -134840,25 +139724,25 @@ func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) require(fie // SetContentVersion sets the ContentVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { +func (d *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { d.ContentVersion = contentVersion - d.require(docPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) + d.require(docPagesRemoveName200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) } // SetAnnotationVersion sets the AnnotationVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { +func (d *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { d.AnnotationVersion = annotationVersion - d.require(docPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) + d.require(docPagesRemoveName200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) } -func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache +func (d *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache(value) + *d = DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -134868,8 +139752,8 @@ func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJS return nil } -func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { - type embed DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache +func (d *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { + type embed DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache var marshaler = struct { embed }{ @@ -134879,7 +139763,7 @@ func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON return json.Marshal(explicitMarshaler) } -func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) String() string { +func (d *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache) String() string { if d == nil { return "" } @@ -134895,17 +139779,17 @@ func (d *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache) String() st } var ( - docPagesInsertBlank400ResponseFieldName = big.NewInt(1 << 0) - docPagesInsertBlank400ResponseFieldCode = big.NewInt(1 << 1) - docPagesInsertBlank400ResponseFieldMessage = big.NewInt(1 << 2) - docPagesInsertBlank400ResponseFieldDetails = big.NewInt(1 << 3) + docPagesRemoveName400ResponseFieldName = big.NewInt(1 << 0) + docPagesRemoveName400ResponseFieldCode = big.NewInt(1 << 1) + docPagesRemoveName400ResponseFieldMessage = big.NewInt(1 << 2) + docPagesRemoveName400ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocPagesInsertBlank400Response struct { - Name DocPagesInsertBlank400ResponseName `json:"name" url:"name"` - Code DocPagesInsertBlank400ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocPagesRemoveName400Response struct { + Name DocPagesRemoveName400ResponseName `json:"name" url:"name"` + Code DocPagesRemoveName400ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -134914,42 +139798,42 @@ type DocPagesInsertBlank400Response struct { rawJSON json.RawMessage } -func (d *DocPagesInsertBlank400Response) GetName() DocPagesInsertBlank400ResponseName { +func (d *DocPagesRemoveName400Response) GetName() DocPagesRemoveName400ResponseName { if d == nil { return "" } return d.Name } -func (d *DocPagesInsertBlank400Response) GetCode() DocPagesInsertBlank400ResponseCode { +func (d *DocPagesRemoveName400Response) GetCode() DocPagesRemoveName400ResponseCode { if d == nil { return "" } return d.Code } -func (d *DocPagesInsertBlank400Response) GetMessage() string { +func (d *DocPagesRemoveName400Response) GetMessage() string { if d == nil { return "" } return d.Message } -func (d *DocPagesInsertBlank400Response) GetDetails() map[string]any { +func (d *DocPagesRemoveName400Response) GetDetails() map[string]any { if d == nil { return nil } return d.Details } -func (d *DocPagesInsertBlank400Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesRemoveName400Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesInsertBlank400Response) require(field *big.Int) { +func (d *DocPagesRemoveName400Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -134958,39 +139842,39 @@ func (d *DocPagesInsertBlank400Response) require(field *big.Int) { // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank400Response) SetName(name DocPagesInsertBlank400ResponseName) { +func (d *DocPagesRemoveName400Response) SetName(name DocPagesRemoveName400ResponseName) { d.Name = name - d.require(docPagesInsertBlank400ResponseFieldName) + d.require(docPagesRemoveName400ResponseFieldName) } // SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank400Response) SetCode(code DocPagesInsertBlank400ResponseCode) { +func (d *DocPagesRemoveName400Response) SetCode(code DocPagesRemoveName400ResponseCode) { d.Code = code - d.require(docPagesInsertBlank400ResponseFieldCode) + d.require(docPagesRemoveName400ResponseFieldCode) } // SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank400Response) SetMessage(message string) { +func (d *DocPagesRemoveName400Response) SetMessage(message string) { d.Message = message - d.require(docPagesInsertBlank400ResponseFieldMessage) + d.require(docPagesRemoveName400ResponseFieldMessage) } // SetDetails sets the Details field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank400Response) SetDetails(details map[string]any) { +func (d *DocPagesRemoveName400Response) SetDetails(details map[string]any) { d.Details = details - d.require(docPagesInsertBlank400ResponseFieldDetails) + d.require(docPagesRemoveName400ResponseFieldDetails) } -func (d *DocPagesInsertBlank400Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesInsertBlank400Response +func (d *DocPagesRemoveName400Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesRemoveName400Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesInsertBlank400Response(value) + *d = DocPagesRemoveName400Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -135000,8 +139884,8 @@ func (d *DocPagesInsertBlank400Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesInsertBlank400Response) MarshalJSON() ([]byte, error) { - type embed DocPagesInsertBlank400Response +func (d *DocPagesRemoveName400Response) MarshalJSON() ([]byte, error) { + type embed DocPagesRemoveName400Response var marshaler = struct { embed }{ @@ -135011,7 +139895,7 @@ func (d *DocPagesInsertBlank400Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocPagesInsertBlank400Response) String() string { +func (d *DocPagesRemoveName400Response) String() string { if d == nil { return "" } @@ -135026,110 +139910,110 @@ func (d *DocPagesInsertBlank400Response) String() string { return fmt.Sprintf("%#v", d) } -type DocPagesInsertBlank400ResponseCode string +type DocPagesRemoveName400ResponseCode string const ( - DocPagesInsertBlank400ResponseCodeUnknown DocPagesInsertBlank400ResponseCode = "Unknown" - DocPagesInsertBlank400ResponseCodeInvalidArg DocPagesInsertBlank400ResponseCode = "InvalidArg" - DocPagesInsertBlank400ResponseCodeDocNotOpen DocPagesInsertBlank400ResponseCode = "DocNotOpen" - DocPagesInsertBlank400ResponseCodeDocOpenFailed DocPagesInsertBlank400ResponseCode = "DocOpenFailed" - DocPagesInsertBlank400ResponseCodeDocPasswordRequired DocPagesInsertBlank400ResponseCode = "DocPasswordRequired" - DocPagesInsertBlank400ResponseCodeDocPasswordIncorrect DocPagesInsertBlank400ResponseCode = "DocPasswordIncorrect" - DocPagesInsertBlank400ResponseCodeSharePasswordRequired DocPagesInsertBlank400ResponseCode = "SharePasswordRequired" - DocPagesInsertBlank400ResponseCodeAborted DocPagesInsertBlank400ResponseCode = "Aborted" - DocPagesInsertBlank400ResponseCodeNetwork DocPagesInsertBlank400ResponseCode = "Network" - DocPagesInsertBlank400ResponseCodeUnauthenticated DocPagesInsertBlank400ResponseCode = "Unauthenticated" - DocPagesInsertBlank400ResponseCodeForbidden DocPagesInsertBlank400ResponseCode = "Forbidden" - DocPagesInsertBlank400ResponseCodeNotFound DocPagesInsertBlank400ResponseCode = "NotFound" - DocPagesInsertBlank400ResponseCodeWireFormat DocPagesInsertBlank400ResponseCode = "WireFormat" - DocPagesInsertBlank400ResponseCodeRuntimeUnavailable DocPagesInsertBlank400ResponseCode = "RuntimeUnavailable" - DocPagesInsertBlank400ResponseCodeInvalidReference DocPagesInsertBlank400ResponseCode = "InvalidReference" - DocPagesInsertBlank400ResponseCodeWeakAnnotationSessionConflict DocPagesInsertBlank400ResponseCode = "WeakAnnotationSessionConflict" - DocPagesInsertBlank400ResponseCodeLayerVersionConflict DocPagesInsertBlank400ResponseCode = "LayerVersionConflict" - DocPagesInsertBlank400ResponseCodeNotImplemented DocPagesInsertBlank400ResponseCode = "NotImplemented" - DocPagesInsertBlank400ResponseCodeMalformedPdf DocPagesInsertBlank400ResponseCode = "MalformedPdf" -) - -func NewDocPagesInsertBlank400ResponseCodeFromString(s string) (DocPagesInsertBlank400ResponseCode, error) { + DocPagesRemoveName400ResponseCodeUnknown DocPagesRemoveName400ResponseCode = "Unknown" + DocPagesRemoveName400ResponseCodeInvalidArg DocPagesRemoveName400ResponseCode = "InvalidArg" + DocPagesRemoveName400ResponseCodeDocNotOpen DocPagesRemoveName400ResponseCode = "DocNotOpen" + DocPagesRemoveName400ResponseCodeDocOpenFailed DocPagesRemoveName400ResponseCode = "DocOpenFailed" + DocPagesRemoveName400ResponseCodeDocPasswordRequired DocPagesRemoveName400ResponseCode = "DocPasswordRequired" + DocPagesRemoveName400ResponseCodeDocPasswordIncorrect DocPagesRemoveName400ResponseCode = "DocPasswordIncorrect" + DocPagesRemoveName400ResponseCodeSharePasswordRequired DocPagesRemoveName400ResponseCode = "SharePasswordRequired" + DocPagesRemoveName400ResponseCodeAborted DocPagesRemoveName400ResponseCode = "Aborted" + DocPagesRemoveName400ResponseCodeNetwork DocPagesRemoveName400ResponseCode = "Network" + DocPagesRemoveName400ResponseCodeUnauthenticated DocPagesRemoveName400ResponseCode = "Unauthenticated" + DocPagesRemoveName400ResponseCodeForbidden DocPagesRemoveName400ResponseCode = "Forbidden" + DocPagesRemoveName400ResponseCodeNotFound DocPagesRemoveName400ResponseCode = "NotFound" + DocPagesRemoveName400ResponseCodeWireFormat DocPagesRemoveName400ResponseCode = "WireFormat" + DocPagesRemoveName400ResponseCodeRuntimeUnavailable DocPagesRemoveName400ResponseCode = "RuntimeUnavailable" + DocPagesRemoveName400ResponseCodeInvalidReference DocPagesRemoveName400ResponseCode = "InvalidReference" + DocPagesRemoveName400ResponseCodeWeakAnnotationSessionConflict DocPagesRemoveName400ResponseCode = "WeakAnnotationSessionConflict" + DocPagesRemoveName400ResponseCodeLayerVersionConflict DocPagesRemoveName400ResponseCode = "LayerVersionConflict" + DocPagesRemoveName400ResponseCodeNotImplemented DocPagesRemoveName400ResponseCode = "NotImplemented" + DocPagesRemoveName400ResponseCodeMalformedPdf DocPagesRemoveName400ResponseCode = "MalformedPdf" +) + +func NewDocPagesRemoveName400ResponseCodeFromString(s string) (DocPagesRemoveName400ResponseCode, error) { switch s { case "Unknown": - return DocPagesInsertBlank400ResponseCodeUnknown, nil + return DocPagesRemoveName400ResponseCodeUnknown, nil case "InvalidArg": - return DocPagesInsertBlank400ResponseCodeInvalidArg, nil + return DocPagesRemoveName400ResponseCodeInvalidArg, nil case "DocNotOpen": - return DocPagesInsertBlank400ResponseCodeDocNotOpen, nil + return DocPagesRemoveName400ResponseCodeDocNotOpen, nil case "DocOpenFailed": - return DocPagesInsertBlank400ResponseCodeDocOpenFailed, nil + return DocPagesRemoveName400ResponseCodeDocOpenFailed, nil case "DocPasswordRequired": - return DocPagesInsertBlank400ResponseCodeDocPasswordRequired, nil + return DocPagesRemoveName400ResponseCodeDocPasswordRequired, nil case "DocPasswordIncorrect": - return DocPagesInsertBlank400ResponseCodeDocPasswordIncorrect, nil + return DocPagesRemoveName400ResponseCodeDocPasswordIncorrect, nil case "SharePasswordRequired": - return DocPagesInsertBlank400ResponseCodeSharePasswordRequired, nil + return DocPagesRemoveName400ResponseCodeSharePasswordRequired, nil case "Aborted": - return DocPagesInsertBlank400ResponseCodeAborted, nil + return DocPagesRemoveName400ResponseCodeAborted, nil case "Network": - return DocPagesInsertBlank400ResponseCodeNetwork, nil + return DocPagesRemoveName400ResponseCodeNetwork, nil case "Unauthenticated": - return DocPagesInsertBlank400ResponseCodeUnauthenticated, nil + return DocPagesRemoveName400ResponseCodeUnauthenticated, nil case "Forbidden": - return DocPagesInsertBlank400ResponseCodeForbidden, nil + return DocPagesRemoveName400ResponseCodeForbidden, nil case "NotFound": - return DocPagesInsertBlank400ResponseCodeNotFound, nil + return DocPagesRemoveName400ResponseCodeNotFound, nil case "WireFormat": - return DocPagesInsertBlank400ResponseCodeWireFormat, nil + return DocPagesRemoveName400ResponseCodeWireFormat, nil case "RuntimeUnavailable": - return DocPagesInsertBlank400ResponseCodeRuntimeUnavailable, nil + return DocPagesRemoveName400ResponseCodeRuntimeUnavailable, nil case "InvalidReference": - return DocPagesInsertBlank400ResponseCodeInvalidReference, nil + return DocPagesRemoveName400ResponseCodeInvalidReference, nil case "WeakAnnotationSessionConflict": - return DocPagesInsertBlank400ResponseCodeWeakAnnotationSessionConflict, nil + return DocPagesRemoveName400ResponseCodeWeakAnnotationSessionConflict, nil case "LayerVersionConflict": - return DocPagesInsertBlank400ResponseCodeLayerVersionConflict, nil + return DocPagesRemoveName400ResponseCodeLayerVersionConflict, nil case "NotImplemented": - return DocPagesInsertBlank400ResponseCodeNotImplemented, nil + return DocPagesRemoveName400ResponseCodeNotImplemented, nil case "MalformedPdf": - return DocPagesInsertBlank400ResponseCodeMalformedPdf, nil + return DocPagesRemoveName400ResponseCodeMalformedPdf, nil } - var t DocPagesInsertBlank400ResponseCode + var t DocPagesRemoveName400ResponseCode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesInsertBlank400ResponseCode) Ptr() *DocPagesInsertBlank400ResponseCode { +func (d DocPagesRemoveName400ResponseCode) Ptr() *DocPagesRemoveName400ResponseCode { return &d } -type DocPagesInsertBlank400ResponseName string +type DocPagesRemoveName400ResponseName string const ( - DocPagesInsertBlank400ResponseNameEngineError DocPagesInsertBlank400ResponseName = "EngineError" + DocPagesRemoveName400ResponseNameEngineError DocPagesRemoveName400ResponseName = "EngineError" ) -func NewDocPagesInsertBlank400ResponseNameFromString(s string) (DocPagesInsertBlank400ResponseName, error) { +func NewDocPagesRemoveName400ResponseNameFromString(s string) (DocPagesRemoveName400ResponseName, error) { switch s { case "EngineError": - return DocPagesInsertBlank400ResponseNameEngineError, nil + return DocPagesRemoveName400ResponseNameEngineError, nil } - var t DocPagesInsertBlank400ResponseName + var t DocPagesRemoveName400ResponseName return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesInsertBlank400ResponseName) Ptr() *DocPagesInsertBlank400ResponseName { +func (d DocPagesRemoveName400ResponseName) Ptr() *DocPagesRemoveName400ResponseName { return &d } var ( - docPagesInsertBlank404ResponseFieldName = big.NewInt(1 << 0) - docPagesInsertBlank404ResponseFieldCode = big.NewInt(1 << 1) - docPagesInsertBlank404ResponseFieldMessage = big.NewInt(1 << 2) - docPagesInsertBlank404ResponseFieldDetails = big.NewInt(1 << 3) + docPagesRemoveName404ResponseFieldName = big.NewInt(1 << 0) + docPagesRemoveName404ResponseFieldCode = big.NewInt(1 << 1) + docPagesRemoveName404ResponseFieldMessage = big.NewInt(1 << 2) + docPagesRemoveName404ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocPagesInsertBlank404Response struct { - Name DocPagesInsertBlank404ResponseName `json:"name" url:"name"` - Code DocPagesInsertBlank404ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocPagesRemoveName404Response struct { + Name DocPagesRemoveName404ResponseName `json:"name" url:"name"` + Code DocPagesRemoveName404ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -135138,42 +140022,42 @@ type DocPagesInsertBlank404Response struct { rawJSON json.RawMessage } -func (d *DocPagesInsertBlank404Response) GetName() DocPagesInsertBlank404ResponseName { +func (d *DocPagesRemoveName404Response) GetName() DocPagesRemoveName404ResponseName { if d == nil { return "" } return d.Name } -func (d *DocPagesInsertBlank404Response) GetCode() DocPagesInsertBlank404ResponseCode { +func (d *DocPagesRemoveName404Response) GetCode() DocPagesRemoveName404ResponseCode { if d == nil { return "" } return d.Code } -func (d *DocPagesInsertBlank404Response) GetMessage() string { +func (d *DocPagesRemoveName404Response) GetMessage() string { if d == nil { return "" } return d.Message } -func (d *DocPagesInsertBlank404Response) GetDetails() map[string]any { +func (d *DocPagesRemoveName404Response) GetDetails() map[string]any { if d == nil { return nil } return d.Details } -func (d *DocPagesInsertBlank404Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesRemoveName404Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesInsertBlank404Response) require(field *big.Int) { +func (d *DocPagesRemoveName404Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -135182,39 +140066,39 @@ func (d *DocPagesInsertBlank404Response) require(field *big.Int) { // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank404Response) SetName(name DocPagesInsertBlank404ResponseName) { +func (d *DocPagesRemoveName404Response) SetName(name DocPagesRemoveName404ResponseName) { d.Name = name - d.require(docPagesInsertBlank404ResponseFieldName) + d.require(docPagesRemoveName404ResponseFieldName) } // SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank404Response) SetCode(code DocPagesInsertBlank404ResponseCode) { +func (d *DocPagesRemoveName404Response) SetCode(code DocPagesRemoveName404ResponseCode) { d.Code = code - d.require(docPagesInsertBlank404ResponseFieldCode) + d.require(docPagesRemoveName404ResponseFieldCode) } // SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank404Response) SetMessage(message string) { +func (d *DocPagesRemoveName404Response) SetMessage(message string) { d.Message = message - d.require(docPagesInsertBlank404ResponseFieldMessage) + d.require(docPagesRemoveName404ResponseFieldMessage) } // SetDetails sets the Details field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesInsertBlank404Response) SetDetails(details map[string]any) { +func (d *DocPagesRemoveName404Response) SetDetails(details map[string]any) { d.Details = details - d.require(docPagesInsertBlank404ResponseFieldDetails) + d.require(docPagesRemoveName404ResponseFieldDetails) } -func (d *DocPagesInsertBlank404Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesInsertBlank404Response +func (d *DocPagesRemoveName404Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesRemoveName404Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesInsertBlank404Response(value) + *d = DocPagesRemoveName404Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -135224,8 +140108,8 @@ func (d *DocPagesInsertBlank404Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesInsertBlank404Response) MarshalJSON() ([]byte, error) { - type embed DocPagesInsertBlank404Response +func (d *DocPagesRemoveName404Response) MarshalJSON() ([]byte, error) { + type embed DocPagesRemoveName404Response var marshaler = struct { embed }{ @@ -135235,7 +140119,7 @@ func (d *DocPagesInsertBlank404Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocPagesInsertBlank404Response) String() string { +func (d *DocPagesRemoveName404Response) String() string { if d == nil { return "" } @@ -135250,106 +140134,106 @@ func (d *DocPagesInsertBlank404Response) String() string { return fmt.Sprintf("%#v", d) } -type DocPagesInsertBlank404ResponseCode string +type DocPagesRemoveName404ResponseCode string const ( - DocPagesInsertBlank404ResponseCodeUnknown DocPagesInsertBlank404ResponseCode = "Unknown" - DocPagesInsertBlank404ResponseCodeInvalidArg DocPagesInsertBlank404ResponseCode = "InvalidArg" - DocPagesInsertBlank404ResponseCodeDocNotOpen DocPagesInsertBlank404ResponseCode = "DocNotOpen" - DocPagesInsertBlank404ResponseCodeDocOpenFailed DocPagesInsertBlank404ResponseCode = "DocOpenFailed" - DocPagesInsertBlank404ResponseCodeDocPasswordRequired DocPagesInsertBlank404ResponseCode = "DocPasswordRequired" - DocPagesInsertBlank404ResponseCodeDocPasswordIncorrect DocPagesInsertBlank404ResponseCode = "DocPasswordIncorrect" - DocPagesInsertBlank404ResponseCodeSharePasswordRequired DocPagesInsertBlank404ResponseCode = "SharePasswordRequired" - DocPagesInsertBlank404ResponseCodeAborted DocPagesInsertBlank404ResponseCode = "Aborted" - DocPagesInsertBlank404ResponseCodeNetwork DocPagesInsertBlank404ResponseCode = "Network" - DocPagesInsertBlank404ResponseCodeUnauthenticated DocPagesInsertBlank404ResponseCode = "Unauthenticated" - DocPagesInsertBlank404ResponseCodeForbidden DocPagesInsertBlank404ResponseCode = "Forbidden" - DocPagesInsertBlank404ResponseCodeNotFound DocPagesInsertBlank404ResponseCode = "NotFound" - DocPagesInsertBlank404ResponseCodeWireFormat DocPagesInsertBlank404ResponseCode = "WireFormat" - DocPagesInsertBlank404ResponseCodeRuntimeUnavailable DocPagesInsertBlank404ResponseCode = "RuntimeUnavailable" - DocPagesInsertBlank404ResponseCodeInvalidReference DocPagesInsertBlank404ResponseCode = "InvalidReference" - DocPagesInsertBlank404ResponseCodeWeakAnnotationSessionConflict DocPagesInsertBlank404ResponseCode = "WeakAnnotationSessionConflict" - DocPagesInsertBlank404ResponseCodeLayerVersionConflict DocPagesInsertBlank404ResponseCode = "LayerVersionConflict" - DocPagesInsertBlank404ResponseCodeNotImplemented DocPagesInsertBlank404ResponseCode = "NotImplemented" - DocPagesInsertBlank404ResponseCodeMalformedPdf DocPagesInsertBlank404ResponseCode = "MalformedPdf" -) - -func NewDocPagesInsertBlank404ResponseCodeFromString(s string) (DocPagesInsertBlank404ResponseCode, error) { + DocPagesRemoveName404ResponseCodeUnknown DocPagesRemoveName404ResponseCode = "Unknown" + DocPagesRemoveName404ResponseCodeInvalidArg DocPagesRemoveName404ResponseCode = "InvalidArg" + DocPagesRemoveName404ResponseCodeDocNotOpen DocPagesRemoveName404ResponseCode = "DocNotOpen" + DocPagesRemoveName404ResponseCodeDocOpenFailed DocPagesRemoveName404ResponseCode = "DocOpenFailed" + DocPagesRemoveName404ResponseCodeDocPasswordRequired DocPagesRemoveName404ResponseCode = "DocPasswordRequired" + DocPagesRemoveName404ResponseCodeDocPasswordIncorrect DocPagesRemoveName404ResponseCode = "DocPasswordIncorrect" + DocPagesRemoveName404ResponseCodeSharePasswordRequired DocPagesRemoveName404ResponseCode = "SharePasswordRequired" + DocPagesRemoveName404ResponseCodeAborted DocPagesRemoveName404ResponseCode = "Aborted" + DocPagesRemoveName404ResponseCodeNetwork DocPagesRemoveName404ResponseCode = "Network" + DocPagesRemoveName404ResponseCodeUnauthenticated DocPagesRemoveName404ResponseCode = "Unauthenticated" + DocPagesRemoveName404ResponseCodeForbidden DocPagesRemoveName404ResponseCode = "Forbidden" + DocPagesRemoveName404ResponseCodeNotFound DocPagesRemoveName404ResponseCode = "NotFound" + DocPagesRemoveName404ResponseCodeWireFormat DocPagesRemoveName404ResponseCode = "WireFormat" + DocPagesRemoveName404ResponseCodeRuntimeUnavailable DocPagesRemoveName404ResponseCode = "RuntimeUnavailable" + DocPagesRemoveName404ResponseCodeInvalidReference DocPagesRemoveName404ResponseCode = "InvalidReference" + DocPagesRemoveName404ResponseCodeWeakAnnotationSessionConflict DocPagesRemoveName404ResponseCode = "WeakAnnotationSessionConflict" + DocPagesRemoveName404ResponseCodeLayerVersionConflict DocPagesRemoveName404ResponseCode = "LayerVersionConflict" + DocPagesRemoveName404ResponseCodeNotImplemented DocPagesRemoveName404ResponseCode = "NotImplemented" + DocPagesRemoveName404ResponseCodeMalformedPdf DocPagesRemoveName404ResponseCode = "MalformedPdf" +) + +func NewDocPagesRemoveName404ResponseCodeFromString(s string) (DocPagesRemoveName404ResponseCode, error) { switch s { case "Unknown": - return DocPagesInsertBlank404ResponseCodeUnknown, nil + return DocPagesRemoveName404ResponseCodeUnknown, nil case "InvalidArg": - return DocPagesInsertBlank404ResponseCodeInvalidArg, nil + return DocPagesRemoveName404ResponseCodeInvalidArg, nil case "DocNotOpen": - return DocPagesInsertBlank404ResponseCodeDocNotOpen, nil + return DocPagesRemoveName404ResponseCodeDocNotOpen, nil case "DocOpenFailed": - return DocPagesInsertBlank404ResponseCodeDocOpenFailed, nil + return DocPagesRemoveName404ResponseCodeDocOpenFailed, nil case "DocPasswordRequired": - return DocPagesInsertBlank404ResponseCodeDocPasswordRequired, nil + return DocPagesRemoveName404ResponseCodeDocPasswordRequired, nil case "DocPasswordIncorrect": - return DocPagesInsertBlank404ResponseCodeDocPasswordIncorrect, nil + return DocPagesRemoveName404ResponseCodeDocPasswordIncorrect, nil case "SharePasswordRequired": - return DocPagesInsertBlank404ResponseCodeSharePasswordRequired, nil + return DocPagesRemoveName404ResponseCodeSharePasswordRequired, nil case "Aborted": - return DocPagesInsertBlank404ResponseCodeAborted, nil + return DocPagesRemoveName404ResponseCodeAborted, nil case "Network": - return DocPagesInsertBlank404ResponseCodeNetwork, nil + return DocPagesRemoveName404ResponseCodeNetwork, nil case "Unauthenticated": - return DocPagesInsertBlank404ResponseCodeUnauthenticated, nil + return DocPagesRemoveName404ResponseCodeUnauthenticated, nil case "Forbidden": - return DocPagesInsertBlank404ResponseCodeForbidden, nil + return DocPagesRemoveName404ResponseCodeForbidden, nil case "NotFound": - return DocPagesInsertBlank404ResponseCodeNotFound, nil + return DocPagesRemoveName404ResponseCodeNotFound, nil case "WireFormat": - return DocPagesInsertBlank404ResponseCodeWireFormat, nil + return DocPagesRemoveName404ResponseCodeWireFormat, nil case "RuntimeUnavailable": - return DocPagesInsertBlank404ResponseCodeRuntimeUnavailable, nil + return DocPagesRemoveName404ResponseCodeRuntimeUnavailable, nil case "InvalidReference": - return DocPagesInsertBlank404ResponseCodeInvalidReference, nil + return DocPagesRemoveName404ResponseCodeInvalidReference, nil case "WeakAnnotationSessionConflict": - return DocPagesInsertBlank404ResponseCodeWeakAnnotationSessionConflict, nil + return DocPagesRemoveName404ResponseCodeWeakAnnotationSessionConflict, nil case "LayerVersionConflict": - return DocPagesInsertBlank404ResponseCodeLayerVersionConflict, nil + return DocPagesRemoveName404ResponseCodeLayerVersionConflict, nil case "NotImplemented": - return DocPagesInsertBlank404ResponseCodeNotImplemented, nil + return DocPagesRemoveName404ResponseCodeNotImplemented, nil case "MalformedPdf": - return DocPagesInsertBlank404ResponseCodeMalformedPdf, nil + return DocPagesRemoveName404ResponseCodeMalformedPdf, nil } - var t DocPagesInsertBlank404ResponseCode + var t DocPagesRemoveName404ResponseCode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesInsertBlank404ResponseCode) Ptr() *DocPagesInsertBlank404ResponseCode { +func (d DocPagesRemoveName404ResponseCode) Ptr() *DocPagesRemoveName404ResponseCode { return &d } -type DocPagesInsertBlank404ResponseName string +type DocPagesRemoveName404ResponseName string const ( - DocPagesInsertBlank404ResponseNameEngineError DocPagesInsertBlank404ResponseName = "EngineError" + DocPagesRemoveName404ResponseNameEngineError DocPagesRemoveName404ResponseName = "EngineError" ) -func NewDocPagesInsertBlank404ResponseNameFromString(s string) (DocPagesInsertBlank404ResponseName, error) { +func NewDocPagesRemoveName404ResponseNameFromString(s string) (DocPagesRemoveName404ResponseName, error) { switch s { case "EngineError": - return DocPagesInsertBlank404ResponseNameEngineError, nil + return DocPagesRemoveName404ResponseNameEngineError, nil } - var t DocPagesInsertBlank404ResponseName + var t DocPagesRemoveName404ResponseName return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesInsertBlank404ResponseName) Ptr() *DocPagesInsertBlank404ResponseName { +func (d DocPagesRemoveName404ResponseName) Ptr() *DocPagesRemoveName404ResponseName { return &d } -type DocPagesInsertBlankRequest = map[string]any +type DocPagesRemoveNameRequest = map[string]any var ( - docPagesMove200ResponseFieldMeta = big.NewInt(1 << 0) + docPagesRotate200ResponseFieldMeta = big.NewInt(1 << 0) ) -type DocPagesMove200Response struct { - Meta *DocPagesMove200ResponseMeta `json:"meta" url:"meta"` +type DocPagesRotate200Response struct { + Meta *DocPagesRotate200ResponseMeta `json:"meta" url:"meta"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -135359,21 +140243,21 @@ type DocPagesMove200Response struct { rawJSON json.RawMessage } -func (d *DocPagesMove200Response) GetMeta() *DocPagesMove200ResponseMeta { +func (d *DocPagesRotate200Response) GetMeta() *DocPagesRotate200ResponseMeta { if d == nil { return nil } return d.Meta } -func (d *DocPagesMove200Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesRotate200Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.ExtraProperties } -func (d *DocPagesMove200Response) require(field *big.Int) { +func (d *DocPagesRotate200Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -135382,13 +140266,13 @@ func (d *DocPagesMove200Response) require(field *big.Int) { // SetMeta sets the Meta field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove200Response) SetMeta(meta *DocPagesMove200ResponseMeta) { +func (d *DocPagesRotate200Response) SetMeta(meta *DocPagesRotate200ResponseMeta) { d.Meta = meta - d.require(docPagesMove200ResponseFieldMeta) + d.require(docPagesRotate200ResponseFieldMeta) } -func (d *DocPagesMove200Response) UnmarshalJSON(data []byte) error { - type embed DocPagesMove200Response +func (d *DocPagesRotate200Response) UnmarshalJSON(data []byte) error { + type embed DocPagesRotate200Response var unmarshaler = struct { embed }{ @@ -135397,7 +140281,7 @@ func (d *DocPagesMove200Response) UnmarshalJSON(data []byte) error { if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocPagesMove200Response(unmarshaler.embed) + *d = DocPagesRotate200Response(unmarshaler.embed) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -135407,8 +140291,8 @@ func (d *DocPagesMove200Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesMove200Response) MarshalJSON() ([]byte, error) { - type embed DocPagesMove200Response +func (d *DocPagesRotate200Response) MarshalJSON() ([]byte, error) { + type embed DocPagesRotate200Response var marshaler = struct { embed }{ @@ -135418,7 +140302,7 @@ func (d *DocPagesMove200Response) MarshalJSON() ([]byte, error) { return internal.MarshalJSONWithExtraProperties(explicitMarshaler, d.ExtraProperties) } -func (d *DocPagesMove200Response) String() string { +func (d *DocPagesRotate200Response) String() string { if d == nil { return "" } @@ -135434,13 +140318,13 @@ func (d *DocPagesMove200Response) String() string { } var ( - docPagesMove200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) - docPagesMove200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) + docPagesRotate200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) + docPagesRotate200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) ) -type DocPagesMove200ResponseMeta struct { - AffectedPages []*DocPagesMove200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` - CacheDelta *DocPagesMove200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` +type DocPagesRotate200ResponseMeta struct { + AffectedPages []*DocPagesRotate200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` + CacheDelta *DocPagesRotate200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -135449,28 +140333,28 @@ type DocPagesMove200ResponseMeta struct { rawJSON json.RawMessage } -func (d *DocPagesMove200ResponseMeta) GetAffectedPages() []*DocPagesMove200ResponseMetaAffectedPagesItem { +func (d *DocPagesRotate200ResponseMeta) GetAffectedPages() []*DocPagesRotate200ResponseMetaAffectedPagesItem { if d == nil { return nil } return d.AffectedPages } -func (d *DocPagesMove200ResponseMeta) GetCacheDelta() *DocPagesMove200ResponseMetaCacheDelta { +func (d *DocPagesRotate200ResponseMeta) GetCacheDelta() *DocPagesRotate200ResponseMetaCacheDelta { if d == nil { return nil } return d.CacheDelta } -func (d *DocPagesMove200ResponseMeta) GetExtraProperties() map[string]interface{} { +func (d *DocPagesRotate200ResponseMeta) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesMove200ResponseMeta) require(field *big.Int) { +func (d *DocPagesRotate200ResponseMeta) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -135479,25 +140363,25 @@ func (d *DocPagesMove200ResponseMeta) require(field *big.Int) { // SetAffectedPages sets the AffectedPages field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove200ResponseMeta) SetAffectedPages(affectedPages []*DocPagesMove200ResponseMetaAffectedPagesItem) { +func (d *DocPagesRotate200ResponseMeta) SetAffectedPages(affectedPages []*DocPagesRotate200ResponseMetaAffectedPagesItem) { d.AffectedPages = affectedPages - d.require(docPagesMove200ResponseMetaFieldAffectedPages) + d.require(docPagesRotate200ResponseMetaFieldAffectedPages) } // SetCacheDelta sets the CacheDelta field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove200ResponseMeta) SetCacheDelta(cacheDelta *DocPagesMove200ResponseMetaCacheDelta) { +func (d *DocPagesRotate200ResponseMeta) SetCacheDelta(cacheDelta *DocPagesRotate200ResponseMetaCacheDelta) { d.CacheDelta = cacheDelta - d.require(docPagesMove200ResponseMetaFieldCacheDelta) + d.require(docPagesRotate200ResponseMetaFieldCacheDelta) } -func (d *DocPagesMove200ResponseMeta) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesMove200ResponseMeta +func (d *DocPagesRotate200ResponseMeta) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesRotate200ResponseMeta var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesMove200ResponseMeta(value) + *d = DocPagesRotate200ResponseMeta(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -135507,8 +140391,8 @@ func (d *DocPagesMove200ResponseMeta) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesMove200ResponseMeta) MarshalJSON() ([]byte, error) { - type embed DocPagesMove200ResponseMeta +func (d *DocPagesRotate200ResponseMeta) MarshalJSON() ([]byte, error) { + type embed DocPagesRotate200ResponseMeta var marshaler = struct { embed }{ @@ -135518,7 +140402,7 @@ func (d *DocPagesMove200ResponseMeta) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocPagesMove200ResponseMeta) String() string { +func (d *DocPagesRotate200ResponseMeta) String() string { if d == nil { return "" } @@ -135534,15 +140418,15 @@ func (d *DocPagesMove200ResponseMeta) String() string { } var ( - docPagesMove200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) - docPagesMove200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) - docPagesMove200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) + docPagesRotate200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docPagesRotate200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) + docPagesRotate200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) ) -type DocPagesMove200ResponseMetaAffectedPagesItem struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Revision *DocPagesMove200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` - WeakAnnotationState *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` +type DocPagesRotate200ResponseMetaAffectedPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Revision *DocPagesRotate200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` + WeakAnnotationState *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -135551,35 +140435,35 @@ type DocPagesMove200ResponseMetaAffectedPagesItem struct { rawJSON json.RawMessage } -func (d *DocPagesMove200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocPagesMove200ResponseMetaAffectedPagesItem) GetRevision() *DocPagesMove200ResponseMetaAffectedPagesItemRevision { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) GetRevision() *DocPagesRotate200ResponseMetaAffectedPagesItemRevision { if d == nil { return nil } return d.Revision } -func (d *DocPagesMove200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState { if d == nil { return nil } return d.WeakAnnotationState } -func (d *DocPagesMove200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesMove200ResponseMetaAffectedPagesItem) require(field *big.Int) { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -135588,32 +140472,32 @@ func (d *DocPagesMove200ResponseMetaAffectedPagesItem) require(field *big.Int) { // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docPagesMove200ResponseMetaAffectedPagesItemFieldPageObjectNumber) + d.require(docPagesRotate200ResponseMetaAffectedPagesItemFieldPageObjectNumber) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove200ResponseMetaAffectedPagesItem) SetRevision(revision *DocPagesMove200ResponseMetaAffectedPagesItemRevision) { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) SetRevision(revision *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) { d.Revision = revision - d.require(docPagesMove200ResponseMetaAffectedPagesItemFieldRevision) + d.require(docPagesRotate200ResponseMetaAffectedPagesItemFieldRevision) } // SetWeakAnnotationState sets the WeakAnnotationState field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState) { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState) { d.WeakAnnotationState = weakAnnotationState - d.require(docPagesMove200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) + d.require(docPagesRotate200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) } -func (d *DocPagesMove200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesMove200ResponseMetaAffectedPagesItem +func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesRotate200ResponseMetaAffectedPagesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesMove200ResponseMetaAffectedPagesItem(value) + *d = DocPagesRotate200ResponseMetaAffectedPagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -135623,8 +140507,8 @@ func (d *DocPagesMove200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte return nil } -func (d *DocPagesMove200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { - type embed DocPagesMove200ResponseMetaAffectedPagesItem +func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { + type embed DocPagesRotate200ResponseMetaAffectedPagesItem var marshaler = struct { embed }{ @@ -135634,7 +140518,7 @@ func (d *DocPagesMove200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, er return json.Marshal(explicitMarshaler) } -func (d *DocPagesMove200ResponseMetaAffectedPagesItem) String() string { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) String() string { if d == nil { return "" } @@ -135650,12 +140534,12 @@ func (d *DocPagesMove200ResponseMetaAffectedPagesItem) String() string { } var ( - docPagesMove200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) - docPagesMove200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docPagesMove200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) + docPagesRotate200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) + docPagesRotate200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docPagesRotate200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocPagesMove200ResponseMetaAffectedPagesItemRevision struct { +type DocPagesRotate200ResponseMetaAffectedPagesItemRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -135667,35 +140551,35 @@ type DocPagesMove200ResponseMetaAffectedPagesItemRevision struct { rawJSON json.RawMessage } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -135704,32 +140588,32 @@ func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) require(field *bi // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docPagesMove200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) + d.require(docPagesRotate200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docPagesMove200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) + d.require(docPagesRotate200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docPagesMove200ResponseMetaAffectedPagesItemRevisionFieldGeneration) + d.require(docPagesRotate200ResponseMetaAffectedPagesItemRevisionFieldGeneration) } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesMove200ResponseMetaAffectedPagesItemRevision +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesRotate200ResponseMetaAffectedPagesItemRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesMove200ResponseMetaAffectedPagesItemRevision(value) + *d = DocPagesRotate200ResponseMetaAffectedPagesItemRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -135739,8 +140623,8 @@ func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(dat return nil } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { - type embed DocPagesMove200ResponseMetaAffectedPagesItemRevision +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { + type embed DocPagesRotate200ResponseMetaAffectedPagesItemRevision var marshaler = struct { embed }{ @@ -135750,7 +140634,7 @@ func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([] return json.Marshal(explicitMarshaler) } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) String() string { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) String() string { if d == nil { return "" } @@ -135765,36 +140649,36 @@ func (d *DocPagesMove200ResponseMetaAffectedPagesItemRevision) String() string { return fmt.Sprintf("%#v", d) } -type DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState struct { +type DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState struct { Kind string - Unknown *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown - Known *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + Unknown *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + Known *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown rawJSON json.RawMessage } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { if d == nil { return nil } return d.Unknown } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { if d == nil { return nil } return d.Known } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -135807,13 +140691,13 @@ func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState) Unmars } switch unmarshaler.Kind { case "unknown": - value := new(DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) + value := new(DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) if err := json.Unmarshal(data, &value); err != nil { return err } d.Unknown = value case "known": - value := new(DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) + value := new(DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -135823,7 +140707,7 @@ func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState) Unmars return nil } -func (d DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { +func (d DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -135839,12 +140723,12 @@ func (d DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState) Marshal return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { - VisitUnknown(*DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error - VisitKnown(*DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error +type DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { + VisitUnknown(*DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error + VisitKnown(*DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { if d.Unknown != nil { return visitor.VisitUnknown(d.Unknown) } @@ -135854,7 +140738,7 @@ func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -135892,10 +140776,10 @@ func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState) valida } var ( - docPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) + docPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) ) -type DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { +type DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { HasAnyWeakAnnotations bool `json:"hasAnyWeakAnnotations" url:"hasAnyWeakAnnotations"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -135905,21 +140789,21 @@ type DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct rawJSON json.RawMessage } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { if d == nil { return false } return d.HasAnyWeakAnnotations } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -135928,18 +140812,18 @@ func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) r // SetHasAnyWeakAnnotations sets the HasAnyWeakAnnotations field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { d.HasAnyWeakAnnotations = hasAnyWeakAnnotations - d.require(docPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) + d.require(docPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) + *d = DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -135949,8 +140833,8 @@ func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) U return nil } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { - type embed DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { + type embed DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown var marshaler = struct { embed }{ @@ -135960,7 +140844,7 @@ func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) M return json.Marshal(explicitMarshaler) } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { if d == nil { return "" } @@ -135975,7 +140859,7 @@ func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) S return fmt.Sprintf("%#v", d) } -type DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { +type DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -135984,27 +140868,27 @@ type DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown stru rawJSON json.RawMessage } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) + *d = DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -136014,8 +140898,8 @@ func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) return nil } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { - type embed DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { + type embed DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var marshaler = struct { embed }{ @@ -136025,7 +140909,7 @@ func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) return json.Marshal(explicitMarshaler) } -func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { +func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { if d == nil { return "" } @@ -136041,17 +140925,17 @@ func (d *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) } var ( - docPagesMove200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) - docPagesMove200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) - docPagesMove200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) - docPagesMove200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) + docPagesRotate200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) + docPagesRotate200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) + docPagesRotate200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) + docPagesRotate200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) ) -type DocPagesMove200ResponseMetaCacheDelta struct { - PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` - DocVersion int `json:"docVersion" url:"docVersion"` - AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` - Pages []*DocPagesMove200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` +type DocPagesRotate200ResponseMetaCacheDelta struct { + PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` + DocVersion int `json:"docVersion" url:"docVersion"` + AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` + Pages []*DocPagesRotate200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -136060,42 +140944,42 @@ type DocPagesMove200ResponseMetaCacheDelta struct { rawJSON json.RawMessage } -func (d *DocPagesMove200ResponseMetaCacheDelta) GetPreviousDocVersion() int { +func (d *DocPagesRotate200ResponseMetaCacheDelta) GetPreviousDocVersion() int { if d == nil { return 0 } return d.PreviousDocVersion } -func (d *DocPagesMove200ResponseMetaCacheDelta) GetDocVersion() int { +func (d *DocPagesRotate200ResponseMetaCacheDelta) GetDocVersion() int { if d == nil { return 0 } return d.DocVersion } -func (d *DocPagesMove200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { +func (d *DocPagesRotate200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { if d == nil { return nil } return d.AnnotationsVersion } -func (d *DocPagesMove200ResponseMetaCacheDelta) GetPages() []*DocPagesMove200ResponseMetaCacheDeltaPagesItem { +func (d *DocPagesRotate200ResponseMetaCacheDelta) GetPages() []*DocPagesRotate200ResponseMetaCacheDeltaPagesItem { if d == nil { return nil } return d.Pages } -func (d *DocPagesMove200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { +func (d *DocPagesRotate200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesMove200ResponseMetaCacheDelta) require(field *big.Int) { +func (d *DocPagesRotate200ResponseMetaCacheDelta) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -136104,39 +140988,39 @@ func (d *DocPagesMove200ResponseMetaCacheDelta) require(field *big.Int) { // SetPreviousDocVersion sets the PreviousDocVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { +func (d *DocPagesRotate200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { d.PreviousDocVersion = previousDocVersion - d.require(docPagesMove200ResponseMetaCacheDeltaFieldPreviousDocVersion) + d.require(docPagesRotate200ResponseMetaCacheDeltaFieldPreviousDocVersion) } // SetDocVersion sets the DocVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { +func (d *DocPagesRotate200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { d.DocVersion = docVersion - d.require(docPagesMove200ResponseMetaCacheDeltaFieldDocVersion) + d.require(docPagesRotate200ResponseMetaCacheDeltaFieldDocVersion) } // SetAnnotationsVersion sets the AnnotationsVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { +func (d *DocPagesRotate200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { d.AnnotationsVersion = annotationsVersion - d.require(docPagesMove200ResponseMetaCacheDeltaFieldAnnotationsVersion) + d.require(docPagesRotate200ResponseMetaCacheDeltaFieldAnnotationsVersion) } // SetPages sets the Pages field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove200ResponseMetaCacheDelta) SetPages(pages []*DocPagesMove200ResponseMetaCacheDeltaPagesItem) { +func (d *DocPagesRotate200ResponseMetaCacheDelta) SetPages(pages []*DocPagesRotate200ResponseMetaCacheDeltaPagesItem) { d.Pages = pages - d.require(docPagesMove200ResponseMetaCacheDeltaFieldPages) + d.require(docPagesRotate200ResponseMetaCacheDeltaFieldPages) } -func (d *DocPagesMove200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesMove200ResponseMetaCacheDelta +func (d *DocPagesRotate200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesRotate200ResponseMetaCacheDelta var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesMove200ResponseMetaCacheDelta(value) + *d = DocPagesRotate200ResponseMetaCacheDelta(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -136146,8 +141030,8 @@ func (d *DocPagesMove200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error return nil } -func (d *DocPagesMove200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { - type embed DocPagesMove200ResponseMetaCacheDelta +func (d *DocPagesRotate200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { + type embed DocPagesRotate200ResponseMetaCacheDelta var marshaler = struct { embed }{ @@ -136157,7 +141041,7 @@ func (d *DocPagesMove200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocPagesMove200ResponseMetaCacheDelta) String() string { +func (d *DocPagesRotate200ResponseMetaCacheDelta) String() string { if d == nil { return "" } @@ -136173,13 +141057,13 @@ func (d *DocPagesMove200ResponseMetaCacheDelta) String() string { } var ( - docPagesMove200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) - docPagesMove200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) + docPagesRotate200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docPagesRotate200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) ) -type DocPagesMove200ResponseMetaCacheDeltaPagesItem struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Cache *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` +type DocPagesRotate200ResponseMetaCacheDeltaPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Cache *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -136188,28 +141072,28 @@ type DocPagesMove200ResponseMetaCacheDeltaPagesItem struct { rawJSON json.RawMessage } -func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { +func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItem) GetCache() *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache { +func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItem) GetCache() *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache { if d == nil { return nil } return d.Cache } -func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { +func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { +func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -136218,25 +141102,25 @@ func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docPagesMove200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) + d.require(docPagesRotate200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) } // SetCache sets the Cache field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) { +func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) { d.Cache = cache - d.require(docPagesMove200ResponseMetaCacheDeltaPagesItemFieldCache) + d.require(docPagesRotate200ResponseMetaCacheDeltaPagesItemFieldCache) } -func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesMove200ResponseMetaCacheDeltaPagesItem +func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesRotate200ResponseMetaCacheDeltaPagesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesMove200ResponseMetaCacheDeltaPagesItem(value) + *d = DocPagesRotate200ResponseMetaCacheDeltaPagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -136246,8 +141130,8 @@ func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []by return nil } -func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { - type embed DocPagesMove200ResponseMetaCacheDeltaPagesItem +func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { + type embed DocPagesRotate200ResponseMetaCacheDeltaPagesItem var marshaler = struct { embed }{ @@ -136257,7 +141141,7 @@ func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, return json.Marshal(explicitMarshaler) } -func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItem) String() string { +func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItem) String() string { if d == nil { return "" } @@ -136273,11 +141157,11 @@ func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItem) String() string { } var ( - docPagesMove200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) - docPagesMove200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) + docPagesRotate200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) + docPagesRotate200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) ) -type DocPagesMove200ResponseMetaCacheDeltaPagesItemCache struct { +type DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache struct { ContentVersion int `json:"contentVersion" url:"contentVersion"` AnnotationVersion int `json:"annotationVersion" url:"annotationVersion"` @@ -136288,28 +141172,28 @@ type DocPagesMove200ResponseMetaCacheDeltaPagesItemCache struct { rawJSON json.RawMessage } -func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { +func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { if d == nil { return 0 } return d.ContentVersion } -func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { +func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { if d == nil { return 0 } return d.AnnotationVersion } -func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { +func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { +func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -136318,25 +141202,25 @@ func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) require(field *big // SetContentVersion sets the ContentVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { +func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { d.ContentVersion = contentVersion - d.require(docPagesMove200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) + d.require(docPagesRotate200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) } // SetAnnotationVersion sets the AnnotationVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { +func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { d.AnnotationVersion = annotationVersion - d.require(docPagesMove200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) + d.require(docPagesRotate200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) } -func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesMove200ResponseMetaCacheDeltaPagesItemCache +func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesMove200ResponseMetaCacheDeltaPagesItemCache(value) + *d = DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -136346,8 +141230,8 @@ func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data return nil } -func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { - type embed DocPagesMove200ResponseMetaCacheDeltaPagesItemCache +func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { + type embed DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache var marshaler = struct { embed }{ @@ -136357,7 +141241,7 @@ func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]b return json.Marshal(explicitMarshaler) } -func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) String() string { +func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) String() string { if d == nil { return "" } @@ -136373,17 +141257,17 @@ func (d *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache) String() string { } var ( - docPagesMove400ResponseFieldName = big.NewInt(1 << 0) - docPagesMove400ResponseFieldCode = big.NewInt(1 << 1) - docPagesMove400ResponseFieldMessage = big.NewInt(1 << 2) - docPagesMove400ResponseFieldDetails = big.NewInt(1 << 3) + docPagesRotate400ResponseFieldName = big.NewInt(1 << 0) + docPagesRotate400ResponseFieldCode = big.NewInt(1 << 1) + docPagesRotate400ResponseFieldMessage = big.NewInt(1 << 2) + docPagesRotate400ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocPagesMove400Response struct { - Name DocPagesMove400ResponseName `json:"name" url:"name"` - Code DocPagesMove400ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocPagesRotate400Response struct { + Name DocPagesRotate400ResponseName `json:"name" url:"name"` + Code DocPagesRotate400ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -136392,42 +141276,42 @@ type DocPagesMove400Response struct { rawJSON json.RawMessage } -func (d *DocPagesMove400Response) GetName() DocPagesMove400ResponseName { +func (d *DocPagesRotate400Response) GetName() DocPagesRotate400ResponseName { if d == nil { return "" } return d.Name } -func (d *DocPagesMove400Response) GetCode() DocPagesMove400ResponseCode { +func (d *DocPagesRotate400Response) GetCode() DocPagesRotate400ResponseCode { if d == nil { return "" } return d.Code } -func (d *DocPagesMove400Response) GetMessage() string { +func (d *DocPagesRotate400Response) GetMessage() string { if d == nil { return "" } return d.Message } -func (d *DocPagesMove400Response) GetDetails() map[string]any { +func (d *DocPagesRotate400Response) GetDetails() map[string]any { if d == nil { return nil } return d.Details } -func (d *DocPagesMove400Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesRotate400Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesMove400Response) require(field *big.Int) { +func (d *DocPagesRotate400Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -136436,39 +141320,39 @@ func (d *DocPagesMove400Response) require(field *big.Int) { // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove400Response) SetName(name DocPagesMove400ResponseName) { +func (d *DocPagesRotate400Response) SetName(name DocPagesRotate400ResponseName) { d.Name = name - d.require(docPagesMove400ResponseFieldName) + d.require(docPagesRotate400ResponseFieldName) } // SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove400Response) SetCode(code DocPagesMove400ResponseCode) { +func (d *DocPagesRotate400Response) SetCode(code DocPagesRotate400ResponseCode) { d.Code = code - d.require(docPagesMove400ResponseFieldCode) + d.require(docPagesRotate400ResponseFieldCode) } // SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove400Response) SetMessage(message string) { +func (d *DocPagesRotate400Response) SetMessage(message string) { d.Message = message - d.require(docPagesMove400ResponseFieldMessage) + d.require(docPagesRotate400ResponseFieldMessage) } // SetDetails sets the Details field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove400Response) SetDetails(details map[string]any) { +func (d *DocPagesRotate400Response) SetDetails(details map[string]any) { d.Details = details - d.require(docPagesMove400ResponseFieldDetails) + d.require(docPagesRotate400ResponseFieldDetails) } -func (d *DocPagesMove400Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesMove400Response +func (d *DocPagesRotate400Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesRotate400Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesMove400Response(value) + *d = DocPagesRotate400Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -136478,8 +141362,8 @@ func (d *DocPagesMove400Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesMove400Response) MarshalJSON() ([]byte, error) { - type embed DocPagesMove400Response +func (d *DocPagesRotate400Response) MarshalJSON() ([]byte, error) { + type embed DocPagesRotate400Response var marshaler = struct { embed }{ @@ -136489,7 +141373,7 @@ func (d *DocPagesMove400Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocPagesMove400Response) String() string { +func (d *DocPagesRotate400Response) String() string { if d == nil { return "" } @@ -136504,110 +141388,110 @@ func (d *DocPagesMove400Response) String() string { return fmt.Sprintf("%#v", d) } -type DocPagesMove400ResponseCode string +type DocPagesRotate400ResponseCode string const ( - DocPagesMove400ResponseCodeUnknown DocPagesMove400ResponseCode = "Unknown" - DocPagesMove400ResponseCodeInvalidArg DocPagesMove400ResponseCode = "InvalidArg" - DocPagesMove400ResponseCodeDocNotOpen DocPagesMove400ResponseCode = "DocNotOpen" - DocPagesMove400ResponseCodeDocOpenFailed DocPagesMove400ResponseCode = "DocOpenFailed" - DocPagesMove400ResponseCodeDocPasswordRequired DocPagesMove400ResponseCode = "DocPasswordRequired" - DocPagesMove400ResponseCodeDocPasswordIncorrect DocPagesMove400ResponseCode = "DocPasswordIncorrect" - DocPagesMove400ResponseCodeSharePasswordRequired DocPagesMove400ResponseCode = "SharePasswordRequired" - DocPagesMove400ResponseCodeAborted DocPagesMove400ResponseCode = "Aborted" - DocPagesMove400ResponseCodeNetwork DocPagesMove400ResponseCode = "Network" - DocPagesMove400ResponseCodeUnauthenticated DocPagesMove400ResponseCode = "Unauthenticated" - DocPagesMove400ResponseCodeForbidden DocPagesMove400ResponseCode = "Forbidden" - DocPagesMove400ResponseCodeNotFound DocPagesMove400ResponseCode = "NotFound" - DocPagesMove400ResponseCodeWireFormat DocPagesMove400ResponseCode = "WireFormat" - DocPagesMove400ResponseCodeRuntimeUnavailable DocPagesMove400ResponseCode = "RuntimeUnavailable" - DocPagesMove400ResponseCodeInvalidReference DocPagesMove400ResponseCode = "InvalidReference" - DocPagesMove400ResponseCodeWeakAnnotationSessionConflict DocPagesMove400ResponseCode = "WeakAnnotationSessionConflict" - DocPagesMove400ResponseCodeLayerVersionConflict DocPagesMove400ResponseCode = "LayerVersionConflict" - DocPagesMove400ResponseCodeNotImplemented DocPagesMove400ResponseCode = "NotImplemented" - DocPagesMove400ResponseCodeMalformedPdf DocPagesMove400ResponseCode = "MalformedPdf" + DocPagesRotate400ResponseCodeUnknown DocPagesRotate400ResponseCode = "Unknown" + DocPagesRotate400ResponseCodeInvalidArg DocPagesRotate400ResponseCode = "InvalidArg" + DocPagesRotate400ResponseCodeDocNotOpen DocPagesRotate400ResponseCode = "DocNotOpen" + DocPagesRotate400ResponseCodeDocOpenFailed DocPagesRotate400ResponseCode = "DocOpenFailed" + DocPagesRotate400ResponseCodeDocPasswordRequired DocPagesRotate400ResponseCode = "DocPasswordRequired" + DocPagesRotate400ResponseCodeDocPasswordIncorrect DocPagesRotate400ResponseCode = "DocPasswordIncorrect" + DocPagesRotate400ResponseCodeSharePasswordRequired DocPagesRotate400ResponseCode = "SharePasswordRequired" + DocPagesRotate400ResponseCodeAborted DocPagesRotate400ResponseCode = "Aborted" + DocPagesRotate400ResponseCodeNetwork DocPagesRotate400ResponseCode = "Network" + DocPagesRotate400ResponseCodeUnauthenticated DocPagesRotate400ResponseCode = "Unauthenticated" + DocPagesRotate400ResponseCodeForbidden DocPagesRotate400ResponseCode = "Forbidden" + DocPagesRotate400ResponseCodeNotFound DocPagesRotate400ResponseCode = "NotFound" + DocPagesRotate400ResponseCodeWireFormat DocPagesRotate400ResponseCode = "WireFormat" + DocPagesRotate400ResponseCodeRuntimeUnavailable DocPagesRotate400ResponseCode = "RuntimeUnavailable" + DocPagesRotate400ResponseCodeInvalidReference DocPagesRotate400ResponseCode = "InvalidReference" + DocPagesRotate400ResponseCodeWeakAnnotationSessionConflict DocPagesRotate400ResponseCode = "WeakAnnotationSessionConflict" + DocPagesRotate400ResponseCodeLayerVersionConflict DocPagesRotate400ResponseCode = "LayerVersionConflict" + DocPagesRotate400ResponseCodeNotImplemented DocPagesRotate400ResponseCode = "NotImplemented" + DocPagesRotate400ResponseCodeMalformedPdf DocPagesRotate400ResponseCode = "MalformedPdf" ) -func NewDocPagesMove400ResponseCodeFromString(s string) (DocPagesMove400ResponseCode, error) { +func NewDocPagesRotate400ResponseCodeFromString(s string) (DocPagesRotate400ResponseCode, error) { switch s { case "Unknown": - return DocPagesMove400ResponseCodeUnknown, nil + return DocPagesRotate400ResponseCodeUnknown, nil case "InvalidArg": - return DocPagesMove400ResponseCodeInvalidArg, nil + return DocPagesRotate400ResponseCodeInvalidArg, nil case "DocNotOpen": - return DocPagesMove400ResponseCodeDocNotOpen, nil + return DocPagesRotate400ResponseCodeDocNotOpen, nil case "DocOpenFailed": - return DocPagesMove400ResponseCodeDocOpenFailed, nil + return DocPagesRotate400ResponseCodeDocOpenFailed, nil case "DocPasswordRequired": - return DocPagesMove400ResponseCodeDocPasswordRequired, nil + return DocPagesRotate400ResponseCodeDocPasswordRequired, nil case "DocPasswordIncorrect": - return DocPagesMove400ResponseCodeDocPasswordIncorrect, nil + return DocPagesRotate400ResponseCodeDocPasswordIncorrect, nil case "SharePasswordRequired": - return DocPagesMove400ResponseCodeSharePasswordRequired, nil + return DocPagesRotate400ResponseCodeSharePasswordRequired, nil case "Aborted": - return DocPagesMove400ResponseCodeAborted, nil + return DocPagesRotate400ResponseCodeAborted, nil case "Network": - return DocPagesMove400ResponseCodeNetwork, nil + return DocPagesRotate400ResponseCodeNetwork, nil case "Unauthenticated": - return DocPagesMove400ResponseCodeUnauthenticated, nil + return DocPagesRotate400ResponseCodeUnauthenticated, nil case "Forbidden": - return DocPagesMove400ResponseCodeForbidden, nil + return DocPagesRotate400ResponseCodeForbidden, nil case "NotFound": - return DocPagesMove400ResponseCodeNotFound, nil + return DocPagesRotate400ResponseCodeNotFound, nil case "WireFormat": - return DocPagesMove400ResponseCodeWireFormat, nil + return DocPagesRotate400ResponseCodeWireFormat, nil case "RuntimeUnavailable": - return DocPagesMove400ResponseCodeRuntimeUnavailable, nil + return DocPagesRotate400ResponseCodeRuntimeUnavailable, nil case "InvalidReference": - return DocPagesMove400ResponseCodeInvalidReference, nil + return DocPagesRotate400ResponseCodeInvalidReference, nil case "WeakAnnotationSessionConflict": - return DocPagesMove400ResponseCodeWeakAnnotationSessionConflict, nil + return DocPagesRotate400ResponseCodeWeakAnnotationSessionConflict, nil case "LayerVersionConflict": - return DocPagesMove400ResponseCodeLayerVersionConflict, nil + return DocPagesRotate400ResponseCodeLayerVersionConflict, nil case "NotImplemented": - return DocPagesMove400ResponseCodeNotImplemented, nil + return DocPagesRotate400ResponseCodeNotImplemented, nil case "MalformedPdf": - return DocPagesMove400ResponseCodeMalformedPdf, nil + return DocPagesRotate400ResponseCodeMalformedPdf, nil } - var t DocPagesMove400ResponseCode + var t DocPagesRotate400ResponseCode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesMove400ResponseCode) Ptr() *DocPagesMove400ResponseCode { +func (d DocPagesRotate400ResponseCode) Ptr() *DocPagesRotate400ResponseCode { return &d } -type DocPagesMove400ResponseName string +type DocPagesRotate400ResponseName string const ( - DocPagesMove400ResponseNameEngineError DocPagesMove400ResponseName = "EngineError" + DocPagesRotate400ResponseNameEngineError DocPagesRotate400ResponseName = "EngineError" ) -func NewDocPagesMove400ResponseNameFromString(s string) (DocPagesMove400ResponseName, error) { +func NewDocPagesRotate400ResponseNameFromString(s string) (DocPagesRotate400ResponseName, error) { switch s { case "EngineError": - return DocPagesMove400ResponseNameEngineError, nil + return DocPagesRotate400ResponseNameEngineError, nil } - var t DocPagesMove400ResponseName + var t DocPagesRotate400ResponseName return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesMove400ResponseName) Ptr() *DocPagesMove400ResponseName { +func (d DocPagesRotate400ResponseName) Ptr() *DocPagesRotate400ResponseName { return &d } var ( - docPagesMove404ResponseFieldName = big.NewInt(1 << 0) - docPagesMove404ResponseFieldCode = big.NewInt(1 << 1) - docPagesMove404ResponseFieldMessage = big.NewInt(1 << 2) - docPagesMove404ResponseFieldDetails = big.NewInt(1 << 3) + docPagesRotate404ResponseFieldName = big.NewInt(1 << 0) + docPagesRotate404ResponseFieldCode = big.NewInt(1 << 1) + docPagesRotate404ResponseFieldMessage = big.NewInt(1 << 2) + docPagesRotate404ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocPagesMove404Response struct { - Name DocPagesMove404ResponseName `json:"name" url:"name"` - Code DocPagesMove404ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocPagesRotate404Response struct { + Name DocPagesRotate404ResponseName `json:"name" url:"name"` + Code DocPagesRotate404ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -136616,42 +141500,42 @@ type DocPagesMove404Response struct { rawJSON json.RawMessage } -func (d *DocPagesMove404Response) GetName() DocPagesMove404ResponseName { +func (d *DocPagesRotate404Response) GetName() DocPagesRotate404ResponseName { if d == nil { return "" } return d.Name } -func (d *DocPagesMove404Response) GetCode() DocPagesMove404ResponseCode { +func (d *DocPagesRotate404Response) GetCode() DocPagesRotate404ResponseCode { if d == nil { return "" } return d.Code } -func (d *DocPagesMove404Response) GetMessage() string { +func (d *DocPagesRotate404Response) GetMessage() string { if d == nil { return "" } return d.Message } -func (d *DocPagesMove404Response) GetDetails() map[string]any { +func (d *DocPagesRotate404Response) GetDetails() map[string]any { if d == nil { return nil } return d.Details } -func (d *DocPagesMove404Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesRotate404Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesMove404Response) require(field *big.Int) { +func (d *DocPagesRotate404Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -136660,39 +141544,39 @@ func (d *DocPagesMove404Response) require(field *big.Int) { // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove404Response) SetName(name DocPagesMove404ResponseName) { +func (d *DocPagesRotate404Response) SetName(name DocPagesRotate404ResponseName) { d.Name = name - d.require(docPagesMove404ResponseFieldName) + d.require(docPagesRotate404ResponseFieldName) } // SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove404Response) SetCode(code DocPagesMove404ResponseCode) { +func (d *DocPagesRotate404Response) SetCode(code DocPagesRotate404ResponseCode) { d.Code = code - d.require(docPagesMove404ResponseFieldCode) + d.require(docPagesRotate404ResponseFieldCode) } // SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove404Response) SetMessage(message string) { +func (d *DocPagesRotate404Response) SetMessage(message string) { d.Message = message - d.require(docPagesMove404ResponseFieldMessage) + d.require(docPagesRotate404ResponseFieldMessage) } // SetDetails sets the Details field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesMove404Response) SetDetails(details map[string]any) { +func (d *DocPagesRotate404Response) SetDetails(details map[string]any) { d.Details = details - d.require(docPagesMove404ResponseFieldDetails) + d.require(docPagesRotate404ResponseFieldDetails) } -func (d *DocPagesMove404Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesMove404Response +func (d *DocPagesRotate404Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesRotate404Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesMove404Response(value) + *d = DocPagesRotate404Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -136702,8 +141586,8 @@ func (d *DocPagesMove404Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesMove404Response) MarshalJSON() ([]byte, error) { - type embed DocPagesMove404Response +func (d *DocPagesRotate404Response) MarshalJSON() ([]byte, error) { + type embed DocPagesRotate404Response var marshaler = struct { embed }{ @@ -136713,7 +141597,7 @@ func (d *DocPagesMove404Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocPagesMove404Response) String() string { +func (d *DocPagesRotate404Response) String() string { if d == nil { return "" } @@ -136728,106 +141612,106 @@ func (d *DocPagesMove404Response) String() string { return fmt.Sprintf("%#v", d) } -type DocPagesMove404ResponseCode string +type DocPagesRotate404ResponseCode string const ( - DocPagesMove404ResponseCodeUnknown DocPagesMove404ResponseCode = "Unknown" - DocPagesMove404ResponseCodeInvalidArg DocPagesMove404ResponseCode = "InvalidArg" - DocPagesMove404ResponseCodeDocNotOpen DocPagesMove404ResponseCode = "DocNotOpen" - DocPagesMove404ResponseCodeDocOpenFailed DocPagesMove404ResponseCode = "DocOpenFailed" - DocPagesMove404ResponseCodeDocPasswordRequired DocPagesMove404ResponseCode = "DocPasswordRequired" - DocPagesMove404ResponseCodeDocPasswordIncorrect DocPagesMove404ResponseCode = "DocPasswordIncorrect" - DocPagesMove404ResponseCodeSharePasswordRequired DocPagesMove404ResponseCode = "SharePasswordRequired" - DocPagesMove404ResponseCodeAborted DocPagesMove404ResponseCode = "Aborted" - DocPagesMove404ResponseCodeNetwork DocPagesMove404ResponseCode = "Network" - DocPagesMove404ResponseCodeUnauthenticated DocPagesMove404ResponseCode = "Unauthenticated" - DocPagesMove404ResponseCodeForbidden DocPagesMove404ResponseCode = "Forbidden" - DocPagesMove404ResponseCodeNotFound DocPagesMove404ResponseCode = "NotFound" - DocPagesMove404ResponseCodeWireFormat DocPagesMove404ResponseCode = "WireFormat" - DocPagesMove404ResponseCodeRuntimeUnavailable DocPagesMove404ResponseCode = "RuntimeUnavailable" - DocPagesMove404ResponseCodeInvalidReference DocPagesMove404ResponseCode = "InvalidReference" - DocPagesMove404ResponseCodeWeakAnnotationSessionConflict DocPagesMove404ResponseCode = "WeakAnnotationSessionConflict" - DocPagesMove404ResponseCodeLayerVersionConflict DocPagesMove404ResponseCode = "LayerVersionConflict" - DocPagesMove404ResponseCodeNotImplemented DocPagesMove404ResponseCode = "NotImplemented" - DocPagesMove404ResponseCodeMalformedPdf DocPagesMove404ResponseCode = "MalformedPdf" + DocPagesRotate404ResponseCodeUnknown DocPagesRotate404ResponseCode = "Unknown" + DocPagesRotate404ResponseCodeInvalidArg DocPagesRotate404ResponseCode = "InvalidArg" + DocPagesRotate404ResponseCodeDocNotOpen DocPagesRotate404ResponseCode = "DocNotOpen" + DocPagesRotate404ResponseCodeDocOpenFailed DocPagesRotate404ResponseCode = "DocOpenFailed" + DocPagesRotate404ResponseCodeDocPasswordRequired DocPagesRotate404ResponseCode = "DocPasswordRequired" + DocPagesRotate404ResponseCodeDocPasswordIncorrect DocPagesRotate404ResponseCode = "DocPasswordIncorrect" + DocPagesRotate404ResponseCodeSharePasswordRequired DocPagesRotate404ResponseCode = "SharePasswordRequired" + DocPagesRotate404ResponseCodeAborted DocPagesRotate404ResponseCode = "Aborted" + DocPagesRotate404ResponseCodeNetwork DocPagesRotate404ResponseCode = "Network" + DocPagesRotate404ResponseCodeUnauthenticated DocPagesRotate404ResponseCode = "Unauthenticated" + DocPagesRotate404ResponseCodeForbidden DocPagesRotate404ResponseCode = "Forbidden" + DocPagesRotate404ResponseCodeNotFound DocPagesRotate404ResponseCode = "NotFound" + DocPagesRotate404ResponseCodeWireFormat DocPagesRotate404ResponseCode = "WireFormat" + DocPagesRotate404ResponseCodeRuntimeUnavailable DocPagesRotate404ResponseCode = "RuntimeUnavailable" + DocPagesRotate404ResponseCodeInvalidReference DocPagesRotate404ResponseCode = "InvalidReference" + DocPagesRotate404ResponseCodeWeakAnnotationSessionConflict DocPagesRotate404ResponseCode = "WeakAnnotationSessionConflict" + DocPagesRotate404ResponseCodeLayerVersionConflict DocPagesRotate404ResponseCode = "LayerVersionConflict" + DocPagesRotate404ResponseCodeNotImplemented DocPagesRotate404ResponseCode = "NotImplemented" + DocPagesRotate404ResponseCodeMalformedPdf DocPagesRotate404ResponseCode = "MalformedPdf" ) -func NewDocPagesMove404ResponseCodeFromString(s string) (DocPagesMove404ResponseCode, error) { +func NewDocPagesRotate404ResponseCodeFromString(s string) (DocPagesRotate404ResponseCode, error) { switch s { case "Unknown": - return DocPagesMove404ResponseCodeUnknown, nil + return DocPagesRotate404ResponseCodeUnknown, nil case "InvalidArg": - return DocPagesMove404ResponseCodeInvalidArg, nil + return DocPagesRotate404ResponseCodeInvalidArg, nil case "DocNotOpen": - return DocPagesMove404ResponseCodeDocNotOpen, nil + return DocPagesRotate404ResponseCodeDocNotOpen, nil case "DocOpenFailed": - return DocPagesMove404ResponseCodeDocOpenFailed, nil + return DocPagesRotate404ResponseCodeDocOpenFailed, nil case "DocPasswordRequired": - return DocPagesMove404ResponseCodeDocPasswordRequired, nil + return DocPagesRotate404ResponseCodeDocPasswordRequired, nil case "DocPasswordIncorrect": - return DocPagesMove404ResponseCodeDocPasswordIncorrect, nil + return DocPagesRotate404ResponseCodeDocPasswordIncorrect, nil case "SharePasswordRequired": - return DocPagesMove404ResponseCodeSharePasswordRequired, nil + return DocPagesRotate404ResponseCodeSharePasswordRequired, nil case "Aborted": - return DocPagesMove404ResponseCodeAborted, nil + return DocPagesRotate404ResponseCodeAborted, nil case "Network": - return DocPagesMove404ResponseCodeNetwork, nil + return DocPagesRotate404ResponseCodeNetwork, nil case "Unauthenticated": - return DocPagesMove404ResponseCodeUnauthenticated, nil + return DocPagesRotate404ResponseCodeUnauthenticated, nil case "Forbidden": - return DocPagesMove404ResponseCodeForbidden, nil + return DocPagesRotate404ResponseCodeForbidden, nil case "NotFound": - return DocPagesMove404ResponseCodeNotFound, nil + return DocPagesRotate404ResponseCodeNotFound, nil case "WireFormat": - return DocPagesMove404ResponseCodeWireFormat, nil + return DocPagesRotate404ResponseCodeWireFormat, nil case "RuntimeUnavailable": - return DocPagesMove404ResponseCodeRuntimeUnavailable, nil + return DocPagesRotate404ResponseCodeRuntimeUnavailable, nil case "InvalidReference": - return DocPagesMove404ResponseCodeInvalidReference, nil + return DocPagesRotate404ResponseCodeInvalidReference, nil case "WeakAnnotationSessionConflict": - return DocPagesMove404ResponseCodeWeakAnnotationSessionConflict, nil + return DocPagesRotate404ResponseCodeWeakAnnotationSessionConflict, nil case "LayerVersionConflict": - return DocPagesMove404ResponseCodeLayerVersionConflict, nil + return DocPagesRotate404ResponseCodeLayerVersionConflict, nil case "NotImplemented": - return DocPagesMove404ResponseCodeNotImplemented, nil + return DocPagesRotate404ResponseCodeNotImplemented, nil case "MalformedPdf": - return DocPagesMove404ResponseCodeMalformedPdf, nil + return DocPagesRotate404ResponseCodeMalformedPdf, nil } - var t DocPagesMove404ResponseCode + var t DocPagesRotate404ResponseCode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesMove404ResponseCode) Ptr() *DocPagesMove404ResponseCode { +func (d DocPagesRotate404ResponseCode) Ptr() *DocPagesRotate404ResponseCode { return &d } -type DocPagesMove404ResponseName string +type DocPagesRotate404ResponseName string const ( - DocPagesMove404ResponseNameEngineError DocPagesMove404ResponseName = "EngineError" + DocPagesRotate404ResponseNameEngineError DocPagesRotate404ResponseName = "EngineError" ) -func NewDocPagesMove404ResponseNameFromString(s string) (DocPagesMove404ResponseName, error) { +func NewDocPagesRotate404ResponseNameFromString(s string) (DocPagesRotate404ResponseName, error) { switch s { case "EngineError": - return DocPagesMove404ResponseNameEngineError, nil + return DocPagesRotate404ResponseNameEngineError, nil } - var t DocPagesMove404ResponseName + var t DocPagesRotate404ResponseName return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesMove404ResponseName) Ptr() *DocPagesMove404ResponseName { +func (d DocPagesRotate404ResponseName) Ptr() *DocPagesRotate404ResponseName { return &d } -type DocPagesMoveRequest = map[string]any +type DocPagesRotateRequest = map[string]any var ( - docPagesRotate200ResponseFieldMeta = big.NewInt(1 << 0) + docPagesSetName200ResponseFieldMeta = big.NewInt(1 << 0) ) -type DocPagesRotate200Response struct { - Meta *DocPagesRotate200ResponseMeta `json:"meta" url:"meta"` +type DocPagesSetName200Response struct { + Meta *DocPagesSetName200ResponseMeta `json:"meta" url:"meta"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -136837,21 +141721,21 @@ type DocPagesRotate200Response struct { rawJSON json.RawMessage } -func (d *DocPagesRotate200Response) GetMeta() *DocPagesRotate200ResponseMeta { +func (d *DocPagesSetName200Response) GetMeta() *DocPagesSetName200ResponseMeta { if d == nil { return nil } return d.Meta } -func (d *DocPagesRotate200Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesSetName200Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.ExtraProperties } -func (d *DocPagesRotate200Response) require(field *big.Int) { +func (d *DocPagesSetName200Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -136860,13 +141744,13 @@ func (d *DocPagesRotate200Response) require(field *big.Int) { // SetMeta sets the Meta field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate200Response) SetMeta(meta *DocPagesRotate200ResponseMeta) { +func (d *DocPagesSetName200Response) SetMeta(meta *DocPagesSetName200ResponseMeta) { d.Meta = meta - d.require(docPagesRotate200ResponseFieldMeta) + d.require(docPagesSetName200ResponseFieldMeta) } -func (d *DocPagesRotate200Response) UnmarshalJSON(data []byte) error { - type embed DocPagesRotate200Response +func (d *DocPagesSetName200Response) UnmarshalJSON(data []byte) error { + type embed DocPagesSetName200Response var unmarshaler = struct { embed }{ @@ -136875,7 +141759,7 @@ func (d *DocPagesRotate200Response) UnmarshalJSON(data []byte) error { if err := json.Unmarshal(data, &unmarshaler); err != nil { return err } - *d = DocPagesRotate200Response(unmarshaler.embed) + *d = DocPagesSetName200Response(unmarshaler.embed) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -136885,8 +141769,8 @@ func (d *DocPagesRotate200Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesRotate200Response) MarshalJSON() ([]byte, error) { - type embed DocPagesRotate200Response +func (d *DocPagesSetName200Response) MarshalJSON() ([]byte, error) { + type embed DocPagesSetName200Response var marshaler = struct { embed }{ @@ -136896,7 +141780,7 @@ func (d *DocPagesRotate200Response) MarshalJSON() ([]byte, error) { return internal.MarshalJSONWithExtraProperties(explicitMarshaler, d.ExtraProperties) } -func (d *DocPagesRotate200Response) String() string { +func (d *DocPagesSetName200Response) String() string { if d == nil { return "" } @@ -136912,13 +141796,13 @@ func (d *DocPagesRotate200Response) String() string { } var ( - docPagesRotate200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) - docPagesRotate200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) + docPagesSetName200ResponseMetaFieldAffectedPages = big.NewInt(1 << 0) + docPagesSetName200ResponseMetaFieldCacheDelta = big.NewInt(1 << 1) ) -type DocPagesRotate200ResponseMeta struct { - AffectedPages []*DocPagesRotate200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` - CacheDelta *DocPagesRotate200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` +type DocPagesSetName200ResponseMeta struct { + AffectedPages []*DocPagesSetName200ResponseMetaAffectedPagesItem `json:"affectedPages" url:"affectedPages"` + CacheDelta *DocPagesSetName200ResponseMetaCacheDelta `json:"cacheDelta,omitempty" url:"cacheDelta,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -136927,28 +141811,28 @@ type DocPagesRotate200ResponseMeta struct { rawJSON json.RawMessage } -func (d *DocPagesRotate200ResponseMeta) GetAffectedPages() []*DocPagesRotate200ResponseMetaAffectedPagesItem { +func (d *DocPagesSetName200ResponseMeta) GetAffectedPages() []*DocPagesSetName200ResponseMetaAffectedPagesItem { if d == nil { return nil } return d.AffectedPages } -func (d *DocPagesRotate200ResponseMeta) GetCacheDelta() *DocPagesRotate200ResponseMetaCacheDelta { +func (d *DocPagesSetName200ResponseMeta) GetCacheDelta() *DocPagesSetName200ResponseMetaCacheDelta { if d == nil { return nil } return d.CacheDelta } -func (d *DocPagesRotate200ResponseMeta) GetExtraProperties() map[string]interface{} { +func (d *DocPagesSetName200ResponseMeta) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesRotate200ResponseMeta) require(field *big.Int) { +func (d *DocPagesSetName200ResponseMeta) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -136957,25 +141841,25 @@ func (d *DocPagesRotate200ResponseMeta) require(field *big.Int) { // SetAffectedPages sets the AffectedPages field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate200ResponseMeta) SetAffectedPages(affectedPages []*DocPagesRotate200ResponseMetaAffectedPagesItem) { +func (d *DocPagesSetName200ResponseMeta) SetAffectedPages(affectedPages []*DocPagesSetName200ResponseMetaAffectedPagesItem) { d.AffectedPages = affectedPages - d.require(docPagesRotate200ResponseMetaFieldAffectedPages) + d.require(docPagesSetName200ResponseMetaFieldAffectedPages) } // SetCacheDelta sets the CacheDelta field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate200ResponseMeta) SetCacheDelta(cacheDelta *DocPagesRotate200ResponseMetaCacheDelta) { +func (d *DocPagesSetName200ResponseMeta) SetCacheDelta(cacheDelta *DocPagesSetName200ResponseMetaCacheDelta) { d.CacheDelta = cacheDelta - d.require(docPagesRotate200ResponseMetaFieldCacheDelta) + d.require(docPagesSetName200ResponseMetaFieldCacheDelta) } -func (d *DocPagesRotate200ResponseMeta) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesRotate200ResponseMeta +func (d *DocPagesSetName200ResponseMeta) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesSetName200ResponseMeta var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesRotate200ResponseMeta(value) + *d = DocPagesSetName200ResponseMeta(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -136985,8 +141869,8 @@ func (d *DocPagesRotate200ResponseMeta) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesRotate200ResponseMeta) MarshalJSON() ([]byte, error) { - type embed DocPagesRotate200ResponseMeta +func (d *DocPagesSetName200ResponseMeta) MarshalJSON() ([]byte, error) { + type embed DocPagesSetName200ResponseMeta var marshaler = struct { embed }{ @@ -136996,7 +141880,7 @@ func (d *DocPagesRotate200ResponseMeta) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocPagesRotate200ResponseMeta) String() string { +func (d *DocPagesSetName200ResponseMeta) String() string { if d == nil { return "" } @@ -137012,15 +141896,15 @@ func (d *DocPagesRotate200ResponseMeta) String() string { } var ( - docPagesRotate200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) - docPagesRotate200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) - docPagesRotate200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) + docPagesSetName200ResponseMetaAffectedPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docPagesSetName200ResponseMetaAffectedPagesItemFieldRevision = big.NewInt(1 << 1) + docPagesSetName200ResponseMetaAffectedPagesItemFieldWeakAnnotationState = big.NewInt(1 << 2) ) -type DocPagesRotate200ResponseMetaAffectedPagesItem struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Revision *DocPagesRotate200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` - WeakAnnotationState *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` +type DocPagesSetName200ResponseMetaAffectedPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Revision *DocPagesSetName200ResponseMetaAffectedPagesItemRevision `json:"revision" url:"revision"` + WeakAnnotationState *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState `json:"weakAnnotationState" url:"weakAnnotationState"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -137029,35 +141913,35 @@ type DocPagesRotate200ResponseMetaAffectedPagesItem struct { rawJSON json.RawMessage } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItem) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) GetRevision() *DocPagesRotate200ResponseMetaAffectedPagesItemRevision { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItem) GetRevision() *DocPagesSetName200ResponseMetaAffectedPagesItemRevision { if d == nil { return nil } return d.Revision } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItem) GetWeakAnnotationState() *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState { if d == nil { return nil } return d.WeakAnnotationState } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) require(field *big.Int) { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -137066,32 +141950,32 @@ func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) require(field *big.Int) // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItem) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docPagesRotate200ResponseMetaAffectedPagesItemFieldPageObjectNumber) + d.require(docPagesSetName200ResponseMetaAffectedPagesItemFieldPageObjectNumber) } // SetRevision sets the Revision field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) SetRevision(revision *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItem) SetRevision(revision *DocPagesSetName200ResponseMetaAffectedPagesItemRevision) { d.Revision = revision - d.require(docPagesRotate200ResponseMetaAffectedPagesItemFieldRevision) + d.require(docPagesSetName200ResponseMetaAffectedPagesItemFieldRevision) } // SetWeakAnnotationState sets the WeakAnnotationState field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState) { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItem) SetWeakAnnotationState(weakAnnotationState *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState) { d.WeakAnnotationState = weakAnnotationState - d.require(docPagesRotate200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) + d.require(docPagesSetName200ResponseMetaAffectedPagesItemFieldWeakAnnotationState) } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesRotate200ResponseMetaAffectedPagesItem +func (d *DocPagesSetName200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesSetName200ResponseMetaAffectedPagesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesRotate200ResponseMetaAffectedPagesItem(value) + *d = DocPagesSetName200ResponseMetaAffectedPagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -137101,8 +141985,8 @@ func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) UnmarshalJSON(data []by return nil } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { - type embed DocPagesRotate200ResponseMetaAffectedPagesItem +func (d *DocPagesSetName200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, error) { + type embed DocPagesSetName200ResponseMetaAffectedPagesItem var marshaler = struct { embed }{ @@ -137112,7 +141996,7 @@ func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) MarshalJSON() ([]byte, return json.Marshal(explicitMarshaler) } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) String() string { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItem) String() string { if d == nil { return "" } @@ -137128,12 +142012,12 @@ func (d *DocPagesRotate200ResponseMetaAffectedPagesItem) String() string { } var ( - docPagesRotate200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) - docPagesRotate200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) - docPagesRotate200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) + docPagesSetName200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID = big.NewInt(1 << 0) + docPagesSetName200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber = big.NewInt(1 << 1) + docPagesSetName200ResponseMetaAffectedPagesItemRevisionFieldGeneration = big.NewInt(1 << 2) ) -type DocPagesRotate200ResponseMetaAffectedPagesItemRevision struct { +type DocPagesSetName200ResponseMetaAffectedPagesItemRevision struct { DocSessionID string `json:"docSessionId" url:"docSessionId"` PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` Generation int `json:"generation" url:"generation"` @@ -137145,35 +142029,35 @@ type DocPagesRotate200ResponseMetaAffectedPagesItemRevision struct { rawJSON json.RawMessage } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemRevision) GetDocSessionID() string { if d == nil { return "" } return d.DocSessionID } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemRevision) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemRevision) GetGeneration() int { if d == nil { return 0 } return d.Generation } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemRevision) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemRevision) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -137182,32 +142066,32 @@ func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) require(field * // SetDocSessionID sets the DocSessionID field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemRevision) SetDocSessionID(docSessionID string) { d.DocSessionID = docSessionID - d.require(docPagesRotate200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) + d.require(docPagesSetName200ResponseMetaAffectedPagesItemRevisionFieldDocSessionID) } // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemRevision) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docPagesRotate200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) + d.require(docPagesSetName200ResponseMetaAffectedPagesItemRevisionFieldPageObjectNumber) } // SetGeneration sets the Generation field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemRevision) SetGeneration(generation int) { d.Generation = generation - d.require(docPagesRotate200ResponseMetaAffectedPagesItemRevisionFieldGeneration) + d.require(docPagesSetName200ResponseMetaAffectedPagesItemRevisionFieldGeneration) } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesRotate200ResponseMetaAffectedPagesItemRevision +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesSetName200ResponseMetaAffectedPagesItemRevision var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesRotate200ResponseMetaAffectedPagesItemRevision(value) + *d = DocPagesSetName200ResponseMetaAffectedPagesItemRevision(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -137217,8 +142101,8 @@ func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) UnmarshalJSON(d return nil } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { - type embed DocPagesRotate200ResponseMetaAffectedPagesItemRevision +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ([]byte, error) { + type embed DocPagesSetName200ResponseMetaAffectedPagesItemRevision var marshaler = struct { embed }{ @@ -137228,7 +142112,7 @@ func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) MarshalJSON() ( return json.Marshal(explicitMarshaler) } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) String() string { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemRevision) String() string { if d == nil { return "" } @@ -137243,36 +142127,36 @@ func (d *DocPagesRotate200ResponseMetaAffectedPagesItemRevision) String() string return fmt.Sprintf("%#v", d) } -type DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState struct { +type DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState struct { Kind string - Unknown *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown - Known *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + Unknown *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + Known *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown rawJSON json.RawMessage } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKind() string { if d == nil { return "" } return d.Kind } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState) GetUnknown() *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown { if d == nil { return nil } return d.Unknown } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState) GetKnown() *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown { if d == nil { return nil } return d.Known } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState) UnmarshalJSON(data []byte) error { var unmarshaler struct { Kind string `json:"kind"` } @@ -137285,13 +142169,13 @@ func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState) Unma } switch unmarshaler.Kind { case "unknown": - value := new(DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) + value := new(DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) if err := json.Unmarshal(data, &value); err != nil { return err } d.Unknown = value case "known": - value := new(DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) + value := new(DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) if err := json.Unmarshal(data, &value); err != nil { return err } @@ -137301,7 +142185,7 @@ func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState) Unma return nil } -func (d DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { +func (d DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState) MarshalJSON() ([]byte, error) { if err := d.validate(); err != nil { return nil, err } @@ -137317,12 +142201,12 @@ func (d DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState) Marsh return nil, fmt.Errorf("type %T does not define a non-empty union type", d) } -type DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { - VisitUnknown(*DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error - VisitKnown(*DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error +type DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor interface { + VisitUnknown(*DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) error + VisitKnown(*DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) error } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState) Accept(visitor DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateVisitor) error { if d.Unknown != nil { return visitor.VisitUnknown(d.Unknown) } @@ -137332,7 +142216,7 @@ func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState) Acce return fmt.Errorf("type %T does not define a non-empty union type", d) } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState) validate() error { if d == nil { return fmt.Errorf("type %T is nil", d) } @@ -137370,10 +142254,10 @@ func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState) vali } var ( - docPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) + docPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations = big.NewInt(1 << 0) ) -type DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { +type DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown struct { HasAnyWeakAnnotations bool `json:"hasAnyWeakAnnotations" url:"hasAnyWeakAnnotations"` // Private bitmask of fields set to an explicit value and therefore not to be omitted @@ -137383,21 +142267,21 @@ type DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown stru rawJSON json.RawMessage } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetHasAnyWeakAnnotations() bool { if d == nil { return false } return d.HasAnyWeakAnnotations } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -137406,18 +142290,18 @@ func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) // SetHasAnyWeakAnnotations sets the HasAnyWeakAnnotations field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) SetHasAnyWeakAnnotations(hasAnyWeakAnnotations bool) { d.HasAnyWeakAnnotations = hasAnyWeakAnnotations - d.require(docPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) + d.require(docPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnownFieldHasAnyWeakAnnotations) } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) + *d = DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -137427,8 +142311,8 @@ func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) return nil } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { - type embed DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) MarshalJSON() ([]byte, error) { + type embed DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown var marshaler = struct { embed }{ @@ -137438,7 +142322,7 @@ func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) return json.Marshal(explicitMarshaler) } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) String() string { if d == nil { return "" } @@ -137453,7 +142337,7 @@ func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown) return fmt.Sprintf("%#v", d) } -type DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { +type DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown struct { // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -137462,27 +142346,27 @@ type DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown st rawJSON json.RawMessage } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } d.explicitFields.Or(d.explicitFields, field) } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) + *d = DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -137492,8 +142376,8 @@ func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknow return nil } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { - type embed DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) MarshalJSON() ([]byte, error) { + type embed DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown var marshaler = struct { embed }{ @@ -137503,7 +142387,7 @@ func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknow return json.Marshal(explicitMarshaler) } -func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { +func (d *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown) String() string { if d == nil { return "" } @@ -137519,17 +142403,17 @@ func (d *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknow } var ( - docPagesRotate200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) - docPagesRotate200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) - docPagesRotate200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) - docPagesRotate200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) + docPagesSetName200ResponseMetaCacheDeltaFieldPreviousDocVersion = big.NewInt(1 << 0) + docPagesSetName200ResponseMetaCacheDeltaFieldDocVersion = big.NewInt(1 << 1) + docPagesSetName200ResponseMetaCacheDeltaFieldAnnotationsVersion = big.NewInt(1 << 2) + docPagesSetName200ResponseMetaCacheDeltaFieldPages = big.NewInt(1 << 3) ) -type DocPagesRotate200ResponseMetaCacheDelta struct { - PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` - DocVersion int `json:"docVersion" url:"docVersion"` - AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` - Pages []*DocPagesRotate200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` +type DocPagesSetName200ResponseMetaCacheDelta struct { + PreviousDocVersion int `json:"previousDocVersion" url:"previousDocVersion"` + DocVersion int `json:"docVersion" url:"docVersion"` + AnnotationsVersion *int `json:"annotationsVersion,omitempty" url:"annotationsVersion,omitempty"` + Pages []*DocPagesSetName200ResponseMetaCacheDeltaPagesItem `json:"pages" url:"pages"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -137538,42 +142422,42 @@ type DocPagesRotate200ResponseMetaCacheDelta struct { rawJSON json.RawMessage } -func (d *DocPagesRotate200ResponseMetaCacheDelta) GetPreviousDocVersion() int { +func (d *DocPagesSetName200ResponseMetaCacheDelta) GetPreviousDocVersion() int { if d == nil { return 0 } return d.PreviousDocVersion } -func (d *DocPagesRotate200ResponseMetaCacheDelta) GetDocVersion() int { +func (d *DocPagesSetName200ResponseMetaCacheDelta) GetDocVersion() int { if d == nil { return 0 } return d.DocVersion } -func (d *DocPagesRotate200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { +func (d *DocPagesSetName200ResponseMetaCacheDelta) GetAnnotationsVersion() *int { if d == nil { return nil } return d.AnnotationsVersion } -func (d *DocPagesRotate200ResponseMetaCacheDelta) GetPages() []*DocPagesRotate200ResponseMetaCacheDeltaPagesItem { +func (d *DocPagesSetName200ResponseMetaCacheDelta) GetPages() []*DocPagesSetName200ResponseMetaCacheDeltaPagesItem { if d == nil { return nil } return d.Pages } -func (d *DocPagesRotate200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { +func (d *DocPagesSetName200ResponseMetaCacheDelta) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesRotate200ResponseMetaCacheDelta) require(field *big.Int) { +func (d *DocPagesSetName200ResponseMetaCacheDelta) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -137582,39 +142466,39 @@ func (d *DocPagesRotate200ResponseMetaCacheDelta) require(field *big.Int) { // SetPreviousDocVersion sets the PreviousDocVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { +func (d *DocPagesSetName200ResponseMetaCacheDelta) SetPreviousDocVersion(previousDocVersion int) { d.PreviousDocVersion = previousDocVersion - d.require(docPagesRotate200ResponseMetaCacheDeltaFieldPreviousDocVersion) + d.require(docPagesSetName200ResponseMetaCacheDeltaFieldPreviousDocVersion) } // SetDocVersion sets the DocVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { +func (d *DocPagesSetName200ResponseMetaCacheDelta) SetDocVersion(docVersion int) { d.DocVersion = docVersion - d.require(docPagesRotate200ResponseMetaCacheDeltaFieldDocVersion) + d.require(docPagesSetName200ResponseMetaCacheDeltaFieldDocVersion) } // SetAnnotationsVersion sets the AnnotationsVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { +func (d *DocPagesSetName200ResponseMetaCacheDelta) SetAnnotationsVersion(annotationsVersion *int) { d.AnnotationsVersion = annotationsVersion - d.require(docPagesRotate200ResponseMetaCacheDeltaFieldAnnotationsVersion) + d.require(docPagesSetName200ResponseMetaCacheDeltaFieldAnnotationsVersion) } // SetPages sets the Pages field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate200ResponseMetaCacheDelta) SetPages(pages []*DocPagesRotate200ResponseMetaCacheDeltaPagesItem) { +func (d *DocPagesSetName200ResponseMetaCacheDelta) SetPages(pages []*DocPagesSetName200ResponseMetaCacheDeltaPagesItem) { d.Pages = pages - d.require(docPagesRotate200ResponseMetaCacheDeltaFieldPages) + d.require(docPagesSetName200ResponseMetaCacheDeltaFieldPages) } -func (d *DocPagesRotate200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesRotate200ResponseMetaCacheDelta +func (d *DocPagesSetName200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesSetName200ResponseMetaCacheDelta var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesRotate200ResponseMetaCacheDelta(value) + *d = DocPagesSetName200ResponseMetaCacheDelta(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -137624,8 +142508,8 @@ func (d *DocPagesRotate200ResponseMetaCacheDelta) UnmarshalJSON(data []byte) err return nil } -func (d *DocPagesRotate200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { - type embed DocPagesRotate200ResponseMetaCacheDelta +func (d *DocPagesSetName200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) { + type embed DocPagesSetName200ResponseMetaCacheDelta var marshaler = struct { embed }{ @@ -137635,7 +142519,7 @@ func (d *DocPagesRotate200ResponseMetaCacheDelta) MarshalJSON() ([]byte, error) return json.Marshal(explicitMarshaler) } -func (d *DocPagesRotate200ResponseMetaCacheDelta) String() string { +func (d *DocPagesSetName200ResponseMetaCacheDelta) String() string { if d == nil { return "" } @@ -137651,13 +142535,13 @@ func (d *DocPagesRotate200ResponseMetaCacheDelta) String() string { } var ( - docPagesRotate200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) - docPagesRotate200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) + docPagesSetName200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber = big.NewInt(1 << 0) + docPagesSetName200ResponseMetaCacheDeltaPagesItemFieldCache = big.NewInt(1 << 1) ) -type DocPagesRotate200ResponseMetaCacheDeltaPagesItem struct { - PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` - Cache *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` +type DocPagesSetName200ResponseMetaCacheDeltaPagesItem struct { + PageObjectNumber int `json:"pageObjectNumber" url:"pageObjectNumber"` + Cache *DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache `json:"cache" url:"cache"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -137666,28 +142550,28 @@ type DocPagesRotate200ResponseMetaCacheDeltaPagesItem struct { rawJSON json.RawMessage } -func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { +func (d *DocPagesSetName200ResponseMetaCacheDeltaPagesItem) GetPageObjectNumber() int { if d == nil { return 0 } return d.PageObjectNumber } -func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItem) GetCache() *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache { +func (d *DocPagesSetName200ResponseMetaCacheDeltaPagesItem) GetCache() *DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache { if d == nil { return nil } return d.Cache } -func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { +func (d *DocPagesSetName200ResponseMetaCacheDeltaPagesItem) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { +func (d *DocPagesSetName200ResponseMetaCacheDeltaPagesItem) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -137696,25 +142580,25 @@ func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItem) require(field *big.In // SetPageObjectNumber sets the PageObjectNumber field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { +func (d *DocPagesSetName200ResponseMetaCacheDeltaPagesItem) SetPageObjectNumber(pageObjectNumber int) { d.PageObjectNumber = pageObjectNumber - d.require(docPagesRotate200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) + d.require(docPagesSetName200ResponseMetaCacheDeltaPagesItemFieldPageObjectNumber) } // SetCache sets the Cache field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) { +func (d *DocPagesSetName200ResponseMetaCacheDeltaPagesItem) SetCache(cache *DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache) { d.Cache = cache - d.require(docPagesRotate200ResponseMetaCacheDeltaPagesItemFieldCache) + d.require(docPagesSetName200ResponseMetaCacheDeltaPagesItemFieldCache) } -func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesRotate200ResponseMetaCacheDeltaPagesItem +func (d *DocPagesSetName200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesSetName200ResponseMetaCacheDeltaPagesItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesRotate200ResponseMetaCacheDeltaPagesItem(value) + *d = DocPagesSetName200ResponseMetaCacheDeltaPagesItem(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -137724,8 +142608,8 @@ func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItem) UnmarshalJSON(data [] return nil } -func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { - type embed DocPagesRotate200ResponseMetaCacheDeltaPagesItem +func (d *DocPagesSetName200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte, error) { + type embed DocPagesSetName200ResponseMetaCacheDeltaPagesItem var marshaler = struct { embed }{ @@ -137735,7 +142619,7 @@ func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItem) MarshalJSON() ([]byte return json.Marshal(explicitMarshaler) } -func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItem) String() string { +func (d *DocPagesSetName200ResponseMetaCacheDeltaPagesItem) String() string { if d == nil { return "" } @@ -137751,11 +142635,11 @@ func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItem) String() string { } var ( - docPagesRotate200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) - docPagesRotate200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) + docPagesSetName200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion = big.NewInt(1 << 0) + docPagesSetName200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion = big.NewInt(1 << 1) ) -type DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache struct { +type DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache struct { ContentVersion int `json:"contentVersion" url:"contentVersion"` AnnotationVersion int `json:"annotationVersion" url:"annotationVersion"` @@ -137766,28 +142650,28 @@ type DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache struct { rawJSON json.RawMessage } -func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { +func (d *DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache) GetContentVersion() int { if d == nil { return 0 } return d.ContentVersion } -func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { +func (d *DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache) GetAnnotationVersion() int { if d == nil { return 0 } return d.AnnotationVersion } -func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { +func (d *DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { +func (d *DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -137796,25 +142680,25 @@ func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) require(field *b // SetContentVersion sets the ContentVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { +func (d *DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache) SetContentVersion(contentVersion int) { d.ContentVersion = contentVersion - d.require(docPagesRotate200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) + d.require(docPagesSetName200ResponseMetaCacheDeltaPagesItemCacheFieldContentVersion) } // SetAnnotationVersion sets the AnnotationVersion field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { +func (d *DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache) SetAnnotationVersion(annotationVersion int) { d.AnnotationVersion = annotationVersion - d.require(docPagesRotate200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) + d.require(docPagesSetName200ResponseMetaCacheDeltaPagesItemCacheFieldAnnotationVersion) } -func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache +func (d *DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache(value) + *d = DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -137824,8 +142708,8 @@ func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) UnmarshalJSON(da return nil } -func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { - type embed DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache +func (d *DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([]byte, error) { + type embed DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache var marshaler = struct { embed }{ @@ -137835,7 +142719,7 @@ func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) MarshalJSON() ([ return json.Marshal(explicitMarshaler) } -func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) String() string { +func (d *DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache) String() string { if d == nil { return "" } @@ -137851,17 +142735,17 @@ func (d *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache) String() string } var ( - docPagesRotate400ResponseFieldName = big.NewInt(1 << 0) - docPagesRotate400ResponseFieldCode = big.NewInt(1 << 1) - docPagesRotate400ResponseFieldMessage = big.NewInt(1 << 2) - docPagesRotate400ResponseFieldDetails = big.NewInt(1 << 3) + docPagesSetName400ResponseFieldName = big.NewInt(1 << 0) + docPagesSetName400ResponseFieldCode = big.NewInt(1 << 1) + docPagesSetName400ResponseFieldMessage = big.NewInt(1 << 2) + docPagesSetName400ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocPagesRotate400Response struct { - Name DocPagesRotate400ResponseName `json:"name" url:"name"` - Code DocPagesRotate400ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocPagesSetName400Response struct { + Name DocPagesSetName400ResponseName `json:"name" url:"name"` + Code DocPagesSetName400ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -137870,42 +142754,42 @@ type DocPagesRotate400Response struct { rawJSON json.RawMessage } -func (d *DocPagesRotate400Response) GetName() DocPagesRotate400ResponseName { +func (d *DocPagesSetName400Response) GetName() DocPagesSetName400ResponseName { if d == nil { return "" } return d.Name } -func (d *DocPagesRotate400Response) GetCode() DocPagesRotate400ResponseCode { +func (d *DocPagesSetName400Response) GetCode() DocPagesSetName400ResponseCode { if d == nil { return "" } return d.Code } -func (d *DocPagesRotate400Response) GetMessage() string { +func (d *DocPagesSetName400Response) GetMessage() string { if d == nil { return "" } return d.Message } -func (d *DocPagesRotate400Response) GetDetails() map[string]any { +func (d *DocPagesSetName400Response) GetDetails() map[string]any { if d == nil { return nil } return d.Details } -func (d *DocPagesRotate400Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesSetName400Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesRotate400Response) require(field *big.Int) { +func (d *DocPagesSetName400Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -137914,39 +142798,39 @@ func (d *DocPagesRotate400Response) require(field *big.Int) { // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate400Response) SetName(name DocPagesRotate400ResponseName) { +func (d *DocPagesSetName400Response) SetName(name DocPagesSetName400ResponseName) { d.Name = name - d.require(docPagesRotate400ResponseFieldName) + d.require(docPagesSetName400ResponseFieldName) } // SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate400Response) SetCode(code DocPagesRotate400ResponseCode) { +func (d *DocPagesSetName400Response) SetCode(code DocPagesSetName400ResponseCode) { d.Code = code - d.require(docPagesRotate400ResponseFieldCode) + d.require(docPagesSetName400ResponseFieldCode) } // SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate400Response) SetMessage(message string) { +func (d *DocPagesSetName400Response) SetMessage(message string) { d.Message = message - d.require(docPagesRotate400ResponseFieldMessage) + d.require(docPagesSetName400ResponseFieldMessage) } // SetDetails sets the Details field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate400Response) SetDetails(details map[string]any) { +func (d *DocPagesSetName400Response) SetDetails(details map[string]any) { d.Details = details - d.require(docPagesRotate400ResponseFieldDetails) + d.require(docPagesSetName400ResponseFieldDetails) } -func (d *DocPagesRotate400Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesRotate400Response +func (d *DocPagesSetName400Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesSetName400Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesRotate400Response(value) + *d = DocPagesSetName400Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -137956,8 +142840,8 @@ func (d *DocPagesRotate400Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesRotate400Response) MarshalJSON() ([]byte, error) { - type embed DocPagesRotate400Response +func (d *DocPagesSetName400Response) MarshalJSON() ([]byte, error) { + type embed DocPagesSetName400Response var marshaler = struct { embed }{ @@ -137967,7 +142851,7 @@ func (d *DocPagesRotate400Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocPagesRotate400Response) String() string { +func (d *DocPagesSetName400Response) String() string { if d == nil { return "" } @@ -137982,110 +142866,110 @@ func (d *DocPagesRotate400Response) String() string { return fmt.Sprintf("%#v", d) } -type DocPagesRotate400ResponseCode string +type DocPagesSetName400ResponseCode string const ( - DocPagesRotate400ResponseCodeUnknown DocPagesRotate400ResponseCode = "Unknown" - DocPagesRotate400ResponseCodeInvalidArg DocPagesRotate400ResponseCode = "InvalidArg" - DocPagesRotate400ResponseCodeDocNotOpen DocPagesRotate400ResponseCode = "DocNotOpen" - DocPagesRotate400ResponseCodeDocOpenFailed DocPagesRotate400ResponseCode = "DocOpenFailed" - DocPagesRotate400ResponseCodeDocPasswordRequired DocPagesRotate400ResponseCode = "DocPasswordRequired" - DocPagesRotate400ResponseCodeDocPasswordIncorrect DocPagesRotate400ResponseCode = "DocPasswordIncorrect" - DocPagesRotate400ResponseCodeSharePasswordRequired DocPagesRotate400ResponseCode = "SharePasswordRequired" - DocPagesRotate400ResponseCodeAborted DocPagesRotate400ResponseCode = "Aborted" - DocPagesRotate400ResponseCodeNetwork DocPagesRotate400ResponseCode = "Network" - DocPagesRotate400ResponseCodeUnauthenticated DocPagesRotate400ResponseCode = "Unauthenticated" - DocPagesRotate400ResponseCodeForbidden DocPagesRotate400ResponseCode = "Forbidden" - DocPagesRotate400ResponseCodeNotFound DocPagesRotate400ResponseCode = "NotFound" - DocPagesRotate400ResponseCodeWireFormat DocPagesRotate400ResponseCode = "WireFormat" - DocPagesRotate400ResponseCodeRuntimeUnavailable DocPagesRotate400ResponseCode = "RuntimeUnavailable" - DocPagesRotate400ResponseCodeInvalidReference DocPagesRotate400ResponseCode = "InvalidReference" - DocPagesRotate400ResponseCodeWeakAnnotationSessionConflict DocPagesRotate400ResponseCode = "WeakAnnotationSessionConflict" - DocPagesRotate400ResponseCodeLayerVersionConflict DocPagesRotate400ResponseCode = "LayerVersionConflict" - DocPagesRotate400ResponseCodeNotImplemented DocPagesRotate400ResponseCode = "NotImplemented" - DocPagesRotate400ResponseCodeMalformedPdf DocPagesRotate400ResponseCode = "MalformedPdf" -) - -func NewDocPagesRotate400ResponseCodeFromString(s string) (DocPagesRotate400ResponseCode, error) { + DocPagesSetName400ResponseCodeUnknown DocPagesSetName400ResponseCode = "Unknown" + DocPagesSetName400ResponseCodeInvalidArg DocPagesSetName400ResponseCode = "InvalidArg" + DocPagesSetName400ResponseCodeDocNotOpen DocPagesSetName400ResponseCode = "DocNotOpen" + DocPagesSetName400ResponseCodeDocOpenFailed DocPagesSetName400ResponseCode = "DocOpenFailed" + DocPagesSetName400ResponseCodeDocPasswordRequired DocPagesSetName400ResponseCode = "DocPasswordRequired" + DocPagesSetName400ResponseCodeDocPasswordIncorrect DocPagesSetName400ResponseCode = "DocPasswordIncorrect" + DocPagesSetName400ResponseCodeSharePasswordRequired DocPagesSetName400ResponseCode = "SharePasswordRequired" + DocPagesSetName400ResponseCodeAborted DocPagesSetName400ResponseCode = "Aborted" + DocPagesSetName400ResponseCodeNetwork DocPagesSetName400ResponseCode = "Network" + DocPagesSetName400ResponseCodeUnauthenticated DocPagesSetName400ResponseCode = "Unauthenticated" + DocPagesSetName400ResponseCodeForbidden DocPagesSetName400ResponseCode = "Forbidden" + DocPagesSetName400ResponseCodeNotFound DocPagesSetName400ResponseCode = "NotFound" + DocPagesSetName400ResponseCodeWireFormat DocPagesSetName400ResponseCode = "WireFormat" + DocPagesSetName400ResponseCodeRuntimeUnavailable DocPagesSetName400ResponseCode = "RuntimeUnavailable" + DocPagesSetName400ResponseCodeInvalidReference DocPagesSetName400ResponseCode = "InvalidReference" + DocPagesSetName400ResponseCodeWeakAnnotationSessionConflict DocPagesSetName400ResponseCode = "WeakAnnotationSessionConflict" + DocPagesSetName400ResponseCodeLayerVersionConflict DocPagesSetName400ResponseCode = "LayerVersionConflict" + DocPagesSetName400ResponseCodeNotImplemented DocPagesSetName400ResponseCode = "NotImplemented" + DocPagesSetName400ResponseCodeMalformedPdf DocPagesSetName400ResponseCode = "MalformedPdf" +) + +func NewDocPagesSetName400ResponseCodeFromString(s string) (DocPagesSetName400ResponseCode, error) { switch s { case "Unknown": - return DocPagesRotate400ResponseCodeUnknown, nil + return DocPagesSetName400ResponseCodeUnknown, nil case "InvalidArg": - return DocPagesRotate400ResponseCodeInvalidArg, nil + return DocPagesSetName400ResponseCodeInvalidArg, nil case "DocNotOpen": - return DocPagesRotate400ResponseCodeDocNotOpen, nil + return DocPagesSetName400ResponseCodeDocNotOpen, nil case "DocOpenFailed": - return DocPagesRotate400ResponseCodeDocOpenFailed, nil + return DocPagesSetName400ResponseCodeDocOpenFailed, nil case "DocPasswordRequired": - return DocPagesRotate400ResponseCodeDocPasswordRequired, nil + return DocPagesSetName400ResponseCodeDocPasswordRequired, nil case "DocPasswordIncorrect": - return DocPagesRotate400ResponseCodeDocPasswordIncorrect, nil + return DocPagesSetName400ResponseCodeDocPasswordIncorrect, nil case "SharePasswordRequired": - return DocPagesRotate400ResponseCodeSharePasswordRequired, nil + return DocPagesSetName400ResponseCodeSharePasswordRequired, nil case "Aborted": - return DocPagesRotate400ResponseCodeAborted, nil + return DocPagesSetName400ResponseCodeAborted, nil case "Network": - return DocPagesRotate400ResponseCodeNetwork, nil + return DocPagesSetName400ResponseCodeNetwork, nil case "Unauthenticated": - return DocPagesRotate400ResponseCodeUnauthenticated, nil + return DocPagesSetName400ResponseCodeUnauthenticated, nil case "Forbidden": - return DocPagesRotate400ResponseCodeForbidden, nil + return DocPagesSetName400ResponseCodeForbidden, nil case "NotFound": - return DocPagesRotate400ResponseCodeNotFound, nil + return DocPagesSetName400ResponseCodeNotFound, nil case "WireFormat": - return DocPagesRotate400ResponseCodeWireFormat, nil + return DocPagesSetName400ResponseCodeWireFormat, nil case "RuntimeUnavailable": - return DocPagesRotate400ResponseCodeRuntimeUnavailable, nil + return DocPagesSetName400ResponseCodeRuntimeUnavailable, nil case "InvalidReference": - return DocPagesRotate400ResponseCodeInvalidReference, nil + return DocPagesSetName400ResponseCodeInvalidReference, nil case "WeakAnnotationSessionConflict": - return DocPagesRotate400ResponseCodeWeakAnnotationSessionConflict, nil + return DocPagesSetName400ResponseCodeWeakAnnotationSessionConflict, nil case "LayerVersionConflict": - return DocPagesRotate400ResponseCodeLayerVersionConflict, nil + return DocPagesSetName400ResponseCodeLayerVersionConflict, nil case "NotImplemented": - return DocPagesRotate400ResponseCodeNotImplemented, nil + return DocPagesSetName400ResponseCodeNotImplemented, nil case "MalformedPdf": - return DocPagesRotate400ResponseCodeMalformedPdf, nil + return DocPagesSetName400ResponseCodeMalformedPdf, nil } - var t DocPagesRotate400ResponseCode + var t DocPagesSetName400ResponseCode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesRotate400ResponseCode) Ptr() *DocPagesRotate400ResponseCode { +func (d DocPagesSetName400ResponseCode) Ptr() *DocPagesSetName400ResponseCode { return &d } -type DocPagesRotate400ResponseName string +type DocPagesSetName400ResponseName string const ( - DocPagesRotate400ResponseNameEngineError DocPagesRotate400ResponseName = "EngineError" + DocPagesSetName400ResponseNameEngineError DocPagesSetName400ResponseName = "EngineError" ) -func NewDocPagesRotate400ResponseNameFromString(s string) (DocPagesRotate400ResponseName, error) { +func NewDocPagesSetName400ResponseNameFromString(s string) (DocPagesSetName400ResponseName, error) { switch s { case "EngineError": - return DocPagesRotate400ResponseNameEngineError, nil + return DocPagesSetName400ResponseNameEngineError, nil } - var t DocPagesRotate400ResponseName + var t DocPagesSetName400ResponseName return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesRotate400ResponseName) Ptr() *DocPagesRotate400ResponseName { +func (d DocPagesSetName400ResponseName) Ptr() *DocPagesSetName400ResponseName { return &d } var ( - docPagesRotate404ResponseFieldName = big.NewInt(1 << 0) - docPagesRotate404ResponseFieldCode = big.NewInt(1 << 1) - docPagesRotate404ResponseFieldMessage = big.NewInt(1 << 2) - docPagesRotate404ResponseFieldDetails = big.NewInt(1 << 3) + docPagesSetName404ResponseFieldName = big.NewInt(1 << 0) + docPagesSetName404ResponseFieldCode = big.NewInt(1 << 1) + docPagesSetName404ResponseFieldMessage = big.NewInt(1 << 2) + docPagesSetName404ResponseFieldDetails = big.NewInt(1 << 3) ) -type DocPagesRotate404Response struct { - Name DocPagesRotate404ResponseName `json:"name" url:"name"` - Code DocPagesRotate404ResponseCode `json:"code" url:"code"` - Message string `json:"message" url:"message"` - Details map[string]any `json:"details,omitempty" url:"details,omitempty"` +type DocPagesSetName404Response struct { + Name DocPagesSetName404ResponseName `json:"name" url:"name"` + Code DocPagesSetName404ResponseCode `json:"code" url:"code"` + Message string `json:"message" url:"message"` + Details map[string]any `json:"details,omitempty" url:"details,omitempty"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` @@ -138094,42 +142978,42 @@ type DocPagesRotate404Response struct { rawJSON json.RawMessage } -func (d *DocPagesRotate404Response) GetName() DocPagesRotate404ResponseName { +func (d *DocPagesSetName404Response) GetName() DocPagesSetName404ResponseName { if d == nil { return "" } return d.Name } -func (d *DocPagesRotate404Response) GetCode() DocPagesRotate404ResponseCode { +func (d *DocPagesSetName404Response) GetCode() DocPagesSetName404ResponseCode { if d == nil { return "" } return d.Code } -func (d *DocPagesRotate404Response) GetMessage() string { +func (d *DocPagesSetName404Response) GetMessage() string { if d == nil { return "" } return d.Message } -func (d *DocPagesRotate404Response) GetDetails() map[string]any { +func (d *DocPagesSetName404Response) GetDetails() map[string]any { if d == nil { return nil } return d.Details } -func (d *DocPagesRotate404Response) GetExtraProperties() map[string]interface{} { +func (d *DocPagesSetName404Response) GetExtraProperties() map[string]interface{} { if d == nil { return nil } return d.extraProperties } -func (d *DocPagesRotate404Response) require(field *big.Int) { +func (d *DocPagesSetName404Response) require(field *big.Int) { if d.explicitFields == nil { d.explicitFields = big.NewInt(0) } @@ -138138,39 +143022,39 @@ func (d *DocPagesRotate404Response) require(field *big.Int) { // SetName sets the Name field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate404Response) SetName(name DocPagesRotate404ResponseName) { +func (d *DocPagesSetName404Response) SetName(name DocPagesSetName404ResponseName) { d.Name = name - d.require(docPagesRotate404ResponseFieldName) + d.require(docPagesSetName404ResponseFieldName) } // SetCode sets the Code field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate404Response) SetCode(code DocPagesRotate404ResponseCode) { +func (d *DocPagesSetName404Response) SetCode(code DocPagesSetName404ResponseCode) { d.Code = code - d.require(docPagesRotate404ResponseFieldCode) + d.require(docPagesSetName404ResponseFieldCode) } // SetMessage sets the Message field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate404Response) SetMessage(message string) { +func (d *DocPagesSetName404Response) SetMessage(message string) { d.Message = message - d.require(docPagesRotate404ResponseFieldMessage) + d.require(docPagesSetName404ResponseFieldMessage) } // SetDetails sets the Details field and marks it as non-optional; // this prevents an empty or null value for this field from being omitted during serialization. -func (d *DocPagesRotate404Response) SetDetails(details map[string]any) { +func (d *DocPagesSetName404Response) SetDetails(details map[string]any) { d.Details = details - d.require(docPagesRotate404ResponseFieldDetails) + d.require(docPagesSetName404ResponseFieldDetails) } -func (d *DocPagesRotate404Response) UnmarshalJSON(data []byte) error { - type unmarshaler DocPagesRotate404Response +func (d *DocPagesSetName404Response) UnmarshalJSON(data []byte) error { + type unmarshaler DocPagesSetName404Response var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *d = DocPagesRotate404Response(value) + *d = DocPagesSetName404Response(value) extraProperties, err := internal.ExtractExtraProperties(data, *d) if err != nil { return err @@ -138180,8 +143064,8 @@ func (d *DocPagesRotate404Response) UnmarshalJSON(data []byte) error { return nil } -func (d *DocPagesRotate404Response) MarshalJSON() ([]byte, error) { - type embed DocPagesRotate404Response +func (d *DocPagesSetName404Response) MarshalJSON() ([]byte, error) { + type embed DocPagesSetName404Response var marshaler = struct { embed }{ @@ -138191,7 +143075,7 @@ func (d *DocPagesRotate404Response) MarshalJSON() ([]byte, error) { return json.Marshal(explicitMarshaler) } -func (d *DocPagesRotate404Response) String() string { +func (d *DocPagesSetName404Response) String() string { if d == nil { return "" } @@ -138206,99 +143090,99 @@ func (d *DocPagesRotate404Response) String() string { return fmt.Sprintf("%#v", d) } -type DocPagesRotate404ResponseCode string +type DocPagesSetName404ResponseCode string const ( - DocPagesRotate404ResponseCodeUnknown DocPagesRotate404ResponseCode = "Unknown" - DocPagesRotate404ResponseCodeInvalidArg DocPagesRotate404ResponseCode = "InvalidArg" - DocPagesRotate404ResponseCodeDocNotOpen DocPagesRotate404ResponseCode = "DocNotOpen" - DocPagesRotate404ResponseCodeDocOpenFailed DocPagesRotate404ResponseCode = "DocOpenFailed" - DocPagesRotate404ResponseCodeDocPasswordRequired DocPagesRotate404ResponseCode = "DocPasswordRequired" - DocPagesRotate404ResponseCodeDocPasswordIncorrect DocPagesRotate404ResponseCode = "DocPasswordIncorrect" - DocPagesRotate404ResponseCodeSharePasswordRequired DocPagesRotate404ResponseCode = "SharePasswordRequired" - DocPagesRotate404ResponseCodeAborted DocPagesRotate404ResponseCode = "Aborted" - DocPagesRotate404ResponseCodeNetwork DocPagesRotate404ResponseCode = "Network" - DocPagesRotate404ResponseCodeUnauthenticated DocPagesRotate404ResponseCode = "Unauthenticated" - DocPagesRotate404ResponseCodeForbidden DocPagesRotate404ResponseCode = "Forbidden" - DocPagesRotate404ResponseCodeNotFound DocPagesRotate404ResponseCode = "NotFound" - DocPagesRotate404ResponseCodeWireFormat DocPagesRotate404ResponseCode = "WireFormat" - DocPagesRotate404ResponseCodeRuntimeUnavailable DocPagesRotate404ResponseCode = "RuntimeUnavailable" - DocPagesRotate404ResponseCodeInvalidReference DocPagesRotate404ResponseCode = "InvalidReference" - DocPagesRotate404ResponseCodeWeakAnnotationSessionConflict DocPagesRotate404ResponseCode = "WeakAnnotationSessionConflict" - DocPagesRotate404ResponseCodeLayerVersionConflict DocPagesRotate404ResponseCode = "LayerVersionConflict" - DocPagesRotate404ResponseCodeNotImplemented DocPagesRotate404ResponseCode = "NotImplemented" - DocPagesRotate404ResponseCodeMalformedPdf DocPagesRotate404ResponseCode = "MalformedPdf" -) - -func NewDocPagesRotate404ResponseCodeFromString(s string) (DocPagesRotate404ResponseCode, error) { + DocPagesSetName404ResponseCodeUnknown DocPagesSetName404ResponseCode = "Unknown" + DocPagesSetName404ResponseCodeInvalidArg DocPagesSetName404ResponseCode = "InvalidArg" + DocPagesSetName404ResponseCodeDocNotOpen DocPagesSetName404ResponseCode = "DocNotOpen" + DocPagesSetName404ResponseCodeDocOpenFailed DocPagesSetName404ResponseCode = "DocOpenFailed" + DocPagesSetName404ResponseCodeDocPasswordRequired DocPagesSetName404ResponseCode = "DocPasswordRequired" + DocPagesSetName404ResponseCodeDocPasswordIncorrect DocPagesSetName404ResponseCode = "DocPasswordIncorrect" + DocPagesSetName404ResponseCodeSharePasswordRequired DocPagesSetName404ResponseCode = "SharePasswordRequired" + DocPagesSetName404ResponseCodeAborted DocPagesSetName404ResponseCode = "Aborted" + DocPagesSetName404ResponseCodeNetwork DocPagesSetName404ResponseCode = "Network" + DocPagesSetName404ResponseCodeUnauthenticated DocPagesSetName404ResponseCode = "Unauthenticated" + DocPagesSetName404ResponseCodeForbidden DocPagesSetName404ResponseCode = "Forbidden" + DocPagesSetName404ResponseCodeNotFound DocPagesSetName404ResponseCode = "NotFound" + DocPagesSetName404ResponseCodeWireFormat DocPagesSetName404ResponseCode = "WireFormat" + DocPagesSetName404ResponseCodeRuntimeUnavailable DocPagesSetName404ResponseCode = "RuntimeUnavailable" + DocPagesSetName404ResponseCodeInvalidReference DocPagesSetName404ResponseCode = "InvalidReference" + DocPagesSetName404ResponseCodeWeakAnnotationSessionConflict DocPagesSetName404ResponseCode = "WeakAnnotationSessionConflict" + DocPagesSetName404ResponseCodeLayerVersionConflict DocPagesSetName404ResponseCode = "LayerVersionConflict" + DocPagesSetName404ResponseCodeNotImplemented DocPagesSetName404ResponseCode = "NotImplemented" + DocPagesSetName404ResponseCodeMalformedPdf DocPagesSetName404ResponseCode = "MalformedPdf" +) + +func NewDocPagesSetName404ResponseCodeFromString(s string) (DocPagesSetName404ResponseCode, error) { switch s { case "Unknown": - return DocPagesRotate404ResponseCodeUnknown, nil + return DocPagesSetName404ResponseCodeUnknown, nil case "InvalidArg": - return DocPagesRotate404ResponseCodeInvalidArg, nil + return DocPagesSetName404ResponseCodeInvalidArg, nil case "DocNotOpen": - return DocPagesRotate404ResponseCodeDocNotOpen, nil + return DocPagesSetName404ResponseCodeDocNotOpen, nil case "DocOpenFailed": - return DocPagesRotate404ResponseCodeDocOpenFailed, nil + return DocPagesSetName404ResponseCodeDocOpenFailed, nil case "DocPasswordRequired": - return DocPagesRotate404ResponseCodeDocPasswordRequired, nil + return DocPagesSetName404ResponseCodeDocPasswordRequired, nil case "DocPasswordIncorrect": - return DocPagesRotate404ResponseCodeDocPasswordIncorrect, nil + return DocPagesSetName404ResponseCodeDocPasswordIncorrect, nil case "SharePasswordRequired": - return DocPagesRotate404ResponseCodeSharePasswordRequired, nil + return DocPagesSetName404ResponseCodeSharePasswordRequired, nil case "Aborted": - return DocPagesRotate404ResponseCodeAborted, nil + return DocPagesSetName404ResponseCodeAborted, nil case "Network": - return DocPagesRotate404ResponseCodeNetwork, nil + return DocPagesSetName404ResponseCodeNetwork, nil case "Unauthenticated": - return DocPagesRotate404ResponseCodeUnauthenticated, nil + return DocPagesSetName404ResponseCodeUnauthenticated, nil case "Forbidden": - return DocPagesRotate404ResponseCodeForbidden, nil + return DocPagesSetName404ResponseCodeForbidden, nil case "NotFound": - return DocPagesRotate404ResponseCodeNotFound, nil + return DocPagesSetName404ResponseCodeNotFound, nil case "WireFormat": - return DocPagesRotate404ResponseCodeWireFormat, nil + return DocPagesSetName404ResponseCodeWireFormat, nil case "RuntimeUnavailable": - return DocPagesRotate404ResponseCodeRuntimeUnavailable, nil + return DocPagesSetName404ResponseCodeRuntimeUnavailable, nil case "InvalidReference": - return DocPagesRotate404ResponseCodeInvalidReference, nil + return DocPagesSetName404ResponseCodeInvalidReference, nil case "WeakAnnotationSessionConflict": - return DocPagesRotate404ResponseCodeWeakAnnotationSessionConflict, nil + return DocPagesSetName404ResponseCodeWeakAnnotationSessionConflict, nil case "LayerVersionConflict": - return DocPagesRotate404ResponseCodeLayerVersionConflict, nil + return DocPagesSetName404ResponseCodeLayerVersionConflict, nil case "NotImplemented": - return DocPagesRotate404ResponseCodeNotImplemented, nil + return DocPagesSetName404ResponseCodeNotImplemented, nil case "MalformedPdf": - return DocPagesRotate404ResponseCodeMalformedPdf, nil + return DocPagesSetName404ResponseCodeMalformedPdf, nil } - var t DocPagesRotate404ResponseCode + var t DocPagesSetName404ResponseCode return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesRotate404ResponseCode) Ptr() *DocPagesRotate404ResponseCode { +func (d DocPagesSetName404ResponseCode) Ptr() *DocPagesSetName404ResponseCode { return &d } -type DocPagesRotate404ResponseName string +type DocPagesSetName404ResponseName string const ( - DocPagesRotate404ResponseNameEngineError DocPagesRotate404ResponseName = "EngineError" + DocPagesSetName404ResponseNameEngineError DocPagesSetName404ResponseName = "EngineError" ) -func NewDocPagesRotate404ResponseNameFromString(s string) (DocPagesRotate404ResponseName, error) { +func NewDocPagesSetName404ResponseNameFromString(s string) (DocPagesSetName404ResponseName, error) { switch s { case "EngineError": - return DocPagesRotate404ResponseNameEngineError, nil + return DocPagesSetName404ResponseNameEngineError, nil } - var t DocPagesRotate404ResponseName + var t DocPagesSetName404ResponseName return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (d DocPagesRotate404ResponseName) Ptr() *DocPagesRotate404ResponseName { +func (d DocPagesSetName404ResponseName) Ptr() *DocPagesSetName404ResponseName { return &d } -type DocPagesRotateRequest = map[string]any +type DocPagesSetNameRequest = map[string]any var ( docRedactionsApply200ResponseFieldMeta = big.NewInt(1 << 0) diff --git a/types_test.go b/types_test.go index cc6a4d6..6a9e720 100644 --- a/types_test.go +++ b/types_test.go @@ -3745,6 +3745,2434 @@ func TestSettersMarkExplicitDocAnnotationsDelete404Response(t *testing.T) { } +func TestSettersDocAnnotationsExportAppearance400Response(t *testing.T) { + t.Run("SetName", func(t *testing.T) { + obj := &DocAnnotationsExportAppearance400Response{} + var fernTestValueName DocAnnotationsExportAppearance400ResponseName + obj.SetName(fernTestValueName) + assert.Equal(t, fernTestValueName, obj.Name) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetCode", func(t *testing.T) { + obj := &DocAnnotationsExportAppearance400Response{} + var fernTestValueCode DocAnnotationsExportAppearance400ResponseCode + obj.SetCode(fernTestValueCode) + assert.Equal(t, fernTestValueCode, obj.Code) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetMessage", func(t *testing.T) { + obj := &DocAnnotationsExportAppearance400Response{} + var fernTestValueMessage string + obj.SetMessage(fernTestValueMessage) + assert.Equal(t, fernTestValueMessage, obj.Message) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetDetails", func(t *testing.T) { + obj := &DocAnnotationsExportAppearance400Response{} + var fernTestValueDetails map[string]any + obj.SetDetails(fernTestValueDetails) + assert.Equal(t, fernTestValueDetails, obj.Details) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsExportAppearance400Response(t *testing.T) { + t.Run("GetName", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsExportAppearance400Response{} + var expected DocAnnotationsExportAppearance400ResponseName + obj.Name = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetName(), "getter should return the property value") + }) + + t.Run("GetName_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsExportAppearance400Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetName() // Should return zero value + }) + + t.Run("GetCode", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsExportAppearance400Response{} + var expected DocAnnotationsExportAppearance400ResponseCode + obj.Code = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetCode(), "getter should return the property value") + }) + + t.Run("GetCode_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsExportAppearance400Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetCode() // Should return zero value + }) + + t.Run("GetMessage", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsExportAppearance400Response{} + var expected string + obj.Message = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") + }) + + t.Run("GetMessage_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsExportAppearance400Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetMessage() // Should return zero value + }) + + t.Run("GetDetails", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsExportAppearance400Response{} + var expected map[string]any + obj.Details = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") + }) + + t.Run("GetDetails_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsExportAppearance400Response{} + obj.Details = nil + + // Act & Assert + assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") + }) + + t.Run("GetDetails_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsExportAppearance400Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetDetails() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocAnnotationsExportAppearance400Response(t *testing.T) { + t.Run("SetName_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsExportAppearance400Response{} + var fernTestValueName DocAnnotationsExportAppearance400ResponseName + + // Act + obj.SetName(fernTestValueName) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetCode_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsExportAppearance400Response{} + var fernTestValueCode DocAnnotationsExportAppearance400ResponseCode + + // Act + obj.SetCode(fernTestValueCode) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetMessage_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsExportAppearance400Response{} + var fernTestValueMessage string + + // Act + obj.SetMessage(fernTestValueMessage) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetDetails_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsExportAppearance400Response{} + var fernTestValueDetails map[string]any + + // Act + obj.SetDetails(fernTestValueDetails) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocAnnotationsExportAppearance404Response(t *testing.T) { + t.Run("SetName", func(t *testing.T) { + obj := &DocAnnotationsExportAppearance404Response{} + var fernTestValueName DocAnnotationsExportAppearance404ResponseName + obj.SetName(fernTestValueName) + assert.Equal(t, fernTestValueName, obj.Name) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetCode", func(t *testing.T) { + obj := &DocAnnotationsExportAppearance404Response{} + var fernTestValueCode DocAnnotationsExportAppearance404ResponseCode + obj.SetCode(fernTestValueCode) + assert.Equal(t, fernTestValueCode, obj.Code) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetMessage", func(t *testing.T) { + obj := &DocAnnotationsExportAppearance404Response{} + var fernTestValueMessage string + obj.SetMessage(fernTestValueMessage) + assert.Equal(t, fernTestValueMessage, obj.Message) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetDetails", func(t *testing.T) { + obj := &DocAnnotationsExportAppearance404Response{} + var fernTestValueDetails map[string]any + obj.SetDetails(fernTestValueDetails) + assert.Equal(t, fernTestValueDetails, obj.Details) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsExportAppearance404Response(t *testing.T) { + t.Run("GetName", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsExportAppearance404Response{} + var expected DocAnnotationsExportAppearance404ResponseName + obj.Name = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetName(), "getter should return the property value") + }) + + t.Run("GetName_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsExportAppearance404Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetName() // Should return zero value + }) + + t.Run("GetCode", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsExportAppearance404Response{} + var expected DocAnnotationsExportAppearance404ResponseCode + obj.Code = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetCode(), "getter should return the property value") + }) + + t.Run("GetCode_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsExportAppearance404Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetCode() // Should return zero value + }) + + t.Run("GetMessage", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsExportAppearance404Response{} + var expected string + obj.Message = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") + }) + + t.Run("GetMessage_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsExportAppearance404Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetMessage() // Should return zero value + }) + + t.Run("GetDetails", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsExportAppearance404Response{} + var expected map[string]any + obj.Details = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") + }) + + t.Run("GetDetails_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsExportAppearance404Response{} + obj.Details = nil + + // Act & Assert + assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") + }) + + t.Run("GetDetails_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsExportAppearance404Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetDetails() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocAnnotationsExportAppearance404Response(t *testing.T) { + t.Run("SetName_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsExportAppearance404Response{} + var fernTestValueName DocAnnotationsExportAppearance404ResponseName + + // Act + obj.SetName(fernTestValueName) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetCode_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsExportAppearance404Response{} + var fernTestValueCode DocAnnotationsExportAppearance404ResponseCode + + // Act + obj.SetCode(fernTestValueCode) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetMessage_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsExportAppearance404Response{} + var fernTestValueMessage string + + // Act + obj.SetMessage(fernTestValueMessage) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetDetails_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsExportAppearance404Response{} + var fernTestValueDetails map[string]any + + // Act + obj.SetDetails(fernTestValueDetails) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocAnnotationsFlatten200Response(t *testing.T) { + t.Run("SetMeta", func(t *testing.T) { + obj := &DocAnnotationsFlatten200Response{} + var fernTestValueMeta *DocAnnotationsFlatten200ResponseMeta + obj.SetMeta(fernTestValueMeta) + assert.Equal(t, fernTestValueMeta, obj.Meta) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsFlatten200Response(t *testing.T) { + t.Run("GetMeta", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200Response{} + var expected *DocAnnotationsFlatten200ResponseMeta + obj.Meta = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetMeta(), "getter should return the property value") + }) + + t.Run("GetMeta_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200Response{} + obj.Meta = nil + + // Act & Assert + assert.Nil(t, obj.GetMeta(), "getter should return nil when property is nil") + }) + + t.Run("GetMeta_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetMeta() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocAnnotationsFlatten200Response(t *testing.T) { + t.Run("SetMeta_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200Response{} + var fernTestValueMeta *DocAnnotationsFlatten200ResponseMeta + + // Act + obj.SetMeta(fernTestValueMeta) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocAnnotationsFlatten200ResponseMeta(t *testing.T) { + t.Run("SetAffectedPages", func(t *testing.T) { + obj := &DocAnnotationsFlatten200ResponseMeta{} + var fernTestValueAffectedPages []*DocAnnotationsFlatten200ResponseMetaAffectedPagesItem + obj.SetAffectedPages(fernTestValueAffectedPages) + assert.Equal(t, fernTestValueAffectedPages, obj.AffectedPages) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetCacheDelta", func(t *testing.T) { + obj := &DocAnnotationsFlatten200ResponseMeta{} + var fernTestValueCacheDelta *DocAnnotationsFlatten200ResponseMetaCacheDelta + obj.SetCacheDelta(fernTestValueCacheDelta) + assert.Equal(t, fernTestValueCacheDelta, obj.CacheDelta) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsFlatten200ResponseMeta(t *testing.T) { + t.Run("GetAffectedPages", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMeta{} + var expected []*DocAnnotationsFlatten200ResponseMetaAffectedPagesItem + obj.AffectedPages = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetAffectedPages(), "getter should return the property value") + }) + + t.Run("GetAffectedPages_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMeta{} + obj.AffectedPages = nil + + // Act & Assert + assert.Nil(t, obj.GetAffectedPages(), "getter should return nil when property is nil") + }) + + t.Run("GetAffectedPages_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMeta + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetAffectedPages() // Should return zero value + }) + + t.Run("GetCacheDelta", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMeta{} + var expected *DocAnnotationsFlatten200ResponseMetaCacheDelta + obj.CacheDelta = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetCacheDelta(), "getter should return the property value") + }) + + t.Run("GetCacheDelta_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMeta{} + obj.CacheDelta = nil + + // Act & Assert + assert.Nil(t, obj.GetCacheDelta(), "getter should return nil when property is nil") + }) + + t.Run("GetCacheDelta_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMeta + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetCacheDelta() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocAnnotationsFlatten200ResponseMeta(t *testing.T) { + t.Run("SetAffectedPages_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMeta{} + var fernTestValueAffectedPages []*DocAnnotationsFlatten200ResponseMetaAffectedPagesItem + + // Act + obj.SetAffectedPages(fernTestValueAffectedPages) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetCacheDelta_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMeta{} + var fernTestValueCacheDelta *DocAnnotationsFlatten200ResponseMetaCacheDelta + + // Act + obj.SetCacheDelta(fernTestValueCacheDelta) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocAnnotationsFlatten200ResponseMetaAffectedPagesItem(t *testing.T) { + t.Run("SetPageObjectNumber", func(t *testing.T) { + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItem{} + var fernTestValuePageObjectNumber int + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetRevision", func(t *testing.T) { + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision + obj.SetRevision(fernTestValueRevision) + assert.Equal(t, fernTestValueRevision, obj.Revision) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetWeakAnnotationState", func(t *testing.T) { + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState + obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) + assert.Equal(t, fernTestValueWeakAnnotationState, obj.WeakAnnotationState) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsFlatten200ResponseMetaAffectedPagesItem(t *testing.T) { + t.Run("GetPageObjectNumber", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItem{} + var expected int + obj.PageObjectNumber = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + }) + + t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaAffectedPagesItem + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetPageObjectNumber() // Should return zero value + }) + + t.Run("GetRevision", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItem{} + var expected *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision + obj.Revision = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetRevision(), "getter should return the property value") + }) + + t.Run("GetRevision_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItem{} + obj.Revision = nil + + // Act & Assert + assert.Nil(t, obj.GetRevision(), "getter should return nil when property is nil") + }) + + t.Run("GetRevision_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaAffectedPagesItem + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetRevision() // Should return zero value + }) + + t.Run("GetWeakAnnotationState", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItem{} + var expected *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState + obj.WeakAnnotationState = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetWeakAnnotationState(), "getter should return the property value") + }) + + t.Run("GetWeakAnnotationState_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItem{} + obj.WeakAnnotationState = nil + + // Act & Assert + assert.Nil(t, obj.GetWeakAnnotationState(), "getter should return nil when property is nil") + }) + + t.Run("GetWeakAnnotationState_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaAffectedPagesItem + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetWeakAnnotationState() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocAnnotationsFlatten200ResponseMetaAffectedPagesItem(t *testing.T) { + t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItem{} + var fernTestValuePageObjectNumber int + + // Act + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetRevision_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision + + // Act + obj.SetRevision(fernTestValueRevision) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetWeakAnnotationState_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState + + // Act + obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision(t *testing.T) { + t.Run("SetDocSessionID", func(t *testing.T) { + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision{} + var fernTestValueDocSessionID string + obj.SetDocSessionID(fernTestValueDocSessionID) + assert.Equal(t, fernTestValueDocSessionID, obj.DocSessionID) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetPageObjectNumber", func(t *testing.T) { + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision{} + var fernTestValuePageObjectNumber int + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetGeneration", func(t *testing.T) { + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision{} + var fernTestValueGeneration int + obj.SetGeneration(fernTestValueGeneration) + assert.Equal(t, fernTestValueGeneration, obj.Generation) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision(t *testing.T) { + t.Run("GetDocSessionID", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision{} + var expected string + obj.DocSessionID = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetDocSessionID(), "getter should return the property value") + }) + + t.Run("GetDocSessionID_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetDocSessionID() // Should return zero value + }) + + t.Run("GetPageObjectNumber", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision{} + var expected int + obj.PageObjectNumber = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + }) + + t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetPageObjectNumber() // Should return zero value + }) + + t.Run("GetGeneration", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision{} + var expected int + obj.Generation = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetGeneration(), "getter should return the property value") + }) + + t.Run("GetGeneration_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetGeneration() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision(t *testing.T) { + t.Run("SetDocSessionID_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision{} + var fernTestValueDocSessionID string + + // Act + obj.SetDocSessionID(fernTestValueDocSessionID) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision{} + var fernTestValuePageObjectNumber int + + // Act + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetGeneration_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision{} + var fernTestValueGeneration int + + // Act + obj.SetGeneration(fernTestValueGeneration) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestGettersDocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { + t.Run("GetKind", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected string + obj.Kind = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetKind(), "getter should return the property value") + }) + + t.Run("GetKind_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetKind() // Should return zero value + }) + + t.Run("GetUnknown", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + obj.Unknown = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetUnknown(), "getter should return the property value") + }) + + t.Run("GetUnknown_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj.Unknown = nil + + // Act & Assert + assert.Nil(t, obj.GetUnknown(), "getter should return nil when property is nil") + }) + + t.Run("GetUnknown_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetUnknown() // Should return zero value + }) + + t.Run("GetKnown", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + obj.Known = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetKnown(), "getter should return the property value") + }) + + t.Run("GetKnown_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj.Known = nil + + // Act & Assert + assert.Nil(t, obj.GetKnown(), "getter should return nil when property is nil") + }) + + t.Run("GetKnown_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetKnown() // Should return zero value + }) + +} + +func TestSettersDocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("SetHasAnyWeakAnnotations", func(t *testing.T) { + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + var fernTestValueHasAnyWeakAnnotations bool + obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) + assert.Equal(t, fernTestValueHasAnyWeakAnnotations, obj.HasAnyWeakAnnotations) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("GetHasAnyWeakAnnotations", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + var expected bool + obj.HasAnyWeakAnnotations = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetHasAnyWeakAnnotations(), "getter should return the property value") + }) + + t.Run("GetHasAnyWeakAnnotations_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetHasAnyWeakAnnotations() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("SetHasAnyWeakAnnotations_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + var fernTestValueHasAnyWeakAnnotations bool + + // Act + obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocAnnotationsFlatten200ResponseMetaCacheDelta(t *testing.T) { + t.Run("SetPreviousDocVersion", func(t *testing.T) { + obj := &DocAnnotationsFlatten200ResponseMetaCacheDelta{} + var fernTestValuePreviousDocVersion int + obj.SetPreviousDocVersion(fernTestValuePreviousDocVersion) + assert.Equal(t, fernTestValuePreviousDocVersion, obj.PreviousDocVersion) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetDocVersion", func(t *testing.T) { + obj := &DocAnnotationsFlatten200ResponseMetaCacheDelta{} + var fernTestValueDocVersion int + obj.SetDocVersion(fernTestValueDocVersion) + assert.Equal(t, fernTestValueDocVersion, obj.DocVersion) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetAnnotationsVersion", func(t *testing.T) { + obj := &DocAnnotationsFlatten200ResponseMetaCacheDelta{} + var fernTestValueAnnotationsVersion *int + obj.SetAnnotationsVersion(fernTestValueAnnotationsVersion) + assert.Equal(t, fernTestValueAnnotationsVersion, obj.AnnotationsVersion) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetPages", func(t *testing.T) { + obj := &DocAnnotationsFlatten200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem + obj.SetPages(fernTestValuePages) + assert.Equal(t, fernTestValuePages, obj.Pages) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsFlatten200ResponseMetaCacheDelta(t *testing.T) { + t.Run("GetPreviousDocVersion", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaCacheDelta{} + var expected int + obj.PreviousDocVersion = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetPreviousDocVersion(), "getter should return the property value") + }) + + t.Run("GetPreviousDocVersion_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaCacheDelta + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetPreviousDocVersion() // Should return zero value + }) + + t.Run("GetDocVersion", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaCacheDelta{} + var expected int + obj.DocVersion = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetDocVersion(), "getter should return the property value") + }) + + t.Run("GetDocVersion_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaCacheDelta + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetDocVersion() // Should return zero value + }) + + t.Run("GetAnnotationsVersion", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaCacheDelta{} + var expected *int + obj.AnnotationsVersion = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetAnnotationsVersion(), "getter should return the property value") + }) + + t.Run("GetAnnotationsVersion_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaCacheDelta{} + obj.AnnotationsVersion = nil + + // Act & Assert + assert.Nil(t, obj.GetAnnotationsVersion(), "getter should return nil when property is nil") + }) + + t.Run("GetAnnotationsVersion_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaCacheDelta + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetAnnotationsVersion() // Should return zero value + }) + + t.Run("GetPages", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaCacheDelta{} + var expected []*DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem + obj.Pages = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetPages(), "getter should return the property value") + }) + + t.Run("GetPages_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaCacheDelta{} + obj.Pages = nil + + // Act & Assert + assert.Nil(t, obj.GetPages(), "getter should return nil when property is nil") + }) + + t.Run("GetPages_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaCacheDelta + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetPages() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocAnnotationsFlatten200ResponseMetaCacheDelta(t *testing.T) { + t.Run("SetPreviousDocVersion_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaCacheDelta{} + var fernTestValuePreviousDocVersion int + + // Act + obj.SetPreviousDocVersion(fernTestValuePreviousDocVersion) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetDocVersion_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaCacheDelta{} + var fernTestValueDocVersion int + + // Act + obj.SetDocVersion(fernTestValueDocVersion) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetAnnotationsVersion_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaCacheDelta{} + var fernTestValueAnnotationsVersion *int + + // Act + obj.SetAnnotationsVersion(fernTestValueAnnotationsVersion) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetPages_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem + + // Act + obj.SetPages(fernTestValuePages) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem(t *testing.T) { + t.Run("SetPageObjectNumber", func(t *testing.T) { + obj := &DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem{} + var fernTestValuePageObjectNumber int + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetCache", func(t *testing.T) { + obj := &DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache + obj.SetCache(fernTestValueCache) + assert.Equal(t, fernTestValueCache, obj.Cache) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem(t *testing.T) { + t.Run("GetPageObjectNumber", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem{} + var expected int + obj.PageObjectNumber = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + }) + + t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetPageObjectNumber() // Should return zero value + }) + + t.Run("GetCache", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem{} + var expected *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache + obj.Cache = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetCache(), "getter should return the property value") + }) + + t.Run("GetCache_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem{} + obj.Cache = nil + + // Act & Assert + assert.Nil(t, obj.GetCache(), "getter should return nil when property is nil") + }) + + t.Run("GetCache_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetCache() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem(t *testing.T) { + t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem{} + var fernTestValuePageObjectNumber int + + // Act + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetCache_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache + + // Act + obj.SetCache(fernTestValueCache) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("SetContentVersion", func(t *testing.T) { + obj := &DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueContentVersion int + obj.SetContentVersion(fernTestValueContentVersion) + assert.Equal(t, fernTestValueContentVersion, obj.ContentVersion) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetAnnotationVersion", func(t *testing.T) { + obj := &DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueAnnotationVersion int + obj.SetAnnotationVersion(fernTestValueAnnotationVersion) + assert.Equal(t, fernTestValueAnnotationVersion, obj.AnnotationVersion) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("GetContentVersion", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache{} + var expected int + obj.ContentVersion = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetContentVersion(), "getter should return the property value") + }) + + t.Run("GetContentVersion_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetContentVersion() // Should return zero value + }) + + t.Run("GetAnnotationVersion", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache{} + var expected int + obj.AnnotationVersion = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetAnnotationVersion(), "getter should return the property value") + }) + + t.Run("GetAnnotationVersion_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetAnnotationVersion() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("SetContentVersion_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueContentVersion int + + // Act + obj.SetContentVersion(fernTestValueContentVersion) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetAnnotationVersion_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueAnnotationVersion int + + // Act + obj.SetAnnotationVersion(fernTestValueAnnotationVersion) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocAnnotationsFlatten400Response(t *testing.T) { + t.Run("SetName", func(t *testing.T) { + obj := &DocAnnotationsFlatten400Response{} + var fernTestValueName DocAnnotationsFlatten400ResponseName + obj.SetName(fernTestValueName) + assert.Equal(t, fernTestValueName, obj.Name) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetCode", func(t *testing.T) { + obj := &DocAnnotationsFlatten400Response{} + var fernTestValueCode DocAnnotationsFlatten400ResponseCode + obj.SetCode(fernTestValueCode) + assert.Equal(t, fernTestValueCode, obj.Code) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetMessage", func(t *testing.T) { + obj := &DocAnnotationsFlatten400Response{} + var fernTestValueMessage string + obj.SetMessage(fernTestValueMessage) + assert.Equal(t, fernTestValueMessage, obj.Message) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetDetails", func(t *testing.T) { + obj := &DocAnnotationsFlatten400Response{} + var fernTestValueDetails map[string]any + obj.SetDetails(fernTestValueDetails) + assert.Equal(t, fernTestValueDetails, obj.Details) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsFlatten400Response(t *testing.T) { + t.Run("GetName", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten400Response{} + var expected DocAnnotationsFlatten400ResponseName + obj.Name = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetName(), "getter should return the property value") + }) + + t.Run("GetName_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten400Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetName() // Should return zero value + }) + + t.Run("GetCode", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten400Response{} + var expected DocAnnotationsFlatten400ResponseCode + obj.Code = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetCode(), "getter should return the property value") + }) + + t.Run("GetCode_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten400Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetCode() // Should return zero value + }) + + t.Run("GetMessage", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten400Response{} + var expected string + obj.Message = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") + }) + + t.Run("GetMessage_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten400Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetMessage() // Should return zero value + }) + + t.Run("GetDetails", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten400Response{} + var expected map[string]any + obj.Details = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") + }) + + t.Run("GetDetails_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten400Response{} + obj.Details = nil + + // Act & Assert + assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") + }) + + t.Run("GetDetails_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten400Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetDetails() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocAnnotationsFlatten400Response(t *testing.T) { + t.Run("SetName_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten400Response{} + var fernTestValueName DocAnnotationsFlatten400ResponseName + + // Act + obj.SetName(fernTestValueName) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetCode_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten400Response{} + var fernTestValueCode DocAnnotationsFlatten400ResponseCode + + // Act + obj.SetCode(fernTestValueCode) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetMessage_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten400Response{} + var fernTestValueMessage string + + // Act + obj.SetMessage(fernTestValueMessage) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetDetails_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten400Response{} + var fernTestValueDetails map[string]any + + // Act + obj.SetDetails(fernTestValueDetails) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocAnnotationsFlatten404Response(t *testing.T) { + t.Run("SetName", func(t *testing.T) { + obj := &DocAnnotationsFlatten404Response{} + var fernTestValueName DocAnnotationsFlatten404ResponseName + obj.SetName(fernTestValueName) + assert.Equal(t, fernTestValueName, obj.Name) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetCode", func(t *testing.T) { + obj := &DocAnnotationsFlatten404Response{} + var fernTestValueCode DocAnnotationsFlatten404ResponseCode + obj.SetCode(fernTestValueCode) + assert.Equal(t, fernTestValueCode, obj.Code) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetMessage", func(t *testing.T) { + obj := &DocAnnotationsFlatten404Response{} + var fernTestValueMessage string + obj.SetMessage(fernTestValueMessage) + assert.Equal(t, fernTestValueMessage, obj.Message) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetDetails", func(t *testing.T) { + obj := &DocAnnotationsFlatten404Response{} + var fernTestValueDetails map[string]any + obj.SetDetails(fernTestValueDetails) + assert.Equal(t, fernTestValueDetails, obj.Details) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsFlatten404Response(t *testing.T) { + t.Run("GetName", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten404Response{} + var expected DocAnnotationsFlatten404ResponseName + obj.Name = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetName(), "getter should return the property value") + }) + + t.Run("GetName_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten404Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetName() // Should return zero value + }) + + t.Run("GetCode", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten404Response{} + var expected DocAnnotationsFlatten404ResponseCode + obj.Code = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetCode(), "getter should return the property value") + }) + + t.Run("GetCode_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten404Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetCode() // Should return zero value + }) + + t.Run("GetMessage", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten404Response{} + var expected string + obj.Message = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") + }) + + t.Run("GetMessage_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten404Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetMessage() // Should return zero value + }) + + t.Run("GetDetails", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten404Response{} + var expected map[string]any + obj.Details = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") + }) + + t.Run("GetDetails_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten404Response{} + obj.Details = nil + + // Act & Assert + assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") + }) + + t.Run("GetDetails_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten404Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetDetails() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocAnnotationsFlatten404Response(t *testing.T) { + t.Run("SetName_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten404Response{} + var fernTestValueName DocAnnotationsFlatten404ResponseName + + // Act + obj.SetName(fernTestValueName) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetCode_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten404Response{} + var fernTestValueCode DocAnnotationsFlatten404ResponseCode + + // Act + obj.SetCode(fernTestValueCode) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetMessage_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten404Response{} + var fernTestValueMessage string + + // Act + obj.SetMessage(fernTestValueMessage) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetDetails_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten404Response{} + var fernTestValueDetails map[string]any + + // Act + obj.SetDetails(fernTestValueDetails) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + func TestSettersDocAnnotationsList200Response(t *testing.T) { t.Run("SetPageState", func(t *testing.T) { obj := &DocAnnotationsList200Response{} @@ -196051,11 +198479,1019 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations t.Run("SetNoZoom_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags{} - var fernTestValueNoZoom bool + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags{} + var fernTestValueNoZoom bool + + // Act + obj.SetNoZoom(fernTestValueNoZoom) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetNoRotate_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags{} + var fernTestValueNoRotate bool + + // Act + obj.SetNoRotate(fernTestValueNoRotate) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetNoView_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags{} + var fernTestValueNoView bool + + // Act + obj.SetNoView(fernTestValueNoView) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetReadOnly_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags{} + var fernTestValueReadOnly bool + + // Act + obj.SetReadOnly(fernTestValueReadOnly) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetLocked_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags{} + var fernTestValueLocked bool + + // Act + obj.SetLocked(fernTestValueLocked) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetToggleNoView_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags{} + var fernTestValueToggleNoView bool + + // Act + obj.SetToggleNoView(fernTestValueToggleNoView) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetLockedContents_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags{} + var fernTestValueLockedContents bool + + // Act + obj.SetLockedContents(fernTestValueLockedContents) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor(t *testing.T) { + t.Run("SetR", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor{} + var fernTestValueR int + obj.SetR(fernTestValueR) + assert.Equal(t, fernTestValueR, obj.R) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetG", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor{} + var fernTestValueG int + obj.SetG(fernTestValueG) + assert.Equal(t, fernTestValueG, obj.G) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetB", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor{} + var fernTestValueB int + obj.SetB(fernTestValueB) + assert.Equal(t, fernTestValueB, obj.B) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor(t *testing.T) { + t.Run("GetR", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor{} + var expected int + obj.R = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetR(), "getter should return the property value") + }) + + t.Run("GetR_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetR() // Should return zero value + }) + + t.Run("GetG", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor{} + var expected int + obj.G = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetG(), "getter should return the property value") + }) + + t.Run("GetG_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetG() // Should return zero value + }) + + t.Run("GetB", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor{} + var expected int + obj.B = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetB(), "getter should return the property value") + }) + + t.Run("GetB_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetB() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor(t *testing.T) { + t.Run("SetR_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor{} + var fernTestValueR int + + // Act + obj.SetR(fernTestValueR) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetG_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor{} + var fernTestValueG int + + // Act + obj.SetG(fernTestValueG) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetB_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor{} + var fernTestValueB int + + // Act + obj.SetB(fernTestValueB) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo(t *testing.T) { + t.Run("GetKind", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo{} + var expected string + obj.Kind = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetKind(), "getter should return the property value") + }) + + t.Run("GetKind_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetKind() // Should return zero value + }) + + t.Run("GetObjectNumber", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo{} + var expected *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber + obj.ObjectNumber = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetObjectNumber(), "getter should return the property value") + }) + + t.Run("GetObjectNumber_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo{} + obj.ObjectNumber = nil + + // Act & Assert + assert.Nil(t, obj.GetObjectNumber(), "getter should return nil when property is nil") + }) + + t.Run("GetObjectNumber_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetObjectNumber() // Should return zero value + }) + + t.Run("GetNm", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo{} + var expected *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm + obj.Nm = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetNm(), "getter should return the property value") + }) + + t.Run("GetNm_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo{} + obj.Nm = nil + + // Act & Assert + assert.Nil(t, obj.GetNm(), "getter should return nil when property is nil") + }) + + t.Run("GetNm_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetNm() // Should return zero value + }) + + t.Run("GetIndex", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo{} + var expected *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex + obj.Index = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetIndex(), "getter should return the property value") + }) + + t.Run("GetIndex_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo{} + obj.Index = nil + + // Act & Assert + assert.Nil(t, obj.GetIndex(), "getter should return nil when property is nil") + }) + + t.Run("GetIndex_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetIndex() // Should return zero value + }) + +} + +func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex(t *testing.T) { + t.Run("SetPageObjectNumber", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex{} + var fernTestValuePageObjectNumber int + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetIndex", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex{} + var fernTestValueIndex int + obj.SetIndex(fernTestValueIndex) + assert.Equal(t, fernTestValueIndex, obj.Index) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetRevision", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex{} + var fernTestValueRevision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision + obj.SetRevision(fernTestValueRevision) + assert.Equal(t, fernTestValueRevision, obj.Revision) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex(t *testing.T) { + t.Run("GetPageObjectNumber", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex{} + var expected int + obj.PageObjectNumber = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + }) + + t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetPageObjectNumber() // Should return zero value + }) + + t.Run("GetIndex", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex{} + var expected int + obj.Index = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetIndex(), "getter should return the property value") + }) + + t.Run("GetIndex_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetIndex() // Should return zero value + }) + + t.Run("GetRevision", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex{} + var expected *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision + obj.Revision = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetRevision(), "getter should return the property value") + }) + + t.Run("GetRevision_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex{} + obj.Revision = nil + + // Act & Assert + assert.Nil(t, obj.GetRevision(), "getter should return nil when property is nil") + }) + + t.Run("GetRevision_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetRevision() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex(t *testing.T) { + t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex{} + var fernTestValuePageObjectNumber int + + // Act + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetIndex_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex{} + var fernTestValueIndex int + + // Act + obj.SetIndex(fernTestValueIndex) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetRevision_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex{} + var fernTestValueRevision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision + + // Act + obj.SetRevision(fernTestValueRevision) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision(t *testing.T) { + t.Run("SetDocSessionID", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision{} + var fernTestValueDocSessionID string + obj.SetDocSessionID(fernTestValueDocSessionID) + assert.Equal(t, fernTestValueDocSessionID, obj.DocSessionID) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetPageObjectNumber", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision{} + var fernTestValuePageObjectNumber int + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetGeneration", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision{} + var fernTestValueGeneration int + obj.SetGeneration(fernTestValueGeneration) + assert.Equal(t, fernTestValueGeneration, obj.Generation) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision(t *testing.T) { + t.Run("GetDocSessionID", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision{} + var expected string + obj.DocSessionID = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetDocSessionID(), "getter should return the property value") + }) + + t.Run("GetDocSessionID_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetDocSessionID() // Should return zero value + }) + + t.Run("GetPageObjectNumber", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision{} + var expected int + obj.PageObjectNumber = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + }) + + t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetPageObjectNumber() // Should return zero value + }) + + t.Run("GetGeneration", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision{} + var expected int + obj.Generation = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetGeneration(), "getter should return the property value") + }) + + t.Run("GetGeneration_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetGeneration() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision(t *testing.T) { + t.Run("SetDocSessionID_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision{} + var fernTestValueDocSessionID string + + // Act + obj.SetDocSessionID(fernTestValueDocSessionID) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision{} + var fernTestValuePageObjectNumber int + + // Act + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetGeneration_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision{} + var fernTestValueGeneration int + + // Act + obj.SetGeneration(fernTestValueGeneration) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm(t *testing.T) { + t.Run("SetPageObjectNumber", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm{} + var fernTestValuePageObjectNumber int + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetNm", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm{} + var fernTestValueNm string + obj.SetNm(fernTestValueNm) + assert.Equal(t, fernTestValueNm, obj.Nm) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm(t *testing.T) { + t.Run("GetPageObjectNumber", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm{} + var expected int + obj.PageObjectNumber = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + }) + + t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetPageObjectNumber() // Should return zero value + }) + + t.Run("GetNm", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm{} + var expected string + obj.Nm = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetNm(), "getter should return the property value") + }) + + t.Run("GetNm_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetNm() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm(t *testing.T) { + t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm{} + var fernTestValuePageObjectNumber int // Act - obj.SetNoZoom(fernTestValueNoZoom) + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -196079,14 +199515,14 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetNoRotate_MarksExplicit", func(t *testing.T) { + t.Run("SetNm_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags{} - var fernTestValueNoRotate bool + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm{} + var fernTestValueNm string // Act - obj.SetNoRotate(fernTestValueNoRotate) + obj.SetNm(fernTestValueNm) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -196110,14 +199546,85 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetNoView_MarksExplicit", func(t *testing.T) { +} + +func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber(t *testing.T) { + t.Run("SetPageObjectNumber", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber{} + var fernTestValuePageObjectNumber int + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetAnnotObjectNumber", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber{} + var fernTestValueAnnotObjectNumber int + obj.SetAnnotObjectNumber(fernTestValueAnnotObjectNumber) + assert.Equal(t, fernTestValueAnnotObjectNumber, obj.AnnotObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber(t *testing.T) { + t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags{} - var fernTestValueNoView bool + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber{} + var expected int + obj.PageObjectNumber = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + }) + + t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetPageObjectNumber() // Should return zero value + }) + + t.Run("GetAnnotObjectNumber", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber{} + var expected int + obj.AnnotObjectNumber = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetAnnotObjectNumber(), "getter should return the property value") + }) + + t.Run("GetAnnotObjectNumber_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetAnnotObjectNumber() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber(t *testing.T) { + t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber{} + var fernTestValuePageObjectNumber int // Act - obj.SetNoView(fernTestValueNoView) + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -196141,14 +199648,14 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetReadOnly_MarksExplicit", func(t *testing.T) { + t.Run("SetAnnotObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags{} - var fernTestValueReadOnly bool + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber{} + var fernTestValueAnnotObjectNumber int // Act - obj.SetReadOnly(fernTestValueReadOnly) + obj.SetAnnotObjectNumber(fernTestValueAnnotObjectNumber) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -196172,14 +199679,116 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetLocked_MarksExplicit", func(t *testing.T) { +} + +func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor(t *testing.T) { + t.Run("SetR", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor{} + var fernTestValueR int + obj.SetR(fernTestValueR) + assert.Equal(t, fernTestValueR, obj.R) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetG", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor{} + var fernTestValueG int + obj.SetG(fernTestValueG) + assert.Equal(t, fernTestValueG, obj.G) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetB", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor{} + var fernTestValueB int + obj.SetB(fernTestValueB) + assert.Equal(t, fernTestValueB, obj.B) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor(t *testing.T) { + t.Run("GetR", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags{} - var fernTestValueLocked bool + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor{} + var expected int + obj.R = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetR(), "getter should return the property value") + }) + + t.Run("GetR_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetR() // Should return zero value + }) + + t.Run("GetG", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor{} + var expected int + obj.G = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetG(), "getter should return the property value") + }) + + t.Run("GetG_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetG() // Should return zero value + }) + + t.Run("GetB", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor{} + var expected int + obj.B = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetB(), "getter should return the property value") + }) + + t.Run("GetB_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetB() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor(t *testing.T) { + t.Run("SetR_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor{} + var fernTestValueR int // Act - obj.SetLocked(fernTestValueLocked) + obj.SetR(fernTestValueR) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -196203,14 +199812,14 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetToggleNoView_MarksExplicit", func(t *testing.T) { + t.Run("SetG_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags{} - var fernTestValueToggleNoView bool + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor{} + var fernTestValueG int // Act - obj.SetToggleNoView(fernTestValueToggleNoView) + obj.SetG(fernTestValueG) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -196234,14 +199843,14 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetLockedContents_MarksExplicit", func(t *testing.T) { + t.Run("SetB_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFlags{} - var fernTestValueLockedContents bool + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor{} + var fernTestValueB int // Act - obj.SetLockedContents(fernTestValueLockedContents) + obj.SetB(fernTestValueB) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -196267,114 +199876,145 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations } -func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor(t *testing.T) { - t.Run("SetR", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor{} - var fernTestValueR int - obj.SetR(fernTestValueR) - assert.Equal(t, fernTestValueR, obj.R) +func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect(t *testing.T) { + t.Run("SetLeft", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} + var fernTestValueLeft float64 + obj.SetLeft(fernTestValueLeft) + assert.Equal(t, fernTestValueLeft, obj.Left) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetG", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor{} - var fernTestValueG int - obj.SetG(fernTestValueG) - assert.Equal(t, fernTestValueG, obj.G) + t.Run("SetBottom", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} + var fernTestValueBottom float64 + obj.SetBottom(fernTestValueBottom) + assert.Equal(t, fernTestValueBottom, obj.Bottom) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetB", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor{} - var fernTestValueB int - obj.SetB(fernTestValueB) - assert.Equal(t, fernTestValueB, obj.B) + t.Run("SetRight", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} + var fernTestValueRight float64 + obj.SetRight(fernTestValueRight) + assert.Equal(t, fernTestValueRight, obj.Right) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetTop", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} + var fernTestValueTop float64 + obj.SetTop(fernTestValueTop) + assert.Equal(t, fernTestValueTop, obj.Top) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor(t *testing.T) { - t.Run("GetR", func(t *testing.T) { +func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect(t *testing.T) { + t.Run("GetLeft", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor{} - var expected int - obj.R = expected + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} + var expected float64 + obj.Left = expected // Act & Assert - assert.Equal(t, expected, obj.GetR(), "getter should return the property value") + assert.Equal(t, expected, obj.GetLeft(), "getter should return the property value") }) - t.Run("GetR_NilReceiver", func(t *testing.T) { + t.Run("GetLeft_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetR() // Should return zero value + _ = obj.GetLeft() // Should return zero value }) - t.Run("GetG", func(t *testing.T) { + t.Run("GetBottom", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor{} - var expected int - obj.G = expected + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} + var expected float64 + obj.Bottom = expected // Act & Assert - assert.Equal(t, expected, obj.GetG(), "getter should return the property value") + assert.Equal(t, expected, obj.GetBottom(), "getter should return the property value") }) - t.Run("GetG_NilReceiver", func(t *testing.T) { + t.Run("GetBottom_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetG() // Should return zero value + _ = obj.GetBottom() // Should return zero value }) - t.Run("GetB", func(t *testing.T) { + t.Run("GetRight", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor{} - var expected int - obj.B = expected + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} + var expected float64 + obj.Right = expected // Act & Assert - assert.Equal(t, expected, obj.GetB(), "getter should return the property value") + assert.Equal(t, expected, obj.GetRight(), "getter should return the property value") }) - t.Run("GetB_NilReceiver", func(t *testing.T) { + t.Run("GetRight_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetB() // Should return zero value + _ = obj.GetRight() // Should return zero value + }) + + t.Run("GetTop", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} + var expected float64 + obj.Top = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetTop(), "getter should return the property value") + }) + + t.Run("GetTop_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetTop() // Should return zero value }) } -func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor(t *testing.T) { - t.Run("SetR_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect(t *testing.T) { + t.Run("SetLeft_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor{} - var fernTestValueR int + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} + var fernTestValueLeft float64 // Act - obj.SetR(fernTestValueR) + obj.SetLeft(fernTestValueLeft) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -196398,14 +200038,14 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetG_MarksExplicit", func(t *testing.T) { + t.Run("SetBottom_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor{} - var fernTestValueG int + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} + var fernTestValueBottom float64 // Act - obj.SetG(fernTestValueG) + obj.SetBottom(fernTestValueBottom) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -196429,14 +200069,45 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetB_MarksExplicit", func(t *testing.T) { + t.Run("SetRight_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetFontColor{} - var fernTestValueB int + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} + var fernTestValueRight float64 // Act - obj.SetB(fernTestValueB) + obj.SetRight(fernTestValueRight) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetTop_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} + var fernTestValueTop float64 + + // Act + obj.SetTop(fernTestValueTop) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -196462,11 +200133,11 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations } -func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo(t *testing.T) { +func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef{} var expected string obj.Kind = expected @@ -196476,7 +200147,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -196489,8 +200160,8 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo{} - var expected *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef{} + var expected *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber obj.ObjectNumber = expected // Act & Assert @@ -196500,7 +200171,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetObjectNumber_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef{} obj.ObjectNumber = nil // Act & Assert @@ -196509,7 +200180,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -196522,8 +200193,8 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetNm", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo{} - var expected *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef{} + var expected *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm obj.Nm = expected // Act & Assert @@ -196533,7 +200204,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetNm_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef{} obj.Nm = nil // Act & Assert @@ -196542,7 +200213,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetNm_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -196555,8 +200226,8 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetIndex", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo{} - var expected *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef{} + var expected *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex obj.Index = expected // Act & Assert @@ -196566,7 +200237,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetIndex_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef{} obj.Index = nil // Act & Assert @@ -196575,7 +200246,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetIndex_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyTo + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -196587,9 +200258,9 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn } -func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex(t *testing.T) { +func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex(t *testing.T) { t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -196597,7 +200268,7 @@ func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn }) t.Run("SetIndex", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex{} var fernTestValueIndex int obj.SetIndex(fernTestValueIndex) assert.Equal(t, fernTestValueIndex, obj.Index) @@ -196605,8 +200276,8 @@ func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn }) t.Run("SetRevision", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex{} - var fernTestValueRevision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex{} + var fernTestValueRevision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision obj.SetRevision(fernTestValueRevision) assert.Equal(t, fernTestValueRevision, obj.Revision) assert.NotNil(t, obj.explicitFields) @@ -196614,11 +200285,11 @@ func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn } -func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex(t *testing.T) { +func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex(t *testing.T) { t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex{} var expected int obj.PageObjectNumber = expected @@ -196628,7 +200299,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -196641,7 +200312,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetIndex", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex{} var expected int obj.Index = expected @@ -196651,7 +200322,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetIndex_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -196664,8 +200335,8 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetRevision", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex{} - var expected *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex{} + var expected *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision obj.Revision = expected // Act & Assert @@ -196675,7 +200346,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetRevision_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex{} obj.Revision = nil // Act & Assert @@ -196684,7 +200355,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetRevision_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -196696,11 +200367,11 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn } -func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex(t *testing.T) { +func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex(t *testing.T) { t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex{} var fernTestValuePageObjectNumber int // Act @@ -196731,7 +200402,7 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations t.Run("SetIndex_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex{} var fernTestValueIndex int // Act @@ -196762,8 +200433,8 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations t.Run("SetRevision_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndex{} - var fernTestValueRevision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex{} + var fernTestValueRevision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision // Act obj.SetRevision(fernTestValueRevision) @@ -196792,9 +200463,9 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations } -func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision(t *testing.T) { +func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision(t *testing.T) { t.Run("SetDocSessionID", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision{} var fernTestValueDocSessionID string obj.SetDocSessionID(fernTestValueDocSessionID) assert.Equal(t, fernTestValueDocSessionID, obj.DocSessionID) @@ -196802,7 +200473,7 @@ func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn }) t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -196810,7 +200481,7 @@ func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn }) t.Run("SetGeneration", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision{} var fernTestValueGeneration int obj.SetGeneration(fernTestValueGeneration) assert.Equal(t, fernTestValueGeneration, obj.Generation) @@ -196819,11 +200490,11 @@ func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn } -func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision(t *testing.T) { +func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision(t *testing.T) { t.Run("GetDocSessionID", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision{} var expected string obj.DocSessionID = expected @@ -196833,7 +200504,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetDocSessionID_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -196846,7 +200517,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision{} var expected int obj.PageObjectNumber = expected @@ -196856,7 +200527,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -196869,7 +200540,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetGeneration", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision{} var expected int obj.Generation = expected @@ -196879,7 +200550,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetGeneration_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -196891,11 +200562,11 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn } -func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision(t *testing.T) { +func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision(t *testing.T) { t.Run("SetDocSessionID_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision{} var fernTestValueDocSessionID string // Act @@ -196926,7 +200597,7 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision{} var fernTestValuePageObjectNumber int // Act @@ -196957,7 +200628,7 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations t.Run("SetGeneration_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToIndexRevision{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision{} var fernTestValueGeneration int // Act @@ -196987,9 +200658,9 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations } -func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm(t *testing.T) { +func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm(t *testing.T) { t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -196997,7 +200668,7 @@ func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn }) t.Run("SetNm", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm{} var fernTestValueNm string obj.SetNm(fernTestValueNm) assert.Equal(t, fernTestValueNm, obj.Nm) @@ -197006,11 +200677,11 @@ func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn } -func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm(t *testing.T) { +func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm(t *testing.T) { t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm{} var expected int obj.PageObjectNumber = expected @@ -197020,7 +200691,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -197033,7 +200704,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetNm", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm{} + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm{} var expected string obj.Nm = expected @@ -197043,23 +200714,566 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetIn t.Run("GetNm_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetNm() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm(t *testing.T) { + t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm{} + var fernTestValuePageObjectNumber int + + // Act + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetNm_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm{} + var fernTestValueNm string + + // Act + obj.SetNm(fernTestValueNm) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber(t *testing.T) { + t.Run("SetPageObjectNumber", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber{} + var fernTestValuePageObjectNumber int + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetAnnotObjectNumber", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber{} + var fernTestValueAnnotObjectNumber int + obj.SetAnnotObjectNumber(fernTestValueAnnotObjectNumber) + assert.Equal(t, fernTestValueAnnotObjectNumber, obj.AnnotObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber(t *testing.T) { + t.Run("GetPageObjectNumber", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber{} + var expected int + obj.PageObjectNumber = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + }) + + t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetPageObjectNumber() // Should return zero value + }) + + t.Run("GetAnnotObjectNumber", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber{} + var expected int + obj.AnnotObjectNumber = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetAnnotObjectNumber(), "getter should return the property value") + }) + + t.Run("GetAnnotObjectNumber_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetAnnotObjectNumber() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber(t *testing.T) { + t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber{} + var fernTestValuePageObjectNumber int + + // Act + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetAnnotObjectNumber_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber{} + var fernTestValueAnnotObjectNumber int + + // Act + obj.SetAnnotObjectNumber(fernTestValueAnnotObjectNumber) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocAnnotationsListAll200ResponsePagesItemPageState(t *testing.T) { + t.Run("SetPageObjectNumber", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemPageState{} + var fernTestValuePageObjectNumber int + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetRevision", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemPageState{} + var fernTestValueRevision *DocAnnotationsListAll200ResponsePagesItemPageStateRevision + obj.SetRevision(fernTestValueRevision) + assert.Equal(t, fernTestValueRevision, obj.Revision) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetWeakAnnotationState", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemPageState{} + var fernTestValueWeakAnnotationState *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState + obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) + assert.Equal(t, fernTestValueWeakAnnotationState, obj.WeakAnnotationState) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsListAll200ResponsePagesItemPageState(t *testing.T) { + t.Run("GetPageObjectNumber", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemPageState{} + var expected int + obj.PageObjectNumber = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + }) + + t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemPageState + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetPageObjectNumber() // Should return zero value + }) + + t.Run("GetRevision", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemPageState{} + var expected *DocAnnotationsListAll200ResponsePagesItemPageStateRevision + obj.Revision = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetRevision(), "getter should return the property value") + }) + + t.Run("GetRevision_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemPageState{} + obj.Revision = nil + + // Act & Assert + assert.Nil(t, obj.GetRevision(), "getter should return nil when property is nil") + }) + + t.Run("GetRevision_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemPageState + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetRevision() // Should return zero value + }) + + t.Run("GetWeakAnnotationState", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemPageState{} + var expected *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState + obj.WeakAnnotationState = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetWeakAnnotationState(), "getter should return the property value") + }) + + t.Run("GetWeakAnnotationState_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemPageState{} + obj.WeakAnnotationState = nil + + // Act & Assert + assert.Nil(t, obj.GetWeakAnnotationState(), "getter should return nil when property is nil") + }) + + t.Run("GetWeakAnnotationState_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemPageState + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetWeakAnnotationState() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemPageState(t *testing.T) { + t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemPageState{} + var fernTestValuePageObjectNumber int + + // Act + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetRevision_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemPageState{} + var fernTestValueRevision *DocAnnotationsListAll200ResponsePagesItemPageStateRevision + + // Act + obj.SetRevision(fernTestValueRevision) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetWeakAnnotationState_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemPageState{} + var fernTestValueWeakAnnotationState *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState + + // Act + obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocAnnotationsListAll200ResponsePagesItemPageStateRevision(t *testing.T) { + t.Run("SetDocSessionID", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemPageStateRevision{} + var fernTestValueDocSessionID string + obj.SetDocSessionID(fernTestValueDocSessionID) + assert.Equal(t, fernTestValueDocSessionID, obj.DocSessionID) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetPageObjectNumber", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemPageStateRevision{} + var fernTestValuePageObjectNumber int + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetGeneration", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemPageStateRevision{} + var fernTestValueGeneration int + obj.SetGeneration(fernTestValueGeneration) + assert.Equal(t, fernTestValueGeneration, obj.Generation) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsListAll200ResponsePagesItemPageStateRevision(t *testing.T) { + t.Run("GetDocSessionID", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemPageStateRevision{} + var expected string + obj.DocSessionID = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetDocSessionID(), "getter should return the property value") + }) + + t.Run("GetDocSessionID_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemPageStateRevision + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetDocSessionID() // Should return zero value + }) + + t.Run("GetPageObjectNumber", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemPageStateRevision{} + var expected int + obj.PageObjectNumber = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + }) + + t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemPageStateRevision + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetPageObjectNumber() // Should return zero value + }) + + t.Run("GetGeneration", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemPageStateRevision{} + var expected int + obj.Generation = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetGeneration(), "getter should return the property value") + }) + + t.Run("GetGeneration_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemPageStateRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetNm() // Should return zero value + _ = obj.GetGeneration() // Should return zero value }) } -func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm(t *testing.T) { +func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemPageStateRevision(t *testing.T) { + t.Run("SetDocSessionID_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemPageStateRevision{} + var fernTestValueDocSessionID string + + // Act + obj.SetDocSessionID(fernTestValueDocSessionID) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm{} + obj := &DocAnnotationsListAll200ResponsePagesItemPageStateRevision{} var fernTestValuePageObjectNumber int // Act @@ -197087,14 +201301,14 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetNm_MarksExplicit", func(t *testing.T) { + t.Run("SetGeneration_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToNm{} - var fernTestValueNm string + obj := &DocAnnotationsListAll200ResponsePagesItemPageStateRevision{} + var fernTestValueGeneration int // Act - obj.SetNm(fernTestValueNm) + obj.SetGeneration(fernTestValueGeneration) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -197120,114 +201334,144 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations } -func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber(t *testing.T) { - t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber{} - var fernTestValuePageObjectNumber int - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) - assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) - assert.NotNil(t, obj.explicitFields) +func TestGettersDocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState(t *testing.T) { + t.Run("GetKind", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState{} + var expected string + obj.Kind = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetKind(), "getter should return the property value") }) - t.Run("SetAnnotObjectNumber", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber{} - var fernTestValueAnnotObjectNumber int - obj.SetAnnotObjectNumber(fernTestValueAnnotObjectNumber) - assert.Equal(t, fernTestValueAnnotObjectNumber, obj.AnnotObjectNumber) - assert.NotNil(t, obj.explicitFields) + t.Run("GetKind_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetKind() // Should return zero value }) -} + t.Run("GetUnknown", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState{} + var expected *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown + obj.Unknown = expected -func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber(t *testing.T) { - t.Run("GetPageObjectNumber", func(t *testing.T) { + // Act & Assert + assert.Equal(t, expected, obj.GetUnknown(), "getter should return the property value") + }) + + t.Run("GetUnknown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber{} - var expected int - obj.PageObjectNumber = expected + obj := &DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState{} + obj.Unknown = nil // Act & Assert - assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + assert.Nil(t, obj.GetUnknown(), "getter should return nil when property is nil") }) - t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Run("GetUnknown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber + var obj *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetPageObjectNumber() // Should return zero value + _ = obj.GetUnknown() // Should return zero value }) - t.Run("GetAnnotObjectNumber", func(t *testing.T) { + t.Run("GetKnown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber{} - var expected int - obj.AnnotObjectNumber = expected + obj := &DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState{} + var expected *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown + obj.Known = expected // Act & Assert - assert.Equal(t, expected, obj.GetAnnotObjectNumber(), "getter should return the property value") + assert.Equal(t, expected, obj.GetKnown(), "getter should return the property value") }) - t.Run("GetAnnotObjectNumber_NilReceiver", func(t *testing.T) { + t.Run("GetKnown_NilValue", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState{} + obj.Known = nil + + // Act & Assert + assert.Nil(t, obj.GetKnown(), "getter should return nil when property is nil") + }) + + t.Run("GetKnown_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetAnnotObjectNumber() // Should return zero value + _ = obj.GetKnown() // Should return zero value }) } -func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber(t *testing.T) { - t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber{} - var fernTestValuePageObjectNumber int +func TestSettersDocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown(t *testing.T) { + t.Run("SetHasAnyWeakAnnotations", func(t *testing.T) { + obj := &DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown{} + var fernTestValueHasAnyWeakAnnotations bool + obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) + assert.Equal(t, fernTestValueHasAnyWeakAnnotations, obj.HasAnyWeakAnnotations) + assert.NotNil(t, obj.explicitFields) + }) - // Act - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) +} - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") +func TestGettersDocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown(t *testing.T) { + t.Run("GetHasAnyWeakAnnotations", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown{} + var expected bool + obj.HasAnyWeakAnnotations = expected - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } + // Act & Assert + assert.Equal(t, expected, obj.GetHasAnyWeakAnnotations(), "getter should return the property value") + }) - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip + t.Run("GetHasAnyWeakAnnotations_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetHasAnyWeakAnnotations() // Should return zero value }) - t.Run("SetAnnotObjectNumber_MarksExplicit", func(t *testing.T) { +} + +func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown(t *testing.T) { + t.Run("SetHasAnyWeakAnnotations_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInReplyToObjectNumber{} - var fernTestValueAnnotObjectNumber int + obj := &DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown{} + var fernTestValueHasAnyWeakAnnotations bool // Act - obj.SetAnnotObjectNumber(fernTestValueAnnotObjectNumber) + obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -197253,114 +201497,155 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations } -func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor(t *testing.T) { - t.Run("SetR", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor{} - var fernTestValueR int - obj.SetR(fernTestValueR) - assert.Equal(t, fernTestValueR, obj.R) +func TestSettersDocAnnotationsListAll404Response(t *testing.T) { + t.Run("SetName", func(t *testing.T) { + obj := &DocAnnotationsListAll404Response{} + var fernTestValueName DocAnnotationsListAll404ResponseName + obj.SetName(fernTestValueName) + assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetG", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor{} - var fernTestValueG int - obj.SetG(fernTestValueG) - assert.Equal(t, fernTestValueG, obj.G) + t.Run("SetCode", func(t *testing.T) { + obj := &DocAnnotationsListAll404Response{} + var fernTestValueCode DocAnnotationsListAll404ResponseCode + obj.SetCode(fernTestValueCode) + assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetB", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor{} - var fernTestValueB int - obj.SetB(fernTestValueB) - assert.Equal(t, fernTestValueB, obj.B) + t.Run("SetMessage", func(t *testing.T) { + obj := &DocAnnotationsListAll404Response{} + var fernTestValueMessage string + obj.SetMessage(fernTestValueMessage) + assert.Equal(t, fernTestValueMessage, obj.Message) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetDetails", func(t *testing.T) { + obj := &DocAnnotationsListAll404Response{} + var fernTestValueDetails map[string]any + obj.SetDetails(fernTestValueDetails) + assert.Equal(t, fernTestValueDetails, obj.Details) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor(t *testing.T) { - t.Run("GetR", func(t *testing.T) { +func TestGettersDocAnnotationsListAll404Response(t *testing.T) { + t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor{} - var expected int - obj.R = expected + obj := &DocAnnotationsListAll404Response{} + var expected DocAnnotationsListAll404ResponseName + obj.Name = expected // Act & Assert - assert.Equal(t, expected, obj.GetR(), "getter should return the property value") + assert.Equal(t, expected, obj.GetName(), "getter should return the property value") }) - t.Run("GetR_NilReceiver", func(t *testing.T) { + t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor + var obj *DocAnnotationsListAll404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetR() // Should return zero value + _ = obj.GetName() // Should return zero value }) - t.Run("GetG", func(t *testing.T) { + t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor{} - var expected int - obj.G = expected + obj := &DocAnnotationsListAll404Response{} + var expected DocAnnotationsListAll404ResponseCode + obj.Code = expected // Act & Assert - assert.Equal(t, expected, obj.GetG(), "getter should return the property value") + assert.Equal(t, expected, obj.GetCode(), "getter should return the property value") }) - t.Run("GetG_NilReceiver", func(t *testing.T) { + t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor + var obj *DocAnnotationsListAll404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetG() // Should return zero value + _ = obj.GetCode() // Should return zero value }) - t.Run("GetB", func(t *testing.T) { + t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor{} - var expected int - obj.B = expected + obj := &DocAnnotationsListAll404Response{} + var expected string + obj.Message = expected // Act & Assert - assert.Equal(t, expected, obj.GetB(), "getter should return the property value") + assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") }) - t.Run("GetB_NilReceiver", func(t *testing.T) { + t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor + var obj *DocAnnotationsListAll404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetB() // Should return zero value + _ = obj.GetMessage() // Should return zero value + }) + + t.Run("GetDetails", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll404Response{} + var expected map[string]any + obj.Details = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") + }) + + t.Run("GetDetails_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll404Response{} + obj.Details = nil + + // Act & Assert + assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") + }) + + t.Run("GetDetails_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll404Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetDetails() // Should return zero value }) } -func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor(t *testing.T) { - t.Run("SetR_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocAnnotationsListAll404Response(t *testing.T) { + t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor{} - var fernTestValueR int + obj := &DocAnnotationsListAll404Response{} + var fernTestValueName DocAnnotationsListAll404ResponseName // Act - obj.SetR(fernTestValueR) + obj.SetName(fernTestValueName) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -197384,14 +201669,14 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetG_MarksExplicit", func(t *testing.T) { + t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor{} - var fernTestValueG int + obj := &DocAnnotationsListAll404Response{} + var fernTestValueCode DocAnnotationsListAll404ResponseCode // Act - obj.SetG(fernTestValueG) + obj.SetCode(fernTestValueCode) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -197415,14 +201700,45 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetB_MarksExplicit", func(t *testing.T) { + t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetInteriorColor{} - var fernTestValueB int + obj := &DocAnnotationsListAll404Response{} + var fernTestValueMessage string // Act - obj.SetB(fernTestValueB) + obj.SetMessage(fernTestValueMessage) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetDetails_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsListAll404Response{} + var fernTestValueDetails map[string]any + + // Act + obj.SetDetails(fernTestValueDetails) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -197448,145 +201764,155 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations } -func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect(t *testing.T) { - t.Run("SetLeft", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} - var fernTestValueLeft float64 - obj.SetLeft(fernTestValueLeft) - assert.Equal(t, fernTestValueLeft, obj.Left) +func TestSettersDocAnnotationsListAll409Response(t *testing.T) { + t.Run("SetName", func(t *testing.T) { + obj := &DocAnnotationsListAll409Response{} + var fernTestValueName DocAnnotationsListAll409ResponseName + obj.SetName(fernTestValueName) + assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetBottom", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} - var fernTestValueBottom float64 - obj.SetBottom(fernTestValueBottom) - assert.Equal(t, fernTestValueBottom, obj.Bottom) + t.Run("SetCode", func(t *testing.T) { + obj := &DocAnnotationsListAll409Response{} + var fernTestValueCode DocAnnotationsListAll409ResponseCode + obj.SetCode(fernTestValueCode) + assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetRight", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} - var fernTestValueRight float64 - obj.SetRight(fernTestValueRight) - assert.Equal(t, fernTestValueRight, obj.Right) + t.Run("SetMessage", func(t *testing.T) { + obj := &DocAnnotationsListAll409Response{} + var fernTestValueMessage string + obj.SetMessage(fernTestValueMessage) + assert.Equal(t, fernTestValueMessage, obj.Message) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetTop", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} - var fernTestValueTop float64 - obj.SetTop(fernTestValueTop) - assert.Equal(t, fernTestValueTop, obj.Top) + t.Run("SetDetails", func(t *testing.T) { + obj := &DocAnnotationsListAll409Response{} + var fernTestValueDetails map[string]any + obj.SetDetails(fernTestValueDetails) + assert.Equal(t, fernTestValueDetails, obj.Details) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect(t *testing.T) { - t.Run("GetLeft", func(t *testing.T) { +func TestGettersDocAnnotationsListAll409Response(t *testing.T) { + t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} - var expected float64 - obj.Left = expected + obj := &DocAnnotationsListAll409Response{} + var expected DocAnnotationsListAll409ResponseName + obj.Name = expected // Act & Assert - assert.Equal(t, expected, obj.GetLeft(), "getter should return the property value") + assert.Equal(t, expected, obj.GetName(), "getter should return the property value") }) - t.Run("GetLeft_NilReceiver", func(t *testing.T) { + t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect + var obj *DocAnnotationsListAll409Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetLeft() // Should return zero value + _ = obj.GetName() // Should return zero value }) - t.Run("GetBottom", func(t *testing.T) { + t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} - var expected float64 - obj.Bottom = expected + obj := &DocAnnotationsListAll409Response{} + var expected DocAnnotationsListAll409ResponseCode + obj.Code = expected // Act & Assert - assert.Equal(t, expected, obj.GetBottom(), "getter should return the property value") + assert.Equal(t, expected, obj.GetCode(), "getter should return the property value") }) - t.Run("GetBottom_NilReceiver", func(t *testing.T) { + t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect + var obj *DocAnnotationsListAll409Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetBottom() // Should return zero value + _ = obj.GetCode() // Should return zero value }) - t.Run("GetRight", func(t *testing.T) { + t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} - var expected float64 - obj.Right = expected + obj := &DocAnnotationsListAll409Response{} + var expected string + obj.Message = expected // Act & Assert - assert.Equal(t, expected, obj.GetRight(), "getter should return the property value") + assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") }) - t.Run("GetRight_NilReceiver", func(t *testing.T) { + t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect + var obj *DocAnnotationsListAll409Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetRight() // Should return zero value + _ = obj.GetMessage() // Should return zero value }) - t.Run("GetTop", func(t *testing.T) { + t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} - var expected float64 - obj.Top = expected + obj := &DocAnnotationsListAll409Response{} + var expected map[string]any + obj.Details = expected // Act & Assert - assert.Equal(t, expected, obj.GetTop(), "getter should return the property value") + assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") }) - t.Run("GetTop_NilReceiver", func(t *testing.T) { + t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect + // Arrange + obj := &DocAnnotationsListAll409Response{} + obj.Details = nil + + // Act & Assert + assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") + }) + + t.Run("GetDetails_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsListAll409Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetTop() // Should return zero value + _ = obj.GetDetails() // Should return zero value }) } -func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect(t *testing.T) { - t.Run("SetLeft_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocAnnotationsListAll409Response(t *testing.T) { + t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} - var fernTestValueLeft float64 + obj := &DocAnnotationsListAll409Response{} + var fernTestValueName DocAnnotationsListAll409ResponseName // Act - obj.SetLeft(fernTestValueLeft) + obj.SetName(fernTestValueName) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -197610,14 +201936,14 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetBottom_MarksExplicit", func(t *testing.T) { + t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} - var fernTestValueBottom float64 + obj := &DocAnnotationsListAll409Response{} + var fernTestValueCode DocAnnotationsListAll409ResponseCode // Act - obj.SetBottom(fernTestValueBottom) + obj.SetCode(fernTestValueCode) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -197641,14 +201967,14 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetRight_MarksExplicit", func(t *testing.T) { + t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} - var fernTestValueRight float64 + obj := &DocAnnotationsListAll409Response{} + var fernTestValueMessage string // Act - obj.SetRight(fernTestValueRight) + obj.SetMessage(fernTestValueMessage) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -197672,14 +201998,14 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetTop_MarksExplicit", func(t *testing.T) { + t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRect{} - var fernTestValueTop float64 + obj := &DocAnnotationsListAll409Response{} + var fernTestValueDetails map[string]any // Act - obj.SetTop(fernTestValueTop) + obj.SetDetails(fernTestValueDetails) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -197705,163 +202031,272 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations } -func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef(t *testing.T) { - t.Run("GetKind", func(t *testing.T) { +func TestSettersDocAnnotationsUpdate200Response(t *testing.T) { + t.Run("SetMeta", func(t *testing.T) { + obj := &DocAnnotationsUpdate200Response{} + var fernTestValueMeta *DocAnnotationsUpdate200ResponseMeta + obj.SetMeta(fernTestValueMeta) + assert.Equal(t, fernTestValueMeta, obj.Meta) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsUpdate200Response(t *testing.T) { + t.Run("GetMeta", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef{} - var expected string - obj.Kind = expected + obj := &DocAnnotationsUpdate200Response{} + var expected *DocAnnotationsUpdate200ResponseMeta + obj.Meta = expected // Act & Assert - assert.Equal(t, expected, obj.GetKind(), "getter should return the property value") + assert.Equal(t, expected, obj.GetMeta(), "getter should return the property value") }) - t.Run("GetKind_NilReceiver", func(t *testing.T) { + t.Run("GetMeta_NilValue", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef + // Arrange + obj := &DocAnnotationsUpdate200Response{} + obj.Meta = nil + + // Act & Assert + assert.Nil(t, obj.GetMeta(), "getter should return nil when property is nil") + }) + + t.Run("GetMeta_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsUpdate200Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetKind() // Should return zero value + _ = obj.GetMeta() // Should return zero value }) - t.Run("GetObjectNumber", func(t *testing.T) { +} + +func TestSettersMarkExplicitDocAnnotationsUpdate200Response(t *testing.T) { + t.Run("SetMeta_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef{} - var expected *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber - obj.ObjectNumber = expected + obj := &DocAnnotationsUpdate200Response{} + var fernTestValueMeta *DocAnnotationsUpdate200ResponseMeta + + // Act + obj.SetMeta(fernTestValueMeta) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocAnnotationsUpdate200ResponseMeta(t *testing.T) { + t.Run("SetAffectedPages", func(t *testing.T) { + obj := &DocAnnotationsUpdate200ResponseMeta{} + var fernTestValueAffectedPages []*DocAnnotationsUpdate200ResponseMetaAffectedPagesItem + obj.SetAffectedPages(fernTestValueAffectedPages) + assert.Equal(t, fernTestValueAffectedPages, obj.AffectedPages) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetCacheDelta", func(t *testing.T) { + obj := &DocAnnotationsUpdate200ResponseMeta{} + var fernTestValueCacheDelta *DocAnnotationsUpdate200ResponseMetaCacheDelta + obj.SetCacheDelta(fernTestValueCacheDelta) + assert.Equal(t, fernTestValueCacheDelta, obj.CacheDelta) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsUpdate200ResponseMeta(t *testing.T) { + t.Run("GetAffectedPages", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsUpdate200ResponseMeta{} + var expected []*DocAnnotationsUpdate200ResponseMetaAffectedPagesItem + obj.AffectedPages = expected // Act & Assert - assert.Equal(t, expected, obj.GetObjectNumber(), "getter should return the property value") + assert.Equal(t, expected, obj.GetAffectedPages(), "getter should return the property value") }) - t.Run("GetObjectNumber_NilValue", func(t *testing.T) { + t.Run("GetAffectedPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef{} - obj.ObjectNumber = nil + obj := &DocAnnotationsUpdate200ResponseMeta{} + obj.AffectedPages = nil // Act & Assert - assert.Nil(t, obj.GetObjectNumber(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetAffectedPages(), "getter should return nil when property is nil") }) - t.Run("GetObjectNumber_NilReceiver", func(t *testing.T) { + t.Run("GetAffectedPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef + var obj *DocAnnotationsUpdate200ResponseMeta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetObjectNumber() // Should return zero value + _ = obj.GetAffectedPages() // Should return zero value }) - t.Run("GetNm", func(t *testing.T) { + t.Run("GetCacheDelta", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef{} - var expected *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm - obj.Nm = expected + obj := &DocAnnotationsUpdate200ResponseMeta{} + var expected *DocAnnotationsUpdate200ResponseMetaCacheDelta + obj.CacheDelta = expected // Act & Assert - assert.Equal(t, expected, obj.GetNm(), "getter should return the property value") + assert.Equal(t, expected, obj.GetCacheDelta(), "getter should return the property value") }) - t.Run("GetNm_NilValue", func(t *testing.T) { + t.Run("GetCacheDelta_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef{} - obj.Nm = nil + obj := &DocAnnotationsUpdate200ResponseMeta{} + obj.CacheDelta = nil // Act & Assert - assert.Nil(t, obj.GetNm(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetCacheDelta(), "getter should return nil when property is nil") }) - t.Run("GetNm_NilReceiver", func(t *testing.T) { + t.Run("GetCacheDelta_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef + var obj *DocAnnotationsUpdate200ResponseMeta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetNm() // Should return zero value + _ = obj.GetCacheDelta() // Should return zero value }) - t.Run("GetIndex", func(t *testing.T) { +} + +func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMeta(t *testing.T) { + t.Run("SetAffectedPages_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef{} - var expected *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex - obj.Index = expected + obj := &DocAnnotationsUpdate200ResponseMeta{} + var fernTestValueAffectedPages []*DocAnnotationsUpdate200ResponseMetaAffectedPagesItem - // Act & Assert - assert.Equal(t, expected, obj.GetIndex(), "getter should return the property value") + // Act + obj.SetAffectedPages(fernTestValueAffectedPages) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("GetIndex_NilValue", func(t *testing.T) { + t.Run("SetCacheDelta_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef{} - obj.Index = nil + obj := &DocAnnotationsUpdate200ResponseMeta{} + var fernTestValueCacheDelta *DocAnnotationsUpdate200ResponseMetaCacheDelta - // Act & Assert - assert.Nil(t, obj.GetIndex(), "getter should return nil when property is nil") - }) + // Act + obj.SetCacheDelta(fernTestValueCacheDelta) - t.Run("GetIndex_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRef - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetIndex() // Should return zero value + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip }) } -func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex(t *testing.T) { +func TestSettersDocAnnotationsUpdate200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex{} + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetIndex", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex{} - var fernTestValueIndex int - obj.SetIndex(fernTestValueIndex) - assert.Equal(t, fernTestValueIndex, obj.Index) - assert.NotNil(t, obj.explicitFields) - }) - t.Run("SetRevision", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex{} - var fernTestValueRevision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision obj.SetRevision(fernTestValueRevision) assert.Equal(t, fernTestValueRevision, obj.Revision) assert.NotNil(t, obj.explicitFields) }) + t.Run("SetWeakAnnotationState", func(t *testing.T) { + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState + obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) + assert.Equal(t, fernTestValueWeakAnnotationState, obj.WeakAnnotationState) + assert.NotNil(t, obj.explicitFields) + }) + } -func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex(t *testing.T) { +func TestGettersDocAnnotationsUpdate200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex{} + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItem{} var expected int obj.PageObjectNumber = expected @@ -197871,7 +202306,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRe t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex + var obj *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -197881,69 +202316,79 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRe _ = obj.GetPageObjectNumber() // Should return zero value }) - t.Run("GetIndex", func(t *testing.T) { + t.Run("GetRevision", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex{} - var expected int - obj.Index = expected + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItem{} + var expected *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision + obj.Revision = expected // Act & Assert - assert.Equal(t, expected, obj.GetIndex(), "getter should return the property value") + assert.Equal(t, expected, obj.GetRevision(), "getter should return the property value") }) - t.Run("GetIndex_NilReceiver", func(t *testing.T) { + t.Run("GetRevision_NilValue", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex + // Arrange + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItem{} + obj.Revision = nil + + // Act & Assert + assert.Nil(t, obj.GetRevision(), "getter should return nil when property is nil") + }) + + t.Run("GetRevision_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetIndex() // Should return zero value + _ = obj.GetRevision() // Should return zero value }) - t.Run("GetRevision", func(t *testing.T) { + t.Run("GetWeakAnnotationState", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex{} - var expected *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision - obj.Revision = expected + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItem{} + var expected *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState + obj.WeakAnnotationState = expected // Act & Assert - assert.Equal(t, expected, obj.GetRevision(), "getter should return the property value") + assert.Equal(t, expected, obj.GetWeakAnnotationState(), "getter should return the property value") }) - t.Run("GetRevision_NilValue", func(t *testing.T) { + t.Run("GetWeakAnnotationState_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex{} - obj.Revision = nil + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItem{} + obj.WeakAnnotationState = nil // Act & Assert - assert.Nil(t, obj.GetRevision(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetWeakAnnotationState(), "getter should return nil when property is nil") }) - t.Run("GetRevision_NilReceiver", func(t *testing.T) { + t.Run("GetWeakAnnotationState_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex + var obj *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetRevision() // Should return zero value + _ = obj.GetWeakAnnotationState() // Should return zero value }) } -func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex(t *testing.T) { +func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex{} + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItem{} var fernTestValuePageObjectNumber int // Act @@ -197971,14 +202416,14 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetIndex_MarksExplicit", func(t *testing.T) { + t.Run("SetRevision_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex{} - var fernTestValueIndex int + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision // Act - obj.SetIndex(fernTestValueIndex) + obj.SetRevision(fernTestValueRevision) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -198002,14 +202447,14 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetRevision_MarksExplicit", func(t *testing.T) { + t.Run("SetWeakAnnotationState_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndex{} - var fernTestValueRevision *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState // Act - obj.SetRevision(fernTestValueRevision) + obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -198035,9 +202480,9 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations } -func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision(t *testing.T) { +func TestSettersDocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("SetDocSessionID", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision{} + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision{} var fernTestValueDocSessionID string obj.SetDocSessionID(fernTestValueDocSessionID) assert.Equal(t, fernTestValueDocSessionID, obj.DocSessionID) @@ -198045,7 +202490,7 @@ func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRe }) t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision{} + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -198053,7 +202498,7 @@ func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRe }) t.Run("SetGeneration", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision{} + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision{} var fernTestValueGeneration int obj.SetGeneration(fernTestValueGeneration) assert.Equal(t, fernTestValueGeneration, obj.Generation) @@ -198062,11 +202507,11 @@ func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRe } -func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision(t *testing.T) { +func TestGettersDocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("GetDocSessionID", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision{} + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision{} var expected string obj.DocSessionID = expected @@ -198076,7 +202521,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRe t.Run("GetDocSessionID_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision + var obj *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -198089,7 +202534,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRe t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision{} + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision{} var expected int obj.PageObjectNumber = expected @@ -198099,7 +202544,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRe t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision + var obj *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -198112,7 +202557,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRe t.Run("GetGeneration", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision{} + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision{} var expected int obj.Generation = expected @@ -198122,7 +202567,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRe t.Run("GetGeneration_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision + var obj *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -198134,11 +202579,11 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRe } -func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision(t *testing.T) { +func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("SetDocSessionID_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision{} + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision{} var fernTestValueDocSessionID string // Act @@ -198169,7 +202614,7 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision{} + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision{} var fernTestValuePageObjectNumber int // Act @@ -198200,7 +202645,7 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations t.Run("SetGeneration_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefIndexRevision{} + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision{} var fernTestValueGeneration int // Act @@ -198230,216 +202675,144 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations } -func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm(t *testing.T) { - t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm{} - var fernTestValuePageObjectNumber int - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) - assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetNm", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm{} - var fernTestValueNm string - obj.SetNm(fernTestValueNm) - assert.Equal(t, fernTestValueNm, obj.Nm) - assert.NotNil(t, obj.explicitFields) - }) - -} - -func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm(t *testing.T) { - t.Run("GetPageObjectNumber", func(t *testing.T) { +func TestGettersDocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { + t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm{} - var expected int - obj.PageObjectNumber = expected + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected string + obj.Kind = expected // Act & Assert - assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + assert.Equal(t, expected, obj.GetKind(), "getter should return the property value") }) - t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm + var obj *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetPageObjectNumber() // Should return zero value + _ = obj.GetKind() // Should return zero value }) - t.Run("GetNm", func(t *testing.T) { + t.Run("GetUnknown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm{} - var expected string - obj.Nm = expected + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + obj.Unknown = expected // Act & Assert - assert.Equal(t, expected, obj.GetNm(), "getter should return the property value") + assert.Equal(t, expected, obj.GetUnknown(), "getter should return the property value") }) - t.Run("GetNm_NilReceiver", func(t *testing.T) { + t.Run("GetUnknown_NilValue", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm + // Arrange + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj.Unknown = nil + + // Act & Assert + assert.Nil(t, obj.GetUnknown(), "getter should return nil when property is nil") + }) + + t.Run("GetUnknown_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetNm() // Should return zero value - }) - -} - -func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm(t *testing.T) { - t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm{} - var fernTestValuePageObjectNumber int - - // Act - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetNm_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefNm{} - var fernTestValueNm string - - // Act - obj.SetNm(fernTestValueNm) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - -} - -func TestSettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber(t *testing.T) { - t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber{} - var fernTestValuePageObjectNumber int - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) - assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetAnnotObjectNumber", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber{} - var fernTestValueAnnotObjectNumber int - obj.SetAnnotObjectNumber(fernTestValueAnnotObjectNumber) - assert.Equal(t, fernTestValueAnnotObjectNumber, obj.AnnotObjectNumber) - assert.NotNil(t, obj.explicitFields) + _ = obj.GetUnknown() // Should return zero value }) -} + t.Run("GetKnown", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + obj.Known = expected -func TestGettersDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber(t *testing.T) { - t.Run("GetPageObjectNumber", func(t *testing.T) { + // Act & Assert + assert.Equal(t, expected, obj.GetKnown(), "getter should return the property value") + }) + + t.Run("GetKnown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber{} - var expected int - obj.PageObjectNumber = expected + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj.Known = nil // Act & Assert - assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + assert.Nil(t, obj.GetKnown(), "getter should return nil when property is nil") }) - t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Run("GetKnown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber + var obj *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetPageObjectNumber() // Should return zero value + _ = obj.GetKnown() // Should return zero value }) - t.Run("GetAnnotObjectNumber", func(t *testing.T) { +} + +func TestSettersDocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("SetHasAnyWeakAnnotations", func(t *testing.T) { + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + var fernTestValueHasAnyWeakAnnotations bool + obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) + assert.Equal(t, fernTestValueHasAnyWeakAnnotations, obj.HasAnyWeakAnnotations) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("GetHasAnyWeakAnnotations", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber{} - var expected int - obj.AnnotObjectNumber = expected + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + var expected bool + obj.HasAnyWeakAnnotations = expected // Act & Assert - assert.Equal(t, expected, obj.GetAnnotObjectNumber(), "getter should return the property value") + assert.Equal(t, expected, obj.GetHasAnyWeakAnnotations(), "getter should return the property value") }) - t.Run("GetAnnotObjectNumber_NilReceiver", func(t *testing.T) { + t.Run("GetHasAnyWeakAnnotations_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber + var obj *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetAnnotObjectNumber() // Should return zero value + _ = obj.GetHasAnyWeakAnnotations() // Should return zero value }) } -func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber(t *testing.T) { - t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("SetHasAnyWeakAnnotations_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber{} - var fernTestValuePageObjectNumber int + obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + var fernTestValueHasAnyWeakAnnotations bool // Act - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -198463,167 +202836,167 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemAnnotations // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetAnnotObjectNumber_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemAnnotationsItemWidgetRefObjectNumber{} - var fernTestValueAnnotObjectNumber int - - // Act - obj.SetAnnotObjectNumber(fernTestValueAnnotObjectNumber) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } +} - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip +func TestSettersDocAnnotationsUpdate200ResponseMetaCacheDelta(t *testing.T) { + t.Run("SetPreviousDocVersion", func(t *testing.T) { + obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} + var fernTestValuePreviousDocVersion int + obj.SetPreviousDocVersion(fernTestValuePreviousDocVersion) + assert.Equal(t, fernTestValuePreviousDocVersion, obj.PreviousDocVersion) + assert.NotNil(t, obj.explicitFields) }) -} - -func TestSettersDocAnnotationsListAll200ResponsePagesItemPageState(t *testing.T) { - t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemPageState{} - var fernTestValuePageObjectNumber int - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) - assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) + t.Run("SetDocVersion", func(t *testing.T) { + obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} + var fernTestValueDocVersion int + obj.SetDocVersion(fernTestValueDocVersion) + assert.Equal(t, fernTestValueDocVersion, obj.DocVersion) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetRevision", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemPageState{} - var fernTestValueRevision *DocAnnotationsListAll200ResponsePagesItemPageStateRevision - obj.SetRevision(fernTestValueRevision) - assert.Equal(t, fernTestValueRevision, obj.Revision) + t.Run("SetAnnotationsVersion", func(t *testing.T) { + obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} + var fernTestValueAnnotationsVersion *int + obj.SetAnnotationsVersion(fernTestValueAnnotationsVersion) + assert.Equal(t, fernTestValueAnnotationsVersion, obj.AnnotationsVersion) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetWeakAnnotationState", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemPageState{} - var fernTestValueWeakAnnotationState *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState - obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) - assert.Equal(t, fernTestValueWeakAnnotationState, obj.WeakAnnotationState) + t.Run("SetPages", func(t *testing.T) { + obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem + obj.SetPages(fernTestValuePages) + assert.Equal(t, fernTestValuePages, obj.Pages) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocAnnotationsListAll200ResponsePagesItemPageState(t *testing.T) { - t.Run("GetPageObjectNumber", func(t *testing.T) { +func TestGettersDocAnnotationsUpdate200ResponseMetaCacheDelta(t *testing.T) { + t.Run("GetPreviousDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemPageState{} + obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} var expected int - obj.PageObjectNumber = expected + obj.PreviousDocVersion = expected // Act & Assert - assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + assert.Equal(t, expected, obj.GetPreviousDocVersion(), "getter should return the property value") }) - t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Run("GetPreviousDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemPageState + var obj *DocAnnotationsUpdate200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetPageObjectNumber() // Should return zero value + _ = obj.GetPreviousDocVersion() // Should return zero value }) - t.Run("GetRevision", func(t *testing.T) { + t.Run("GetDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemPageState{} - var expected *DocAnnotationsListAll200ResponsePagesItemPageStateRevision - obj.Revision = expected + obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} + var expected int + obj.DocVersion = expected // Act & Assert - assert.Equal(t, expected, obj.GetRevision(), "getter should return the property value") + assert.Equal(t, expected, obj.GetDocVersion(), "getter should return the property value") }) - t.Run("GetRevision_NilValue", func(t *testing.T) { + t.Run("GetDocVersion_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsUpdate200ResponseMetaCacheDelta + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetDocVersion() // Should return zero value + }) + + t.Run("GetAnnotationsVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemPageState{} - obj.Revision = nil + obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} + var expected *int + obj.AnnotationsVersion = expected // Act & Assert - assert.Nil(t, obj.GetRevision(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetAnnotationsVersion(), "getter should return the property value") }) - t.Run("GetRevision_NilReceiver", func(t *testing.T) { + t.Run("GetAnnotationsVersion_NilValue", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemPageState + // Arrange + obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} + obj.AnnotationsVersion = nil + + // Act & Assert + assert.Nil(t, obj.GetAnnotationsVersion(), "getter should return nil when property is nil") + }) + + t.Run("GetAnnotationsVersion_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsUpdate200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetRevision() // Should return zero value + _ = obj.GetAnnotationsVersion() // Should return zero value }) - t.Run("GetWeakAnnotationState", func(t *testing.T) { + t.Run("GetPages", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemPageState{} - var expected *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState - obj.WeakAnnotationState = expected + obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} + var expected []*DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem + obj.Pages = expected // Act & Assert - assert.Equal(t, expected, obj.GetWeakAnnotationState(), "getter should return the property value") + assert.Equal(t, expected, obj.GetPages(), "getter should return the property value") }) - t.Run("GetWeakAnnotationState_NilValue", func(t *testing.T) { + t.Run("GetPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemPageState{} - obj.WeakAnnotationState = nil + obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} + obj.Pages = nil // Act & Assert - assert.Nil(t, obj.GetWeakAnnotationState(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetPages(), "getter should return nil when property is nil") }) - t.Run("GetWeakAnnotationState_NilReceiver", func(t *testing.T) { + t.Run("GetPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemPageState + var obj *DocAnnotationsUpdate200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetWeakAnnotationState() // Should return zero value + _ = obj.GetPages() // Should return zero value }) } -func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemPageState(t *testing.T) { - t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMetaCacheDelta(t *testing.T) { + t.Run("SetPreviousDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemPageState{} - var fernTestValuePageObjectNumber int + obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} + var fernTestValuePreviousDocVersion int // Act - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + obj.SetPreviousDocVersion(fernTestValuePreviousDocVersion) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -198647,14 +203020,14 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemPageState(t // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetRevision_MarksExplicit", func(t *testing.T) { + t.Run("SetDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemPageState{} - var fernTestValueRevision *DocAnnotationsListAll200ResponsePagesItemPageStateRevision + obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} + var fernTestValueDocVersion int // Act - obj.SetRevision(fernTestValueRevision) + obj.SetDocVersion(fernTestValueDocVersion) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -198678,14 +203051,14 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemPageState(t // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetWeakAnnotationState_MarksExplicit", func(t *testing.T) { + t.Run("SetAnnotationsVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemPageState{} - var fernTestValueWeakAnnotationState *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState + obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} + var fernTestValueAnnotationsVersion *int // Act - obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) + obj.SetAnnotationsVersion(fernTestValueAnnotationsVersion) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -198709,63 +203082,63 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemPageState(t // It verifies that setting a field via setter allows successful JSON round-trip }) -} + t.Run("SetPages_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem -func TestSettersDocAnnotationsListAll200ResponsePagesItemPageStateRevision(t *testing.T) { - t.Run("SetDocSessionID", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemPageStateRevision{} - var fernTestValueDocSessionID string - obj.SetDocSessionID(fernTestValueDocSessionID) - assert.Equal(t, fernTestValueDocSessionID, obj.DocSessionID) - assert.NotNil(t, obj.explicitFields) + // Act + obj.SetPages(fernTestValuePages) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip }) +} + +func TestSettersDocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemPageStateRevision{} + obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetGeneration", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemPageStateRevision{} - var fernTestValueGeneration int - obj.SetGeneration(fernTestValueGeneration) - assert.Equal(t, fernTestValueGeneration, obj.Generation) + t.Run("SetCache", func(t *testing.T) { + obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache + obj.SetCache(fernTestValueCache) + assert.Equal(t, fernTestValueCache, obj.Cache) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocAnnotationsListAll200ResponsePagesItemPageStateRevision(t *testing.T) { - t.Run("GetDocSessionID", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemPageStateRevision{} - var expected string - obj.DocSessionID = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetDocSessionID(), "getter should return the property value") - }) - - t.Run("GetDocSessionID_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemPageStateRevision - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetDocSessionID() // Should return zero value - }) - +func TestGettersDocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemPageStateRevision{} + obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem{} var expected int obj.PageObjectNumber = expected @@ -198775,7 +203148,7 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemPageStateRevision(t *te t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemPageStateRevision + var obj *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -198785,67 +203158,46 @@ func TestGettersDocAnnotationsListAll200ResponsePagesItemPageStateRevision(t *te _ = obj.GetPageObjectNumber() // Should return zero value }) - t.Run("GetGeneration", func(t *testing.T) { + t.Run("GetCache", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemPageStateRevision{} - var expected int - obj.Generation = expected + obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem{} + var expected *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache + obj.Cache = expected // Act & Assert - assert.Equal(t, expected, obj.GetGeneration(), "getter should return the property value") + assert.Equal(t, expected, obj.GetCache(), "getter should return the property value") }) - t.Run("GetGeneration_NilReceiver", func(t *testing.T) { + t.Run("GetCache_NilValue", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemPageStateRevision + // Arrange + obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem{} + obj.Cache = nil + + // Act & Assert + assert.Nil(t, obj.GetCache(), "getter should return nil when property is nil") + }) + + t.Run("GetCache_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetGeneration() // Should return zero value + _ = obj.GetCache() // Should return zero value }) } -func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemPageStateRevision(t *testing.T) { - t.Run("SetDocSessionID_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemPageStateRevision{} - var fernTestValueDocSessionID string - - // Act - obj.SetDocSessionID(fernTestValueDocSessionID) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - +func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemPageStateRevision{} + obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem{} var fernTestValuePageObjectNumber int // Act @@ -198873,14 +203225,14 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemPageStateRe // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetGeneration_MarksExplicit", func(t *testing.T) { + t.Run("SetCache_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemPageStateRevision{} - var fernTestValueGeneration int + obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache // Act - obj.SetGeneration(fernTestValueGeneration) + obj.SetCache(fernTestValueCache) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -198906,144 +203258,114 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemPageStateRe } -func TestGettersDocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState(t *testing.T) { - t.Run("GetKind", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState{} - var expected string - obj.Kind = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetKind(), "getter should return the property value") +func TestSettersDocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("SetContentVersion", func(t *testing.T) { + obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueContentVersion int + obj.SetContentVersion(fernTestValueContentVersion) + assert.Equal(t, fernTestValueContentVersion, obj.ContentVersion) + assert.NotNil(t, obj.explicitFields) }) - t.Run("GetKind_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetKind() // Should return zero value + t.Run("SetAnnotationVersion", func(t *testing.T) { + obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueAnnotationVersion int + obj.SetAnnotationVersion(fernTestValueAnnotationVersion) + assert.Equal(t, fernTestValueAnnotationVersion, obj.AnnotationVersion) + assert.NotNil(t, obj.explicitFields) }) - t.Run("GetUnknown", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState{} - var expected *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateUnknown - obj.Unknown = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetUnknown(), "getter should return the property value") - }) +} - t.Run("GetUnknown_NilValue", func(t *testing.T) { +func TestGettersDocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("GetContentVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState{} - obj.Unknown = nil + obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache{} + var expected int + obj.ContentVersion = expected // Act & Assert - assert.Nil(t, obj.GetUnknown(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetContentVersion(), "getter should return the property value") }) - t.Run("GetUnknown_NilReceiver", func(t *testing.T) { + t.Run("GetContentVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState + var obj *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetUnknown() // Should return zero value - }) - - t.Run("GetKnown", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState{} - var expected *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown - obj.Known = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetKnown(), "getter should return the property value") + _ = obj.GetContentVersion() // Should return zero value }) - t.Run("GetKnown_NilValue", func(t *testing.T) { + t.Run("GetAnnotationVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState{} - obj.Known = nil + obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache{} + var expected int + obj.AnnotationVersion = expected // Act & Assert - assert.Nil(t, obj.GetKnown(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetAnnotationVersion(), "getter should return the property value") }) - t.Run("GetKnown_NilReceiver", func(t *testing.T) { + t.Run("GetAnnotationVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationState + var obj *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetKnown() // Should return zero value - }) - -} - -func TestSettersDocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown(t *testing.T) { - t.Run("SetHasAnyWeakAnnotations", func(t *testing.T) { - obj := &DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown{} - var fernTestValueHasAnyWeakAnnotations bool - obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) - assert.Equal(t, fernTestValueHasAnyWeakAnnotations, obj.HasAnyWeakAnnotations) - assert.NotNil(t, obj.explicitFields) + _ = obj.GetAnnotationVersion() // Should return zero value }) } -func TestGettersDocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown(t *testing.T) { - t.Run("GetHasAnyWeakAnnotations", func(t *testing.T) { +func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("SetContentVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown{} - var expected bool - obj.HasAnyWeakAnnotations = expected + obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueContentVersion int - // Act & Assert - assert.Equal(t, expected, obj.GetHasAnyWeakAnnotations(), "getter should return the property value") - }) + // Act + obj.SetContentVersion(fernTestValueContentVersion) - t.Run("GetHasAnyWeakAnnotations_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetHasAnyWeakAnnotations() // Should return zero value - }) + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") -} + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } -func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown(t *testing.T) { - t.Run("SetHasAnyWeakAnnotations_MarksExplicit", func(t *testing.T) { + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetAnnotationVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll200ResponsePagesItemPageStateWeakAnnotationStateKnown{} - var fernTestValueHasAnyWeakAnnotations bool + obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueAnnotationVersion int // Act - obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) + obj.SetAnnotationVersion(fernTestValueAnnotationVersion) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -199069,25 +203391,25 @@ func TestSettersMarkExplicitDocAnnotationsListAll200ResponsePagesItemPageStateWe } -func TestSettersDocAnnotationsListAll404Response(t *testing.T) { +func TestSettersDocAnnotationsUpdate400Response(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocAnnotationsListAll404Response{} - var fernTestValueName DocAnnotationsListAll404ResponseName + obj := &DocAnnotationsUpdate400Response{} + var fernTestValueName DocAnnotationsUpdate400ResponseName obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCode", func(t *testing.T) { - obj := &DocAnnotationsListAll404Response{} - var fernTestValueCode DocAnnotationsListAll404ResponseCode + obj := &DocAnnotationsUpdate400Response{} + var fernTestValueCode DocAnnotationsUpdate400ResponseCode obj.SetCode(fernTestValueCode) assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) t.Run("SetMessage", func(t *testing.T) { - obj := &DocAnnotationsListAll404Response{} + obj := &DocAnnotationsUpdate400Response{} var fernTestValueMessage string obj.SetMessage(fernTestValueMessage) assert.Equal(t, fernTestValueMessage, obj.Message) @@ -199095,7 +203417,7 @@ func TestSettersDocAnnotationsListAll404Response(t *testing.T) { }) t.Run("SetDetails", func(t *testing.T) { - obj := &DocAnnotationsListAll404Response{} + obj := &DocAnnotationsUpdate400Response{} var fernTestValueDetails map[string]any obj.SetDetails(fernTestValueDetails) assert.Equal(t, fernTestValueDetails, obj.Details) @@ -199104,12 +203426,12 @@ func TestSettersDocAnnotationsListAll404Response(t *testing.T) { } -func TestGettersDocAnnotationsListAll404Response(t *testing.T) { +func TestGettersDocAnnotationsUpdate400Response(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll404Response{} - var expected DocAnnotationsListAll404ResponseName + obj := &DocAnnotationsUpdate400Response{} + var expected DocAnnotationsUpdate400ResponseName obj.Name = expected // Act & Assert @@ -199118,7 +203440,7 @@ func TestGettersDocAnnotationsListAll404Response(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll404Response + var obj *DocAnnotationsUpdate400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -199131,8 +203453,8 @@ func TestGettersDocAnnotationsListAll404Response(t *testing.T) { t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll404Response{} - var expected DocAnnotationsListAll404ResponseCode + obj := &DocAnnotationsUpdate400Response{} + var expected DocAnnotationsUpdate400ResponseCode obj.Code = expected // Act & Assert @@ -199141,7 +203463,7 @@ func TestGettersDocAnnotationsListAll404Response(t *testing.T) { t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll404Response + var obj *DocAnnotationsUpdate400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -199154,7 +203476,7 @@ func TestGettersDocAnnotationsListAll404Response(t *testing.T) { t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll404Response{} + obj := &DocAnnotationsUpdate400Response{} var expected string obj.Message = expected @@ -199164,7 +203486,7 @@ func TestGettersDocAnnotationsListAll404Response(t *testing.T) { t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll404Response + var obj *DocAnnotationsUpdate400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -199177,7 +203499,7 @@ func TestGettersDocAnnotationsListAll404Response(t *testing.T) { t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll404Response{} + obj := &DocAnnotationsUpdate400Response{} var expected map[string]any obj.Details = expected @@ -199188,7 +203510,7 @@ func TestGettersDocAnnotationsListAll404Response(t *testing.T) { t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll404Response{} + obj := &DocAnnotationsUpdate400Response{} obj.Details = nil // Act & Assert @@ -199197,7 +203519,7 @@ func TestGettersDocAnnotationsListAll404Response(t *testing.T) { t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll404Response + var obj *DocAnnotationsUpdate400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -199209,12 +203531,12 @@ func TestGettersDocAnnotationsListAll404Response(t *testing.T) { } -func TestSettersMarkExplicitDocAnnotationsListAll404Response(t *testing.T) { +func TestSettersMarkExplicitDocAnnotationsUpdate400Response(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll404Response{} - var fernTestValueName DocAnnotationsListAll404ResponseName + obj := &DocAnnotationsUpdate400Response{} + var fernTestValueName DocAnnotationsUpdate400ResponseName // Act obj.SetName(fernTestValueName) @@ -199244,8 +203566,8 @@ func TestSettersMarkExplicitDocAnnotationsListAll404Response(t *testing.T) { t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll404Response{} - var fernTestValueCode DocAnnotationsListAll404ResponseCode + obj := &DocAnnotationsUpdate400Response{} + var fernTestValueCode DocAnnotationsUpdate400ResponseCode // Act obj.SetCode(fernTestValueCode) @@ -199275,7 +203597,7 @@ func TestSettersMarkExplicitDocAnnotationsListAll404Response(t *testing.T) { t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll404Response{} + obj := &DocAnnotationsUpdate400Response{} var fernTestValueMessage string // Act @@ -199306,7 +203628,7 @@ func TestSettersMarkExplicitDocAnnotationsListAll404Response(t *testing.T) { t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll404Response{} + obj := &DocAnnotationsUpdate400Response{} var fernTestValueDetails map[string]any // Act @@ -199336,25 +203658,25 @@ func TestSettersMarkExplicitDocAnnotationsListAll404Response(t *testing.T) { } -func TestSettersDocAnnotationsListAll409Response(t *testing.T) { +func TestSettersDocAnnotationsUpdate404Response(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocAnnotationsListAll409Response{} - var fernTestValueName DocAnnotationsListAll409ResponseName + obj := &DocAnnotationsUpdate404Response{} + var fernTestValueName DocAnnotationsUpdate404ResponseName obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCode", func(t *testing.T) { - obj := &DocAnnotationsListAll409Response{} - var fernTestValueCode DocAnnotationsListAll409ResponseCode + obj := &DocAnnotationsUpdate404Response{} + var fernTestValueCode DocAnnotationsUpdate404ResponseCode obj.SetCode(fernTestValueCode) assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) t.Run("SetMessage", func(t *testing.T) { - obj := &DocAnnotationsListAll409Response{} + obj := &DocAnnotationsUpdate404Response{} var fernTestValueMessage string obj.SetMessage(fernTestValueMessage) assert.Equal(t, fernTestValueMessage, obj.Message) @@ -199362,7 +203684,7 @@ func TestSettersDocAnnotationsListAll409Response(t *testing.T) { }) t.Run("SetDetails", func(t *testing.T) { - obj := &DocAnnotationsListAll409Response{} + obj := &DocAnnotationsUpdate404Response{} var fernTestValueDetails map[string]any obj.SetDetails(fernTestValueDetails) assert.Equal(t, fernTestValueDetails, obj.Details) @@ -199371,12 +203693,12 @@ func TestSettersDocAnnotationsListAll409Response(t *testing.T) { } -func TestGettersDocAnnotationsListAll409Response(t *testing.T) { +func TestGettersDocAnnotationsUpdate404Response(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll409Response{} - var expected DocAnnotationsListAll409ResponseName + obj := &DocAnnotationsUpdate404Response{} + var expected DocAnnotationsUpdate404ResponseName obj.Name = expected // Act & Assert @@ -199385,7 +203707,7 @@ func TestGettersDocAnnotationsListAll409Response(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll409Response + var obj *DocAnnotationsUpdate404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -199398,8 +203720,8 @@ func TestGettersDocAnnotationsListAll409Response(t *testing.T) { t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll409Response{} - var expected DocAnnotationsListAll409ResponseCode + obj := &DocAnnotationsUpdate404Response{} + var expected DocAnnotationsUpdate404ResponseCode obj.Code = expected // Act & Assert @@ -199408,7 +203730,7 @@ func TestGettersDocAnnotationsListAll409Response(t *testing.T) { t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll409Response + var obj *DocAnnotationsUpdate404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -199421,7 +203743,7 @@ func TestGettersDocAnnotationsListAll409Response(t *testing.T) { t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll409Response{} + obj := &DocAnnotationsUpdate404Response{} var expected string obj.Message = expected @@ -199431,7 +203753,7 @@ func TestGettersDocAnnotationsListAll409Response(t *testing.T) { t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll409Response + var obj *DocAnnotationsUpdate404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -199444,7 +203766,7 @@ func TestGettersDocAnnotationsListAll409Response(t *testing.T) { t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll409Response{} + obj := &DocAnnotationsUpdate404Response{} var expected map[string]any obj.Details = expected @@ -199455,7 +203777,7 @@ func TestGettersDocAnnotationsListAll409Response(t *testing.T) { t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll409Response{} + obj := &DocAnnotationsUpdate404Response{} obj.Details = nil // Act & Assert @@ -199464,7 +203786,7 @@ func TestGettersDocAnnotationsListAll409Response(t *testing.T) { t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsListAll409Response + var obj *DocAnnotationsUpdate404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -199476,12 +203798,12 @@ func TestGettersDocAnnotationsListAll409Response(t *testing.T) { } -func TestSettersMarkExplicitDocAnnotationsListAll409Response(t *testing.T) { +func TestSettersMarkExplicitDocAnnotationsUpdate404Response(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll409Response{} - var fernTestValueName DocAnnotationsListAll409ResponseName + obj := &DocAnnotationsUpdate404Response{} + var fernTestValueName DocAnnotationsUpdate404ResponseName // Act obj.SetName(fernTestValueName) @@ -199511,8 +203833,8 @@ func TestSettersMarkExplicitDocAnnotationsListAll409Response(t *testing.T) { t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll409Response{} - var fernTestValueCode DocAnnotationsListAll409ResponseCode + obj := &DocAnnotationsUpdate404Response{} + var fernTestValueCode DocAnnotationsUpdate404ResponseCode // Act obj.SetCode(fernTestValueCode) @@ -199542,7 +203864,7 @@ func TestSettersMarkExplicitDocAnnotationsListAll409Response(t *testing.T) { t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll409Response{} + obj := &DocAnnotationsUpdate404Response{} var fernTestValueMessage string // Act @@ -199573,7 +203895,7 @@ func TestSettersMarkExplicitDocAnnotationsListAll409Response(t *testing.T) { t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsListAll409Response{} + obj := &DocAnnotationsUpdate404Response{} var fernTestValueDetails map[string]any // Act @@ -199603,184 +203925,155 @@ func TestSettersMarkExplicitDocAnnotationsListAll409Response(t *testing.T) { } -func TestSettersDocAnnotationsUpdate200Response(t *testing.T) { - t.Run("SetMeta", func(t *testing.T) { - obj := &DocAnnotationsUpdate200Response{} - var fernTestValueMeta *DocAnnotationsUpdate200ResponseMeta - obj.SetMeta(fernTestValueMeta) - assert.Equal(t, fernTestValueMeta, obj.Meta) +func TestSettersDocDownloadResponse(t *testing.T) { + t.Run("SetName", func(t *testing.T) { + obj := &DocDownloadResponse{} + var fernTestValueName DocDownloadResponseName + obj.SetName(fernTestValueName) + assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) -} + t.Run("SetCode", func(t *testing.T) { + obj := &DocDownloadResponse{} + var fernTestValueCode DocDownloadResponseCode + obj.SetCode(fernTestValueCode) + assert.Equal(t, fernTestValueCode, obj.Code) + assert.NotNil(t, obj.explicitFields) + }) -func TestGettersDocAnnotationsUpdate200Response(t *testing.T) { - t.Run("GetMeta", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocAnnotationsUpdate200Response{} - var expected *DocAnnotationsUpdate200ResponseMeta - obj.Meta = expected + t.Run("SetMessage", func(t *testing.T) { + obj := &DocDownloadResponse{} + var fernTestValueMessage string + obj.SetMessage(fernTestValueMessage) + assert.Equal(t, fernTestValueMessage, obj.Message) + assert.NotNil(t, obj.explicitFields) + }) - // Act & Assert - assert.Equal(t, expected, obj.GetMeta(), "getter should return the property value") + t.Run("SetDetails", func(t *testing.T) { + obj := &DocDownloadResponse{} + var fernTestValueDetails map[string]any + obj.SetDetails(fernTestValueDetails) + assert.Equal(t, fernTestValueDetails, obj.Details) + assert.NotNil(t, obj.explicitFields) }) - t.Run("GetMeta_NilValue", func(t *testing.T) { +} + +func TestGettersDocDownloadResponse(t *testing.T) { + t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200Response{} - obj.Meta = nil + obj := &DocDownloadResponse{} + var expected DocDownloadResponseName + obj.Name = expected // Act & Assert - assert.Nil(t, obj.GetMeta(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetName(), "getter should return the property value") }) - t.Run("GetMeta_NilReceiver", func(t *testing.T) { + t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate200Response + var obj *DocDownloadResponse // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetMeta() // Should return zero value + _ = obj.GetName() // Should return zero value }) -} - -func TestSettersMarkExplicitDocAnnotationsUpdate200Response(t *testing.T) { - t.Run("SetMeta_MarksExplicit", func(t *testing.T) { + t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200Response{} - var fernTestValueMeta *DocAnnotationsUpdate200ResponseMeta - - // Act - obj.SetMeta(fernTestValueMeta) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - -} - -func TestSettersDocAnnotationsUpdate200ResponseMeta(t *testing.T) { - t.Run("SetAffectedPages", func(t *testing.T) { - obj := &DocAnnotationsUpdate200ResponseMeta{} - var fernTestValueAffectedPages []*DocAnnotationsUpdate200ResponseMetaAffectedPagesItem - obj.SetAffectedPages(fernTestValueAffectedPages) - assert.Equal(t, fernTestValueAffectedPages, obj.AffectedPages) - assert.NotNil(t, obj.explicitFields) - }) + obj := &DocDownloadResponse{} + var expected DocDownloadResponseCode + obj.Code = expected - t.Run("SetCacheDelta", func(t *testing.T) { - obj := &DocAnnotationsUpdate200ResponseMeta{} - var fernTestValueCacheDelta *DocAnnotationsUpdate200ResponseMetaCacheDelta - obj.SetCacheDelta(fernTestValueCacheDelta) - assert.Equal(t, fernTestValueCacheDelta, obj.CacheDelta) - assert.NotNil(t, obj.explicitFields) + // Act & Assert + assert.Equal(t, expected, obj.GetCode(), "getter should return the property value") }) -} - -func TestGettersDocAnnotationsUpdate200ResponseMeta(t *testing.T) { - t.Run("GetAffectedPages", func(t *testing.T) { + t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - // Arrange - obj := &DocAnnotationsUpdate200ResponseMeta{} - var expected []*DocAnnotationsUpdate200ResponseMetaAffectedPagesItem - obj.AffectedPages = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetAffectedPages(), "getter should return the property value") + var obj *DocDownloadResponse + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetCode() // Should return zero value }) - t.Run("GetAffectedPages_NilValue", func(t *testing.T) { + t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMeta{} - obj.AffectedPages = nil + obj := &DocDownloadResponse{} + var expected string + obj.Message = expected // Act & Assert - assert.Nil(t, obj.GetAffectedPages(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") }) - t.Run("GetAffectedPages_NilReceiver", func(t *testing.T) { + t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate200ResponseMeta + var obj *DocDownloadResponse // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetAffectedPages() // Should return zero value + _ = obj.GetMessage() // Should return zero value }) - t.Run("GetCacheDelta", func(t *testing.T) { + t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMeta{} - var expected *DocAnnotationsUpdate200ResponseMetaCacheDelta - obj.CacheDelta = expected + obj := &DocDownloadResponse{} + var expected map[string]any + obj.Details = expected // Act & Assert - assert.Equal(t, expected, obj.GetCacheDelta(), "getter should return the property value") + assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") }) - t.Run("GetCacheDelta_NilValue", func(t *testing.T) { + t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMeta{} - obj.CacheDelta = nil + obj := &DocDownloadResponse{} + obj.Details = nil // Act & Assert - assert.Nil(t, obj.GetCacheDelta(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") }) - t.Run("GetCacheDelta_NilReceiver", func(t *testing.T) { + t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate200ResponseMeta + var obj *DocDownloadResponse // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetCacheDelta() // Should return zero value + _ = obj.GetDetails() // Should return zero value }) } -func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMeta(t *testing.T) { - t.Run("SetAffectedPages_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocDownloadResponse(t *testing.T) { + t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMeta{} - var fernTestValueAffectedPages []*DocAnnotationsUpdate200ResponseMetaAffectedPagesItem + obj := &DocDownloadResponse{} + var fernTestValueName DocDownloadResponseName // Act - obj.SetAffectedPages(fernTestValueAffectedPages) + obj.SetName(fernTestValueName) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -199804,14 +204097,76 @@ func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMeta(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetCacheDelta_MarksExplicit", func(t *testing.T) { + t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMeta{} - var fernTestValueCacheDelta *DocAnnotationsUpdate200ResponseMetaCacheDelta + obj := &DocDownloadResponse{} + var fernTestValueCode DocDownloadResponseCode // Act - obj.SetCacheDelta(fernTestValueCacheDelta) + obj.SetCode(fernTestValueCode) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetMessage_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocDownloadResponse{} + var fernTestValueMessage string + + // Act + obj.SetMessage(fernTestValueMessage) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetDetails_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocDownloadResponse{} + var fernTestValueDetails map[string]any + + // Act + obj.SetDetails(fernTestValueDetails) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -199837,134 +204192,155 @@ func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMeta(t *testing.T) { } -func TestSettersDocAnnotationsUpdate200ResponseMetaAffectedPagesItem(t *testing.T) { - t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItem{} - var fernTestValuePageObjectNumber int - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) - assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) +func TestSettersDocFormsExportDataResponse(t *testing.T) { + t.Run("SetName", func(t *testing.T) { + obj := &DocFormsExportDataResponse{} + var fernTestValueName DocFormsExportDataResponseName + obj.SetName(fernTestValueName) + assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetRevision", func(t *testing.T) { - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItem{} - var fernTestValueRevision *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision - obj.SetRevision(fernTestValueRevision) - assert.Equal(t, fernTestValueRevision, obj.Revision) + t.Run("SetCode", func(t *testing.T) { + obj := &DocFormsExportDataResponse{} + var fernTestValueCode DocFormsExportDataResponseCode + obj.SetCode(fernTestValueCode) + assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetWeakAnnotationState", func(t *testing.T) { - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItem{} - var fernTestValueWeakAnnotationState *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState - obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) - assert.Equal(t, fernTestValueWeakAnnotationState, obj.WeakAnnotationState) + t.Run("SetMessage", func(t *testing.T) { + obj := &DocFormsExportDataResponse{} + var fernTestValueMessage string + obj.SetMessage(fernTestValueMessage) + assert.Equal(t, fernTestValueMessage, obj.Message) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetDetails", func(t *testing.T) { + obj := &DocFormsExportDataResponse{} + var fernTestValueDetails map[string]any + obj.SetDetails(fernTestValueDetails) + assert.Equal(t, fernTestValueDetails, obj.Details) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocAnnotationsUpdate200ResponseMetaAffectedPagesItem(t *testing.T) { - t.Run("GetPageObjectNumber", func(t *testing.T) { +func TestGettersDocFormsExportDataResponse(t *testing.T) { + t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItem{} - var expected int - obj.PageObjectNumber = expected + obj := &DocFormsExportDataResponse{} + var expected DocFormsExportDataResponseName + obj.Name = expected // Act & Assert - assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + assert.Equal(t, expected, obj.GetName(), "getter should return the property value") }) - t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem + var obj *DocFormsExportDataResponse // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetPageObjectNumber() // Should return zero value + _ = obj.GetName() // Should return zero value }) - t.Run("GetRevision", func(t *testing.T) { + t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItem{} - var expected *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision - obj.Revision = expected + obj := &DocFormsExportDataResponse{} + var expected DocFormsExportDataResponseCode + obj.Code = expected // Act & Assert - assert.Equal(t, expected, obj.GetRevision(), "getter should return the property value") + assert.Equal(t, expected, obj.GetCode(), "getter should return the property value") }) - t.Run("GetRevision_NilValue", func(t *testing.T) { + t.Run("GetCode_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsExportDataResponse + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetCode() // Should return zero value + }) + + t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItem{} - obj.Revision = nil + obj := &DocFormsExportDataResponse{} + var expected string + obj.Message = expected // Act & Assert - assert.Nil(t, obj.GetRevision(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") }) - t.Run("GetRevision_NilReceiver", func(t *testing.T) { + t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem + var obj *DocFormsExportDataResponse // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetRevision() // Should return zero value + _ = obj.GetMessage() // Should return zero value }) - t.Run("GetWeakAnnotationState", func(t *testing.T) { + t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItem{} - var expected *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState - obj.WeakAnnotationState = expected + obj := &DocFormsExportDataResponse{} + var expected map[string]any + obj.Details = expected // Act & Assert - assert.Equal(t, expected, obj.GetWeakAnnotationState(), "getter should return the property value") + assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") }) - t.Run("GetWeakAnnotationState_NilValue", func(t *testing.T) { + t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItem{} - obj.WeakAnnotationState = nil + obj := &DocFormsExportDataResponse{} + obj.Details = nil // Act & Assert - assert.Nil(t, obj.GetWeakAnnotationState(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") }) - t.Run("GetWeakAnnotationState_NilReceiver", func(t *testing.T) { + t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate200ResponseMetaAffectedPagesItem + var obj *DocFormsExportDataResponse // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetWeakAnnotationState() // Should return zero value + _ = obj.GetDetails() // Should return zero value }) } -func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMetaAffectedPagesItem(t *testing.T) { - t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocFormsExportDataResponse(t *testing.T) { + t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItem{} - var fernTestValuePageObjectNumber int + obj := &DocFormsExportDataResponse{} + var fernTestValueName DocFormsExportDataResponseName // Act - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + obj.SetName(fernTestValueName) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -199988,14 +204364,14 @@ func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMetaAffectedPagesItem // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetRevision_MarksExplicit", func(t *testing.T) { + t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItem{} - var fernTestValueRevision *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision + obj := &DocFormsExportDataResponse{} + var fernTestValueCode DocFormsExportDataResponseCode // Act - obj.SetRevision(fernTestValueRevision) + obj.SetCode(fernTestValueCode) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -200019,14 +204395,45 @@ func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMetaAffectedPagesItem // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetWeakAnnotationState_MarksExplicit", func(t *testing.T) { + t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItem{} - var fernTestValueWeakAnnotationState *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocFormsExportDataResponse{} + var fernTestValueMessage string // Act - obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) + obj.SetMessage(fernTestValueMessage) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetDetails_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsExportDataResponse{} + var fernTestValueDetails map[string]any + + // Act + obj.SetDetails(fernTestValueDetails) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -200052,114 +204459,165 @@ func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMetaAffectedPagesItem } -func TestSettersDocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision(t *testing.T) { - t.Run("SetDocSessionID", func(t *testing.T) { - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision{} - var fernTestValueDocSessionID string - obj.SetDocSessionID(fernTestValueDocSessionID) - assert.Equal(t, fernTestValueDocSessionID, obj.DocSessionID) +func TestSettersDocFormsGet200Response(t *testing.T) { + t.Run("SetFormKind", func(t *testing.T) { + obj := &DocFormsGet200Response{} + var fernTestValueFormKind DocFormsGet200ResponseFormKind + obj.SetFormKind(fernTestValueFormKind) + assert.Equal(t, fernTestValueFormKind, obj.FormKind) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision{} - var fernTestValuePageObjectNumber int - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) - assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) + t.Run("SetNeedsAppearances", func(t *testing.T) { + obj := &DocFormsGet200Response{} + var fernTestValueNeedsAppearances bool + obj.SetNeedsAppearances(fernTestValueNeedsAppearances) + assert.Equal(t, fernTestValueNeedsAppearances, obj.NeedsAppearances) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetGeneration", func(t *testing.T) { - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision{} - var fernTestValueGeneration int - obj.SetGeneration(fernTestValueGeneration) - assert.Equal(t, fernTestValueGeneration, obj.Generation) + t.Run("SetFields", func(t *testing.T) { + obj := &DocFormsGet200Response{} + var fernTestValueFields []*DocFormsGet200ResponseFieldsItem + obj.SetFields(fernTestValueFields) + assert.Equal(t, fernTestValueFields, obj.Fields) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetCalculationOrder", func(t *testing.T) { + obj := &DocFormsGet200Response{} + var fernTestValueCalculationOrder []*DocFormsGet200ResponseCalculationOrderItem + obj.SetCalculationOrder(fernTestValueCalculationOrder) + assert.Equal(t, fernTestValueCalculationOrder, obj.CalculationOrder) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision(t *testing.T) { - t.Run("GetDocSessionID", func(t *testing.T) { +func TestGettersDocFormsGet200Response(t *testing.T) { + t.Run("GetFormKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision{} - var expected string - obj.DocSessionID = expected + obj := &DocFormsGet200Response{} + var expected DocFormsGet200ResponseFormKind + obj.FormKind = expected // Act & Assert - assert.Equal(t, expected, obj.GetDocSessionID(), "getter should return the property value") + assert.Equal(t, expected, obj.GetFormKind(), "getter should return the property value") }) - t.Run("GetDocSessionID_NilReceiver", func(t *testing.T) { + t.Run("GetFormKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision + var obj *DocFormsGet200Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetDocSessionID() // Should return zero value + _ = obj.GetFormKind() // Should return zero value }) - t.Run("GetPageObjectNumber", func(t *testing.T) { + t.Run("GetNeedsAppearances", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision{} - var expected int - obj.PageObjectNumber = expected + obj := &DocFormsGet200Response{} + var expected bool + obj.NeedsAppearances = expected // Act & Assert - assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + assert.Equal(t, expected, obj.GetNeedsAppearances(), "getter should return the property value") }) - t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Run("GetNeedsAppearances_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision + var obj *DocFormsGet200Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetPageObjectNumber() // Should return zero value + _ = obj.GetNeedsAppearances() // Should return zero value }) - t.Run("GetGeneration", func(t *testing.T) { + t.Run("GetFields", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision{} - var expected int - obj.Generation = expected + obj := &DocFormsGet200Response{} + var expected []*DocFormsGet200ResponseFieldsItem + obj.Fields = expected // Act & Assert - assert.Equal(t, expected, obj.GetGeneration(), "getter should return the property value") + assert.Equal(t, expected, obj.GetFields(), "getter should return the property value") }) - t.Run("GetGeneration_NilReceiver", func(t *testing.T) { + t.Run("GetFields_NilValue", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision + // Arrange + obj := &DocFormsGet200Response{} + obj.Fields = nil + + // Act & Assert + assert.Nil(t, obj.GetFields(), "getter should return nil when property is nil") + }) + + t.Run("GetFields_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetGeneration() // Should return zero value + _ = obj.GetFields() // Should return zero value + }) + + t.Run("GetCalculationOrder", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200Response{} + var expected []*DocFormsGet200ResponseCalculationOrderItem + obj.CalculationOrder = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetCalculationOrder(), "getter should return the property value") + }) + + t.Run("GetCalculationOrder_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200Response{} + obj.CalculationOrder = nil + + // Act & Assert + assert.Nil(t, obj.GetCalculationOrder(), "getter should return nil when property is nil") + }) + + t.Run("GetCalculationOrder_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetCalculationOrder() // Should return zero value }) } -func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision(t *testing.T) { - t.Run("SetDocSessionID_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200Response(t *testing.T) { + t.Run("SetFormKind_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision{} - var fernTestValueDocSessionID string + obj := &DocFormsGet200Response{} + var fernTestValueFormKind DocFormsGet200ResponseFormKind // Act - obj.SetDocSessionID(fernTestValueDocSessionID) + obj.SetFormKind(fernTestValueFormKind) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -200183,14 +204641,14 @@ func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMetaAffectedPagesItem // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { + t.Run("SetNeedsAppearances_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision{} - var fernTestValuePageObjectNumber int + obj := &DocFormsGet200Response{} + var fernTestValueNeedsAppearances bool // Act - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + obj.SetNeedsAppearances(fernTestValueNeedsAppearances) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -200214,14 +204672,45 @@ func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMetaAffectedPagesItem // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetGeneration_MarksExplicit", func(t *testing.T) { + t.Run("SetFields_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemRevision{} - var fernTestValueGeneration int + obj := &DocFormsGet200Response{} + var fernTestValueFields []*DocFormsGet200ResponseFieldsItem // Act - obj.SetGeneration(fernTestValueGeneration) + obj.SetFields(fernTestValueFields) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetCalculationOrder_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200Response{} + var fernTestValueCalculationOrder []*DocFormsGet200ResponseCalculationOrderItem + + // Act + obj.SetCalculationOrder(fernTestValueCalculationOrder) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -200247,11 +204736,11 @@ func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMetaAffectedPagesItem } -func TestGettersDocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { +func TestGettersDocFormsGet200ResponseCalculationOrderItem(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocFormsGet200ResponseCalculationOrderItem{} var expected string obj.Kind = expected @@ -200261,7 +204750,7 @@ func TestGettersDocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotati t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocFormsGet200ResponseCalculationOrderItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -200271,120 +204760,120 @@ func TestGettersDocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotati _ = obj.GetKind() // Should return zero value }) - t.Run("GetUnknown", func(t *testing.T) { + t.Run("GetObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState{} - var expected *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown - obj.Unknown = expected + obj := &DocFormsGet200ResponseCalculationOrderItem{} + var expected *DocFormsGet200ResponseCalculationOrderItemObjectNumber + obj.ObjectNumber = expected // Act & Assert - assert.Equal(t, expected, obj.GetUnknown(), "getter should return the property value") + assert.Equal(t, expected, obj.GetObjectNumber(), "getter should return the property value") }) - t.Run("GetUnknown_NilValue", func(t *testing.T) { + t.Run("GetObjectNumber_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState{} - obj.Unknown = nil + obj := &DocFormsGet200ResponseCalculationOrderItem{} + obj.ObjectNumber = nil // Act & Assert - assert.Nil(t, obj.GetUnknown(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetObjectNumber(), "getter should return nil when property is nil") }) - t.Run("GetUnknown_NilReceiver", func(t *testing.T) { + t.Run("GetObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocFormsGet200ResponseCalculationOrderItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetUnknown() // Should return zero value + _ = obj.GetObjectNumber() // Should return zero value }) - t.Run("GetKnown", func(t *testing.T) { + t.Run("GetFqn", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState{} - var expected *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown - obj.Known = expected + obj := &DocFormsGet200ResponseCalculationOrderItem{} + var expected *DocFormsGet200ResponseCalculationOrderItemFqn + obj.Fqn = expected // Act & Assert - assert.Equal(t, expected, obj.GetKnown(), "getter should return the property value") + assert.Equal(t, expected, obj.GetFqn(), "getter should return the property value") }) - t.Run("GetKnown_NilValue", func(t *testing.T) { + t.Run("GetFqn_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState{} - obj.Known = nil + obj := &DocFormsGet200ResponseCalculationOrderItem{} + obj.Fqn = nil // Act & Assert - assert.Nil(t, obj.GetKnown(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetFqn(), "getter should return nil when property is nil") }) - t.Run("GetKnown_NilReceiver", func(t *testing.T) { + t.Run("GetFqn_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocFormsGet200ResponseCalculationOrderItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetKnown() // Should return zero value + _ = obj.GetFqn() // Should return zero value }) } -func TestSettersDocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { - t.Run("SetHasAnyWeakAnnotations", func(t *testing.T) { - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} - var fernTestValueHasAnyWeakAnnotations bool - obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) - assert.Equal(t, fernTestValueHasAnyWeakAnnotations, obj.HasAnyWeakAnnotations) +func TestSettersDocFormsGet200ResponseCalculationOrderItemFqn(t *testing.T) { + t.Run("SetName", func(t *testing.T) { + obj := &DocFormsGet200ResponseCalculationOrderItemFqn{} + var fernTestValueName string + obj.SetName(fernTestValueName) + assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { - t.Run("GetHasAnyWeakAnnotations", func(t *testing.T) { +func TestGettersDocFormsGet200ResponseCalculationOrderItemFqn(t *testing.T) { + t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} - var expected bool - obj.HasAnyWeakAnnotations = expected + obj := &DocFormsGet200ResponseCalculationOrderItemFqn{} + var expected string + obj.Name = expected // Act & Assert - assert.Equal(t, expected, obj.GetHasAnyWeakAnnotations(), "getter should return the property value") + assert.Equal(t, expected, obj.GetName(), "getter should return the property value") }) - t.Run("GetHasAnyWeakAnnotations_NilReceiver", func(t *testing.T) { + t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + var obj *DocFormsGet200ResponseCalculationOrderItemFqn // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetHasAnyWeakAnnotations() // Should return zero value + _ = obj.GetName() // Should return zero value }) } -func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { - t.Run("SetHasAnyWeakAnnotations_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseCalculationOrderItemFqn(t *testing.T) { + t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} - var fernTestValueHasAnyWeakAnnotations bool + obj := &DocFormsGet200ResponseCalculationOrderItemFqn{} + var fernTestValueName string // Act - obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) + obj.SetName(fernTestValueName) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -200410,708 +204899,865 @@ func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMetaAffectedPagesItem } -func TestSettersDocAnnotationsUpdate200ResponseMetaCacheDelta(t *testing.T) { - t.Run("SetPreviousDocVersion", func(t *testing.T) { - obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} - var fernTestValuePreviousDocVersion int - obj.SetPreviousDocVersion(fernTestValuePreviousDocVersion) - assert.Equal(t, fernTestValuePreviousDocVersion, obj.PreviousDocVersion) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetDocVersion", func(t *testing.T) { - obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} - var fernTestValueDocVersion int - obj.SetDocVersion(fernTestValueDocVersion) - assert.Equal(t, fernTestValueDocVersion, obj.DocVersion) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetAnnotationsVersion", func(t *testing.T) { - obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} - var fernTestValueAnnotationsVersion *int - obj.SetAnnotationsVersion(fernTestValueAnnotationsVersion) - assert.Equal(t, fernTestValueAnnotationsVersion, obj.AnnotationsVersion) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetPages", func(t *testing.T) { - obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} - var fernTestValuePages []*DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem - obj.SetPages(fernTestValuePages) - assert.Equal(t, fernTestValuePages, obj.Pages) +func TestSettersDocFormsGet200ResponseCalculationOrderItemObjectNumber(t *testing.T) { + t.Run("SetFieldObjectNumber", func(t *testing.T) { + obj := &DocFormsGet200ResponseCalculationOrderItemObjectNumber{} + var fernTestValueFieldObjectNumber int + obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) + assert.Equal(t, fernTestValueFieldObjectNumber, obj.FieldObjectNumber) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocAnnotationsUpdate200ResponseMetaCacheDelta(t *testing.T) { - t.Run("GetPreviousDocVersion", func(t *testing.T) { +func TestGettersDocFormsGet200ResponseCalculationOrderItemObjectNumber(t *testing.T) { + t.Run("GetFieldObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} + obj := &DocFormsGet200ResponseCalculationOrderItemObjectNumber{} var expected int - obj.PreviousDocVersion = expected + obj.FieldObjectNumber = expected // Act & Assert - assert.Equal(t, expected, obj.GetPreviousDocVersion(), "getter should return the property value") + assert.Equal(t, expected, obj.GetFieldObjectNumber(), "getter should return the property value") }) - t.Run("GetPreviousDocVersion_NilReceiver", func(t *testing.T) { + t.Run("GetFieldObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate200ResponseMetaCacheDelta + var obj *DocFormsGet200ResponseCalculationOrderItemObjectNumber // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetPreviousDocVersion() // Should return zero value + _ = obj.GetFieldObjectNumber() // Should return zero value }) - t.Run("GetDocVersion", func(t *testing.T) { +} + +func TestSettersMarkExplicitDocFormsGet200ResponseCalculationOrderItemObjectNumber(t *testing.T) { + t.Run("SetFieldObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} - var expected int - obj.DocVersion = expected + obj := &DocFormsGet200ResponseCalculationOrderItemObjectNumber{} + var fernTestValueFieldObjectNumber int + + // Act + obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestGettersDocFormsGet200ResponseFieldsItem(t *testing.T) { + t.Run("GetFamily", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItem{} + var expected string + obj.Family = expected // Act & Assert - assert.Equal(t, expected, obj.GetDocVersion(), "getter should return the property value") + assert.Equal(t, expected, obj.GetFamily(), "getter should return the property value") }) - t.Run("GetDocVersion_NilReceiver", func(t *testing.T) { + t.Run("GetFamily_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate200ResponseMetaCacheDelta + var obj *DocFormsGet200ResponseFieldsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetDocVersion() // Should return zero value + _ = obj.GetFamily() // Should return zero value }) - t.Run("GetAnnotationsVersion", func(t *testing.T) { + t.Run("GetText", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} - var expected *int - obj.AnnotationsVersion = expected + obj := &DocFormsGet200ResponseFieldsItem{} + var expected *DocFormsGet200ResponseFieldsItemText + obj.Text = expected // Act & Assert - assert.Equal(t, expected, obj.GetAnnotationsVersion(), "getter should return the property value") + assert.Equal(t, expected, obj.GetText(), "getter should return the property value") }) - t.Run("GetAnnotationsVersion_NilValue", func(t *testing.T) { + t.Run("GetText_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} - obj.AnnotationsVersion = nil + obj := &DocFormsGet200ResponseFieldsItem{} + obj.Text = nil // Act & Assert - assert.Nil(t, obj.GetAnnotationsVersion(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetText(), "getter should return nil when property is nil") }) - t.Run("GetAnnotationsVersion_NilReceiver", func(t *testing.T) { + t.Run("GetText_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate200ResponseMetaCacheDelta + var obj *DocFormsGet200ResponseFieldsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetAnnotationsVersion() // Should return zero value + _ = obj.GetText() // Should return zero value }) - t.Run("GetPages", func(t *testing.T) { + t.Run("GetCheckbox", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} - var expected []*DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem - obj.Pages = expected + obj := &DocFormsGet200ResponseFieldsItem{} + var expected *DocFormsGet200ResponseFieldsItemCheckbox + obj.Checkbox = expected // Act & Assert - assert.Equal(t, expected, obj.GetPages(), "getter should return the property value") + assert.Equal(t, expected, obj.GetCheckbox(), "getter should return the property value") }) - t.Run("GetPages_NilValue", func(t *testing.T) { + t.Run("GetCheckbox_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} - obj.Pages = nil + obj := &DocFormsGet200ResponseFieldsItem{} + obj.Checkbox = nil // Act & Assert - assert.Nil(t, obj.GetPages(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetCheckbox(), "getter should return nil when property is nil") }) - t.Run("GetPages_NilReceiver", func(t *testing.T) { + t.Run("GetCheckbox_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate200ResponseMetaCacheDelta + var obj *DocFormsGet200ResponseFieldsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetPages() // Should return zero value + _ = obj.GetCheckbox() // Should return zero value }) -} - -func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMetaCacheDelta(t *testing.T) { - t.Run("SetPreviousDocVersion_MarksExplicit", func(t *testing.T) { + t.Run("GetRadio", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} - var fernTestValuePreviousDocVersion int - - // Act - obj.SetPreviousDocVersion(fernTestValuePreviousDocVersion) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } + obj := &DocFormsGet200ResponseFieldsItem{} + var expected *DocFormsGet200ResponseFieldsItemRadio + obj.Radio = expected - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip + // Act & Assert + assert.Equal(t, expected, obj.GetRadio(), "getter should return the property value") }) - t.Run("SetDocVersion_MarksExplicit", func(t *testing.T) { + t.Run("GetRadio_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} - var fernTestValueDocVersion int + obj := &DocFormsGet200ResponseFieldsItem{} + obj.Radio = nil - // Act - obj.SetDocVersion(fernTestValueDocVersion) + // Act & Assert + assert.Nil(t, obj.GetRadio(), "getter should return nil when property is nil") + }) - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") + t.Run("GetRadio_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItem + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetRadio() // Should return zero value + }) - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } + t.Run("GetCombobox", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItem{} + var expected *DocFormsGet200ResponseFieldsItemCombobox + obj.Combobox = expected - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip + // Act & Assert + assert.Equal(t, expected, obj.GetCombobox(), "getter should return the property value") }) - t.Run("SetAnnotationsVersion_MarksExplicit", func(t *testing.T) { + t.Run("GetCombobox_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} - var fernTestValueAnnotationsVersion *int + obj := &DocFormsGet200ResponseFieldsItem{} + obj.Combobox = nil - // Act - obj.SetAnnotationsVersion(fernTestValueAnnotationsVersion) + // Act & Assert + assert.Nil(t, obj.GetCombobox(), "getter should return nil when property is nil") + }) - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") + t.Run("GetCombobox_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItem + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetCombobox() // Should return zero value + }) - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } + t.Run("GetListbox", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItem{} + var expected *DocFormsGet200ResponseFieldsItemListbox + obj.Listbox = expected - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip + // Act & Assert + assert.Equal(t, expected, obj.GetListbox(), "getter should return the property value") }) - t.Run("SetPages_MarksExplicit", func(t *testing.T) { + t.Run("GetListbox_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaCacheDelta{} - var fernTestValuePages []*DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem + obj := &DocFormsGet200ResponseFieldsItem{} + obj.Listbox = nil - // Act - obj.SetPages(fernTestValuePages) + // Act & Assert + assert.Nil(t, obj.GetListbox(), "getter should return nil when property is nil") + }) - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") + t.Run("GetListbox_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItem + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetListbox() // Should return zero value + }) - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } + t.Run("GetPushbutton", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItem{} + var expected *DocFormsGet200ResponseFieldsItemPushbutton + obj.Pushbutton = expected - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip + // Act & Assert + assert.Equal(t, expected, obj.GetPushbutton(), "getter should return the property value") }) -} + t.Run("GetPushbutton_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItem{} + obj.Pushbutton = nil -func TestSettersDocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem(t *testing.T) { - t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem{} - var fernTestValuePageObjectNumber int - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) - assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) - assert.NotNil(t, obj.explicitFields) + // Act & Assert + assert.Nil(t, obj.GetPushbutton(), "getter should return nil when property is nil") }) - t.Run("SetCache", func(t *testing.T) { - obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem{} - var fernTestValueCache *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache - obj.SetCache(fernTestValueCache) - assert.Equal(t, fernTestValueCache, obj.Cache) - assert.NotNil(t, obj.explicitFields) + t.Run("GetPushbutton_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItem + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetPushbutton() // Should return zero value }) -} + t.Run("GetSignature", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItem{} + var expected *DocFormsGet200ResponseFieldsItemSignature + obj.Signature = expected -func TestGettersDocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem(t *testing.T) { - t.Run("GetPageObjectNumber", func(t *testing.T) { + // Act & Assert + assert.Equal(t, expected, obj.GetSignature(), "getter should return the property value") + }) + + t.Run("GetSignature_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem{} - var expected int - obj.PageObjectNumber = expected + obj := &DocFormsGet200ResponseFieldsItem{} + obj.Signature = nil // Act & Assert - assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + assert.Nil(t, obj.GetSignature(), "getter should return nil when property is nil") }) - t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Run("GetSignature_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem + var obj *DocFormsGet200ResponseFieldsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetPageObjectNumber() // Should return zero value + _ = obj.GetSignature() // Should return zero value }) - t.Run("GetCache", func(t *testing.T) { + t.Run("GetUnknown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem{} - var expected *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache - obj.Cache = expected + obj := &DocFormsGet200ResponseFieldsItem{} + var expected *DocFormsGet200ResponseFieldsItemUnknown + obj.Unknown = expected // Act & Assert - assert.Equal(t, expected, obj.GetCache(), "getter should return the property value") + assert.Equal(t, expected, obj.GetUnknown(), "getter should return the property value") }) - t.Run("GetCache_NilValue", func(t *testing.T) { + t.Run("GetUnknown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem{} - obj.Cache = nil + obj := &DocFormsGet200ResponseFieldsItem{} + obj.Unknown = nil // Act & Assert - assert.Nil(t, obj.GetCache(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetUnknown(), "getter should return nil when property is nil") }) - t.Run("GetCache_NilReceiver", func(t *testing.T) { + t.Run("GetUnknown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem + var obj *DocFormsGet200ResponseFieldsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetCache() // Should return zero value + _ = obj.GetUnknown() // Should return zero value }) } -func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem(t *testing.T) { - t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem{} - var fernTestValuePageObjectNumber int +func TestSettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { + t.Run("SetRef", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueRef *DocFormsGet200ResponseFieldsItemCheckboxRef + obj.SetRef(fernTestValueRef) + assert.Equal(t, fernTestValueRef, obj.Ref) + assert.NotNil(t, obj.explicitFields) + }) - // Act - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + t.Run("SetFieldObjectNumber", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueFieldObjectNumber int + obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) + assert.Equal(t, fernTestValueFieldObjectNumber, obj.FieldObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") + t.Run("SetName", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueName string + obj.SetName(fernTestValueName) + assert.Equal(t, fernTestValueName, obj.Name) + assert.NotNil(t, obj.explicitFields) + }) - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } + t.Run("SetOrigin", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueOrigin DocFormsGet200ResponseFieldsItemCheckboxOrigin + obj.SetOrigin(fernTestValueOrigin) + assert.Equal(t, fernTestValueOrigin, obj.Origin) + assert.NotNil(t, obj.explicitFields) + }) - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip + t.Run("SetFlags", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueFlags *DocFormsGet200ResponseFieldsItemCheckboxFlags + obj.SetFlags(fernTestValueFlags) + assert.Equal(t, fernTestValueFlags, obj.Flags) + assert.NotNil(t, obj.explicitFields) }) - t.Run("SetCache_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItem{} - var fernTestValueCache *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache + t.Run("SetAlternateName", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueAlternateName *string + obj.SetAlternateName(fernTestValueAlternateName) + assert.Equal(t, fernTestValueAlternateName, obj.AlternateName) + assert.NotNil(t, obj.explicitFields) + }) - // Act - obj.SetCache(fernTestValueCache) + t.Run("SetMappingName", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueMappingName *string + obj.SetMappingName(fernTestValueMappingName) + assert.Equal(t, fernTestValueMappingName, obj.MappingName) + assert.NotNil(t, obj.explicitFields) + }) - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") + t.Run("SetValueEntry", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemCheckboxValueEntry + obj.SetValueEntry(fernTestValueValueEntry) + assert.Equal(t, fernTestValueValueEntry, obj.ValueEntry) + assert.NotNil(t, obj.explicitFields) + }) - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } + t.Run("SetDefaultValueEntry", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry + obj.SetDefaultValueEntry(fernTestValueDefaultValueEntry) + assert.Equal(t, fernTestValueDefaultValueEntry, obj.DefaultValueEntry) + assert.NotNil(t, obj.explicitFields) + }) - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip + t.Run("SetActions", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueActions *PdfFieldActions + obj.SetActions(fernTestValueActions) + assert.Equal(t, fernTestValueActions, obj.Actions) + assert.NotNil(t, obj.explicitFields) }) -} + t.Run("SetWidgets", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem + obj.SetWidgets(fernTestValueWidgets) + assert.Equal(t, fernTestValueWidgets, obj.Widgets) + assert.NotNil(t, obj.explicitFields) + }) -func TestSettersDocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { - t.Run("SetContentVersion", func(t *testing.T) { - obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache{} - var fernTestValueContentVersion int - obj.SetContentVersion(fernTestValueContentVersion) - assert.Equal(t, fernTestValueContentVersion, obj.ContentVersion) + t.Run("SetChecked", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueChecked bool + obj.SetChecked(fernTestValueChecked) + assert.Equal(t, fernTestValueChecked, obj.Checked) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetAnnotationVersion", func(t *testing.T) { - obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache{} - var fernTestValueAnnotationVersion int - obj.SetAnnotationVersion(fernTestValueAnnotationVersion) - assert.Equal(t, fernTestValueAnnotationVersion, obj.AnnotationVersion) + t.Run("SetExportValue", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueExportValue string + obj.SetExportValue(fernTestValueExportValue) + assert.Equal(t, fernTestValueExportValue, obj.ExportValue) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { - t.Run("GetContentVersion", func(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { + t.Run("GetRef", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var expected *DocFormsGet200ResponseFieldsItemCheckboxRef + obj.Ref = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetRef(), "getter should return the property value") + }) + + t.Run("GetRef_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj.Ref = nil + + // Act & Assert + assert.Nil(t, obj.GetRef(), "getter should return nil when property is nil") + }) + + t.Run("GetRef_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemCheckbox + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetRef() // Should return zero value + }) + + t.Run("GetFieldObjectNumber", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} var expected int - obj.ContentVersion = expected + obj.FieldObjectNumber = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetFieldObjectNumber(), "getter should return the property value") + }) + + t.Run("GetFieldObjectNumber_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemCheckbox + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetFieldObjectNumber() // Should return zero value + }) + + t.Run("GetName", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var expected string + obj.Name = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetName(), "getter should return the property value") + }) + + t.Run("GetName_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemCheckbox + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetName() // Should return zero value + }) + + t.Run("GetOrigin", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var expected DocFormsGet200ResponseFieldsItemCheckboxOrigin + obj.Origin = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetOrigin(), "getter should return the property value") + }) + + t.Run("GetOrigin_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemCheckbox + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetOrigin() // Should return zero value + }) + + t.Run("GetFlags", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var expected *DocFormsGet200ResponseFieldsItemCheckboxFlags + obj.Flags = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetFlags(), "getter should return the property value") + }) + + t.Run("GetFlags_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj.Flags = nil // Act & Assert - assert.Equal(t, expected, obj.GetContentVersion(), "getter should return the property value") + assert.Nil(t, obj.GetFlags(), "getter should return nil when property is nil") }) - t.Run("GetContentVersion_NilReceiver", func(t *testing.T) { + t.Run("GetFlags_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache + var obj *DocFormsGet200ResponseFieldsItemCheckbox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetContentVersion() // Should return zero value + _ = obj.GetFlags() // Should return zero value }) - t.Run("GetAnnotationVersion", func(t *testing.T) { + t.Run("GetAlternateName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache{} - var expected int - obj.AnnotationVersion = expected + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var expected *string + obj.AlternateName = expected // Act & Assert - assert.Equal(t, expected, obj.GetAnnotationVersion(), "getter should return the property value") + assert.Equal(t, expected, obj.GetAlternateName(), "getter should return the property value") }) - t.Run("GetAnnotationVersion_NilReceiver", func(t *testing.T) { + t.Run("GetAlternateName_NilValue", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj.AlternateName = nil + + // Act & Assert + assert.Nil(t, obj.GetAlternateName(), "getter should return nil when property is nil") + }) + + t.Run("GetAlternateName_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemCheckbox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetAnnotationVersion() // Should return zero value + _ = obj.GetAlternateName() // Should return zero value }) -} - -func TestSettersMarkExplicitDocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { - t.Run("SetContentVersion_MarksExplicit", func(t *testing.T) { + t.Run("GetMappingName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache{} - var fernTestValueContentVersion int - - // Act - obj.SetContentVersion(fernTestValueContentVersion) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var expected *string + obj.MappingName = expected - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip + // Act & Assert + assert.Equal(t, expected, obj.GetMappingName(), "getter should return the property value") }) - t.Run("SetAnnotationVersion_MarksExplicit", func(t *testing.T) { + t.Run("GetMappingName_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate200ResponseMetaCacheDeltaPagesItemCache{} - var fernTestValueAnnotationVersion int + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj.MappingName = nil - // Act - obj.SetAnnotationVersion(fernTestValueAnnotationVersion) + // Act & Assert + assert.Nil(t, obj.GetMappingName(), "getter should return nil when property is nil") + }) - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") + t.Run("GetMappingName_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemCheckbox + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetMappingName() // Should return zero value + }) - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } + t.Run("GetValueEntry", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var expected *DocFormsGet200ResponseFieldsItemCheckboxValueEntry + obj.ValueEntry = expected - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip + // Act & Assert + assert.Equal(t, expected, obj.GetValueEntry(), "getter should return the property value") }) -} + t.Run("GetValueEntry_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj.ValueEntry = nil -func TestSettersDocAnnotationsUpdate400Response(t *testing.T) { - t.Run("SetName", func(t *testing.T) { - obj := &DocAnnotationsUpdate400Response{} - var fernTestValueName DocAnnotationsUpdate400ResponseName - obj.SetName(fernTestValueName) - assert.Equal(t, fernTestValueName, obj.Name) - assert.NotNil(t, obj.explicitFields) + // Act & Assert + assert.Nil(t, obj.GetValueEntry(), "getter should return nil when property is nil") }) - t.Run("SetCode", func(t *testing.T) { - obj := &DocAnnotationsUpdate400Response{} - var fernTestValueCode DocAnnotationsUpdate400ResponseCode - obj.SetCode(fernTestValueCode) - assert.Equal(t, fernTestValueCode, obj.Code) - assert.NotNil(t, obj.explicitFields) + t.Run("GetValueEntry_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemCheckbox + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetValueEntry() // Should return zero value }) - t.Run("SetMessage", func(t *testing.T) { - obj := &DocAnnotationsUpdate400Response{} - var fernTestValueMessage string - obj.SetMessage(fernTestValueMessage) - assert.Equal(t, fernTestValueMessage, obj.Message) - assert.NotNil(t, obj.explicitFields) - }) + t.Run("GetDefaultValueEntry", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var expected *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry + obj.DefaultValueEntry = expected - t.Run("SetDetails", func(t *testing.T) { - obj := &DocAnnotationsUpdate400Response{} - var fernTestValueDetails map[string]any - obj.SetDetails(fernTestValueDetails) - assert.Equal(t, fernTestValueDetails, obj.Details) - assert.NotNil(t, obj.explicitFields) + // Act & Assert + assert.Equal(t, expected, obj.GetDefaultValueEntry(), "getter should return the property value") }) -} - -func TestGettersDocAnnotationsUpdate400Response(t *testing.T) { - t.Run("GetName", func(t *testing.T) { + t.Run("GetDefaultValueEntry_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate400Response{} - var expected DocAnnotationsUpdate400ResponseName - obj.Name = expected + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj.DefaultValueEntry = nil // Act & Assert - assert.Equal(t, expected, obj.GetName(), "getter should return the property value") + assert.Nil(t, obj.GetDefaultValueEntry(), "getter should return nil when property is nil") }) - t.Run("GetName_NilReceiver", func(t *testing.T) { + t.Run("GetDefaultValueEntry_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate400Response + var obj *DocFormsGet200ResponseFieldsItemCheckbox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetName() // Should return zero value + _ = obj.GetDefaultValueEntry() // Should return zero value }) - t.Run("GetCode", func(t *testing.T) { + t.Run("GetActions", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate400Response{} - var expected DocAnnotationsUpdate400ResponseCode - obj.Code = expected + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var expected *PdfFieldActions + obj.Actions = expected // Act & Assert - assert.Equal(t, expected, obj.GetCode(), "getter should return the property value") + assert.Equal(t, expected, obj.GetActions(), "getter should return the property value") }) - t.Run("GetCode_NilReceiver", func(t *testing.T) { + t.Run("GetActions_NilValue", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate400Response + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj.Actions = nil + + // Act & Assert + assert.Nil(t, obj.GetActions(), "getter should return nil when property is nil") + }) + + t.Run("GetActions_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemCheckbox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetCode() // Should return zero value + _ = obj.GetActions() // Should return zero value }) - t.Run("GetMessage", func(t *testing.T) { + t.Run("GetWidgets", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate400Response{} - var expected string - obj.Message = expected + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var expected []*DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem + obj.Widgets = expected // Act & Assert - assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") + assert.Equal(t, expected, obj.GetWidgets(), "getter should return the property value") }) - t.Run("GetMessage_NilReceiver", func(t *testing.T) { + t.Run("GetWidgets_NilValue", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate400Response + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj.Widgets = nil + + // Act & Assert + assert.Nil(t, obj.GetWidgets(), "getter should return nil when property is nil") + }) + + t.Run("GetWidgets_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemCheckbox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetMessage() // Should return zero value + _ = obj.GetWidgets() // Should return zero value }) - t.Run("GetDetails", func(t *testing.T) { + t.Run("GetChecked", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate400Response{} - var expected map[string]any - obj.Details = expected + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var expected bool + obj.Checked = expected // Act & Assert - assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") + assert.Equal(t, expected, obj.GetChecked(), "getter should return the property value") }) - t.Run("GetDetails_NilValue", func(t *testing.T) { + t.Run("GetChecked_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemCheckbox + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetChecked() // Should return zero value + }) + + t.Run("GetExportValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate400Response{} - obj.Details = nil + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var expected string + obj.ExportValue = expected // Act & Assert - assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetExportValue(), "getter should return the property value") }) - t.Run("GetDetails_NilReceiver", func(t *testing.T) { + t.Run("GetExportValue_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocAnnotationsUpdate400Response + var obj *DocFormsGet200ResponseFieldsItemCheckbox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetDetails() // Should return zero value + _ = obj.GetExportValue() // Should return zero value }) } -func TestSettersMarkExplicitDocAnnotationsUpdate400Response(t *testing.T) { - t.Run("SetName_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { + t.Run("SetRef_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate400Response{} - var fernTestValueName DocAnnotationsUpdate400ResponseName + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueRef *DocFormsGet200ResponseFieldsItemCheckboxRef // Act - obj.SetName(fernTestValueName) + obj.SetRef(fernTestValueRef) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -201135,14 +205781,14 @@ func TestSettersMarkExplicitDocAnnotationsUpdate400Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetCode_MarksExplicit", func(t *testing.T) { + t.Run("SetFieldObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate400Response{} - var fernTestValueCode DocAnnotationsUpdate400ResponseCode + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueFieldObjectNumber int // Act - obj.SetCode(fernTestValueCode) + obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -201166,14 +205812,14 @@ func TestSettersMarkExplicitDocAnnotationsUpdate400Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetMessage_MarksExplicit", func(t *testing.T) { + t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate400Response{} - var fernTestValueMessage string + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueName string // Act - obj.SetMessage(fernTestValueMessage) + obj.SetName(fernTestValueName) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -201197,14 +205843,14 @@ func TestSettersMarkExplicitDocAnnotationsUpdate400Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetDetails_MarksExplicit", func(t *testing.T) { + t.Run("SetOrigin_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate400Response{} - var fernTestValueDetails map[string]any + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueOrigin DocFormsGet200ResponseFieldsItemCheckboxOrigin // Act - obj.SetDetails(fernTestValueDetails) + obj.SetOrigin(fernTestValueOrigin) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -201228,157 +205874,14 @@ func TestSettersMarkExplicitDocAnnotationsUpdate400Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) -} - -func TestSettersDocAnnotationsUpdate404Response(t *testing.T) { - t.Run("SetName", func(t *testing.T) { - obj := &DocAnnotationsUpdate404Response{} - var fernTestValueName DocAnnotationsUpdate404ResponseName - obj.SetName(fernTestValueName) - assert.Equal(t, fernTestValueName, obj.Name) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetCode", func(t *testing.T) { - obj := &DocAnnotationsUpdate404Response{} - var fernTestValueCode DocAnnotationsUpdate404ResponseCode - obj.SetCode(fernTestValueCode) - assert.Equal(t, fernTestValueCode, obj.Code) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetMessage", func(t *testing.T) { - obj := &DocAnnotationsUpdate404Response{} - var fernTestValueMessage string - obj.SetMessage(fernTestValueMessage) - assert.Equal(t, fernTestValueMessage, obj.Message) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetDetails", func(t *testing.T) { - obj := &DocAnnotationsUpdate404Response{} - var fernTestValueDetails map[string]any - obj.SetDetails(fernTestValueDetails) - assert.Equal(t, fernTestValueDetails, obj.Details) - assert.NotNil(t, obj.explicitFields) - }) - -} - -func TestGettersDocAnnotationsUpdate404Response(t *testing.T) { - t.Run("GetName", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocAnnotationsUpdate404Response{} - var expected DocAnnotationsUpdate404ResponseName - obj.Name = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetName(), "getter should return the property value") - }) - - t.Run("GetName_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocAnnotationsUpdate404Response - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetName() // Should return zero value - }) - - t.Run("GetCode", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocAnnotationsUpdate404Response{} - var expected DocAnnotationsUpdate404ResponseCode - obj.Code = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetCode(), "getter should return the property value") - }) - - t.Run("GetCode_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocAnnotationsUpdate404Response - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetCode() // Should return zero value - }) - - t.Run("GetMessage", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocAnnotationsUpdate404Response{} - var expected string - obj.Message = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") - }) - - t.Run("GetMessage_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocAnnotationsUpdate404Response - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetMessage() // Should return zero value - }) - - t.Run("GetDetails", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocAnnotationsUpdate404Response{} - var expected map[string]any - obj.Details = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") - }) - - t.Run("GetDetails_NilValue", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocAnnotationsUpdate404Response{} - obj.Details = nil - - // Act & Assert - assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") - }) - - t.Run("GetDetails_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocAnnotationsUpdate404Response - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetDetails() // Should return zero value - }) - -} - -func TestSettersMarkExplicitDocAnnotationsUpdate404Response(t *testing.T) { - t.Run("SetName_MarksExplicit", func(t *testing.T) { + t.Run("SetFlags_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate404Response{} - var fernTestValueName DocAnnotationsUpdate404ResponseName + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueFlags *DocFormsGet200ResponseFieldsItemCheckboxFlags // Act - obj.SetName(fernTestValueName) + obj.SetFlags(fernTestValueFlags) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -201402,14 +205905,14 @@ func TestSettersMarkExplicitDocAnnotationsUpdate404Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetCode_MarksExplicit", func(t *testing.T) { + t.Run("SetAlternateName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate404Response{} - var fernTestValueCode DocAnnotationsUpdate404ResponseCode + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueAlternateName *string // Act - obj.SetCode(fernTestValueCode) + obj.SetAlternateName(fernTestValueAlternateName) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -201433,14 +205936,14 @@ func TestSettersMarkExplicitDocAnnotationsUpdate404Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetMessage_MarksExplicit", func(t *testing.T) { + t.Run("SetMappingName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate404Response{} - var fernTestValueMessage string + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueMappingName *string // Act - obj.SetMessage(fernTestValueMessage) + obj.SetMappingName(fernTestValueMappingName) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -201464,14 +205967,14 @@ func TestSettersMarkExplicitDocAnnotationsUpdate404Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetDetails_MarksExplicit", func(t *testing.T) { + t.Run("SetValueEntry_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocAnnotationsUpdate404Response{} - var fernTestValueDetails map[string]any + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemCheckboxValueEntry // Act - obj.SetDetails(fernTestValueDetails) + obj.SetValueEntry(fernTestValueValueEntry) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -201495,157 +205998,45 @@ func TestSettersMarkExplicitDocAnnotationsUpdate404Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) -} - -func TestSettersDocDownloadResponse(t *testing.T) { - t.Run("SetName", func(t *testing.T) { - obj := &DocDownloadResponse{} - var fernTestValueName DocDownloadResponseName - obj.SetName(fernTestValueName) - assert.Equal(t, fernTestValueName, obj.Name) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetCode", func(t *testing.T) { - obj := &DocDownloadResponse{} - var fernTestValueCode DocDownloadResponseCode - obj.SetCode(fernTestValueCode) - assert.Equal(t, fernTestValueCode, obj.Code) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetMessage", func(t *testing.T) { - obj := &DocDownloadResponse{} - var fernTestValueMessage string - obj.SetMessage(fernTestValueMessage) - assert.Equal(t, fernTestValueMessage, obj.Message) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetDetails", func(t *testing.T) { - obj := &DocDownloadResponse{} - var fernTestValueDetails map[string]any - obj.SetDetails(fernTestValueDetails) - assert.Equal(t, fernTestValueDetails, obj.Details) - assert.NotNil(t, obj.explicitFields) - }) - -} - -func TestGettersDocDownloadResponse(t *testing.T) { - t.Run("GetName", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocDownloadResponse{} - var expected DocDownloadResponseName - obj.Name = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetName(), "getter should return the property value") - }) - - t.Run("GetName_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocDownloadResponse - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetName() // Should return zero value - }) - - t.Run("GetCode", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocDownloadResponse{} - var expected DocDownloadResponseCode - obj.Code = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetCode(), "getter should return the property value") - }) - - t.Run("GetCode_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocDownloadResponse - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetCode() // Should return zero value - }) - - t.Run("GetMessage", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocDownloadResponse{} - var expected string - obj.Message = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") - }) - - t.Run("GetMessage_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocDownloadResponse - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetMessage() // Should return zero value - }) - - t.Run("GetDetails", func(t *testing.T) { + t.Run("SetDefaultValueEntry_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocDownloadResponse{} - var expected map[string]any - obj.Details = expected + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry - // Act & Assert - assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") - }) + // Act + obj.SetDefaultValueEntry(fernTestValueDefaultValueEntry) - t.Run("GetDetails_NilValue", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocDownloadResponse{} - obj.Details = nil + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") - // Act & Assert - assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") - }) + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } - t.Run("GetDetails_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocDownloadResponse - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetDetails() // Should return zero value + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip }) -} - -func TestSettersMarkExplicitDocDownloadResponse(t *testing.T) { - t.Run("SetName_MarksExplicit", func(t *testing.T) { + t.Run("SetActions_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocDownloadResponse{} - var fernTestValueName DocDownloadResponseName + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueActions *PdfFieldActions // Act - obj.SetName(fernTestValueName) + obj.SetActions(fernTestValueActions) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -201669,14 +206060,14 @@ func TestSettersMarkExplicitDocDownloadResponse(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetCode_MarksExplicit", func(t *testing.T) { + t.Run("SetWidgets_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocDownloadResponse{} - var fernTestValueCode DocDownloadResponseCode + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem // Act - obj.SetCode(fernTestValueCode) + obj.SetWidgets(fernTestValueWidgets) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -201700,14 +206091,14 @@ func TestSettersMarkExplicitDocDownloadResponse(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetMessage_MarksExplicit", func(t *testing.T) { + t.Run("SetChecked_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocDownloadResponse{} - var fernTestValueMessage string + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueChecked bool // Act - obj.SetMessage(fernTestValueMessage) + obj.SetChecked(fernTestValueChecked) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -201731,14 +206122,14 @@ func TestSettersMarkExplicitDocDownloadResponse(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetDetails_MarksExplicit", func(t *testing.T) { + t.Run("SetExportValue_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocDownloadResponse{} - var fernTestValueDetails map[string]any + obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + var fernTestValueExportValue string // Act - obj.SetDetails(fernTestValueDetails) + obj.SetExportValue(fernTestValueExportValue) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -201764,186 +206155,220 @@ func TestSettersMarkExplicitDocDownloadResponse(t *testing.T) { } -func TestSettersDocFormsExportDataResponse(t *testing.T) { - t.Run("SetName", func(t *testing.T) { - obj := &DocFormsExportDataResponse{} - var fernTestValueName DocFormsExportDataResponseName - obj.SetName(fernTestValueName) - assert.Equal(t, fernTestValueName, obj.Name) - assert.NotNil(t, obj.explicitFields) - }) +func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry(t *testing.T) { + t.Run("GetKind", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry{} + var expected string + obj.Kind = expected - t.Run("SetCode", func(t *testing.T) { - obj := &DocFormsExportDataResponse{} - var fernTestValueCode DocFormsExportDataResponseCode - obj.SetCode(fernTestValueCode) - assert.Equal(t, fernTestValueCode, obj.Code) - assert.NotNil(t, obj.explicitFields) + // Act & Assert + assert.Equal(t, expected, obj.GetKind(), "getter should return the property value") }) - t.Run("SetMessage", func(t *testing.T) { - obj := &DocFormsExportDataResponse{} - var fernTestValueMessage string - obj.SetMessage(fernTestValueMessage) - assert.Equal(t, fernTestValueMessage, obj.Message) - assert.NotNil(t, obj.explicitFields) + t.Run("GetKind_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetKind() // Should return zero value }) - t.Run("SetDetails", func(t *testing.T) { - obj := &DocFormsExportDataResponse{} - var fernTestValueDetails map[string]any - obj.SetDetails(fernTestValueDetails) - assert.Equal(t, fernTestValueDetails, obj.Details) - assert.NotNil(t, obj.explicitFields) - }) + t.Run("GetNone", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone + obj.None = expected -} + // Act & Assert + assert.Equal(t, expected, obj.GetNone(), "getter should return the property value") + }) -func TestGettersDocFormsExportDataResponse(t *testing.T) { - t.Run("GetName", func(t *testing.T) { + t.Run("GetNone_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsExportDataResponse{} - var expected DocFormsExportDataResponseName - obj.Name = expected + obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry{} + obj.None = nil // Act & Assert - assert.Equal(t, expected, obj.GetName(), "getter should return the property value") + assert.Nil(t, obj.GetNone(), "getter should return nil when property is nil") }) - t.Run("GetName_NilReceiver", func(t *testing.T) { + t.Run("GetNone_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsExportDataResponse + var obj *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetName() // Should return zero value + _ = obj.GetNone() // Should return zero value }) - t.Run("GetCode", func(t *testing.T) { + t.Run("GetScalar", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsExportDataResponse{} - var expected DocFormsExportDataResponseCode - obj.Code = expected + obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar + obj.Scalar = expected // Act & Assert - assert.Equal(t, expected, obj.GetCode(), "getter should return the property value") + assert.Equal(t, expected, obj.GetScalar(), "getter should return the property value") }) - t.Run("GetCode_NilReceiver", func(t *testing.T) { + t.Run("GetScalar_NilValue", func(t *testing.T) { t.Parallel() - var obj *DocFormsExportDataResponse + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry{} + obj.Scalar = nil + + // Act & Assert + assert.Nil(t, obj.GetScalar(), "getter should return nil when property is nil") + }) + + t.Run("GetScalar_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetCode() // Should return zero value + _ = obj.GetScalar() // Should return zero value }) - t.Run("GetMessage", func(t *testing.T) { + t.Run("GetArray", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsExportDataResponse{} - var expected string - obj.Message = expected + obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray + obj.Array = expected // Act & Assert - assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") + assert.Equal(t, expected, obj.GetArray(), "getter should return the property value") }) - t.Run("GetMessage_NilReceiver", func(t *testing.T) { + t.Run("GetArray_NilValue", func(t *testing.T) { t.Parallel() - var obj *DocFormsExportDataResponse + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry{} + obj.Array = nil + + // Act & Assert + assert.Nil(t, obj.GetArray(), "getter should return nil when property is nil") + }) + + t.Run("GetArray_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetMessage() // Should return zero value + _ = obj.GetArray() // Should return zero value }) - t.Run("GetDetails", func(t *testing.T) { + t.Run("GetUnsupported", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsExportDataResponse{} - var expected map[string]any - obj.Details = expected + obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported + obj.Unsupported = expected // Act & Assert - assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") + assert.Equal(t, expected, obj.GetUnsupported(), "getter should return the property value") }) - t.Run("GetDetails_NilValue", func(t *testing.T) { + t.Run("GetUnsupported_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsExportDataResponse{} - obj.Details = nil + obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry{} + obj.Unsupported = nil // Act & Assert - assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetUnsupported(), "getter should return nil when property is nil") }) - t.Run("GetDetails_NilReceiver", func(t *testing.T) { + t.Run("GetUnsupported_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsExportDataResponse + var obj *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetDetails() // Should return zero value + _ = obj.GetUnsupported() // Should return zero value }) } -func TestSettersMarkExplicitDocFormsExportDataResponse(t *testing.T) { - t.Run("SetName_MarksExplicit", func(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray(t *testing.T) { + t.Run("SetValues", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray{} + var fernTestValueValues []string + obj.SetValues(fernTestValueValues) + assert.Equal(t, fernTestValueValues, obj.Values) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray(t *testing.T) { + t.Run("GetValues", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsExportDataResponse{} - var fernTestValueName DocFormsExportDataResponseName + obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray{} + var expected []string + obj.Values = expected - // Act - obj.SetName(fernTestValueName) + // Act & Assert + assert.Equal(t, expected, obj.GetValues(), "getter should return the property value") + }) - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") + t.Run("GetValues_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray{} + obj.Values = nil - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } + // Act & Assert + assert.Nil(t, obj.GetValues(), "getter should return nil when property is nil") + }) - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip + t.Run("GetValues_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetValues() // Should return zero value }) - t.Run("SetCode_MarksExplicit", func(t *testing.T) { +} + +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray(t *testing.T) { + t.Run("SetValues_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsExportDataResponse{} - var fernTestValueCode DocFormsExportDataResponseCode + obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray{} + var fernTestValueValues []string // Act - obj.SetCode(fernTestValueCode) + obj.SetValues(fernTestValueValues) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -201967,45 +206392,54 @@ func TestSettersMarkExplicitDocFormsExportDataResponse(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetMessage_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsExportDataResponse{} - var fernTestValueMessage string +} - // Act - obj.SetMessage(fernTestValueMessage) +func TestSettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar(t *testing.T) { + t.Run("SetValue", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar{} + var fernTestValueValue string + obj.SetValue(fernTestValueValue) + assert.Equal(t, fernTestValueValue, obj.Value) + assert.NotNil(t, obj.explicitFields) + }) - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") +} - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } +func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar(t *testing.T) { + t.Run("GetValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar{} + var expected string + obj.Value = expected - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip + // Act & Assert + assert.Equal(t, expected, obj.GetValue(), "getter should return the property value") }) - t.Run("SetDetails_MarksExplicit", func(t *testing.T) { + t.Run("GetValue_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetValue() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar(t *testing.T) { + t.Run("SetValue_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsExportDataResponse{} - var fernTestValueDetails map[string]any + obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar{} + var fernTestValueValue string // Act - obj.SetDetails(fernTestValueDetails) + obj.SetValue(fernTestValueValue) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -202031,165 +206465,145 @@ func TestSettersMarkExplicitDocFormsExportDataResponse(t *testing.T) { } -func TestSettersDocFormsGet200Response(t *testing.T) { - t.Run("SetFormKind", func(t *testing.T) { - obj := &DocFormsGet200Response{} - var fernTestValueFormKind DocFormsGet200ResponseFormKind - obj.SetFormKind(fernTestValueFormKind) - assert.Equal(t, fernTestValueFormKind, obj.FormKind) +func TestSettersDocFormsGet200ResponseFieldsItemCheckboxFlags(t *testing.T) { + t.Run("SetReadOnly", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + var fernTestValueReadOnly bool + obj.SetReadOnly(fernTestValueReadOnly) + assert.Equal(t, fernTestValueReadOnly, obj.ReadOnly) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetNeedsAppearances", func(t *testing.T) { - obj := &DocFormsGet200Response{} - var fernTestValueNeedsAppearances bool - obj.SetNeedsAppearances(fernTestValueNeedsAppearances) - assert.Equal(t, fernTestValueNeedsAppearances, obj.NeedsAppearances) + t.Run("SetRequired", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + var fernTestValueRequired bool + obj.SetRequired(fernTestValueRequired) + assert.Equal(t, fernTestValueRequired, obj.Required) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetFields", func(t *testing.T) { - obj := &DocFormsGet200Response{} - var fernTestValueFields []*DocFormsGet200ResponseFieldsItem - obj.SetFields(fernTestValueFields) - assert.Equal(t, fernTestValueFields, obj.Fields) + t.Run("SetNoExport", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + var fernTestValueNoExport bool + obj.SetNoExport(fernTestValueNoExport) + assert.Equal(t, fernTestValueNoExport, obj.NoExport) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetCalculationOrder", func(t *testing.T) { - obj := &DocFormsGet200Response{} - var fernTestValueCalculationOrder []*DocFormsGet200ResponseCalculationOrderItem - obj.SetCalculationOrder(fernTestValueCalculationOrder) - assert.Equal(t, fernTestValueCalculationOrder, obj.CalculationOrder) + t.Run("SetRaw", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + var fernTestValueRaw int + obj.SetRaw(fernTestValueRaw) + assert.Equal(t, fernTestValueRaw, obj.Raw) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocFormsGet200Response(t *testing.T) { - t.Run("GetFormKind", func(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemCheckboxFlags(t *testing.T) { + t.Run("GetReadOnly", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200Response{} - var expected DocFormsGet200ResponseFormKind - obj.FormKind = expected + obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + var expected bool + obj.ReadOnly = expected // Act & Assert - assert.Equal(t, expected, obj.GetFormKind(), "getter should return the property value") + assert.Equal(t, expected, obj.GetReadOnly(), "getter should return the property value") }) - t.Run("GetFormKind_NilReceiver", func(t *testing.T) { + t.Run("GetReadOnly_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200Response + var obj *DocFormsGet200ResponseFieldsItemCheckboxFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetFormKind() // Should return zero value + _ = obj.GetReadOnly() // Should return zero value }) - t.Run("GetNeedsAppearances", func(t *testing.T) { + t.Run("GetRequired", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200Response{} + obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} var expected bool - obj.NeedsAppearances = expected + obj.Required = expected // Act & Assert - assert.Equal(t, expected, obj.GetNeedsAppearances(), "getter should return the property value") + assert.Equal(t, expected, obj.GetRequired(), "getter should return the property value") }) - t.Run("GetNeedsAppearances_NilReceiver", func(t *testing.T) { + t.Run("GetRequired_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200Response + var obj *DocFormsGet200ResponseFieldsItemCheckboxFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetNeedsAppearances() // Should return zero value - }) - - t.Run("GetFields", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200Response{} - var expected []*DocFormsGet200ResponseFieldsItem - obj.Fields = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetFields(), "getter should return the property value") + _ = obj.GetRequired() // Should return zero value }) - t.Run("GetFields_NilValue", func(t *testing.T) { + t.Run("GetNoExport", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200Response{} - obj.Fields = nil + obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + var expected bool + obj.NoExport = expected // Act & Assert - assert.Nil(t, obj.GetFields(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetNoExport(), "getter should return the property value") }) - t.Run("GetFields_NilReceiver", func(t *testing.T) { + t.Run("GetNoExport_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200Response + var obj *DocFormsGet200ResponseFieldsItemCheckboxFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetFields() // Should return zero value - }) - - t.Run("GetCalculationOrder", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200Response{} - var expected []*DocFormsGet200ResponseCalculationOrderItem - obj.CalculationOrder = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetCalculationOrder(), "getter should return the property value") + _ = obj.GetNoExport() // Should return zero value }) - t.Run("GetCalculationOrder_NilValue", func(t *testing.T) { + t.Run("GetRaw", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200Response{} - obj.CalculationOrder = nil + obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + var expected int + obj.Raw = expected // Act & Assert - assert.Nil(t, obj.GetCalculationOrder(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetRaw(), "getter should return the property value") }) - t.Run("GetCalculationOrder_NilReceiver", func(t *testing.T) { + t.Run("GetRaw_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200Response + var obj *DocFormsGet200ResponseFieldsItemCheckboxFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetCalculationOrder() // Should return zero value + _ = obj.GetRaw() // Should return zero value }) } -func TestSettersMarkExplicitDocFormsGet200Response(t *testing.T) { - t.Run("SetFormKind_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxFlags(t *testing.T) { + t.Run("SetReadOnly_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200Response{} - var fernTestValueFormKind DocFormsGet200ResponseFormKind + obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + var fernTestValueReadOnly bool // Act - obj.SetFormKind(fernTestValueFormKind) + obj.SetReadOnly(fernTestValueReadOnly) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -202213,14 +206627,14 @@ func TestSettersMarkExplicitDocFormsGet200Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetNeedsAppearances_MarksExplicit", func(t *testing.T) { + t.Run("SetRequired_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200Response{} - var fernTestValueNeedsAppearances bool + obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + var fernTestValueRequired bool // Act - obj.SetNeedsAppearances(fernTestValueNeedsAppearances) + obj.SetRequired(fernTestValueRequired) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -202244,14 +206658,14 @@ func TestSettersMarkExplicitDocFormsGet200Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetFields_MarksExplicit", func(t *testing.T) { + t.Run("SetNoExport_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200Response{} - var fernTestValueFields []*DocFormsGet200ResponseFieldsItem + obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + var fernTestValueNoExport bool // Act - obj.SetFields(fernTestValueFields) + obj.SetNoExport(fernTestValueNoExport) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -202275,14 +206689,14 @@ func TestSettersMarkExplicitDocFormsGet200Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetCalculationOrder_MarksExplicit", func(t *testing.T) { + t.Run("SetRaw_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200Response{} - var fernTestValueCalculationOrder []*DocFormsGet200ResponseCalculationOrderItem + obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + var fernTestValueRaw int // Act - obj.SetCalculationOrder(fernTestValueCalculationOrder) + obj.SetRaw(fernTestValueRaw) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -202308,11 +206722,11 @@ func TestSettersMarkExplicitDocFormsGet200Response(t *testing.T) { } -func TestGettersDocFormsGet200ResponseCalculationOrderItem(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemCheckboxRef(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseCalculationOrderItem{} + obj := &DocFormsGet200ResponseFieldsItemCheckboxRef{} var expected string obj.Kind = expected @@ -202322,7 +206736,7 @@ func TestGettersDocFormsGet200ResponseCalculationOrderItem(t *testing.T) { t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseCalculationOrderItem + var obj *DocFormsGet200ResponseFieldsItemCheckboxRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -202335,8 +206749,8 @@ func TestGettersDocFormsGet200ResponseCalculationOrderItem(t *testing.T) { t.Run("GetObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseCalculationOrderItem{} - var expected *DocFormsGet200ResponseCalculationOrderItemObjectNumber + obj := &DocFormsGet200ResponseFieldsItemCheckboxRef{} + var expected *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber obj.ObjectNumber = expected // Act & Assert @@ -202346,7 +206760,7 @@ func TestGettersDocFormsGet200ResponseCalculationOrderItem(t *testing.T) { t.Run("GetObjectNumber_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseCalculationOrderItem{} + obj := &DocFormsGet200ResponseFieldsItemCheckboxRef{} obj.ObjectNumber = nil // Act & Assert @@ -202355,7 +206769,7 @@ func TestGettersDocFormsGet200ResponseCalculationOrderItem(t *testing.T) { t.Run("GetObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseCalculationOrderItem + var obj *DocFormsGet200ResponseFieldsItemCheckboxRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -202368,8 +206782,8 @@ func TestGettersDocFormsGet200ResponseCalculationOrderItem(t *testing.T) { t.Run("GetFqn", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseCalculationOrderItem{} - var expected *DocFormsGet200ResponseCalculationOrderItemFqn + obj := &DocFormsGet200ResponseFieldsItemCheckboxRef{} + var expected *DocFormsGet200ResponseFieldsItemCheckboxRefFqn obj.Fqn = expected // Act & Assert @@ -202379,7 +206793,7 @@ func TestGettersDocFormsGet200ResponseCalculationOrderItem(t *testing.T) { t.Run("GetFqn_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseCalculationOrderItem{} + obj := &DocFormsGet200ResponseFieldsItemCheckboxRef{} obj.Fqn = nil // Act & Assert @@ -202388,7 +206802,7 @@ func TestGettersDocFormsGet200ResponseCalculationOrderItem(t *testing.T) { t.Run("GetFqn_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseCalculationOrderItem + var obj *DocFormsGet200ResponseFieldsItemCheckboxRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -202400,9 +206814,9 @@ func TestGettersDocFormsGet200ResponseCalculationOrderItem(t *testing.T) { } -func TestSettersDocFormsGet200ResponseCalculationOrderItemFqn(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemCheckboxRefFqn(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocFormsGet200ResponseCalculationOrderItemFqn{} + obj := &DocFormsGet200ResponseFieldsItemCheckboxRefFqn{} var fernTestValueName string obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) @@ -202411,11 +206825,11 @@ func TestSettersDocFormsGet200ResponseCalculationOrderItemFqn(t *testing.T) { } -func TestGettersDocFormsGet200ResponseCalculationOrderItemFqn(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemCheckboxRefFqn(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseCalculationOrderItemFqn{} + obj := &DocFormsGet200ResponseFieldsItemCheckboxRefFqn{} var expected string obj.Name = expected @@ -202425,7 +206839,7 @@ func TestGettersDocFormsGet200ResponseCalculationOrderItemFqn(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseCalculationOrderItemFqn + var obj *DocFormsGet200ResponseFieldsItemCheckboxRefFqn // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -202437,11 +206851,11 @@ func TestGettersDocFormsGet200ResponseCalculationOrderItemFqn(t *testing.T) { } -func TestSettersMarkExplicitDocFormsGet200ResponseCalculationOrderItemFqn(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxRefFqn(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseCalculationOrderItemFqn{} + obj := &DocFormsGet200ResponseFieldsItemCheckboxRefFqn{} var fernTestValueName string // Act @@ -202471,9 +206885,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseCalculationOrderItemFqn(t *tes } -func TestSettersDocFormsGet200ResponseCalculationOrderItemObjectNumber(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber(t *testing.T) { t.Run("SetFieldObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseCalculationOrderItemObjectNumber{} + obj := &DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber{} var fernTestValueFieldObjectNumber int obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) assert.Equal(t, fernTestValueFieldObjectNumber, obj.FieldObjectNumber) @@ -202482,11 +206896,11 @@ func TestSettersDocFormsGet200ResponseCalculationOrderItemObjectNumber(t *testin } -func TestGettersDocFormsGet200ResponseCalculationOrderItemObjectNumber(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber(t *testing.T) { t.Run("GetFieldObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseCalculationOrderItemObjectNumber{} + obj := &DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber{} var expected int obj.FieldObjectNumber = expected @@ -202496,7 +206910,7 @@ func TestGettersDocFormsGet200ResponseCalculationOrderItemObjectNumber(t *testin t.Run("GetFieldObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseCalculationOrderItemObjectNumber + var obj *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -202508,11 +206922,11 @@ func TestGettersDocFormsGet200ResponseCalculationOrderItemObjectNumber(t *testin } -func TestSettersMarkExplicitDocFormsGet200ResponseCalculationOrderItemObjectNumber(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber(t *testing.T) { t.Run("SetFieldObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseCalculationOrderItemObjectNumber{} + obj := &DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber{} var fernTestValueFieldObjectNumber int // Act @@ -202542,307 +206956,646 @@ func TestSettersMarkExplicitDocFormsGet200ResponseCalculationOrderItemObjectNumb } -func TestGettersDocFormsGet200ResponseFieldsItem(t *testing.T) { - t.Run("GetFamily", func(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntry(t *testing.T) { + t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItem{} + obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntry{} var expected string - obj.Family = expected + obj.Kind = expected // Act & Assert - assert.Equal(t, expected, obj.GetFamily(), "getter should return the property value") + assert.Equal(t, expected, obj.GetKind(), "getter should return the property value") }) - t.Run("GetFamily_NilReceiver", func(t *testing.T) { + t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItem + var obj *DocFormsGet200ResponseFieldsItemCheckboxValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetFamily() // Should return zero value + _ = obj.GetKind() // Should return zero value }) - t.Run("GetText", func(t *testing.T) { + t.Run("GetNone", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItem{} - var expected *DocFormsGet200ResponseFieldsItemText - obj.Text = expected + obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone + obj.None = expected // Act & Assert - assert.Equal(t, expected, obj.GetText(), "getter should return the property value") + assert.Equal(t, expected, obj.GetNone(), "getter should return the property value") }) - t.Run("GetText_NilValue", func(t *testing.T) { + t.Run("GetNone_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItem{} - obj.Text = nil + obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntry{} + obj.None = nil // Act & Assert - assert.Nil(t, obj.GetText(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetNone(), "getter should return nil when property is nil") }) - t.Run("GetText_NilReceiver", func(t *testing.T) { + t.Run("GetNone_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItem + var obj *DocFormsGet200ResponseFieldsItemCheckboxValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetText() // Should return zero value + _ = obj.GetNone() // Should return zero value }) - t.Run("GetCheckbox", func(t *testing.T) { + t.Run("GetScalar", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItem{} - var expected *DocFormsGet200ResponseFieldsItemCheckbox - obj.Checkbox = expected + obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar + obj.Scalar = expected // Act & Assert - assert.Equal(t, expected, obj.GetCheckbox(), "getter should return the property value") + assert.Equal(t, expected, obj.GetScalar(), "getter should return the property value") }) - t.Run("GetCheckbox_NilValue", func(t *testing.T) { + t.Run("GetScalar_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItem{} - obj.Checkbox = nil + obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntry{} + obj.Scalar = nil // Act & Assert - assert.Nil(t, obj.GetCheckbox(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetScalar(), "getter should return nil when property is nil") }) - t.Run("GetCheckbox_NilReceiver", func(t *testing.T) { + t.Run("GetScalar_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItem + var obj *DocFormsGet200ResponseFieldsItemCheckboxValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetCheckbox() // Should return zero value + _ = obj.GetScalar() // Should return zero value }) - t.Run("GetRadio", func(t *testing.T) { + t.Run("GetArray", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItem{} - var expected *DocFormsGet200ResponseFieldsItemRadio - obj.Radio = expected + obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray + obj.Array = expected // Act & Assert - assert.Equal(t, expected, obj.GetRadio(), "getter should return the property value") + assert.Equal(t, expected, obj.GetArray(), "getter should return the property value") }) - t.Run("GetRadio_NilValue", func(t *testing.T) { + t.Run("GetArray_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItem{} - obj.Radio = nil + obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntry{} + obj.Array = nil // Act & Assert - assert.Nil(t, obj.GetRadio(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetArray(), "getter should return nil when property is nil") }) - t.Run("GetRadio_NilReceiver", func(t *testing.T) { + t.Run("GetArray_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItem + var obj *DocFormsGet200ResponseFieldsItemCheckboxValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetRadio() // Should return zero value + _ = obj.GetArray() // Should return zero value }) - t.Run("GetCombobox", func(t *testing.T) { + t.Run("GetUnsupported", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItem{} - var expected *DocFormsGet200ResponseFieldsItemCombobox - obj.Combobox = expected + obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported + obj.Unsupported = expected // Act & Assert - assert.Equal(t, expected, obj.GetCombobox(), "getter should return the property value") + assert.Equal(t, expected, obj.GetUnsupported(), "getter should return the property value") }) - t.Run("GetCombobox_NilValue", func(t *testing.T) { + t.Run("GetUnsupported_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItem{} - obj.Combobox = nil + obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntry{} + obj.Unsupported = nil // Act & Assert - assert.Nil(t, obj.GetCombobox(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetUnsupported(), "getter should return nil when property is nil") }) - t.Run("GetCombobox_NilReceiver", func(t *testing.T) { + t.Run("GetUnsupported_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItem + var obj *DocFormsGet200ResponseFieldsItemCheckboxValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetCombobox() // Should return zero value + _ = obj.GetUnsupported() // Should return zero value }) - t.Run("GetListbox", func(t *testing.T) { +} + +func TestSettersDocFormsGet200ResponseFieldsItemCheckboxValueEntryArray(t *testing.T) { + t.Run("SetValues", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray{} + var fernTestValueValues []string + obj.SetValues(fernTestValueValues) + assert.Equal(t, fernTestValueValues, obj.Values) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntryArray(t *testing.T) { + t.Run("GetValues", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItem{} - var expected *DocFormsGet200ResponseFieldsItemListbox - obj.Listbox = expected + obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray{} + var expected []string + obj.Values = expected // Act & Assert - assert.Equal(t, expected, obj.GetListbox(), "getter should return the property value") + assert.Equal(t, expected, obj.GetValues(), "getter should return the property value") }) - t.Run("GetListbox_NilValue", func(t *testing.T) { + t.Run("GetValues_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItem{} - obj.Listbox = nil + obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray{} + obj.Values = nil // Act & Assert - assert.Nil(t, obj.GetListbox(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetValues(), "getter should return nil when property is nil") }) - t.Run("GetListbox_NilReceiver", func(t *testing.T) { + t.Run("GetValues_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItem + var obj *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetListbox() // Should return zero value + _ = obj.GetValues() // Should return zero value }) - t.Run("GetPushbutton", func(t *testing.T) { +} + +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxValueEntryArray(t *testing.T) { + t.Run("SetValues_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItem{} - var expected *DocFormsGet200ResponseFieldsItemPushbutton - obj.Pushbutton = expected + obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray{} + var fernTestValueValues []string + + // Act + obj.SetValues(fernTestValueValues) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar(t *testing.T) { + t.Run("SetValue", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar{} + var fernTestValueValue string + obj.SetValue(fernTestValueValue) + assert.Equal(t, fernTestValueValue, obj.Value) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar(t *testing.T) { + t.Run("GetValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar{} + var expected string + obj.Value = expected // Act & Assert - assert.Equal(t, expected, obj.GetPushbutton(), "getter should return the property value") + assert.Equal(t, expected, obj.GetValue(), "getter should return the property value") }) - t.Run("GetPushbutton_NilValue", func(t *testing.T) { + t.Run("GetValue_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetValue() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar(t *testing.T) { + t.Run("SetValue_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItem{} - obj.Pushbutton = nil + obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar{} + var fernTestValueValue string + + // Act + obj.SetValue(fernTestValueValue) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocFormsGet200ResponseFieldsItemCheckboxWidgetsItem(t *testing.T) { + t.Run("SetAnnotObjectNumber", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} + var fernTestValueAnnotObjectNumber int + obj.SetAnnotObjectNumber(fernTestValueAnnotObjectNumber) + assert.Equal(t, fernTestValueAnnotObjectNumber, obj.AnnotObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetPageObjectNumber", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} + var fernTestValuePageObjectNumber int + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetOnState", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} + var fernTestValueOnState string + obj.SetOnState(fernTestValueOnState) + assert.Equal(t, fernTestValueOnState, obj.OnState) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetExportValue", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} + var fernTestValueExportValue string + obj.SetExportValue(fernTestValueExportValue) + assert.Equal(t, fernTestValueExportValue, obj.ExportValue) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetChecked", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} + var fernTestValueChecked bool + obj.SetChecked(fernTestValueChecked) + assert.Equal(t, fernTestValueChecked, obj.Checked) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocFormsGet200ResponseFieldsItemCheckboxWidgetsItem(t *testing.T) { + t.Run("GetAnnotObjectNumber", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} + var expected int + obj.AnnotObjectNumber = expected // Act & Assert - assert.Nil(t, obj.GetPushbutton(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetAnnotObjectNumber(), "getter should return the property value") }) - t.Run("GetPushbutton_NilReceiver", func(t *testing.T) { + t.Run("GetAnnotObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItem + var obj *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetPushbutton() // Should return zero value + _ = obj.GetAnnotObjectNumber() // Should return zero value }) - t.Run("GetSignature", func(t *testing.T) { + t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItem{} - var expected *DocFormsGet200ResponseFieldsItemSignature - obj.Signature = expected + obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} + var expected int + obj.PageObjectNumber = expected // Act & Assert - assert.Equal(t, expected, obj.GetSignature(), "getter should return the property value") + assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") }) - t.Run("GetSignature_NilValue", func(t *testing.T) { + t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetPageObjectNumber() // Should return zero value + }) + + t.Run("GetOnState", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItem{} - obj.Signature = nil + obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} + var expected string + obj.OnState = expected // Act & Assert - assert.Nil(t, obj.GetSignature(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetOnState(), "getter should return the property value") }) - t.Run("GetSignature_NilReceiver", func(t *testing.T) { + t.Run("GetOnState_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItem + var obj *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetSignature() // Should return zero value + _ = obj.GetOnState() // Should return zero value }) - t.Run("GetUnknown", func(t *testing.T) { + t.Run("GetExportValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItem{} - var expected *DocFormsGet200ResponseFieldsItemUnknown - obj.Unknown = expected + obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} + var expected string + obj.ExportValue = expected // Act & Assert - assert.Equal(t, expected, obj.GetUnknown(), "getter should return the property value") + assert.Equal(t, expected, obj.GetExportValue(), "getter should return the property value") }) - t.Run("GetUnknown_NilValue", func(t *testing.T) { + t.Run("GetExportValue_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetExportValue() // Should return zero value + }) + + t.Run("GetChecked", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItem{} - obj.Unknown = nil + obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} + var expected bool + obj.Checked = expected // Act & Assert - assert.Nil(t, obj.GetUnknown(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetChecked(), "getter should return the property value") }) - t.Run("GetUnknown_NilReceiver", func(t *testing.T) { + t.Run("GetChecked_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItem + var obj *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetUnknown() // Should return zero value + _ = obj.GetChecked() // Should return zero value }) } -func TestSettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxWidgetsItem(t *testing.T) { + t.Run("SetAnnotObjectNumber_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} + var fernTestValueAnnotObjectNumber int + + // Act + obj.SetAnnotObjectNumber(fernTestValueAnnotObjectNumber) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} + var fernTestValuePageObjectNumber int + + // Act + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetOnState_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} + var fernTestValueOnState string + + // Act + obj.SetOnState(fernTestValueOnState) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetExportValue_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} + var fernTestValueExportValue string + + // Act + obj.SetExportValue(fernTestValueExportValue) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetChecked_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} + var fernTestValueChecked bool + + // Act + obj.SetChecked(fernTestValueChecked) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("SetRef", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var fernTestValueRef *DocFormsGet200ResponseFieldsItemCheckboxRef + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var fernTestValueRef *DocFormsGet200ResponseFieldsItemComboboxRef obj.SetRef(fernTestValueRef) assert.Equal(t, fernTestValueRef, obj.Ref) assert.NotNil(t, obj.explicitFields) }) t.Run("SetFieldObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} var fernTestValueFieldObjectNumber int obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) assert.Equal(t, fernTestValueFieldObjectNumber, obj.FieldObjectNumber) @@ -202850,7 +207603,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { }) t.Run("SetName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} var fernTestValueName string obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) @@ -202858,23 +207611,23 @@ func TestSettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { }) t.Run("SetOrigin", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var fernTestValueOrigin DocFormsGet200ResponseFieldsItemCheckboxOrigin + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var fernTestValueOrigin DocFormsGet200ResponseFieldsItemComboboxOrigin obj.SetOrigin(fernTestValueOrigin) assert.Equal(t, fernTestValueOrigin, obj.Origin) assert.NotNil(t, obj.explicitFields) }) t.Run("SetFlags", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var fernTestValueFlags *DocFormsGet200ResponseFieldsItemCheckboxFlags + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var fernTestValueFlags *DocFormsGet200ResponseFieldsItemComboboxFlags obj.SetFlags(fernTestValueFlags) assert.Equal(t, fernTestValueFlags, obj.Flags) assert.NotNil(t, obj.explicitFields) }) t.Run("SetAlternateName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} var fernTestValueAlternateName *string obj.SetAlternateName(fernTestValueAlternateName) assert.Equal(t, fernTestValueAlternateName, obj.AlternateName) @@ -202882,7 +207635,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { }) t.Run("SetMappingName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} var fernTestValueMappingName *string obj.SetMappingName(fernTestValueMappingName) assert.Equal(t, fernTestValueMappingName, obj.MappingName) @@ -202890,23 +207643,23 @@ func TestSettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { }) t.Run("SetValueEntry", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemCheckboxValueEntry + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemComboboxValueEntry obj.SetValueEntry(fernTestValueValueEntry) assert.Equal(t, fernTestValueValueEntry, obj.ValueEntry) assert.NotNil(t, obj.explicitFields) }) t.Run("SetDefaultValueEntry", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry obj.SetDefaultValueEntry(fernTestValueDefaultValueEntry) assert.Equal(t, fernTestValueDefaultValueEntry, obj.DefaultValueEntry) assert.NotNil(t, obj.explicitFields) }) t.Run("SetActions", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} var fernTestValueActions *PdfFieldActions obj.SetActions(fernTestValueActions) assert.Equal(t, fernTestValueActions, obj.Actions) @@ -202914,37 +207667,53 @@ func TestSettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { }) t.Run("SetWidgets", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemComboboxWidgetsItem obj.SetWidgets(fernTestValueWidgets) assert.Equal(t, fernTestValueWidgets, obj.Widgets) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetChecked", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var fernTestValueChecked bool - obj.SetChecked(fernTestValueChecked) - assert.Equal(t, fernTestValueChecked, obj.Checked) + t.Run("SetValue", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var fernTestValueValue string + obj.SetValue(fernTestValueValue) + assert.Equal(t, fernTestValueValue, obj.Value) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetExportValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var fernTestValueExportValue string - obj.SetExportValue(fernTestValueExportValue) - assert.Equal(t, fernTestValueExportValue, obj.ExportValue) + t.Run("SetDefaultValue", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var fernTestValueDefaultValue string + obj.SetDefaultValue(fernTestValueDefaultValue) + assert.Equal(t, fernTestValueDefaultValue, obj.DefaultValue) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetEdit", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var fernTestValueEdit bool + obj.SetEdit(fernTestValueEdit) + assert.Equal(t, fernTestValueEdit, obj.Edit) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetOptions", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var fernTestValueOptions []*DocFormsGet200ResponseFieldsItemComboboxOptionsItem + obj.SetOptions(fernTestValueOptions) + assert.Equal(t, fernTestValueOptions, obj.Options) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetRef", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var expected *DocFormsGet200ResponseFieldsItemCheckboxRef + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var expected *DocFormsGet200ResponseFieldsItemComboboxRef obj.Ref = expected // Act & Assert @@ -202954,7 +207723,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetRef_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} obj.Ref = nil // Act & Assert @@ -202963,7 +207732,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetRef_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckbox + var obj *DocFormsGet200ResponseFieldsItemCombobox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -202976,7 +207745,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetFieldObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} var expected int obj.FieldObjectNumber = expected @@ -202986,7 +207755,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetFieldObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckbox + var obj *DocFormsGet200ResponseFieldsItemCombobox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -202999,7 +207768,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} var expected string obj.Name = expected @@ -203009,7 +207778,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckbox + var obj *DocFormsGet200ResponseFieldsItemCombobox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -203022,8 +207791,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetOrigin", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var expected DocFormsGet200ResponseFieldsItemCheckboxOrigin + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var expected DocFormsGet200ResponseFieldsItemComboboxOrigin obj.Origin = expected // Act & Assert @@ -203032,7 +207801,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetOrigin_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckbox + var obj *DocFormsGet200ResponseFieldsItemCombobox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -203045,8 +207814,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetFlags", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var expected *DocFormsGet200ResponseFieldsItemCheckboxFlags + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var expected *DocFormsGet200ResponseFieldsItemComboboxFlags obj.Flags = expected // Act & Assert @@ -203056,7 +207825,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetFlags_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} obj.Flags = nil // Act & Assert @@ -203065,7 +207834,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetFlags_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckbox + var obj *DocFormsGet200ResponseFieldsItemCombobox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -203078,7 +207847,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetAlternateName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} var expected *string obj.AlternateName = expected @@ -203089,7 +207858,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetAlternateName_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} obj.AlternateName = nil // Act & Assert @@ -203098,7 +207867,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetAlternateName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckbox + var obj *DocFormsGet200ResponseFieldsItemCombobox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -203111,7 +207880,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetMappingName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} var expected *string obj.MappingName = expected @@ -203122,7 +207891,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetMappingName_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} obj.MappingName = nil // Act & Assert @@ -203131,7 +207900,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetMappingName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckbox + var obj *DocFormsGet200ResponseFieldsItemCombobox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -203144,8 +207913,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetValueEntry", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var expected *DocFormsGet200ResponseFieldsItemCheckboxValueEntry + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var expected *DocFormsGet200ResponseFieldsItemComboboxValueEntry obj.ValueEntry = expected // Act & Assert @@ -203155,7 +207924,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetValueEntry_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} obj.ValueEntry = nil // Act & Assert @@ -203164,7 +207933,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetValueEntry_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckbox + var obj *DocFormsGet200ResponseFieldsItemCombobox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -203177,8 +207946,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetDefaultValueEntry", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var expected *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var expected *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry obj.DefaultValueEntry = expected // Act & Assert @@ -203188,7 +207957,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetDefaultValueEntry_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} obj.DefaultValueEntry = nil // Act & Assert @@ -203197,7 +207966,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetDefaultValueEntry_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckbox + var obj *DocFormsGet200ResponseFieldsItemCombobox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -203210,7 +207979,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetActions", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} var expected *PdfFieldActions obj.Actions = expected @@ -203221,7 +207990,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetActions_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} obj.Actions = nil // Act & Assert @@ -203230,7 +207999,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetActions_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckbox + var obj *DocFormsGet200ResponseFieldsItemCombobox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -203243,8 +208012,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetWidgets", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var expected []*DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var expected []*DocFormsGet200ResponseFieldsItemComboboxWidgetsItem obj.Widgets = expected // Act & Assert @@ -203254,7 +208023,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetWidgets_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} obj.Widgets = nil // Act & Assert @@ -203263,7 +208032,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { t.Run("GetWidgets_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckbox + var obj *DocFormsGet200ResponseFieldsItemCombobox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -203273,60 +208042,116 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { _ = obj.GetWidgets() // Should return zero value }) - t.Run("GetChecked", func(t *testing.T) { + t.Run("GetValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var expected bool - obj.Checked = expected + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var expected string + obj.Value = expected // Act & Assert - assert.Equal(t, expected, obj.GetChecked(), "getter should return the property value") + assert.Equal(t, expected, obj.GetValue(), "getter should return the property value") }) - t.Run("GetChecked_NilReceiver", func(t *testing.T) { + t.Run("GetValue_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckbox + var obj *DocFormsGet200ResponseFieldsItemCombobox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetChecked() // Should return zero value + _ = obj.GetValue() // Should return zero value }) - t.Run("GetExportValue", func(t *testing.T) { + t.Run("GetDefaultValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} var expected string - obj.ExportValue = expected + obj.DefaultValue = expected // Act & Assert - assert.Equal(t, expected, obj.GetExportValue(), "getter should return the property value") + assert.Equal(t, expected, obj.GetDefaultValue(), "getter should return the property value") }) - t.Run("GetExportValue_NilReceiver", func(t *testing.T) { + t.Run("GetDefaultValue_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckbox + var obj *DocFormsGet200ResponseFieldsItemCombobox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetExportValue() // Should return zero value + _ = obj.GetDefaultValue() // Should return zero value + }) + + t.Run("GetEdit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var expected bool + obj.Edit = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetEdit(), "getter should return the property value") + }) + + t.Run("GetEdit_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemCombobox + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetEdit() // Should return zero value + }) + + t.Run("GetOptions", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var expected []*DocFormsGet200ResponseFieldsItemComboboxOptionsItem + obj.Options = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetOptions(), "getter should return the property value") + }) + + t.Run("GetOptions_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj.Options = nil + + // Act & Assert + assert.Nil(t, obj.GetOptions(), "getter should return nil when property is nil") + }) + + t.Run("GetOptions_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemCombobox + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetOptions() // Should return zero value }) } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckbox(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("SetRef_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var fernTestValueRef *DocFormsGet200ResponseFieldsItemCheckboxRef + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var fernTestValueRef *DocFormsGet200ResponseFieldsItemComboboxRef // Act obj.SetRef(fernTestValueRef) @@ -203356,7 +208181,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckbox(t *testing. t.Run("SetFieldObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} var fernTestValueFieldObjectNumber int // Act @@ -203387,7 +208212,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckbox(t *testing. t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} var fernTestValueName string // Act @@ -203418,8 +208243,8 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckbox(t *testing. t.Run("SetOrigin_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var fernTestValueOrigin DocFormsGet200ResponseFieldsItemCheckboxOrigin + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var fernTestValueOrigin DocFormsGet200ResponseFieldsItemComboboxOrigin // Act obj.SetOrigin(fernTestValueOrigin) @@ -203449,8 +208274,8 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckbox(t *testing. t.Run("SetFlags_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var fernTestValueFlags *DocFormsGet200ResponseFieldsItemCheckboxFlags + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var fernTestValueFlags *DocFormsGet200ResponseFieldsItemComboboxFlags // Act obj.SetFlags(fernTestValueFlags) @@ -203480,7 +208305,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckbox(t *testing. t.Run("SetAlternateName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} var fernTestValueAlternateName *string // Act @@ -203511,7 +208336,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckbox(t *testing. t.Run("SetMappingName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} var fernTestValueMappingName *string // Act @@ -203542,8 +208367,8 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckbox(t *testing. t.Run("SetValueEntry_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemCheckboxValueEntry + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemComboboxValueEntry // Act obj.SetValueEntry(fernTestValueValueEntry) @@ -203573,8 +208398,8 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckbox(t *testing. t.Run("SetDefaultValueEntry_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry // Act obj.SetDefaultValueEntry(fernTestValueDefaultValueEntry) @@ -203604,7 +208429,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckbox(t *testing. t.Run("SetActions_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} + obj := &DocFormsGet200ResponseFieldsItemCombobox{} var fernTestValueActions *PdfFieldActions // Act @@ -203632,14 +208457,76 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckbox(t *testing. // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetWidgets_MarksExplicit", func(t *testing.T) { + t.Run("SetWidgets_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemComboboxWidgetsItem + + // Act + obj.SetWidgets(fernTestValueWidgets) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetValue_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var fernTestValueValue string + + // Act + obj.SetValue(fernTestValueValue) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetDefaultValue_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var fernTestValueDefaultValue string // Act - obj.SetWidgets(fernTestValueWidgets) + obj.SetDefaultValue(fernTestValueDefaultValue) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -203663,14 +208550,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckbox(t *testing. // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetChecked_MarksExplicit", func(t *testing.T) { + t.Run("SetEdit_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var fernTestValueChecked bool + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var fernTestValueEdit bool // Act - obj.SetChecked(fernTestValueChecked) + obj.SetEdit(fernTestValueEdit) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -203694,14 +208581,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckbox(t *testing. // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetExportValue_MarksExplicit", func(t *testing.T) { + t.Run("SetOptions_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckbox{} - var fernTestValueExportValue string + obj := &DocFormsGet200ResponseFieldsItemCombobox{} + var fernTestValueOptions []*DocFormsGet200ResponseFieldsItemComboboxOptionsItem // Act - obj.SetExportValue(fernTestValueExportValue) + obj.SetOptions(fernTestValueOptions) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -203727,11 +208614,11 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckbox(t *testing. } -func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry{} var expected string obj.Kind = expected @@ -203741,7 +208628,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry(t *tes t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -203754,8 +208641,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry(t *tes t.Run("GetNone", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryNone + obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone obj.None = expected // Act & Assert @@ -203765,7 +208652,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry(t *tes t.Run("GetNone_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry{} obj.None = nil // Act & Assert @@ -203774,7 +208661,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry(t *tes t.Run("GetNone_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -203787,8 +208674,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry(t *tes t.Run("GetScalar", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar + obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar obj.Scalar = expected // Act & Assert @@ -203798,7 +208685,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry(t *tes t.Run("GetScalar_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry{} obj.Scalar = nil // Act & Assert @@ -203807,7 +208694,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry(t *tes t.Run("GetScalar_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -203820,8 +208707,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry(t *tes t.Run("GetArray", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray + obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray obj.Array = expected // Act & Assert @@ -203831,7 +208718,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry(t *tes t.Run("GetArray_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry{} obj.Array = nil // Act & Assert @@ -203840,7 +208727,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry(t *tes t.Run("GetArray_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -203853,8 +208740,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry(t *tes t.Run("GetUnsupported", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryUnsupported + obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported obj.Unsupported = expected // Act & Assert @@ -203864,7 +208751,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry(t *tes t.Run("GetUnsupported_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry{} obj.Unsupported = nil // Act & Assert @@ -203873,7 +208760,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry(t *tes t.Run("GetUnsupported_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -203885,9 +208772,9 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntry(t *tes } -func TestSettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray(t *testing.T) { t.Run("SetValues", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray{} var fernTestValueValues []string obj.SetValues(fernTestValueValues) assert.Equal(t, fernTestValueValues, obj.Values) @@ -203896,11 +208783,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray(t } -func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray(t *testing.T) { t.Run("GetValues", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray{} var expected []string obj.Values = expected @@ -203911,7 +208798,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray(t t.Run("GetValues_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray{} obj.Values = nil // Act & Assert @@ -203920,7 +208807,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray(t t.Run("GetValues_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray + var obj *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -203932,11 +208819,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray(t } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray(t *testing.T) { t.Run("SetValues_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray{} var fernTestValueValues []string // Act @@ -203966,9 +208853,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxDefaultValue } -func TestSettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar(t *testing.T) { t.Run("SetValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar{} var fernTestValueValue string obj.SetValue(fernTestValueValue) assert.Equal(t, fernTestValueValue, obj.Value) @@ -203977,11 +208864,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar( } -func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar(t *testing.T) { t.Run("GetValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar{} var expected string obj.Value = expected @@ -203991,7 +208878,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar( t.Run("GetValue_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar + var obj *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -204003,11 +208890,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar( } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar(t *testing.T) { t.Run("SetValue_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxDefaultValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar{} var fernTestValueValue string // Act @@ -204037,9 +208924,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxDefaultValue } -func TestSettersDocFormsGet200ResponseFieldsItemCheckboxFlags(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemComboboxFlags(t *testing.T) { t.Run("SetReadOnly", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} var fernTestValueReadOnly bool obj.SetReadOnly(fernTestValueReadOnly) assert.Equal(t, fernTestValueReadOnly, obj.ReadOnly) @@ -204047,7 +208934,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemCheckboxFlags(t *testing.T) { }) t.Run("SetRequired", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} var fernTestValueRequired bool obj.SetRequired(fernTestValueRequired) assert.Equal(t, fernTestValueRequired, obj.Required) @@ -204055,7 +208942,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemCheckboxFlags(t *testing.T) { }) t.Run("SetNoExport", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} var fernTestValueNoExport bool obj.SetNoExport(fernTestValueNoExport) assert.Equal(t, fernTestValueNoExport, obj.NoExport) @@ -204063,7 +208950,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemCheckboxFlags(t *testing.T) { }) t.Run("SetRaw", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} var fernTestValueRaw int obj.SetRaw(fernTestValueRaw) assert.Equal(t, fernTestValueRaw, obj.Raw) @@ -204072,11 +208959,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemCheckboxFlags(t *testing.T) { } -func TestGettersDocFormsGet200ResponseFieldsItemCheckboxFlags(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemComboboxFlags(t *testing.T) { t.Run("GetReadOnly", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} var expected bool obj.ReadOnly = expected @@ -204086,7 +208973,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxFlags(t *testing.T) { t.Run("GetReadOnly_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxFlags + var obj *DocFormsGet200ResponseFieldsItemComboboxFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -204099,7 +208986,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxFlags(t *testing.T) { t.Run("GetRequired", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} var expected bool obj.Required = expected @@ -204109,7 +208996,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxFlags(t *testing.T) { t.Run("GetRequired_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxFlags + var obj *DocFormsGet200ResponseFieldsItemComboboxFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -204122,7 +209009,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxFlags(t *testing.T) { t.Run("GetNoExport", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} var expected bool obj.NoExport = expected @@ -204132,7 +209019,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxFlags(t *testing.T) { t.Run("GetNoExport_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxFlags + var obj *DocFormsGet200ResponseFieldsItemComboboxFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -204145,7 +209032,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxFlags(t *testing.T) { t.Run("GetRaw", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} var expected int obj.Raw = expected @@ -204155,7 +209042,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxFlags(t *testing.T) { t.Run("GetRaw_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxFlags + var obj *DocFormsGet200ResponseFieldsItemComboboxFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -204167,11 +209054,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxFlags(t *testing.T) { } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxFlags(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxFlags(t *testing.T) { t.Run("SetReadOnly_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} var fernTestValueReadOnly bool // Act @@ -204202,7 +209089,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxFlags(t *tes t.Run("SetRequired_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} var fernTestValueRequired bool // Act @@ -204233,7 +209120,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxFlags(t *tes t.Run("SetNoExport_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} var fernTestValueNoExport bool // Act @@ -204264,7 +209151,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxFlags(t *tes t.Run("SetRaw_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} var fernTestValueRaw int // Act @@ -204294,11 +209181,206 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxFlags(t *tes } -func TestGettersDocFormsGet200ResponseFieldsItemCheckboxRef(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemComboboxOptionsItem(t *testing.T) { + t.Run("SetLabel", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemComboboxOptionsItem{} + var fernTestValueLabel string + obj.SetLabel(fernTestValueLabel) + assert.Equal(t, fernTestValueLabel, obj.Label) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetValue", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemComboboxOptionsItem{} + var fernTestValueValue string + obj.SetValue(fernTestValueValue) + assert.Equal(t, fernTestValueValue, obj.Value) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetSelected", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemComboboxOptionsItem{} + var fernTestValueSelected bool + obj.SetSelected(fernTestValueSelected) + assert.Equal(t, fernTestValueSelected, obj.Selected) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocFormsGet200ResponseFieldsItemComboboxOptionsItem(t *testing.T) { + t.Run("GetLabel", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemComboboxOptionsItem{} + var expected string + obj.Label = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetLabel(), "getter should return the property value") + }) + + t.Run("GetLabel_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemComboboxOptionsItem + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetLabel() // Should return zero value + }) + + t.Run("GetValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemComboboxOptionsItem{} + var expected string + obj.Value = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetValue(), "getter should return the property value") + }) + + t.Run("GetValue_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemComboboxOptionsItem + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetValue() // Should return zero value + }) + + t.Run("GetSelected", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemComboboxOptionsItem{} + var expected bool + obj.Selected = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetSelected(), "getter should return the property value") + }) + + t.Run("GetSelected_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemComboboxOptionsItem + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetSelected() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxOptionsItem(t *testing.T) { + t.Run("SetLabel_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemComboboxOptionsItem{} + var fernTestValueLabel string + + // Act + obj.SetLabel(fernTestValueLabel) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetValue_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemComboboxOptionsItem{} + var fernTestValueValue string + + // Act + obj.SetValue(fernTestValueValue) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetSelected_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemComboboxOptionsItem{} + var fernTestValueSelected bool + + // Act + obj.SetSelected(fernTestValueSelected) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestGettersDocFormsGet200ResponseFieldsItemComboboxRef(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxRef{} + obj := &DocFormsGet200ResponseFieldsItemComboboxRef{} var expected string obj.Kind = expected @@ -204308,7 +209390,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxRef(t *testing.T) { t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxRef + var obj *DocFormsGet200ResponseFieldsItemComboboxRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -204321,8 +209403,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxRef(t *testing.T) { t.Run("GetObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxRef{} - var expected *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber + obj := &DocFormsGet200ResponseFieldsItemComboboxRef{} + var expected *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber obj.ObjectNumber = expected // Act & Assert @@ -204332,7 +209414,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxRef(t *testing.T) { t.Run("GetObjectNumber_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxRef{} + obj := &DocFormsGet200ResponseFieldsItemComboboxRef{} obj.ObjectNumber = nil // Act & Assert @@ -204341,7 +209423,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxRef(t *testing.T) { t.Run("GetObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxRef + var obj *DocFormsGet200ResponseFieldsItemComboboxRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -204354,8 +209436,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxRef(t *testing.T) { t.Run("GetFqn", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxRef{} - var expected *DocFormsGet200ResponseFieldsItemCheckboxRefFqn + obj := &DocFormsGet200ResponseFieldsItemComboboxRef{} + var expected *DocFormsGet200ResponseFieldsItemComboboxRefFqn obj.Fqn = expected // Act & Assert @@ -204365,7 +209447,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxRef(t *testing.T) { t.Run("GetFqn_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxRef{} + obj := &DocFormsGet200ResponseFieldsItemComboboxRef{} obj.Fqn = nil // Act & Assert @@ -204374,7 +209456,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxRef(t *testing.T) { t.Run("GetFqn_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxRef + var obj *DocFormsGet200ResponseFieldsItemComboboxRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -204386,9 +209468,9 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxRef(t *testing.T) { } -func TestSettersDocFormsGet200ResponseFieldsItemCheckboxRefFqn(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemComboboxRefFqn(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckboxRefFqn{} + obj := &DocFormsGet200ResponseFieldsItemComboboxRefFqn{} var fernTestValueName string obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) @@ -204397,11 +209479,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemCheckboxRefFqn(t *testing.T) { } -func TestGettersDocFormsGet200ResponseFieldsItemCheckboxRefFqn(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemComboboxRefFqn(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxRefFqn{} + obj := &DocFormsGet200ResponseFieldsItemComboboxRefFqn{} var expected string obj.Name = expected @@ -204411,7 +209493,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxRefFqn(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxRefFqn + var obj *DocFormsGet200ResponseFieldsItemComboboxRefFqn // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -204423,11 +209505,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxRefFqn(t *testing.T) { } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxRefFqn(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxRefFqn(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxRefFqn{} + obj := &DocFormsGet200ResponseFieldsItemComboboxRefFqn{} var fernTestValueName string // Act @@ -204457,9 +209539,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxRefFqn(t *te } -func TestSettersDocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemComboboxRefObjectNumber(t *testing.T) { t.Run("SetFieldObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber{} + obj := &DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber{} var fernTestValueFieldObjectNumber int obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) assert.Equal(t, fernTestValueFieldObjectNumber, obj.FieldObjectNumber) @@ -204468,11 +209550,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber(t *testi } -func TestGettersDocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemComboboxRefObjectNumber(t *testing.T) { t.Run("GetFieldObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber{} + obj := &DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber{} var expected int obj.FieldObjectNumber = expected @@ -204482,7 +209564,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber(t *testi t.Run("GetFieldObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber + var obj *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -204494,11 +209576,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber(t *testi } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxRefObjectNumber(t *testing.T) { t.Run("SetFieldObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxRefObjectNumber{} + obj := &DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber{} var fernTestValueFieldObjectNumber int // Act @@ -204528,11 +209610,11 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxRefObjectNum } -func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntry(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntry(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntry{} var expected string obj.Kind = expected @@ -204542,7 +209624,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntry(t *testing.T) t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxValueEntry + var obj *DocFormsGet200ResponseFieldsItemComboboxValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -204555,8 +209637,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntry(t *testing.T) t.Run("GetNone", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemCheckboxValueEntryNone + obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemComboboxValueEntryNone obj.None = expected // Act & Assert @@ -204566,7 +209648,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntry(t *testing.T) t.Run("GetNone_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntry{} obj.None = nil // Act & Assert @@ -204575,7 +209657,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntry(t *testing.T) t.Run("GetNone_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxValueEntry + var obj *DocFormsGet200ResponseFieldsItemComboboxValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -204588,8 +209670,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntry(t *testing.T) t.Run("GetScalar", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar + obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar obj.Scalar = expected // Act & Assert @@ -204599,7 +209681,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntry(t *testing.T) t.Run("GetScalar_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntry{} obj.Scalar = nil // Act & Assert @@ -204608,7 +209690,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntry(t *testing.T) t.Run("GetScalar_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxValueEntry + var obj *DocFormsGet200ResponseFieldsItemComboboxValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -204621,8 +209703,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntry(t *testing.T) t.Run("GetArray", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray + obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray obj.Array = expected // Act & Assert @@ -204632,7 +209714,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntry(t *testing.T) t.Run("GetArray_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntry{} obj.Array = nil // Act & Assert @@ -204641,7 +209723,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntry(t *testing.T) t.Run("GetArray_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxValueEntry + var obj *DocFormsGet200ResponseFieldsItemComboboxValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -204654,8 +209736,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntry(t *testing.T) t.Run("GetUnsupported", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemCheckboxValueEntryUnsupported + obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported obj.Unsupported = expected // Act & Assert @@ -204665,7 +209747,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntry(t *testing.T) t.Run("GetUnsupported_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntry{} obj.Unsupported = nil // Act & Assert @@ -204674,7 +209756,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntry(t *testing.T) t.Run("GetUnsupported_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxValueEntry + var obj *DocFormsGet200ResponseFieldsItemComboboxValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -204686,9 +209768,9 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntry(t *testing.T) } -func TestSettersDocFormsGet200ResponseFieldsItemCheckboxValueEntryArray(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemComboboxValueEntryArray(t *testing.T) { t.Run("SetValues", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntryArray{} var fernTestValueValues []string obj.SetValues(fernTestValueValues) assert.Equal(t, fernTestValueValues, obj.Values) @@ -204697,11 +209779,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemCheckboxValueEntryArray(t *testi } -func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntryArray(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntryArray(t *testing.T) { t.Run("GetValues", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntryArray{} var expected []string obj.Values = expected @@ -204712,7 +209794,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntryArray(t *testi t.Run("GetValues_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntryArray{} obj.Values = nil // Act & Assert @@ -204721,7 +209803,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntryArray(t *testi t.Run("GetValues_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray + var obj *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -204733,11 +209815,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntryArray(t *testi } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxValueEntryArray(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxValueEntryArray(t *testing.T) { t.Run("SetValues_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntryArray{} var fernTestValueValues []string // Act @@ -204767,9 +209849,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxValueEntryAr } -func TestSettersDocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemComboboxValueEntryScalar(t *testing.T) { t.Run("SetValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar{} var fernTestValueValue string obj.SetValue(fernTestValueValue) assert.Equal(t, fernTestValueValue, obj.Value) @@ -204778,11 +209860,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar(t *test } -func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntryScalar(t *testing.T) { t.Run("GetValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar{} var expected string obj.Value = expected @@ -204792,7 +209874,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar(t *test t.Run("GetValue_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar + var obj *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -204804,11 +209886,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar(t *test } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxValueEntryScalar(t *testing.T) { t.Run("SetValue_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar{} var fernTestValueValue string // Act @@ -204838,9 +209920,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxValueEntrySc } -func TestSettersDocFormsGet200ResponseFieldsItemCheckboxWidgetsItem(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemComboboxWidgetsItem(t *testing.T) { t.Run("SetAnnotObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemComboboxWidgetsItem{} var fernTestValueAnnotObjectNumber int obj.SetAnnotObjectNumber(fernTestValueAnnotObjectNumber) assert.Equal(t, fernTestValueAnnotObjectNumber, obj.AnnotObjectNumber) @@ -204848,44 +209930,20 @@ func TestSettersDocFormsGet200ResponseFieldsItemCheckboxWidgetsItem(t *testing.T }) t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemComboboxWidgetsItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetOnState", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} - var fernTestValueOnState string - obj.SetOnState(fernTestValueOnState) - assert.Equal(t, fernTestValueOnState, obj.OnState) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetExportValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} - var fernTestValueExportValue string - obj.SetExportValue(fernTestValueExportValue) - assert.Equal(t, fernTestValueExportValue, obj.ExportValue) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetChecked", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} - var fernTestValueChecked bool - obj.SetChecked(fernTestValueChecked) - assert.Equal(t, fernTestValueChecked, obj.Checked) - assert.NotNil(t, obj.explicitFields) - }) - } -func TestGettersDocFormsGet200ResponseFieldsItemCheckboxWidgetsItem(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemComboboxWidgetsItem(t *testing.T) { t.Run("GetAnnotObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemComboboxWidgetsItem{} var expected int obj.AnnotObjectNumber = expected @@ -204895,7 +209953,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxWidgetsItem(t *testing.T t.Run("GetAnnotObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem + var obj *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -204908,7 +209966,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxWidgetsItem(t *testing.T t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemComboboxWidgetsItem{} var expected int obj.PageObjectNumber = expected @@ -204918,7 +209976,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxWidgetsItem(t *testing.T t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem + var obj *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -204928,82 +209986,13 @@ func TestGettersDocFormsGet200ResponseFieldsItemCheckboxWidgetsItem(t *testing.T _ = obj.GetPageObjectNumber() // Should return zero value }) - t.Run("GetOnState", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} - var expected string - obj.OnState = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetOnState(), "getter should return the property value") - }) - - t.Run("GetOnState_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetOnState() // Should return zero value - }) - - t.Run("GetExportValue", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} - var expected string - obj.ExportValue = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetExportValue(), "getter should return the property value") - }) - - t.Run("GetExportValue_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetExportValue() // Should return zero value - }) - - t.Run("GetChecked", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} - var expected bool - obj.Checked = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetChecked(), "getter should return the property value") - }) - - t.Run("GetChecked_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetChecked() // Should return zero value - }) - } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxWidgetsItem(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxWidgetsItem(t *testing.T) { t.Run("SetAnnotObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemComboboxWidgetsItem{} var fernTestValueAnnotObjectNumber int // Act @@ -205034,7 +210023,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxWidgetsItem( t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemComboboxWidgetsItem{} var fernTestValuePageObjectNumber int // Act @@ -205062,112 +210051,19 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCheckboxWidgetsItem( // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetOnState_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} - var fernTestValueOnState string - - // Act - obj.SetOnState(fernTestValueOnState) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetExportValue_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} - var fernTestValueExportValue string - - // Act - obj.SetExportValue(fernTestValueExportValue) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetChecked_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemCheckboxWidgetsItem{} - var fernTestValueChecked bool - - // Act - obj.SetChecked(fernTestValueChecked) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - } -func TestSettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("SetRef", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var fernTestValueRef *DocFormsGet200ResponseFieldsItemComboboxRef + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var fernTestValueRef *DocFormsGet200ResponseFieldsItemListboxRef obj.SetRef(fernTestValueRef) assert.Equal(t, fernTestValueRef, obj.Ref) assert.NotNil(t, obj.explicitFields) }) t.Run("SetFieldObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} var fernTestValueFieldObjectNumber int obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) assert.Equal(t, fernTestValueFieldObjectNumber, obj.FieldObjectNumber) @@ -205175,7 +210071,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { }) t.Run("SetName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} var fernTestValueName string obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) @@ -205183,23 +210079,23 @@ func TestSettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { }) t.Run("SetOrigin", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var fernTestValueOrigin DocFormsGet200ResponseFieldsItemComboboxOrigin + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var fernTestValueOrigin DocFormsGet200ResponseFieldsItemListboxOrigin obj.SetOrigin(fernTestValueOrigin) assert.Equal(t, fernTestValueOrigin, obj.Origin) assert.NotNil(t, obj.explicitFields) }) t.Run("SetFlags", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var fernTestValueFlags *DocFormsGet200ResponseFieldsItemComboboxFlags + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var fernTestValueFlags *DocFormsGet200ResponseFieldsItemListboxFlags obj.SetFlags(fernTestValueFlags) assert.Equal(t, fernTestValueFlags, obj.Flags) assert.NotNil(t, obj.explicitFields) }) t.Run("SetAlternateName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} var fernTestValueAlternateName *string obj.SetAlternateName(fernTestValueAlternateName) assert.Equal(t, fernTestValueAlternateName, obj.AlternateName) @@ -205207,7 +210103,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { }) t.Run("SetMappingName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} var fernTestValueMappingName *string obj.SetMappingName(fernTestValueMappingName) assert.Equal(t, fernTestValueMappingName, obj.MappingName) @@ -205215,23 +210111,23 @@ func TestSettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { }) t.Run("SetValueEntry", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemComboboxValueEntry + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemListboxValueEntry obj.SetValueEntry(fernTestValueValueEntry) assert.Equal(t, fernTestValueValueEntry, obj.ValueEntry) assert.NotNil(t, obj.explicitFields) }) t.Run("SetDefaultValueEntry", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry obj.SetDefaultValueEntry(fernTestValueDefaultValueEntry) assert.Equal(t, fernTestValueDefaultValueEntry, obj.DefaultValueEntry) assert.NotNil(t, obj.explicitFields) }) t.Run("SetActions", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} var fernTestValueActions *PdfFieldActions obj.SetActions(fernTestValueActions) assert.Equal(t, fernTestValueActions, obj.Actions) @@ -205239,40 +210135,32 @@ func TestSettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { }) t.Run("SetWidgets", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemComboboxWidgetsItem + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemListboxWidgetsItem obj.SetWidgets(fernTestValueWidgets) assert.Equal(t, fernTestValueWidgets, obj.Widgets) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var fernTestValueValue string - obj.SetValue(fernTestValueValue) - assert.Equal(t, fernTestValueValue, obj.Value) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetDefaultValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var fernTestValueDefaultValue string - obj.SetDefaultValue(fernTestValueDefaultValue) - assert.Equal(t, fernTestValueDefaultValue, obj.DefaultValue) + t.Run("SetSelectedValues", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var fernTestValueSelectedValues []string + obj.SetSelectedValues(fernTestValueSelectedValues) + assert.Equal(t, fernTestValueSelectedValues, obj.SelectedValues) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetEdit", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var fernTestValueEdit bool - obj.SetEdit(fernTestValueEdit) - assert.Equal(t, fernTestValueEdit, obj.Edit) + t.Run("SetMultiSelect", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var fernTestValueMultiSelect bool + obj.SetMultiSelect(fernTestValueMultiSelect) + assert.Equal(t, fernTestValueMultiSelect, obj.MultiSelect) assert.NotNil(t, obj.explicitFields) }) t.Run("SetOptions", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var fernTestValueOptions []*DocFormsGet200ResponseFieldsItemComboboxOptionsItem + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var fernTestValueOptions []*DocFormsGet200ResponseFieldsItemListboxOptionsItem obj.SetOptions(fernTestValueOptions) assert.Equal(t, fernTestValueOptions, obj.Options) assert.NotNil(t, obj.explicitFields) @@ -205280,12 +210168,12 @@ func TestSettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { } -func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetRef", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var expected *DocFormsGet200ResponseFieldsItemComboboxRef + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var expected *DocFormsGet200ResponseFieldsItemListboxRef obj.Ref = expected // Act & Assert @@ -205295,7 +210183,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetRef_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} obj.Ref = nil // Act & Assert @@ -205304,7 +210192,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetRef_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCombobox + var obj *DocFormsGet200ResponseFieldsItemListbox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -205317,7 +210205,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetFieldObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} var expected int obj.FieldObjectNumber = expected @@ -205327,7 +210215,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetFieldObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCombobox + var obj *DocFormsGet200ResponseFieldsItemListbox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -205340,7 +210228,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} var expected string obj.Name = expected @@ -205350,7 +210238,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCombobox + var obj *DocFormsGet200ResponseFieldsItemListbox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -205363,8 +210251,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetOrigin", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var expected DocFormsGet200ResponseFieldsItemComboboxOrigin + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var expected DocFormsGet200ResponseFieldsItemListboxOrigin obj.Origin = expected // Act & Assert @@ -205373,7 +210261,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetOrigin_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCombobox + var obj *DocFormsGet200ResponseFieldsItemListbox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -205386,8 +210274,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetFlags", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var expected *DocFormsGet200ResponseFieldsItemComboboxFlags + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var expected *DocFormsGet200ResponseFieldsItemListboxFlags obj.Flags = expected // Act & Assert @@ -205397,7 +210285,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetFlags_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} obj.Flags = nil // Act & Assert @@ -205406,7 +210294,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetFlags_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCombobox + var obj *DocFormsGet200ResponseFieldsItemListbox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -205419,7 +210307,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetAlternateName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} var expected *string obj.AlternateName = expected @@ -205430,7 +210318,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetAlternateName_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} obj.AlternateName = nil // Act & Assert @@ -205439,7 +210327,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetAlternateName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCombobox + var obj *DocFormsGet200ResponseFieldsItemListbox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -205452,7 +210340,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetMappingName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} var expected *string obj.MappingName = expected @@ -205463,7 +210351,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetMappingName_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} obj.MappingName = nil // Act & Assert @@ -205472,7 +210360,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetMappingName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCombobox + var obj *DocFormsGet200ResponseFieldsItemListbox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -205485,8 +210373,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetValueEntry", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var expected *DocFormsGet200ResponseFieldsItemComboboxValueEntry + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var expected *DocFormsGet200ResponseFieldsItemListboxValueEntry obj.ValueEntry = expected // Act & Assert @@ -205496,7 +210384,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetValueEntry_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} obj.ValueEntry = nil // Act & Assert @@ -205505,7 +210393,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetValueEntry_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCombobox + var obj *DocFormsGet200ResponseFieldsItemListbox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -205518,8 +210406,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetDefaultValueEntry", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var expected *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var expected *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry obj.DefaultValueEntry = expected // Act & Assert @@ -205529,7 +210417,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetDefaultValueEntry_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} obj.DefaultValueEntry = nil // Act & Assert @@ -205538,7 +210426,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetDefaultValueEntry_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCombobox + var obj *DocFormsGet200ResponseFieldsItemListbox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -205551,7 +210439,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetActions", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} var expected *PdfFieldActions obj.Actions = expected @@ -205562,7 +210450,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetActions_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} obj.Actions = nil // Act & Assert @@ -205571,7 +210459,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetActions_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCombobox + var obj *DocFormsGet200ResponseFieldsItemListbox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -205584,8 +210472,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetWidgets", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var expected []*DocFormsGet200ResponseFieldsItemComboboxWidgetsItem + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var expected []*DocFormsGet200ResponseFieldsItemListboxWidgetsItem obj.Widgets = expected // Act & Assert @@ -205595,7 +210483,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetWidgets_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} obj.Widgets = nil // Act & Assert @@ -205604,7 +210492,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetWidgets_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCombobox + var obj *DocFormsGet200ResponseFieldsItemListbox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -205614,80 +210502,67 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { _ = obj.GetWidgets() // Should return zero value }) - t.Run("GetValue", func(t *testing.T) { + t.Run("GetSelectedValues", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var expected string - obj.Value = expected + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var expected []string + obj.SelectedValues = expected // Act & Assert - assert.Equal(t, expected, obj.GetValue(), "getter should return the property value") - }) - - t.Run("GetValue_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCombobox - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetValue() // Should return zero value + assert.Equal(t, expected, obj.GetSelectedValues(), "getter should return the property value") }) - t.Run("GetDefaultValue", func(t *testing.T) { + t.Run("GetSelectedValues_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var expected string - obj.DefaultValue = expected + obj := &DocFormsGet200ResponseFieldsItemListbox{} + obj.SelectedValues = nil // Act & Assert - assert.Equal(t, expected, obj.GetDefaultValue(), "getter should return the property value") + assert.Nil(t, obj.GetSelectedValues(), "getter should return nil when property is nil") }) - t.Run("GetDefaultValue_NilReceiver", func(t *testing.T) { + t.Run("GetSelectedValues_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCombobox + var obj *DocFormsGet200ResponseFieldsItemListbox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetDefaultValue() // Should return zero value + _ = obj.GetSelectedValues() // Should return zero value }) - t.Run("GetEdit", func(t *testing.T) { + t.Run("GetMultiSelect", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} var expected bool - obj.Edit = expected + obj.MultiSelect = expected // Act & Assert - assert.Equal(t, expected, obj.GetEdit(), "getter should return the property value") + assert.Equal(t, expected, obj.GetMultiSelect(), "getter should return the property value") }) - t.Run("GetEdit_NilReceiver", func(t *testing.T) { + t.Run("GetMultiSelect_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCombobox + var obj *DocFormsGet200ResponseFieldsItemListbox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetEdit() // Should return zero value + _ = obj.GetMultiSelect() // Should return zero value }) t.Run("GetOptions", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var expected []*DocFormsGet200ResponseFieldsItemComboboxOptionsItem + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var expected []*DocFormsGet200ResponseFieldsItemListboxOptionsItem obj.Options = expected // Act & Assert @@ -205697,7 +210572,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetOptions_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} obj.Options = nil // Act & Assert @@ -205706,7 +210581,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { t.Run("GetOptions_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemCombobox + var obj *DocFormsGet200ResponseFieldsItemListbox // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -205718,12 +210593,12 @@ func TestGettersDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCombobox(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("SetRef_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var fernTestValueRef *DocFormsGet200ResponseFieldsItemComboboxRef + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var fernTestValueRef *DocFormsGet200ResponseFieldsItemListboxRef // Act obj.SetRef(fernTestValueRef) @@ -205753,7 +210628,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCombobox(t *testing. t.Run("SetFieldObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} var fernTestValueFieldObjectNumber int // Act @@ -205784,7 +210659,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCombobox(t *testing. t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} var fernTestValueName string // Act @@ -205815,8 +210690,8 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCombobox(t *testing. t.Run("SetOrigin_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var fernTestValueOrigin DocFormsGet200ResponseFieldsItemComboboxOrigin + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var fernTestValueOrigin DocFormsGet200ResponseFieldsItemListboxOrigin // Act obj.SetOrigin(fernTestValueOrigin) @@ -205846,8 +210721,8 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCombobox(t *testing. t.Run("SetFlags_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var fernTestValueFlags *DocFormsGet200ResponseFieldsItemComboboxFlags + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var fernTestValueFlags *DocFormsGet200ResponseFieldsItemListboxFlags // Act obj.SetFlags(fernTestValueFlags) @@ -205877,7 +210752,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCombobox(t *testing. t.Run("SetAlternateName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} var fernTestValueAlternateName *string // Act @@ -205908,7 +210783,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCombobox(t *testing. t.Run("SetMappingName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} var fernTestValueMappingName *string // Act @@ -205939,8 +210814,8 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCombobox(t *testing. t.Run("SetValueEntry_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemComboboxValueEntry + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemListboxValueEntry // Act obj.SetValueEntry(fernTestValueValueEntry) @@ -205970,8 +210845,8 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCombobox(t *testing. t.Run("SetDefaultValueEntry_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry // Act obj.SetDefaultValueEntry(fernTestValueDefaultValueEntry) @@ -206001,7 +210876,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCombobox(t *testing. t.Run("SetActions_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} + obj := &DocFormsGet200ResponseFieldsItemListbox{} var fernTestValueActions *PdfFieldActions // Act @@ -206032,8 +210907,8 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCombobox(t *testing. t.Run("SetWidgets_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemComboboxWidgetsItem + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemListboxWidgetsItem // Act obj.SetWidgets(fernTestValueWidgets) @@ -206060,45 +210935,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCombobox(t *testing. // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetValue_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var fernTestValueValue string - - // Act - obj.SetValue(fernTestValueValue) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetDefaultValue_MarksExplicit", func(t *testing.T) { + t.Run("SetSelectedValues_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var fernTestValueDefaultValue string + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var fernTestValueSelectedValues []string // Act - obj.SetDefaultValue(fernTestValueDefaultValue) + obj.SetSelectedValues(fernTestValueSelectedValues) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -206122,14 +210966,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCombobox(t *testing. // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetEdit_MarksExplicit", func(t *testing.T) { + t.Run("SetMultiSelect_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var fernTestValueEdit bool + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var fernTestValueMultiSelect bool // Act - obj.SetEdit(fernTestValueEdit) + obj.SetMultiSelect(fernTestValueMultiSelect) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -206156,8 +211000,8 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCombobox(t *testing. t.Run("SetOptions_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemCombobox{} - var fernTestValueOptions []*DocFormsGet200ResponseFieldsItemComboboxOptionsItem + obj := &DocFormsGet200ResponseFieldsItemListbox{} + var fernTestValueOptions []*DocFormsGet200ResponseFieldsItemListboxOptionsItem // Act obj.SetOptions(fernTestValueOptions) @@ -206186,11 +211030,11 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemCombobox(t *testing. } -func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntry(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry{} var expected string obj.Kind = expected @@ -206200,7 +211044,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry(t *tes t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -206213,8 +211057,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry(t *tes t.Run("GetNone", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryNone + obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone obj.None = expected // Act & Assert @@ -206224,7 +211068,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry(t *tes t.Run("GetNone_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry{} obj.None = nil // Act & Assert @@ -206233,7 +211077,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry(t *tes t.Run("GetNone_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -206246,8 +211090,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry(t *tes t.Run("GetScalar", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar + obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar obj.Scalar = expected // Act & Assert @@ -206257,7 +211101,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry(t *tes t.Run("GetScalar_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry{} obj.Scalar = nil // Act & Assert @@ -206266,7 +211110,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry(t *tes t.Run("GetScalar_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -206279,8 +211123,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry(t *tes t.Run("GetArray", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray + obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray obj.Array = expected // Act & Assert @@ -206290,7 +211134,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry(t *tes t.Run("GetArray_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry{} obj.Array = nil // Act & Assert @@ -206299,7 +211143,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry(t *tes t.Run("GetArray_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -206312,8 +211156,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry(t *tes t.Run("GetUnsupported", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryUnsupported + obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported obj.Unsupported = expected // Act & Assert @@ -206323,7 +211167,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry(t *tes t.Run("GetUnsupported_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry{} obj.Unsupported = nil // Act & Assert @@ -206332,7 +211176,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry(t *tes t.Run("GetUnsupported_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -206344,9 +211188,9 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntry(t *tes } -func TestSettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray(t *testing.T) { t.Run("SetValues", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray{} var fernTestValueValues []string obj.SetValues(fernTestValueValues) assert.Equal(t, fernTestValueValues, obj.Values) @@ -206355,11 +211199,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray(t } -func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray(t *testing.T) { t.Run("GetValues", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray{} var expected []string obj.Values = expected @@ -206370,7 +211214,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray(t t.Run("GetValues_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray{} obj.Values = nil // Act & Assert @@ -206379,7 +211223,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray(t t.Run("GetValues_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray + var obj *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -206391,11 +211235,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray(t } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray(t *testing.T) { t.Run("SetValues_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray{} var fernTestValueValues []string // Act @@ -206425,9 +211269,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxDefaultValue } -func TestSettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar(t *testing.T) { t.Run("SetValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar{} var fernTestValueValue string obj.SetValue(fernTestValueValue) assert.Equal(t, fernTestValueValue, obj.Value) @@ -206436,11 +211280,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar( } -func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar(t *testing.T) { t.Run("GetValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar{} var expected string obj.Value = expected @@ -206450,7 +211294,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar( t.Run("GetValue_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar + var obj *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -206462,11 +211306,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar( } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar(t *testing.T) { t.Run("SetValue_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxDefaultValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar{} var fernTestValueValue string // Act @@ -206496,9 +211340,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxDefaultValue } -func TestSettersDocFormsGet200ResponseFieldsItemComboboxFlags(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemListboxFlags(t *testing.T) { t.Run("SetReadOnly", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} var fernTestValueReadOnly bool obj.SetReadOnly(fernTestValueReadOnly) assert.Equal(t, fernTestValueReadOnly, obj.ReadOnly) @@ -206506,7 +211350,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemComboboxFlags(t *testing.T) { }) t.Run("SetRequired", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} var fernTestValueRequired bool obj.SetRequired(fernTestValueRequired) assert.Equal(t, fernTestValueRequired, obj.Required) @@ -206514,7 +211358,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemComboboxFlags(t *testing.T) { }) t.Run("SetNoExport", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} var fernTestValueNoExport bool obj.SetNoExport(fernTestValueNoExport) assert.Equal(t, fernTestValueNoExport, obj.NoExport) @@ -206522,7 +211366,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemComboboxFlags(t *testing.T) { }) t.Run("SetRaw", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} var fernTestValueRaw int obj.SetRaw(fernTestValueRaw) assert.Equal(t, fernTestValueRaw, obj.Raw) @@ -206531,11 +211375,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemComboboxFlags(t *testing.T) { } -func TestGettersDocFormsGet200ResponseFieldsItemComboboxFlags(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemListboxFlags(t *testing.T) { t.Run("GetReadOnly", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} var expected bool obj.ReadOnly = expected @@ -206545,7 +211389,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxFlags(t *testing.T) { t.Run("GetReadOnly_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxFlags + var obj *DocFormsGet200ResponseFieldsItemListboxFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -206558,7 +211402,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxFlags(t *testing.T) { t.Run("GetRequired", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} var expected bool obj.Required = expected @@ -206568,7 +211412,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxFlags(t *testing.T) { t.Run("GetRequired_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxFlags + var obj *DocFormsGet200ResponseFieldsItemListboxFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -206581,7 +211425,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxFlags(t *testing.T) { t.Run("GetNoExport", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} var expected bool obj.NoExport = expected @@ -206591,7 +211435,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxFlags(t *testing.T) { t.Run("GetNoExport_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxFlags + var obj *DocFormsGet200ResponseFieldsItemListboxFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -206604,7 +211448,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxFlags(t *testing.T) { t.Run("GetRaw", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} var expected int obj.Raw = expected @@ -206614,7 +211458,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxFlags(t *testing.T) { t.Run("GetRaw_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxFlags + var obj *DocFormsGet200ResponseFieldsItemListboxFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -206626,11 +211470,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxFlags(t *testing.T) { } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxFlags(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxFlags(t *testing.T) { t.Run("SetReadOnly_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} var fernTestValueReadOnly bool // Act @@ -206661,7 +211505,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxFlags(t *tes t.Run("SetRequired_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} var fernTestValueRequired bool // Act @@ -206692,7 +211536,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxFlags(t *tes t.Run("SetNoExport_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} var fernTestValueNoExport bool // Act @@ -206723,7 +211567,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxFlags(t *tes t.Run("SetRaw_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} var fernTestValueRaw int // Act @@ -206753,9 +211597,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxFlags(t *tes } -func TestSettersDocFormsGet200ResponseFieldsItemComboboxOptionsItem(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemListboxOptionsItem(t *testing.T) { t.Run("SetLabel", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemComboboxOptionsItem{} + obj := &DocFormsGet200ResponseFieldsItemListboxOptionsItem{} var fernTestValueLabel string obj.SetLabel(fernTestValueLabel) assert.Equal(t, fernTestValueLabel, obj.Label) @@ -206763,7 +211607,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemComboboxOptionsItem(t *testing.T }) t.Run("SetValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemComboboxOptionsItem{} + obj := &DocFormsGet200ResponseFieldsItemListboxOptionsItem{} var fernTestValueValue string obj.SetValue(fernTestValueValue) assert.Equal(t, fernTestValueValue, obj.Value) @@ -206771,7 +211615,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemComboboxOptionsItem(t *testing.T }) t.Run("SetSelected", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemComboboxOptionsItem{} + obj := &DocFormsGet200ResponseFieldsItemListboxOptionsItem{} var fernTestValueSelected bool obj.SetSelected(fernTestValueSelected) assert.Equal(t, fernTestValueSelected, obj.Selected) @@ -206780,11 +211624,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemComboboxOptionsItem(t *testing.T } -func TestGettersDocFormsGet200ResponseFieldsItemComboboxOptionsItem(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemListboxOptionsItem(t *testing.T) { t.Run("GetLabel", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxOptionsItem{} + obj := &DocFormsGet200ResponseFieldsItemListboxOptionsItem{} var expected string obj.Label = expected @@ -206794,7 +211638,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxOptionsItem(t *testing.T t.Run("GetLabel_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxOptionsItem + var obj *DocFormsGet200ResponseFieldsItemListboxOptionsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -206807,7 +211651,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxOptionsItem(t *testing.T t.Run("GetValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxOptionsItem{} + obj := &DocFormsGet200ResponseFieldsItemListboxOptionsItem{} var expected string obj.Value = expected @@ -206817,7 +211661,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxOptionsItem(t *testing.T t.Run("GetValue_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxOptionsItem + var obj *DocFormsGet200ResponseFieldsItemListboxOptionsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -206830,7 +211674,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxOptionsItem(t *testing.T t.Run("GetSelected", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxOptionsItem{} + obj := &DocFormsGet200ResponseFieldsItemListboxOptionsItem{} var expected bool obj.Selected = expected @@ -206840,7 +211684,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxOptionsItem(t *testing.T t.Run("GetSelected_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxOptionsItem + var obj *DocFormsGet200ResponseFieldsItemListboxOptionsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -206852,11 +211696,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxOptionsItem(t *testing.T } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxOptionsItem(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxOptionsItem(t *testing.T) { t.Run("SetLabel_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxOptionsItem{} + obj := &DocFormsGet200ResponseFieldsItemListboxOptionsItem{} var fernTestValueLabel string // Act @@ -206887,7 +211731,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxOptionsItem( t.Run("SetValue_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxOptionsItem{} + obj := &DocFormsGet200ResponseFieldsItemListboxOptionsItem{} var fernTestValueValue string // Act @@ -206918,7 +211762,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxOptionsItem( t.Run("SetSelected_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxOptionsItem{} + obj := &DocFormsGet200ResponseFieldsItemListboxOptionsItem{} var fernTestValueSelected bool // Act @@ -206948,11 +211792,11 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxOptionsItem( } -func TestGettersDocFormsGet200ResponseFieldsItemComboboxRef(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemListboxRef(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxRef{} + obj := &DocFormsGet200ResponseFieldsItemListboxRef{} var expected string obj.Kind = expected @@ -206962,7 +211806,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxRef(t *testing.T) { t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxRef + var obj *DocFormsGet200ResponseFieldsItemListboxRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -206975,8 +211819,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxRef(t *testing.T) { t.Run("GetObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxRef{} - var expected *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber + obj := &DocFormsGet200ResponseFieldsItemListboxRef{} + var expected *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber obj.ObjectNumber = expected // Act & Assert @@ -206986,7 +211830,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxRef(t *testing.T) { t.Run("GetObjectNumber_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxRef{} + obj := &DocFormsGet200ResponseFieldsItemListboxRef{} obj.ObjectNumber = nil // Act & Assert @@ -206995,7 +211839,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxRef(t *testing.T) { t.Run("GetObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxRef + var obj *DocFormsGet200ResponseFieldsItemListboxRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -207008,8 +211852,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxRef(t *testing.T) { t.Run("GetFqn", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxRef{} - var expected *DocFormsGet200ResponseFieldsItemComboboxRefFqn + obj := &DocFormsGet200ResponseFieldsItemListboxRef{} + var expected *DocFormsGet200ResponseFieldsItemListboxRefFqn obj.Fqn = expected // Act & Assert @@ -207019,7 +211863,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxRef(t *testing.T) { t.Run("GetFqn_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxRef{} + obj := &DocFormsGet200ResponseFieldsItemListboxRef{} obj.Fqn = nil // Act & Assert @@ -207028,7 +211872,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxRef(t *testing.T) { t.Run("GetFqn_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxRef + var obj *DocFormsGet200ResponseFieldsItemListboxRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -207040,9 +211884,9 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxRef(t *testing.T) { } -func TestSettersDocFormsGet200ResponseFieldsItemComboboxRefFqn(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemListboxRefFqn(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemComboboxRefFqn{} + obj := &DocFormsGet200ResponseFieldsItemListboxRefFqn{} var fernTestValueName string obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) @@ -207051,11 +211895,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemComboboxRefFqn(t *testing.T) { } -func TestGettersDocFormsGet200ResponseFieldsItemComboboxRefFqn(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemListboxRefFqn(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxRefFqn{} + obj := &DocFormsGet200ResponseFieldsItemListboxRefFqn{} var expected string obj.Name = expected @@ -207065,7 +211909,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxRefFqn(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxRefFqn + var obj *DocFormsGet200ResponseFieldsItemListboxRefFqn // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -207077,11 +211921,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxRefFqn(t *testing.T) { } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxRefFqn(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxRefFqn(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxRefFqn{} + obj := &DocFormsGet200ResponseFieldsItemListboxRefFqn{} var fernTestValueName string // Act @@ -207111,9 +211955,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxRefFqn(t *te } -func TestSettersDocFormsGet200ResponseFieldsItemComboboxRefObjectNumber(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemListboxRefObjectNumber(t *testing.T) { t.Run("SetFieldObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber{} + obj := &DocFormsGet200ResponseFieldsItemListboxRefObjectNumber{} var fernTestValueFieldObjectNumber int obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) assert.Equal(t, fernTestValueFieldObjectNumber, obj.FieldObjectNumber) @@ -207122,11 +211966,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemComboboxRefObjectNumber(t *testi } -func TestGettersDocFormsGet200ResponseFieldsItemComboboxRefObjectNumber(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemListboxRefObjectNumber(t *testing.T) { t.Run("GetFieldObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber{} + obj := &DocFormsGet200ResponseFieldsItemListboxRefObjectNumber{} var expected int obj.FieldObjectNumber = expected @@ -207136,7 +211980,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxRefObjectNumber(t *testi t.Run("GetFieldObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber + var obj *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -207148,11 +211992,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxRefObjectNumber(t *testi } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxRefObjectNumber(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxRefObjectNumber(t *testing.T) { t.Run("SetFieldObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxRefObjectNumber{} + obj := &DocFormsGet200ResponseFieldsItemListboxRefObjectNumber{} var fernTestValueFieldObjectNumber int // Act @@ -207182,11 +212026,11 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxRefObjectNum } -func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntry(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntry(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemListboxValueEntry{} var expected string obj.Kind = expected @@ -207196,7 +212040,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntry(t *testing.T) t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxValueEntry + var obj *DocFormsGet200ResponseFieldsItemListboxValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -207209,8 +212053,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntry(t *testing.T) t.Run("GetNone", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemComboboxValueEntryNone + obj := &DocFormsGet200ResponseFieldsItemListboxValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemListboxValueEntryNone obj.None = expected // Act & Assert @@ -207220,7 +212064,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntry(t *testing.T) t.Run("GetNone_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemListboxValueEntry{} obj.None = nil // Act & Assert @@ -207229,7 +212073,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntry(t *testing.T) t.Run("GetNone_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxValueEntry + var obj *DocFormsGet200ResponseFieldsItemListboxValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -207242,8 +212086,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntry(t *testing.T) t.Run("GetScalar", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar + obj := &DocFormsGet200ResponseFieldsItemListboxValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar obj.Scalar = expected // Act & Assert @@ -207253,7 +212097,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntry(t *testing.T) t.Run("GetScalar_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemListboxValueEntry{} obj.Scalar = nil // Act & Assert @@ -207262,7 +212106,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntry(t *testing.T) t.Run("GetScalar_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxValueEntry + var obj *DocFormsGet200ResponseFieldsItemListboxValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -207275,8 +212119,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntry(t *testing.T) t.Run("GetArray", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray + obj := &DocFormsGet200ResponseFieldsItemListboxValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemListboxValueEntryArray obj.Array = expected // Act & Assert @@ -207286,7 +212130,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntry(t *testing.T) t.Run("GetArray_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemListboxValueEntry{} obj.Array = nil // Act & Assert @@ -207295,7 +212139,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntry(t *testing.T) t.Run("GetArray_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxValueEntry + var obj *DocFormsGet200ResponseFieldsItemListboxValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -207308,8 +212152,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntry(t *testing.T) t.Run("GetUnsupported", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemComboboxValueEntryUnsupported + obj := &DocFormsGet200ResponseFieldsItemListboxValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported obj.Unsupported = expected // Act & Assert @@ -207319,7 +212163,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntry(t *testing.T) t.Run("GetUnsupported_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemListboxValueEntry{} obj.Unsupported = nil // Act & Assert @@ -207328,7 +212172,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntry(t *testing.T) t.Run("GetUnsupported_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxValueEntry + var obj *DocFormsGet200ResponseFieldsItemListboxValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -207340,9 +212184,9 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntry(t *testing.T) } -func TestSettersDocFormsGet200ResponseFieldsItemComboboxValueEntryArray(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemListboxValueEntryArray(t *testing.T) { t.Run("SetValues", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemListboxValueEntryArray{} var fernTestValueValues []string obj.SetValues(fernTestValueValues) assert.Equal(t, fernTestValueValues, obj.Values) @@ -207351,11 +212195,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemComboboxValueEntryArray(t *testi } -func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntryArray(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntryArray(t *testing.T) { t.Run("GetValues", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemListboxValueEntryArray{} var expected []string obj.Values = expected @@ -207366,7 +212210,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntryArray(t *testi t.Run("GetValues_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemListboxValueEntryArray{} obj.Values = nil // Act & Assert @@ -207375,7 +212219,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntryArray(t *testi t.Run("GetValues_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxValueEntryArray + var obj *DocFormsGet200ResponseFieldsItemListboxValueEntryArray // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -207387,11 +212231,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntryArray(t *testi } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxValueEntryArray(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxValueEntryArray(t *testing.T) { t.Run("SetValues_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemListboxValueEntryArray{} var fernTestValueValues []string // Act @@ -207421,9 +212265,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxValueEntryAr } -func TestSettersDocFormsGet200ResponseFieldsItemComboboxValueEntryScalar(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemListboxValueEntryScalar(t *testing.T) { t.Run("SetValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemListboxValueEntryScalar{} var fernTestValueValue string obj.SetValue(fernTestValueValue) assert.Equal(t, fernTestValueValue, obj.Value) @@ -207432,11 +212276,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemComboboxValueEntryScalar(t *test } -func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntryScalar(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntryScalar(t *testing.T) { t.Run("GetValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemListboxValueEntryScalar{} var expected string obj.Value = expected @@ -207446,7 +212290,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntryScalar(t *test t.Run("GetValue_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar + var obj *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -207458,11 +212302,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxValueEntryScalar(t *test } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxValueEntryScalar(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxValueEntryScalar(t *testing.T) { t.Run("SetValue_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemListboxValueEntryScalar{} var fernTestValueValue string // Act @@ -207492,9 +212336,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxValueEntrySc } -func TestSettersDocFormsGet200ResponseFieldsItemComboboxWidgetsItem(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemListboxWidgetsItem(t *testing.T) { t.Run("SetAnnotObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemComboboxWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemListboxWidgetsItem{} var fernTestValueAnnotObjectNumber int obj.SetAnnotObjectNumber(fernTestValueAnnotObjectNumber) assert.Equal(t, fernTestValueAnnotObjectNumber, obj.AnnotObjectNumber) @@ -207502,7 +212346,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemComboboxWidgetsItem(t *testing.T }) t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemComboboxWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemListboxWidgetsItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -207511,11 +212355,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemComboboxWidgetsItem(t *testing.T } -func TestGettersDocFormsGet200ResponseFieldsItemComboboxWidgetsItem(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemListboxWidgetsItem(t *testing.T) { t.Run("GetAnnotObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemListboxWidgetsItem{} var expected int obj.AnnotObjectNumber = expected @@ -207525,7 +212369,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxWidgetsItem(t *testing.T t.Run("GetAnnotObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem + var obj *DocFormsGet200ResponseFieldsItemListboxWidgetsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -207538,7 +212382,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxWidgetsItem(t *testing.T t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemListboxWidgetsItem{} var expected int obj.PageObjectNumber = expected @@ -207548,7 +212392,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxWidgetsItem(t *testing.T t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemComboboxWidgetsItem + var obj *DocFormsGet200ResponseFieldsItemListboxWidgetsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -207560,11 +212404,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemComboboxWidgetsItem(t *testing.T } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxWidgetsItem(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxWidgetsItem(t *testing.T) { t.Run("SetAnnotObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemListboxWidgetsItem{} var fernTestValueAnnotObjectNumber int // Act @@ -207595,7 +212439,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxWidgetsItem( t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemComboboxWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemListboxWidgetsItem{} var fernTestValuePageObjectNumber int // Act @@ -207625,17 +212469,17 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemComboboxWidgetsItem( } -func TestSettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("SetRef", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var fernTestValueRef *DocFormsGet200ResponseFieldsItemListboxRef + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + var fernTestValueRef *DocFormsGet200ResponseFieldsItemPushbuttonRef obj.SetRef(fernTestValueRef) assert.Equal(t, fernTestValueRef, obj.Ref) assert.NotNil(t, obj.explicitFields) }) t.Run("SetFieldObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListbox{} + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} var fernTestValueFieldObjectNumber int obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) assert.Equal(t, fernTestValueFieldObjectNumber, obj.FieldObjectNumber) @@ -207643,7 +212487,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { }) t.Run("SetName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListbox{} + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} var fernTestValueName string obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) @@ -207651,23 +212495,23 @@ func TestSettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { }) t.Run("SetOrigin", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var fernTestValueOrigin DocFormsGet200ResponseFieldsItemListboxOrigin + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + var fernTestValueOrigin DocFormsGet200ResponseFieldsItemPushbuttonOrigin obj.SetOrigin(fernTestValueOrigin) assert.Equal(t, fernTestValueOrigin, obj.Origin) assert.NotNil(t, obj.explicitFields) }) t.Run("SetFlags", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var fernTestValueFlags *DocFormsGet200ResponseFieldsItemListboxFlags + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + var fernTestValueFlags *DocFormsGet200ResponseFieldsItemPushbuttonFlags obj.SetFlags(fernTestValueFlags) assert.Equal(t, fernTestValueFlags, obj.Flags) assert.NotNil(t, obj.explicitFields) }) t.Run("SetAlternateName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListbox{} + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} var fernTestValueAlternateName *string obj.SetAlternateName(fernTestValueAlternateName) assert.Equal(t, fernTestValueAlternateName, obj.AlternateName) @@ -207675,7 +212519,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { }) t.Run("SetMappingName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListbox{} + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} var fernTestValueMappingName *string obj.SetMappingName(fernTestValueMappingName) assert.Equal(t, fernTestValueMappingName, obj.MappingName) @@ -207683,23 +212527,23 @@ func TestSettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { }) t.Run("SetValueEntry", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemListboxValueEntry + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry obj.SetValueEntry(fernTestValueValueEntry) assert.Equal(t, fernTestValueValueEntry, obj.ValueEntry) assert.NotNil(t, obj.explicitFields) }) t.Run("SetDefaultValueEntry", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry obj.SetDefaultValueEntry(fernTestValueDefaultValueEntry) assert.Equal(t, fernTestValueDefaultValueEntry, obj.DefaultValueEntry) assert.NotNil(t, obj.explicitFields) }) t.Run("SetActions", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListbox{} + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} var fernTestValueActions *PdfFieldActions obj.SetActions(fernTestValueActions) assert.Equal(t, fernTestValueActions, obj.Actions) @@ -207707,45 +212551,21 @@ func TestSettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { }) t.Run("SetWidgets", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemListboxWidgetsItem + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem obj.SetWidgets(fernTestValueWidgets) assert.Equal(t, fernTestValueWidgets, obj.Widgets) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetSelectedValues", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var fernTestValueSelectedValues []string - obj.SetSelectedValues(fernTestValueSelectedValues) - assert.Equal(t, fernTestValueSelectedValues, obj.SelectedValues) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetMultiSelect", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var fernTestValueMultiSelect bool - obj.SetMultiSelect(fernTestValueMultiSelect) - assert.Equal(t, fernTestValueMultiSelect, obj.MultiSelect) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetOptions", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var fernTestValueOptions []*DocFormsGet200ResponseFieldsItemListboxOptionsItem - obj.SetOptions(fernTestValueOptions) - assert.Equal(t, fernTestValueOptions, obj.Options) - assert.NotNil(t, obj.explicitFields) - }) - } -func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetRef", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var expected *DocFormsGet200ResponseFieldsItemListboxRef + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + var expected *DocFormsGet200ResponseFieldsItemPushbuttonRef obj.Ref = expected // Act & Assert @@ -207755,7 +212575,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetRef_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} obj.Ref = nil // Act & Assert @@ -207764,7 +212584,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetRef_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListbox + var obj *DocFormsGet200ResponseFieldsItemPushbutton // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -207777,7 +212597,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetFieldObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} var expected int obj.FieldObjectNumber = expected @@ -207787,7 +212607,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetFieldObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListbox + var obj *DocFormsGet200ResponseFieldsItemPushbutton // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -207800,7 +212620,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} var expected string obj.Name = expected @@ -207810,7 +212630,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListbox + var obj *DocFormsGet200ResponseFieldsItemPushbutton // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -207823,8 +212643,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetOrigin", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var expected DocFormsGet200ResponseFieldsItemListboxOrigin + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + var expected DocFormsGet200ResponseFieldsItemPushbuttonOrigin obj.Origin = expected // Act & Assert @@ -207833,7 +212653,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetOrigin_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListbox + var obj *DocFormsGet200ResponseFieldsItemPushbutton // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -207846,8 +212666,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetFlags", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var expected *DocFormsGet200ResponseFieldsItemListboxFlags + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + var expected *DocFormsGet200ResponseFieldsItemPushbuttonFlags obj.Flags = expected // Act & Assert @@ -207857,7 +212677,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetFlags_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} obj.Flags = nil // Act & Assert @@ -207866,7 +212686,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetFlags_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListbox + var obj *DocFormsGet200ResponseFieldsItemPushbutton // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -207879,7 +212699,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetAlternateName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} var expected *string obj.AlternateName = expected @@ -207890,7 +212710,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetAlternateName_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} obj.AlternateName = nil // Act & Assert @@ -207899,7 +212719,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetAlternateName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListbox + var obj *DocFormsGet200ResponseFieldsItemPushbutton // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -207912,7 +212732,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetMappingName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} var expected *string obj.MappingName = expected @@ -207923,7 +212743,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetMappingName_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} obj.MappingName = nil // Act & Assert @@ -207932,7 +212752,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetMappingName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListbox + var obj *DocFormsGet200ResponseFieldsItemPushbutton // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -207945,8 +212765,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetValueEntry", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var expected *DocFormsGet200ResponseFieldsItemListboxValueEntry + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + var expected *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry obj.ValueEntry = expected // Act & Assert @@ -207956,7 +212776,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetValueEntry_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} obj.ValueEntry = nil // Act & Assert @@ -207965,7 +212785,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetValueEntry_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListbox + var obj *DocFormsGet200ResponseFieldsItemPushbutton // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -207978,8 +212798,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetDefaultValueEntry", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var expected *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + var expected *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry obj.DefaultValueEntry = expected // Act & Assert @@ -207989,7 +212809,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetDefaultValueEntry_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} obj.DefaultValueEntry = nil // Act & Assert @@ -207998,7 +212818,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetDefaultValueEntry_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListbox + var obj *DocFormsGet200ResponseFieldsItemPushbutton // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -208011,7 +212831,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetActions", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} var expected *PdfFieldActions obj.Actions = expected @@ -208022,7 +212842,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetActions_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} obj.Actions = nil // Act & Assert @@ -208031,7 +212851,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetActions_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListbox + var obj *DocFormsGet200ResponseFieldsItemPushbutton // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -208044,8 +212864,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetWidgets", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var expected []*DocFormsGet200ResponseFieldsItemListboxWidgetsItem + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + var expected []*DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem obj.Widgets = expected // Act & Assert @@ -208055,7 +212875,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetWidgets_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} obj.Widgets = nil // Act & Assert @@ -208064,7 +212884,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { t.Run("GetWidgets_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListbox + var obj *DocFormsGet200ResponseFieldsItemPushbutton // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -208074,103 +212894,14 @@ func TestGettersDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { _ = obj.GetWidgets() // Should return zero value }) - t.Run("GetSelectedValues", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var expected []string - obj.SelectedValues = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetSelectedValues(), "getter should return the property value") - }) - - t.Run("GetSelectedValues_NilValue", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - obj.SelectedValues = nil - - // Act & Assert - assert.Nil(t, obj.GetSelectedValues(), "getter should return nil when property is nil") - }) - - t.Run("GetSelectedValues_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListbox - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetSelectedValues() // Should return zero value - }) - - t.Run("GetMultiSelect", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var expected bool - obj.MultiSelect = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetMultiSelect(), "getter should return the property value") - }) - - t.Run("GetMultiSelect_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListbox - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetMultiSelect() // Should return zero value - }) - - t.Run("GetOptions", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var expected []*DocFormsGet200ResponseFieldsItemListboxOptionsItem - obj.Options = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetOptions(), "getter should return the property value") - }) - - t.Run("GetOptions_NilValue", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - obj.Options = nil - - // Act & Assert - assert.Nil(t, obj.GetOptions(), "getter should return nil when property is nil") - }) - - t.Run("GetOptions_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListbox - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetOptions() // Should return zero value - }) - } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListbox(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("SetRef_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var fernTestValueRef *DocFormsGet200ResponseFieldsItemListboxRef + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + var fernTestValueRef *DocFormsGet200ResponseFieldsItemPushbuttonRef // Act obj.SetRef(fernTestValueRef) @@ -208200,7 +212931,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListbox(t *testing.T t.Run("SetFieldObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} var fernTestValueFieldObjectNumber int // Act @@ -208231,7 +212962,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListbox(t *testing.T t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} var fernTestValueName string // Act @@ -208259,107 +212990,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListbox(t *testing.T // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetOrigin_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var fernTestValueOrigin DocFormsGet200ResponseFieldsItemListboxOrigin - - // Act - obj.SetOrigin(fernTestValueOrigin) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetFlags_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var fernTestValueFlags *DocFormsGet200ResponseFieldsItemListboxFlags - - // Act - obj.SetFlags(fernTestValueFlags) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetAlternateName_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var fernTestValueAlternateName *string - - // Act - obj.SetAlternateName(fernTestValueAlternateName) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetMappingName_MarksExplicit", func(t *testing.T) { + t.Run("SetOrigin_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var fernTestValueMappingName *string + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + var fernTestValueOrigin DocFormsGet200ResponseFieldsItemPushbuttonOrigin // Act - obj.SetMappingName(fernTestValueMappingName) + obj.SetOrigin(fernTestValueOrigin) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -208383,14 +213021,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListbox(t *testing.T // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetValueEntry_MarksExplicit", func(t *testing.T) { + t.Run("SetFlags_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemListboxValueEntry + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + var fernTestValueFlags *DocFormsGet200ResponseFieldsItemPushbuttonFlags // Act - obj.SetValueEntry(fernTestValueValueEntry) + obj.SetFlags(fernTestValueFlags) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -208414,14 +213052,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListbox(t *testing.T // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetDefaultValueEntry_MarksExplicit", func(t *testing.T) { + t.Run("SetAlternateName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + var fernTestValueAlternateName *string // Act - obj.SetDefaultValueEntry(fernTestValueDefaultValueEntry) + obj.SetAlternateName(fernTestValueAlternateName) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -208445,14 +213083,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListbox(t *testing.T // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetActions_MarksExplicit", func(t *testing.T) { + t.Run("SetMappingName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var fernTestValueActions *PdfFieldActions + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + var fernTestValueMappingName *string // Act - obj.SetActions(fernTestValueActions) + obj.SetMappingName(fernTestValueMappingName) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -208476,14 +213114,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListbox(t *testing.T // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetWidgets_MarksExplicit", func(t *testing.T) { + t.Run("SetValueEntry_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemListboxWidgetsItem + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry // Act - obj.SetWidgets(fernTestValueWidgets) + obj.SetValueEntry(fernTestValueValueEntry) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -208507,14 +213145,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListbox(t *testing.T // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetSelectedValues_MarksExplicit", func(t *testing.T) { + t.Run("SetDefaultValueEntry_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var fernTestValueSelectedValues []string + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry // Act - obj.SetSelectedValues(fernTestValueSelectedValues) + obj.SetDefaultValueEntry(fernTestValueDefaultValueEntry) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -208538,14 +213176,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListbox(t *testing.T // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetMultiSelect_MarksExplicit", func(t *testing.T) { + t.Run("SetActions_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var fernTestValueMultiSelect bool + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + var fernTestValueActions *PdfFieldActions // Act - obj.SetMultiSelect(fernTestValueMultiSelect) + obj.SetActions(fernTestValueActions) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -208569,14 +213207,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListbox(t *testing.T // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetOptions_MarksExplicit", func(t *testing.T) { + t.Run("SetWidgets_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListbox{} - var fernTestValueOptions []*DocFormsGet200ResponseFieldsItemListboxOptionsItem + obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem // Act - obj.SetOptions(fernTestValueOptions) + obj.SetWidgets(fernTestValueWidgets) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -208602,11 +213240,11 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListbox(t *testing.T } -func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntry(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry{} var expected string obj.Kind = expected @@ -208616,7 +213254,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntry(t *test t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -208629,8 +213267,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntry(t *test t.Run("GetNone", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryNone + obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone obj.None = expected // Act & Assert @@ -208640,7 +213278,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntry(t *test t.Run("GetNone_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry{} obj.None = nil // Act & Assert @@ -208649,7 +213287,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntry(t *test t.Run("GetNone_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -208662,8 +213300,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntry(t *test t.Run("GetScalar", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar + obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar obj.Scalar = expected // Act & Assert @@ -208673,7 +213311,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntry(t *test t.Run("GetScalar_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry{} obj.Scalar = nil // Act & Assert @@ -208682,7 +213320,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntry(t *test t.Run("GetScalar_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -208695,8 +213333,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntry(t *test t.Run("GetArray", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray + obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray obj.Array = expected // Act & Assert @@ -208706,7 +213344,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntry(t *test t.Run("GetArray_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry{} obj.Array = nil // Act & Assert @@ -208715,7 +213353,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntry(t *test t.Run("GetArray_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -208728,8 +213366,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntry(t *test t.Run("GetUnsupported", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryUnsupported + obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported obj.Unsupported = expected // Act & Assert @@ -208739,7 +213377,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntry(t *test t.Run("GetUnsupported_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry{} obj.Unsupported = nil // Act & Assert @@ -208748,7 +213386,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntry(t *test t.Run("GetUnsupported_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -208760,9 +213398,9 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntry(t *test } -func TestSettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray(t *testing.T) { t.Run("SetValues", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray{} var fernTestValueValues []string obj.SetValues(fernTestValueValues) assert.Equal(t, fernTestValueValues, obj.Values) @@ -208771,11 +213409,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray(t } -func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray(t *testing.T) { t.Run("GetValues", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray{} var expected []string obj.Values = expected @@ -208786,7 +213424,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray(t t.Run("GetValues_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray{} obj.Values = nil // Act & Assert @@ -208795,7 +213433,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray(t t.Run("GetValues_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray + var obj *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -208807,11 +213445,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray(t } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray(t *testing.T) { t.Run("SetValues_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray{} var fernTestValueValues []string // Act @@ -208841,9 +213479,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxDefaultValueE } -func TestSettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar(t *testing.T) { t.Run("SetValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar{} var fernTestValueValue string obj.SetValue(fernTestValueValue) assert.Equal(t, fernTestValueValue, obj.Value) @@ -208852,11 +213490,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar(t } -func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar(t *testing.T) { t.Run("GetValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar{} var expected string obj.Value = expected @@ -208866,7 +213504,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar(t t.Run("GetValue_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar + var obj *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -208878,11 +213516,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar(t } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar(t *testing.T) { t.Run("SetValue_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxDefaultValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar{} var fernTestValueValue string // Act @@ -208912,9 +213550,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxDefaultValueE } -func TestSettersDocFormsGet200ResponseFieldsItemListboxFlags(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonFlags(t *testing.T) { t.Run("SetReadOnly", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} var fernTestValueReadOnly bool obj.SetReadOnly(fernTestValueReadOnly) assert.Equal(t, fernTestValueReadOnly, obj.ReadOnly) @@ -208922,7 +213560,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemListboxFlags(t *testing.T) { }) t.Run("SetRequired", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} var fernTestValueRequired bool obj.SetRequired(fernTestValueRequired) assert.Equal(t, fernTestValueRequired, obj.Required) @@ -208930,7 +213568,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemListboxFlags(t *testing.T) { }) t.Run("SetNoExport", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} var fernTestValueNoExport bool obj.SetNoExport(fernTestValueNoExport) assert.Equal(t, fernTestValueNoExport, obj.NoExport) @@ -208938,7 +213576,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemListboxFlags(t *testing.T) { }) t.Run("SetRaw", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} var fernTestValueRaw int obj.SetRaw(fernTestValueRaw) assert.Equal(t, fernTestValueRaw, obj.Raw) @@ -208947,11 +213585,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemListboxFlags(t *testing.T) { } -func TestGettersDocFormsGet200ResponseFieldsItemListboxFlags(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonFlags(t *testing.T) { t.Run("GetReadOnly", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} var expected bool obj.ReadOnly = expected @@ -208961,7 +213599,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxFlags(t *testing.T) { t.Run("GetReadOnly_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxFlags + var obj *DocFormsGet200ResponseFieldsItemPushbuttonFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -208974,7 +213612,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxFlags(t *testing.T) { t.Run("GetRequired", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} var expected bool obj.Required = expected @@ -208984,7 +213622,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxFlags(t *testing.T) { t.Run("GetRequired_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxFlags + var obj *DocFormsGet200ResponseFieldsItemPushbuttonFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -208997,7 +213635,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxFlags(t *testing.T) { t.Run("GetNoExport", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} var expected bool obj.NoExport = expected @@ -209007,7 +213645,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxFlags(t *testing.T) { t.Run("GetNoExport_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxFlags + var obj *DocFormsGet200ResponseFieldsItemPushbuttonFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -209020,7 +213658,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxFlags(t *testing.T) { t.Run("GetRaw", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} var expected int obj.Raw = expected @@ -209030,7 +213668,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxFlags(t *testing.T) { t.Run("GetRaw_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxFlags + var obj *DocFormsGet200ResponseFieldsItemPushbuttonFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -209042,11 +213680,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxFlags(t *testing.T) { } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxFlags(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonFlags(t *testing.T) { t.Run("SetReadOnly_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} var fernTestValueReadOnly bool // Act @@ -209074,209 +213712,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxFlags(t *test // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetRequired_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} - var fernTestValueRequired bool - - // Act - obj.SetRequired(fernTestValueRequired) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetNoExport_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} - var fernTestValueNoExport bool - - // Act - obj.SetNoExport(fernTestValueNoExport) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetRaw_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxFlags{} - var fernTestValueRaw int - - // Act - obj.SetRaw(fernTestValueRaw) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - -} - -func TestSettersDocFormsGet200ResponseFieldsItemListboxOptionsItem(t *testing.T) { - t.Run("SetLabel", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListboxOptionsItem{} - var fernTestValueLabel string - obj.SetLabel(fernTestValueLabel) - assert.Equal(t, fernTestValueLabel, obj.Label) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListboxOptionsItem{} - var fernTestValueValue string - obj.SetValue(fernTestValueValue) - assert.Equal(t, fernTestValueValue, obj.Value) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetSelected", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListboxOptionsItem{} - var fernTestValueSelected bool - obj.SetSelected(fernTestValueSelected) - assert.Equal(t, fernTestValueSelected, obj.Selected) - assert.NotNil(t, obj.explicitFields) - }) - -} - -func TestGettersDocFormsGet200ResponseFieldsItemListboxOptionsItem(t *testing.T) { - t.Run("GetLabel", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxOptionsItem{} - var expected string - obj.Label = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetLabel(), "getter should return the property value") - }) - - t.Run("GetLabel_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxOptionsItem - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetLabel() // Should return zero value - }) - - t.Run("GetValue", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxOptionsItem{} - var expected string - obj.Value = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetValue(), "getter should return the property value") - }) - - t.Run("GetValue_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxOptionsItem - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetValue() // Should return zero value - }) - - t.Run("GetSelected", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxOptionsItem{} - var expected bool - obj.Selected = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetSelected(), "getter should return the property value") - }) - - t.Run("GetSelected_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxOptionsItem - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetSelected() // Should return zero value - }) - -} - -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxOptionsItem(t *testing.T) { - t.Run("SetLabel_MarksExplicit", func(t *testing.T) { + t.Run("SetRequired_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxOptionsItem{} - var fernTestValueLabel string + obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} + var fernTestValueRequired bool // Act - obj.SetLabel(fernTestValueLabel) + obj.SetRequired(fernTestValueRequired) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -209300,14 +213743,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxOptionsItem(t // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetValue_MarksExplicit", func(t *testing.T) { + t.Run("SetNoExport_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxOptionsItem{} - var fernTestValueValue string + obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} + var fernTestValueNoExport bool // Act - obj.SetValue(fernTestValueValue) + obj.SetNoExport(fernTestValueNoExport) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -209331,14 +213774,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxOptionsItem(t // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetSelected_MarksExplicit", func(t *testing.T) { + t.Run("SetRaw_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxOptionsItem{} - var fernTestValueSelected bool + obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} + var fernTestValueRaw int // Act - obj.SetSelected(fernTestValueSelected) + obj.SetRaw(fernTestValueRaw) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -209364,11 +213807,11 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxOptionsItem(t } -func TestGettersDocFormsGet200ResponseFieldsItemListboxRef(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonRef(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxRef{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonRef{} var expected string obj.Kind = expected @@ -209378,7 +213821,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxRef(t *testing.T) { t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxRef + var obj *DocFormsGet200ResponseFieldsItemPushbuttonRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -209391,8 +213834,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxRef(t *testing.T) { t.Run("GetObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxRef{} - var expected *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber + obj := &DocFormsGet200ResponseFieldsItemPushbuttonRef{} + var expected *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber obj.ObjectNumber = expected // Act & Assert @@ -209402,7 +213845,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxRef(t *testing.T) { t.Run("GetObjectNumber_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxRef{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonRef{} obj.ObjectNumber = nil // Act & Assert @@ -209411,7 +213854,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxRef(t *testing.T) { t.Run("GetObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxRef + var obj *DocFormsGet200ResponseFieldsItemPushbuttonRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -209424,8 +213867,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxRef(t *testing.T) { t.Run("GetFqn", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxRef{} - var expected *DocFormsGet200ResponseFieldsItemListboxRefFqn + obj := &DocFormsGet200ResponseFieldsItemPushbuttonRef{} + var expected *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn obj.Fqn = expected // Act & Assert @@ -209435,7 +213878,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxRef(t *testing.T) { t.Run("GetFqn_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxRef{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonRef{} obj.Fqn = nil // Act & Assert @@ -209444,7 +213887,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxRef(t *testing.T) { t.Run("GetFqn_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxRef + var obj *DocFormsGet200ResponseFieldsItemPushbuttonRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -209456,9 +213899,9 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxRef(t *testing.T) { } -func TestSettersDocFormsGet200ResponseFieldsItemListboxRefFqn(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonRefFqn(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListboxRefFqn{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonRefFqn{} var fernTestValueName string obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) @@ -209467,11 +213910,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemListboxRefFqn(t *testing.T) { } -func TestGettersDocFormsGet200ResponseFieldsItemListboxRefFqn(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonRefFqn(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxRefFqn{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonRefFqn{} var expected string obj.Name = expected @@ -209481,7 +213924,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxRefFqn(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxRefFqn + var obj *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -209493,11 +213936,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxRefFqn(t *testing.T) { } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxRefFqn(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonRefFqn(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxRefFqn{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonRefFqn{} var fernTestValueName string // Act @@ -209527,9 +213970,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxRefFqn(t *tes } -func TestSettersDocFormsGet200ResponseFieldsItemListboxRefObjectNumber(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber(t *testing.T) { t.Run("SetFieldObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListboxRefObjectNumber{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber{} var fernTestValueFieldObjectNumber int obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) assert.Equal(t, fernTestValueFieldObjectNumber, obj.FieldObjectNumber) @@ -209538,11 +213981,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemListboxRefObjectNumber(t *testin } -func TestGettersDocFormsGet200ResponseFieldsItemListboxRefObjectNumber(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber(t *testing.T) { t.Run("GetFieldObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxRefObjectNumber{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber{} var expected int obj.FieldObjectNumber = expected @@ -209552,7 +213995,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxRefObjectNumber(t *testin t.Run("GetFieldObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxRefObjectNumber + var obj *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -209564,11 +214007,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxRefObjectNumber(t *testin } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxRefObjectNumber(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber(t *testing.T) { t.Run("SetFieldObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxRefObjectNumber{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber{} var fernTestValueFieldObjectNumber int // Act @@ -209598,11 +214041,11 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxRefObjectNumb } -func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntry(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntry(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntry{} var expected string obj.Kind = expected @@ -209612,7 +214055,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntry(t *testing.T) t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxValueEntry + var obj *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -209625,8 +214068,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntry(t *testing.T) t.Run("GetNone", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemListboxValueEntryNone + obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone obj.None = expected // Act & Assert @@ -209636,7 +214079,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntry(t *testing.T) t.Run("GetNone_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntry{} obj.None = nil // Act & Assert @@ -209645,7 +214088,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntry(t *testing.T) t.Run("GetNone_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxValueEntry + var obj *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -209658,8 +214101,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntry(t *testing.T) t.Run("GetScalar", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar + obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar obj.Scalar = expected // Act & Assert @@ -209669,7 +214112,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntry(t *testing.T) t.Run("GetScalar_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntry{} obj.Scalar = nil // Act & Assert @@ -209678,7 +214121,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntry(t *testing.T) t.Run("GetScalar_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxValueEntry + var obj *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -209691,8 +214134,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntry(t *testing.T) t.Run("GetArray", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemListboxValueEntryArray + obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray obj.Array = expected // Act & Assert @@ -209702,7 +214145,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntry(t *testing.T) t.Run("GetArray_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntry{} obj.Array = nil // Act & Assert @@ -209711,7 +214154,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntry(t *testing.T) t.Run("GetArray_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxValueEntry + var obj *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -209724,8 +214167,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntry(t *testing.T) t.Run("GetUnsupported", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemListboxValueEntryUnsupported + obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported obj.Unsupported = expected // Act & Assert @@ -209735,7 +214178,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntry(t *testing.T) t.Run("GetUnsupported_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntry{} obj.Unsupported = nil // Act & Assert @@ -209744,7 +214187,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntry(t *testing.T) t.Run("GetUnsupported_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxValueEntry + var obj *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -209756,9 +214199,9 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntry(t *testing.T) } -func TestSettersDocFormsGet200ResponseFieldsItemListboxValueEntryArray(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray(t *testing.T) { t.Run("SetValues", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListboxValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray{} var fernTestValueValues []string obj.SetValues(fernTestValueValues) assert.Equal(t, fernTestValueValues, obj.Values) @@ -209767,11 +214210,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemListboxValueEntryArray(t *testin } -func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntryArray(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray(t *testing.T) { t.Run("GetValues", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray{} var expected []string obj.Values = expected @@ -209782,7 +214225,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntryArray(t *testin t.Run("GetValues_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray{} obj.Values = nil // Act & Assert @@ -209791,7 +214234,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntryArray(t *testin t.Run("GetValues_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxValueEntryArray + var obj *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -209803,11 +214246,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntryArray(t *testin } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxValueEntryArray(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray(t *testing.T) { t.Run("SetValues_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray{} var fernTestValueValues []string // Act @@ -209837,9 +214280,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxValueEntryArr } -func TestSettersDocFormsGet200ResponseFieldsItemListboxValueEntryScalar(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar(t *testing.T) { t.Run("SetValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListboxValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar{} var fernTestValueValue string obj.SetValue(fernTestValueValue) assert.Equal(t, fernTestValueValue, obj.Value) @@ -209848,11 +214291,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemListboxValueEntryScalar(t *testi } -func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntryScalar(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar(t *testing.T) { t.Run("GetValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar{} var expected string obj.Value = expected @@ -209862,7 +214305,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntryScalar(t *testi t.Run("GetValue_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxValueEntryScalar + var obj *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -209874,11 +214317,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxValueEntryScalar(t *testi } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxValueEntryScalar(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar(t *testing.T) { t.Run("SetValue_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar{} var fernTestValueValue string // Act @@ -209908,9 +214351,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxValueEntrySca } -func TestSettersDocFormsGet200ResponseFieldsItemListboxWidgetsItem(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem(t *testing.T) { t.Run("SetAnnotObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListboxWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem{} var fernTestValueAnnotObjectNumber int obj.SetAnnotObjectNumber(fernTestValueAnnotObjectNumber) assert.Equal(t, fernTestValueAnnotObjectNumber, obj.AnnotObjectNumber) @@ -209918,7 +214361,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemListboxWidgetsItem(t *testing.T) }) t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemListboxWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -209927,11 +214370,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemListboxWidgetsItem(t *testing.T) } -func TestGettersDocFormsGet200ResponseFieldsItemListboxWidgetsItem(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem(t *testing.T) { t.Run("GetAnnotObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem{} var expected int obj.AnnotObjectNumber = expected @@ -209941,7 +214384,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxWidgetsItem(t *testing.T) t.Run("GetAnnotObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxWidgetsItem + var obj *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -209954,7 +214397,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxWidgetsItem(t *testing.T) t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem{} var expected int obj.PageObjectNumber = expected @@ -209964,7 +214407,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxWidgetsItem(t *testing.T) t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemListboxWidgetsItem + var obj *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -209976,11 +214419,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemListboxWidgetsItem(t *testing.T) } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxWidgetsItem(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem(t *testing.T) { t.Run("SetAnnotObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem{} var fernTestValueAnnotObjectNumber int // Act @@ -210011,7 +214454,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxWidgetsItem(t t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemListboxWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem{} var fernTestValuePageObjectNumber int // Act @@ -210041,17 +214484,17 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemListboxWidgetsItem(t } -func TestSettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("SetRef", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} - var fernTestValueRef *DocFormsGet200ResponseFieldsItemPushbuttonRef + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var fernTestValueRef *DocFormsGet200ResponseFieldsItemRadioRef obj.SetRef(fernTestValueRef) assert.Equal(t, fernTestValueRef, obj.Ref) assert.NotNil(t, obj.explicitFields) }) t.Run("SetFieldObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} var fernTestValueFieldObjectNumber int obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) assert.Equal(t, fernTestValueFieldObjectNumber, obj.FieldObjectNumber) @@ -210059,7 +214502,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { }) t.Run("SetName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} var fernTestValueName string obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) @@ -210067,23 +214510,23 @@ func TestSettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { }) t.Run("SetOrigin", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} - var fernTestValueOrigin DocFormsGet200ResponseFieldsItemPushbuttonOrigin + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var fernTestValueOrigin DocFormsGet200ResponseFieldsItemRadioOrigin obj.SetOrigin(fernTestValueOrigin) assert.Equal(t, fernTestValueOrigin, obj.Origin) assert.NotNil(t, obj.explicitFields) }) t.Run("SetFlags", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} - var fernTestValueFlags *DocFormsGet200ResponseFieldsItemPushbuttonFlags + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var fernTestValueFlags *DocFormsGet200ResponseFieldsItemRadioFlags obj.SetFlags(fernTestValueFlags) assert.Equal(t, fernTestValueFlags, obj.Flags) assert.NotNil(t, obj.explicitFields) }) t.Run("SetAlternateName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} var fernTestValueAlternateName *string obj.SetAlternateName(fernTestValueAlternateName) assert.Equal(t, fernTestValueAlternateName, obj.AlternateName) @@ -210091,7 +214534,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { }) t.Run("SetMappingName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} var fernTestValueMappingName *string obj.SetMappingName(fernTestValueMappingName) assert.Equal(t, fernTestValueMappingName, obj.MappingName) @@ -210099,23 +214542,23 @@ func TestSettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { }) t.Run("SetValueEntry", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} - var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemRadioValueEntry obj.SetValueEntry(fernTestValueValueEntry) assert.Equal(t, fernTestValueValueEntry, obj.ValueEntry) assert.NotNil(t, obj.explicitFields) }) t.Run("SetDefaultValueEntry", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} - var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry obj.SetDefaultValueEntry(fernTestValueDefaultValueEntry) assert.Equal(t, fernTestValueDefaultValueEntry, obj.DefaultValueEntry) assert.NotNil(t, obj.explicitFields) }) t.Run("SetActions", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} var fernTestValueActions *PdfFieldActions obj.SetActions(fernTestValueActions) assert.Equal(t, fernTestValueActions, obj.Actions) @@ -210123,21 +214566,45 @@ func TestSettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { }) t.Run("SetWidgets", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} - var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemRadioWidgetsItem obj.SetWidgets(fernTestValueWidgets) assert.Equal(t, fernTestValueWidgets, obj.Widgets) assert.NotNil(t, obj.explicitFields) }) + t.Run("SetValue", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var fernTestValueValue string + obj.SetValue(fernTestValueValue) + assert.Equal(t, fernTestValueValue, obj.Value) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetRadiosInUnison", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var fernTestValueRadiosInUnison bool + obj.SetRadiosInUnison(fernTestValueRadiosInUnison) + assert.Equal(t, fernTestValueRadiosInUnison, obj.RadiosInUnison) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetNoToggleToOff", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var fernTestValueNoToggleToOff bool + obj.SetNoToggleToOff(fernTestValueNoToggleToOff) + assert.Equal(t, fernTestValueNoToggleToOff, obj.NoToggleToOff) + assert.NotNil(t, obj.explicitFields) + }) + } -func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetRef", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} - var expected *DocFormsGet200ResponseFieldsItemPushbuttonRef + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var expected *DocFormsGet200ResponseFieldsItemRadioRef obj.Ref = expected // Act & Assert @@ -210147,7 +214614,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetRef_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} obj.Ref = nil // Act & Assert @@ -210156,7 +214623,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetRef_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbutton + var obj *DocFormsGet200ResponseFieldsItemRadio // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -210169,7 +214636,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetFieldObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} var expected int obj.FieldObjectNumber = expected @@ -210179,7 +214646,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetFieldObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbutton + var obj *DocFormsGet200ResponseFieldsItemRadio // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -210192,7 +214659,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} var expected string obj.Name = expected @@ -210202,7 +214669,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbutton + var obj *DocFormsGet200ResponseFieldsItemRadio // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -210215,8 +214682,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetOrigin", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} - var expected DocFormsGet200ResponseFieldsItemPushbuttonOrigin + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var expected DocFormsGet200ResponseFieldsItemRadioOrigin obj.Origin = expected // Act & Assert @@ -210225,7 +214692,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetOrigin_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbutton + var obj *DocFormsGet200ResponseFieldsItemRadio // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -210238,8 +214705,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetFlags", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} - var expected *DocFormsGet200ResponseFieldsItemPushbuttonFlags + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var expected *DocFormsGet200ResponseFieldsItemRadioFlags obj.Flags = expected // Act & Assert @@ -210249,7 +214716,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetFlags_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} obj.Flags = nil // Act & Assert @@ -210258,7 +214725,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetFlags_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbutton + var obj *DocFormsGet200ResponseFieldsItemRadio // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -210271,7 +214738,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetAlternateName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} var expected *string obj.AlternateName = expected @@ -210282,7 +214749,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetAlternateName_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} obj.AlternateName = nil // Act & Assert @@ -210291,7 +214758,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetAlternateName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbutton + var obj *DocFormsGet200ResponseFieldsItemRadio // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -210304,7 +214771,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetMappingName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} var expected *string obj.MappingName = expected @@ -210315,7 +214782,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetMappingName_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} obj.MappingName = nil // Act & Assert @@ -210324,7 +214791,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetMappingName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbutton + var obj *DocFormsGet200ResponseFieldsItemRadio // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -210337,8 +214804,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetValueEntry", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} - var expected *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var expected *DocFormsGet200ResponseFieldsItemRadioValueEntry obj.ValueEntry = expected // Act & Assert @@ -210348,7 +214815,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetValueEntry_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} obj.ValueEntry = nil // Act & Assert @@ -210357,7 +214824,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetValueEntry_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbutton + var obj *DocFormsGet200ResponseFieldsItemRadio // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -210370,8 +214837,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetDefaultValueEntry", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} - var expected *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var expected *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry obj.DefaultValueEntry = expected // Act & Assert @@ -210381,7 +214848,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetDefaultValueEntry_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} obj.DefaultValueEntry = nil // Act & Assert @@ -210390,7 +214857,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetDefaultValueEntry_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbutton + var obj *DocFormsGet200ResponseFieldsItemRadio // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -210403,7 +214870,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetActions", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} var expected *PdfFieldActions obj.Actions = expected @@ -210414,7 +214881,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetActions_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} obj.Actions = nil // Act & Assert @@ -210423,7 +214890,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetActions_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbutton + var obj *DocFormsGet200ResponseFieldsItemRadio // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -210436,8 +214903,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetWidgets", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} - var expected []*DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var expected []*DocFormsGet200ResponseFieldsItemRadioWidgetsItem obj.Widgets = expected // Act & Assert @@ -210447,7 +214914,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetWidgets_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} obj.Widgets = nil // Act & Assert @@ -210456,7 +214923,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { t.Run("GetWidgets_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbutton + var obj *DocFormsGet200ResponseFieldsItemRadio // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -210466,14 +214933,83 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { _ = obj.GetWidgets() // Should return zero value }) + t.Run("GetValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var expected string + obj.Value = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetValue(), "getter should return the property value") + }) + + t.Run("GetValue_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemRadio + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetValue() // Should return zero value + }) + + t.Run("GetRadiosInUnison", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var expected bool + obj.RadiosInUnison = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetRadiosInUnison(), "getter should return the property value") + }) + + t.Run("GetRadiosInUnison_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemRadio + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetRadiosInUnison() // Should return zero value + }) + + t.Run("GetNoToggleToOff", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var expected bool + obj.NoToggleToOff = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetNoToggleToOff(), "getter should return the property value") + }) + + t.Run("GetNoToggleToOff_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemRadio + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetNoToggleToOff() // Should return zero value + }) + } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbutton(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("SetRef_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} - var fernTestValueRef *DocFormsGet200ResponseFieldsItemPushbuttonRef + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var fernTestValueRef *DocFormsGet200ResponseFieldsItemRadioRef // Act obj.SetRef(fernTestValueRef) @@ -210503,7 +215039,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbutton(t *testin t.Run("SetFieldObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} var fernTestValueFieldObjectNumber int // Act @@ -210534,7 +215070,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbutton(t *testin t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} var fernTestValueName string // Act @@ -210565,8 +215101,8 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbutton(t *testin t.Run("SetOrigin_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} - var fernTestValueOrigin DocFormsGet200ResponseFieldsItemPushbuttonOrigin + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var fernTestValueOrigin DocFormsGet200ResponseFieldsItemRadioOrigin // Act obj.SetOrigin(fernTestValueOrigin) @@ -210596,8 +215132,8 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbutton(t *testin t.Run("SetFlags_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} - var fernTestValueFlags *DocFormsGet200ResponseFieldsItemPushbuttonFlags + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var fernTestValueFlags *DocFormsGet200ResponseFieldsItemRadioFlags // Act obj.SetFlags(fernTestValueFlags) @@ -210627,7 +215163,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbutton(t *testin t.Run("SetAlternateName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} var fernTestValueAlternateName *string // Act @@ -210658,7 +215194,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbutton(t *testin t.Run("SetMappingName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} var fernTestValueMappingName *string // Act @@ -210689,8 +215225,8 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbutton(t *testin t.Run("SetValueEntry_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} - var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemRadioValueEntry // Act obj.SetValueEntry(fernTestValueValueEntry) @@ -210720,8 +215256,8 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbutton(t *testin t.Run("SetDefaultValueEntry_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} - var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry // Act obj.SetDefaultValueEntry(fernTestValueDefaultValueEntry) @@ -210751,7 +215287,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbutton(t *testin t.Run("SetActions_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} + obj := &DocFormsGet200ResponseFieldsItemRadio{} var fernTestValueActions *PdfFieldActions // Act @@ -210782,8 +215318,8 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbutton(t *testin t.Run("SetWidgets_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbutton{} - var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemRadioWidgetsItem // Act obj.SetWidgets(fernTestValueWidgets) @@ -210810,13 +215346,106 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbutton(t *testin // It verifies that setting a field via setter allows successful JSON round-trip }) + t.Run("SetValue_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var fernTestValueValue string + + // Act + obj.SetValue(fernTestValueValue) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetRadiosInUnison_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var fernTestValueRadiosInUnison bool + + // Act + obj.SetRadiosInUnison(fernTestValueRadiosInUnison) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetNoToggleToOff_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemRadio{} + var fernTestValueNoToggleToOff bool + + // Act + obj.SetNoToggleToOff(fernTestValueNoToggleToOff) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + } -func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntry(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry{} var expected string obj.Kind = expected @@ -210826,7 +215455,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry(t *t t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -210839,8 +215468,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry(t *t t.Run("GetNone", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryNone + obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone obj.None = expected // Act & Assert @@ -210850,7 +215479,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry(t *t t.Run("GetNone_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry{} obj.None = nil // Act & Assert @@ -210859,7 +215488,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry(t *t t.Run("GetNone_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -210872,8 +215501,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry(t *t t.Run("GetScalar", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar + obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar obj.Scalar = expected // Act & Assert @@ -210883,7 +215512,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry(t *t t.Run("GetScalar_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry{} obj.Scalar = nil // Act & Assert @@ -210892,7 +215521,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry(t *t t.Run("GetScalar_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -210905,8 +215534,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry(t *t t.Run("GetArray", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray + obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray obj.Array = expected // Act & Assert @@ -210916,7 +215545,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry(t *t t.Run("GetArray_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry{} obj.Array = nil // Act & Assert @@ -210925,7 +215554,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry(t *t t.Run("GetArray_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -210938,8 +215567,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry(t *t t.Run("GetUnsupported", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryUnsupported + obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported obj.Unsupported = expected // Act & Assert @@ -210949,7 +215578,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry(t *t t.Run("GetUnsupported_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry{} obj.Unsupported = nil // Act & Assert @@ -210958,7 +215587,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry(t *t t.Run("GetUnsupported_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -210970,9 +215599,9 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntry(t *t } -func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray(t *testing.T) { t.Run("SetValues", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray{} var fernTestValueValues []string obj.SetValues(fernTestValueValues) assert.Equal(t, fernTestValueValues, obj.Values) @@ -210981,11 +215610,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray } -func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray(t *testing.T) { t.Run("GetValues", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray{} var expected []string obj.Values = expected @@ -210996,7 +215625,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray t.Run("GetValues_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray{} obj.Values = nil // Act & Assert @@ -211005,7 +215634,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray t.Run("GetValues_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray + var obj *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -211017,11 +215646,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray(t *testing.T) { t.Run("SetValues_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray{} var fernTestValueValues []string // Act @@ -211051,9 +215680,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonDefaultVal } -func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar(t *testing.T) { t.Run("SetValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar{} var fernTestValueValue string obj.SetValue(fernTestValueValue) assert.Equal(t, fernTestValueValue, obj.Value) @@ -211062,11 +215691,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScala } -func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar(t *testing.T) { t.Run("GetValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar{} var expected string obj.Value = expected @@ -211076,7 +215705,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScala t.Run("GetValue_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar + var obj *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -211088,11 +215717,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScala } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar(t *testing.T) { t.Run("SetValue_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonDefaultValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar{} var fernTestValueValue string // Act @@ -211122,9 +215751,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonDefaultVal } -func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonFlags(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemRadioFlags(t *testing.T) { t.Run("SetReadOnly", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} + obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} var fernTestValueReadOnly bool obj.SetReadOnly(fernTestValueReadOnly) assert.Equal(t, fernTestValueReadOnly, obj.ReadOnly) @@ -211132,7 +215761,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonFlags(t *testing.T) { }) t.Run("SetRequired", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} + obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} var fernTestValueRequired bool obj.SetRequired(fernTestValueRequired) assert.Equal(t, fernTestValueRequired, obj.Required) @@ -211140,7 +215769,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonFlags(t *testing.T) { }) t.Run("SetNoExport", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} + obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} var fernTestValueNoExport bool obj.SetNoExport(fernTestValueNoExport) assert.Equal(t, fernTestValueNoExport, obj.NoExport) @@ -211148,7 +215777,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonFlags(t *testing.T) { }) t.Run("SetRaw", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} + obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} var fernTestValueRaw int obj.SetRaw(fernTestValueRaw) assert.Equal(t, fernTestValueRaw, obj.Raw) @@ -211157,11 +215786,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonFlags(t *testing.T) { } -func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonFlags(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemRadioFlags(t *testing.T) { t.Run("GetReadOnly", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} + obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} var expected bool obj.ReadOnly = expected @@ -211171,7 +215800,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonFlags(t *testing.T) { t.Run("GetReadOnly_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonFlags + var obj *DocFormsGet200ResponseFieldsItemRadioFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -211184,7 +215813,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonFlags(t *testing.T) { t.Run("GetRequired", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} + obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} var expected bool obj.Required = expected @@ -211194,7 +215823,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonFlags(t *testing.T) { t.Run("GetRequired_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonFlags + var obj *DocFormsGet200ResponseFieldsItemRadioFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -211207,7 +215836,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonFlags(t *testing.T) { t.Run("GetNoExport", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} + obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} var expected bool obj.NoExport = expected @@ -211217,7 +215846,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonFlags(t *testing.T) { t.Run("GetNoExport_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonFlags + var obj *DocFormsGet200ResponseFieldsItemRadioFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -211230,7 +215859,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonFlags(t *testing.T) { t.Run("GetRaw", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} + obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} var expected int obj.Raw = expected @@ -211240,7 +215869,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonFlags(t *testing.T) { t.Run("GetRaw_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonFlags + var obj *DocFormsGet200ResponseFieldsItemRadioFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -211252,11 +215881,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonFlags(t *testing.T) { } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonFlags(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioFlags(t *testing.T) { t.Run("SetReadOnly_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} + obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} var fernTestValueReadOnly bool // Act @@ -211287,7 +215916,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonFlags(t *t t.Run("SetRequired_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} + obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} var fernTestValueRequired bool // Act @@ -211318,7 +215947,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonFlags(t *t t.Run("SetNoExport_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} + obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} var fernTestValueNoExport bool // Act @@ -211349,7 +215978,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonFlags(t *t t.Run("SetRaw_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonFlags{} + obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} var fernTestValueRaw int // Act @@ -211379,11 +216008,11 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonFlags(t *t } -func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonRef(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemRadioRef(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonRef{} + obj := &DocFormsGet200ResponseFieldsItemRadioRef{} var expected string obj.Kind = expected @@ -211393,7 +216022,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonRef(t *testing.T) { t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonRef + var obj *DocFormsGet200ResponseFieldsItemRadioRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -211406,8 +216035,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonRef(t *testing.T) { t.Run("GetObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonRef{} - var expected *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber + obj := &DocFormsGet200ResponseFieldsItemRadioRef{} + var expected *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber obj.ObjectNumber = expected // Act & Assert @@ -211417,7 +216046,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonRef(t *testing.T) { t.Run("GetObjectNumber_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonRef{} + obj := &DocFormsGet200ResponseFieldsItemRadioRef{} obj.ObjectNumber = nil // Act & Assert @@ -211426,7 +216055,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonRef(t *testing.T) { t.Run("GetObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonRef + var obj *DocFormsGet200ResponseFieldsItemRadioRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -211439,8 +216068,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonRef(t *testing.T) { t.Run("GetFqn", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonRef{} - var expected *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn + obj := &DocFormsGet200ResponseFieldsItemRadioRef{} + var expected *DocFormsGet200ResponseFieldsItemRadioRefFqn obj.Fqn = expected // Act & Assert @@ -211450,7 +216079,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonRef(t *testing.T) { t.Run("GetFqn_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonRef{} + obj := &DocFormsGet200ResponseFieldsItemRadioRef{} obj.Fqn = nil // Act & Assert @@ -211459,7 +216088,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonRef(t *testing.T) { t.Run("GetFqn_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonRef + var obj *DocFormsGet200ResponseFieldsItemRadioRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -211471,9 +216100,9 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonRef(t *testing.T) { } -func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonRefFqn(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemRadioRefFqn(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbuttonRefFqn{} + obj := &DocFormsGet200ResponseFieldsItemRadioRefFqn{} var fernTestValueName string obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) @@ -211482,11 +216111,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonRefFqn(t *testing.T) { } -func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonRefFqn(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemRadioRefFqn(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonRefFqn{} + obj := &DocFormsGet200ResponseFieldsItemRadioRefFqn{} var expected string obj.Name = expected @@ -211496,7 +216125,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonRefFqn(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonRefFqn + var obj *DocFormsGet200ResponseFieldsItemRadioRefFqn // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -211508,11 +216137,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonRefFqn(t *testing.T) { } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonRefFqn(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioRefFqn(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonRefFqn{} + obj := &DocFormsGet200ResponseFieldsItemRadioRefFqn{} var fernTestValueName string // Act @@ -211542,9 +216171,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonRefFqn(t * } -func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemRadioRefObjectNumber(t *testing.T) { t.Run("SetFieldObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber{} + obj := &DocFormsGet200ResponseFieldsItemRadioRefObjectNumber{} var fernTestValueFieldObjectNumber int obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) assert.Equal(t, fernTestValueFieldObjectNumber, obj.FieldObjectNumber) @@ -211553,11 +216182,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber(t *tes } -func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemRadioRefObjectNumber(t *testing.T) { t.Run("GetFieldObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber{} + obj := &DocFormsGet200ResponseFieldsItemRadioRefObjectNumber{} var expected int obj.FieldObjectNumber = expected @@ -211567,7 +216196,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber(t *tes t.Run("GetFieldObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber + var obj *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -211579,11 +216208,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber(t *tes } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioRefObjectNumber(t *testing.T) { t.Run("SetFieldObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonRefObjectNumber{} + obj := &DocFormsGet200ResponseFieldsItemRadioRefObjectNumber{} var fernTestValueFieldObjectNumber int // Act @@ -211613,11 +216242,11 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonRefObjectN } -func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntry(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntry(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemRadioValueEntry{} var expected string obj.Kind = expected @@ -211627,7 +216256,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntry(t *testing. t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry + var obj *DocFormsGet200ResponseFieldsItemRadioValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -211640,8 +216269,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntry(t *testing. t.Run("GetNone", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryNone + obj := &DocFormsGet200ResponseFieldsItemRadioValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemRadioValueEntryNone obj.None = expected // Act & Assert @@ -211651,7 +216280,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntry(t *testing. t.Run("GetNone_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemRadioValueEntry{} obj.None = nil // Act & Assert @@ -211660,7 +216289,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntry(t *testing. t.Run("GetNone_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry + var obj *DocFormsGet200ResponseFieldsItemRadioValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -211673,8 +216302,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntry(t *testing. t.Run("GetScalar", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar + obj := &DocFormsGet200ResponseFieldsItemRadioValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar obj.Scalar = expected // Act & Assert @@ -211684,7 +216313,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntry(t *testing. t.Run("GetScalar_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemRadioValueEntry{} obj.Scalar = nil // Act & Assert @@ -211693,7 +216322,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntry(t *testing. t.Run("GetScalar_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry + var obj *DocFormsGet200ResponseFieldsItemRadioValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -211706,8 +216335,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntry(t *testing. t.Run("GetArray", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray + obj := &DocFormsGet200ResponseFieldsItemRadioValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemRadioValueEntryArray obj.Array = expected // Act & Assert @@ -211717,7 +216346,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntry(t *testing. t.Run("GetArray_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemRadioValueEntry{} obj.Array = nil // Act & Assert @@ -211726,7 +216355,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntry(t *testing. t.Run("GetArray_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry + var obj *DocFormsGet200ResponseFieldsItemRadioValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -211739,8 +216368,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntry(t *testing. t.Run("GetUnsupported", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryUnsupported + obj := &DocFormsGet200ResponseFieldsItemRadioValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported obj.Unsupported = expected // Act & Assert @@ -211750,7 +216379,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntry(t *testing. t.Run("GetUnsupported_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemRadioValueEntry{} obj.Unsupported = nil // Act & Assert @@ -211759,7 +216388,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntry(t *testing. t.Run("GetUnsupported_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonValueEntry + var obj *DocFormsGet200ResponseFieldsItemRadioValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -211771,9 +216400,9 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntry(t *testing. } -func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemRadioValueEntryArray(t *testing.T) { t.Run("SetValues", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemRadioValueEntryArray{} var fernTestValueValues []string obj.SetValues(fernTestValueValues) assert.Equal(t, fernTestValueValues, obj.Values) @@ -211782,11 +216411,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray(t *tes } -func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntryArray(t *testing.T) { t.Run("GetValues", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemRadioValueEntryArray{} var expected []string obj.Values = expected @@ -211797,7 +216426,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray(t *tes t.Run("GetValues_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemRadioValueEntryArray{} obj.Values = nil // Act & Assert @@ -211806,7 +216435,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray(t *tes t.Run("GetValues_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray + var obj *DocFormsGet200ResponseFieldsItemRadioValueEntryArray // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -211818,11 +216447,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray(t *tes } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioValueEntryArray(t *testing.T) { t.Run("SetValues_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemRadioValueEntryArray{} var fernTestValueValues []string // Act @@ -211852,9 +216481,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonValueEntry } -func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemRadioValueEntryScalar(t *testing.T) { t.Run("SetValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemRadioValueEntryScalar{} var fernTestValueValue string obj.SetValue(fernTestValueValue) assert.Equal(t, fernTestValueValue, obj.Value) @@ -211863,11 +216492,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar(t *te } -func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntryScalar(t *testing.T) { t.Run("GetValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemRadioValueEntryScalar{} var expected string obj.Value = expected @@ -211877,7 +216506,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar(t *te t.Run("GetValue_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar + var obj *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -211889,11 +216518,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar(t *te } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioValueEntryScalar(t *testing.T) { t.Run("SetValue_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemRadioValueEntryScalar{} var fernTestValueValue string // Act @@ -211923,9 +216552,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonValueEntry } -func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemRadioWidgetsItem(t *testing.T) { t.Run("SetAnnotObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} var fernTestValueAnnotObjectNumber int obj.SetAnnotObjectNumber(fernTestValueAnnotObjectNumber) assert.Equal(t, fernTestValueAnnotObjectNumber, obj.AnnotObjectNumber) @@ -211933,20 +216562,44 @@ func TestSettersDocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem(t *testing }) t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) assert.NotNil(t, obj.explicitFields) }) + t.Run("SetOnState", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} + var fernTestValueOnState string + obj.SetOnState(fernTestValueOnState) + assert.Equal(t, fernTestValueOnState, obj.OnState) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetExportValue", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} + var fernTestValueExportValue string + obj.SetExportValue(fernTestValueExportValue) + assert.Equal(t, fernTestValueExportValue, obj.ExportValue) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetChecked", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} + var fernTestValueChecked bool + obj.SetChecked(fernTestValueChecked) + assert.Equal(t, fernTestValueChecked, obj.Checked) + assert.NotNil(t, obj.explicitFields) + }) + } -func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemRadioWidgetsItem(t *testing.T) { t.Run("GetAnnotObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} var expected int obj.AnnotObjectNumber = expected @@ -211956,7 +216609,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem(t *testing t.Run("GetAnnotObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem + var obj *DocFormsGet200ResponseFieldsItemRadioWidgetsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -211969,7 +216622,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem(t *testing t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} var expected int obj.PageObjectNumber = expected @@ -211979,7 +216632,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem(t *testing t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem + var obj *DocFormsGet200ResponseFieldsItemRadioWidgetsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -211989,13 +216642,82 @@ func TestGettersDocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem(t *testing _ = obj.GetPageObjectNumber() // Should return zero value }) + t.Run("GetOnState", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} + var expected string + obj.OnState = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetOnState(), "getter should return the property value") + }) + + t.Run("GetOnState_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemRadioWidgetsItem + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetOnState() // Should return zero value + }) + + t.Run("GetExportValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} + var expected string + obj.ExportValue = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetExportValue(), "getter should return the property value") + }) + + t.Run("GetExportValue_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemRadioWidgetsItem + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetExportValue() // Should return zero value + }) + + t.Run("GetChecked", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} + var expected bool + obj.Checked = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetChecked(), "getter should return the property value") + }) + + t.Run("GetChecked_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemRadioWidgetsItem + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetChecked() // Should return zero value + }) + } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioWidgetsItem(t *testing.T) { t.Run("SetAnnotObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} var fernTestValueAnnotObjectNumber int // Act @@ -212026,7 +216748,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonWidgetsIte t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemPushbuttonWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} var fernTestValuePageObjectNumber int // Act @@ -212054,19 +216776,112 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemPushbuttonWidgetsIte // It verifies that setting a field via setter allows successful JSON round-trip }) + t.Run("SetOnState_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} + var fernTestValueOnState string + + // Act + obj.SetOnState(fernTestValueOnState) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetExportValue_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} + var fernTestValueExportValue string + + // Act + obj.SetExportValue(fernTestValueExportValue) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetChecked_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} + var fernTestValueChecked bool + + // Act + obj.SetChecked(fernTestValueChecked) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + } -func TestSettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("SetRef", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var fernTestValueRef *DocFormsGet200ResponseFieldsItemRadioRef + obj := &DocFormsGet200ResponseFieldsItemSignature{} + var fernTestValueRef *DocFormsGet200ResponseFieldsItemSignatureRef obj.SetRef(fernTestValueRef) assert.Equal(t, fernTestValueRef, obj.Ref) assert.NotNil(t, obj.explicitFields) }) t.Run("SetFieldObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} var fernTestValueFieldObjectNumber int obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) assert.Equal(t, fernTestValueFieldObjectNumber, obj.FieldObjectNumber) @@ -212074,7 +216889,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { }) t.Run("SetName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} var fernTestValueName string obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) @@ -212082,23 +216897,23 @@ func TestSettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { }) t.Run("SetOrigin", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var fernTestValueOrigin DocFormsGet200ResponseFieldsItemRadioOrigin + obj := &DocFormsGet200ResponseFieldsItemSignature{} + var fernTestValueOrigin DocFormsGet200ResponseFieldsItemSignatureOrigin obj.SetOrigin(fernTestValueOrigin) assert.Equal(t, fernTestValueOrigin, obj.Origin) assert.NotNil(t, obj.explicitFields) }) t.Run("SetFlags", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var fernTestValueFlags *DocFormsGet200ResponseFieldsItemRadioFlags + obj := &DocFormsGet200ResponseFieldsItemSignature{} + var fernTestValueFlags *DocFormsGet200ResponseFieldsItemSignatureFlags obj.SetFlags(fernTestValueFlags) assert.Equal(t, fernTestValueFlags, obj.Flags) assert.NotNil(t, obj.explicitFields) }) t.Run("SetAlternateName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} var fernTestValueAlternateName *string obj.SetAlternateName(fernTestValueAlternateName) assert.Equal(t, fernTestValueAlternateName, obj.AlternateName) @@ -212106,7 +216921,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { }) t.Run("SetMappingName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} var fernTestValueMappingName *string obj.SetMappingName(fernTestValueMappingName) assert.Equal(t, fernTestValueMappingName, obj.MappingName) @@ -212114,23 +216929,23 @@ func TestSettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { }) t.Run("SetValueEntry", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemRadioValueEntry + obj := &DocFormsGet200ResponseFieldsItemSignature{} + var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemSignatureValueEntry obj.SetValueEntry(fernTestValueValueEntry) assert.Equal(t, fernTestValueValueEntry, obj.ValueEntry) assert.NotNil(t, obj.explicitFields) }) t.Run("SetDefaultValueEntry", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry + obj := &DocFormsGet200ResponseFieldsItemSignature{} + var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry obj.SetDefaultValueEntry(fernTestValueDefaultValueEntry) assert.Equal(t, fernTestValueDefaultValueEntry, obj.DefaultValueEntry) assert.NotNil(t, obj.explicitFields) }) t.Run("SetActions", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} var fernTestValueActions *PdfFieldActions obj.SetActions(fernTestValueActions) assert.Equal(t, fernTestValueActions, obj.Actions) @@ -212138,45 +216953,21 @@ func TestSettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { }) t.Run("SetWidgets", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemRadioWidgetsItem + obj := &DocFormsGet200ResponseFieldsItemSignature{} + var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemSignatureWidgetsItem obj.SetWidgets(fernTestValueWidgets) assert.Equal(t, fernTestValueWidgets, obj.Widgets) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var fernTestValueValue string - obj.SetValue(fernTestValueValue) - assert.Equal(t, fernTestValueValue, obj.Value) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetRadiosInUnison", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var fernTestValueRadiosInUnison bool - obj.SetRadiosInUnison(fernTestValueRadiosInUnison) - assert.Equal(t, fernTestValueRadiosInUnison, obj.RadiosInUnison) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetNoToggleToOff", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var fernTestValueNoToggleToOff bool - obj.SetNoToggleToOff(fernTestValueNoToggleToOff) - assert.Equal(t, fernTestValueNoToggleToOff, obj.NoToggleToOff) - assert.NotNil(t, obj.explicitFields) - }) - } -func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetRef", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var expected *DocFormsGet200ResponseFieldsItemRadioRef + obj := &DocFormsGet200ResponseFieldsItemSignature{} + var expected *DocFormsGet200ResponseFieldsItemSignatureRef obj.Ref = expected // Act & Assert @@ -212186,7 +216977,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetRef_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} obj.Ref = nil // Act & Assert @@ -212195,7 +216986,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetRef_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadio + var obj *DocFormsGet200ResponseFieldsItemSignature // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -212208,7 +216999,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetFieldObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} var expected int obj.FieldObjectNumber = expected @@ -212218,7 +217009,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetFieldObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadio + var obj *DocFormsGet200ResponseFieldsItemSignature // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -212231,7 +217022,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} var expected string obj.Name = expected @@ -212241,7 +217032,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadio + var obj *DocFormsGet200ResponseFieldsItemSignature // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -212254,8 +217045,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetOrigin", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var expected DocFormsGet200ResponseFieldsItemRadioOrigin + obj := &DocFormsGet200ResponseFieldsItemSignature{} + var expected DocFormsGet200ResponseFieldsItemSignatureOrigin obj.Origin = expected // Act & Assert @@ -212264,7 +217055,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetOrigin_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadio + var obj *DocFormsGet200ResponseFieldsItemSignature // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -212277,8 +217068,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetFlags", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var expected *DocFormsGet200ResponseFieldsItemRadioFlags + obj := &DocFormsGet200ResponseFieldsItemSignature{} + var expected *DocFormsGet200ResponseFieldsItemSignatureFlags obj.Flags = expected // Act & Assert @@ -212288,7 +217079,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetFlags_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} obj.Flags = nil // Act & Assert @@ -212297,7 +217088,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetFlags_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadio + var obj *DocFormsGet200ResponseFieldsItemSignature // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -212310,7 +217101,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetAlternateName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} var expected *string obj.AlternateName = expected @@ -212321,7 +217112,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetAlternateName_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} obj.AlternateName = nil // Act & Assert @@ -212330,7 +217121,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetAlternateName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadio + var obj *DocFormsGet200ResponseFieldsItemSignature // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -212343,7 +217134,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetMappingName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} var expected *string obj.MappingName = expected @@ -212354,7 +217145,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetMappingName_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} obj.MappingName = nil // Act & Assert @@ -212363,7 +217154,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetMappingName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadio + var obj *DocFormsGet200ResponseFieldsItemSignature // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -212376,8 +217167,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetValueEntry", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var expected *DocFormsGet200ResponseFieldsItemRadioValueEntry + obj := &DocFormsGet200ResponseFieldsItemSignature{} + var expected *DocFormsGet200ResponseFieldsItemSignatureValueEntry obj.ValueEntry = expected // Act & Assert @@ -212387,7 +217178,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetValueEntry_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} obj.ValueEntry = nil // Act & Assert @@ -212396,7 +217187,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetValueEntry_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadio + var obj *DocFormsGet200ResponseFieldsItemSignature // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -212409,8 +217200,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetDefaultValueEntry", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var expected *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry + obj := &DocFormsGet200ResponseFieldsItemSignature{} + var expected *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry obj.DefaultValueEntry = expected // Act & Assert @@ -212420,7 +217211,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetDefaultValueEntry_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} obj.DefaultValueEntry = nil // Act & Assert @@ -212429,7 +217220,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetDefaultValueEntry_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadio + var obj *DocFormsGet200ResponseFieldsItemSignature // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -212442,7 +217233,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetActions", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} var expected *PdfFieldActions obj.Actions = expected @@ -212453,7 +217244,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetActions_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} obj.Actions = nil // Act & Assert @@ -212462,7 +217253,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetActions_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadio + var obj *DocFormsGet200ResponseFieldsItemSignature // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -212475,8 +217266,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetWidgets", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var expected []*DocFormsGet200ResponseFieldsItemRadioWidgetsItem + obj := &DocFormsGet200ResponseFieldsItemSignature{} + var expected []*DocFormsGet200ResponseFieldsItemSignatureWidgetsItem obj.Widgets = expected // Act & Assert @@ -212486,7 +217277,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetWidgets_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} obj.Widgets = nil // Act & Assert @@ -212495,7 +217286,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { t.Run("GetWidgets_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadio + var obj *DocFormsGet200ResponseFieldsItemSignature // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -212505,83 +217296,14 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { _ = obj.GetWidgets() // Should return zero value }) - t.Run("GetValue", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var expected string - obj.Value = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetValue(), "getter should return the property value") - }) - - t.Run("GetValue_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadio - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetValue() // Should return zero value - }) - - t.Run("GetRadiosInUnison", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var expected bool - obj.RadiosInUnison = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetRadiosInUnison(), "getter should return the property value") - }) - - t.Run("GetRadiosInUnison_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadio - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetRadiosInUnison() // Should return zero value - }) - - t.Run("GetNoToggleToOff", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var expected bool - obj.NoToggleToOff = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetNoToggleToOff(), "getter should return the property value") - }) - - t.Run("GetNoToggleToOff_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadio - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetNoToggleToOff() // Should return zero value - }) - } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadio(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("SetRef_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var fernTestValueRef *DocFormsGet200ResponseFieldsItemRadioRef + obj := &DocFormsGet200ResponseFieldsItemSignature{} + var fernTestValueRef *DocFormsGet200ResponseFieldsItemSignatureRef // Act obj.SetRef(fernTestValueRef) @@ -212611,7 +217333,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadio(t *testing.T) t.Run("SetFieldObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} var fernTestValueFieldObjectNumber int // Act @@ -212642,7 +217364,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadio(t *testing.T) t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} var fernTestValueName string // Act @@ -212673,8 +217395,8 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadio(t *testing.T) t.Run("SetOrigin_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var fernTestValueOrigin DocFormsGet200ResponseFieldsItemRadioOrigin + obj := &DocFormsGet200ResponseFieldsItemSignature{} + var fernTestValueOrigin DocFormsGet200ResponseFieldsItemSignatureOrigin // Act obj.SetOrigin(fernTestValueOrigin) @@ -212704,8 +217426,8 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadio(t *testing.T) t.Run("SetFlags_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var fernTestValueFlags *DocFormsGet200ResponseFieldsItemRadioFlags + obj := &DocFormsGet200ResponseFieldsItemSignature{} + var fernTestValueFlags *DocFormsGet200ResponseFieldsItemSignatureFlags // Act obj.SetFlags(fernTestValueFlags) @@ -212735,7 +217457,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadio(t *testing.T) t.Run("SetAlternateName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} var fernTestValueAlternateName *string // Act @@ -212766,7 +217488,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadio(t *testing.T) t.Run("SetMappingName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} var fernTestValueMappingName *string // Act @@ -212797,8 +217519,8 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadio(t *testing.T) t.Run("SetValueEntry_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemRadioValueEntry + obj := &DocFormsGet200ResponseFieldsItemSignature{} + var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemSignatureValueEntry // Act obj.SetValueEntry(fernTestValueValueEntry) @@ -212828,8 +217550,8 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadio(t *testing.T) t.Run("SetDefaultValueEntry_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry + obj := &DocFormsGet200ResponseFieldsItemSignature{} + var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry // Act obj.SetDefaultValueEntry(fernTestValueDefaultValueEntry) @@ -212859,7 +217581,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadio(t *testing.T) t.Run("SetActions_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} + obj := &DocFormsGet200ResponseFieldsItemSignature{} var fernTestValueActions *PdfFieldActions // Act @@ -212890,8 +217612,8 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadio(t *testing.T) t.Run("SetWidgets_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemRadioWidgetsItem + obj := &DocFormsGet200ResponseFieldsItemSignature{} + var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemSignatureWidgetsItem // Act obj.SetWidgets(fernTestValueWidgets) @@ -212918,106 +217640,13 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadio(t *testing.T) // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetValue_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var fernTestValueValue string - - // Act - obj.SetValue(fernTestValueValue) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetRadiosInUnison_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var fernTestValueRadiosInUnison bool - - // Act - obj.SetRadiosInUnison(fernTestValueRadiosInUnison) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetNoToggleToOff_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadio{} - var fernTestValueNoToggleToOff bool - - // Act - obj.SetNoToggleToOff(fernTestValueNoToggleToOff) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - } -func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntry(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry{} var expected string obj.Kind = expected @@ -213027,7 +217656,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntry(t *testin t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -213040,8 +217669,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntry(t *testin t.Run("GetNone", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryNone + obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone obj.None = expected // Act & Assert @@ -213051,7 +217680,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntry(t *testin t.Run("GetNone_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry{} obj.None = nil // Act & Assert @@ -213060,7 +217689,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntry(t *testin t.Run("GetNone_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -213073,8 +217702,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntry(t *testin t.Run("GetScalar", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar + obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar obj.Scalar = expected // Act & Assert @@ -213084,7 +217713,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntry(t *testin t.Run("GetScalar_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry{} obj.Scalar = nil // Act & Assert @@ -213093,7 +217722,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntry(t *testin t.Run("GetScalar_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -213106,8 +217735,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntry(t *testin t.Run("GetArray", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray + obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray obj.Array = expected // Act & Assert @@ -213117,7 +217746,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntry(t *testin t.Run("GetArray_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry{} obj.Array = nil // Act & Assert @@ -213126,7 +217755,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntry(t *testin t.Run("GetArray_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -213139,8 +217768,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntry(t *testin t.Run("GetUnsupported", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryUnsupported + obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported obj.Unsupported = expected // Act & Assert @@ -213150,7 +217779,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntry(t *testin t.Run("GetUnsupported_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry{} obj.Unsupported = nil // Act & Assert @@ -213159,7 +217788,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntry(t *testin t.Run("GetUnsupported_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -213171,9 +217800,9 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntry(t *testin } -func TestSettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray(t *testing.T) { t.Run("SetValues", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray{} var fernTestValueValues []string obj.SetValues(fernTestValueValues) assert.Equal(t, fernTestValueValues, obj.Values) @@ -213182,11 +217811,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray(t *t } -func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray(t *testing.T) { t.Run("GetValues", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray{} var expected []string obj.Values = expected @@ -213197,7 +217826,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray(t *t t.Run("GetValues_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray{} obj.Values = nil // Act & Assert @@ -213206,7 +217835,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray(t *t t.Run("GetValues_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray + var obj *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -213218,11 +217847,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray(t *t } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray(t *testing.T) { t.Run("SetValues_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray{} var fernTestValueValues []string // Act @@ -213252,9 +217881,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioDefaultValueEnt } -func TestSettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar(t *testing.T) { t.Run("SetValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar{} var fernTestValueValue string obj.SetValue(fernTestValueValue) assert.Equal(t, fernTestValueValue, obj.Value) @@ -213263,11 +217892,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar(t * } -func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar(t *testing.T) { t.Run("GetValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar{} var expected string obj.Value = expected @@ -213277,7 +217906,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar(t * t.Run("GetValue_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar + var obj *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -213289,11 +217918,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar(t * } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar(t *testing.T) { t.Run("SetValue_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioDefaultValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar{} var fernTestValueValue string // Act @@ -213323,9 +217952,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioDefaultValueEnt } -func TestSettersDocFormsGet200ResponseFieldsItemRadioFlags(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemSignatureFlags(t *testing.T) { t.Run("SetReadOnly", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} + obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} var fernTestValueReadOnly bool obj.SetReadOnly(fernTestValueReadOnly) assert.Equal(t, fernTestValueReadOnly, obj.ReadOnly) @@ -213333,7 +217962,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemRadioFlags(t *testing.T) { }) t.Run("SetRequired", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} + obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} var fernTestValueRequired bool obj.SetRequired(fernTestValueRequired) assert.Equal(t, fernTestValueRequired, obj.Required) @@ -213341,7 +217970,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemRadioFlags(t *testing.T) { }) t.Run("SetNoExport", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} + obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} var fernTestValueNoExport bool obj.SetNoExport(fernTestValueNoExport) assert.Equal(t, fernTestValueNoExport, obj.NoExport) @@ -213349,7 +217978,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemRadioFlags(t *testing.T) { }) t.Run("SetRaw", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} + obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} var fernTestValueRaw int obj.SetRaw(fernTestValueRaw) assert.Equal(t, fernTestValueRaw, obj.Raw) @@ -213358,11 +217987,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemRadioFlags(t *testing.T) { } -func TestGettersDocFormsGet200ResponseFieldsItemRadioFlags(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemSignatureFlags(t *testing.T) { t.Run("GetReadOnly", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} + obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} var expected bool obj.ReadOnly = expected @@ -213372,7 +218001,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioFlags(t *testing.T) { t.Run("GetReadOnly_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioFlags + var obj *DocFormsGet200ResponseFieldsItemSignatureFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -213385,7 +218014,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioFlags(t *testing.T) { t.Run("GetRequired", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} + obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} var expected bool obj.Required = expected @@ -213395,7 +218024,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioFlags(t *testing.T) { t.Run("GetRequired_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioFlags + var obj *DocFormsGet200ResponseFieldsItemSignatureFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -213408,7 +218037,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioFlags(t *testing.T) { t.Run("GetNoExport", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} + obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} var expected bool obj.NoExport = expected @@ -213418,7 +218047,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioFlags(t *testing.T) { t.Run("GetNoExport_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioFlags + var obj *DocFormsGet200ResponseFieldsItemSignatureFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -213431,7 +218060,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioFlags(t *testing.T) { t.Run("GetRaw", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} + obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} var expected int obj.Raw = expected @@ -213441,7 +218070,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioFlags(t *testing.T) { t.Run("GetRaw_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioFlags + var obj *DocFormsGet200ResponseFieldsItemSignatureFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -213453,11 +218082,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioFlags(t *testing.T) { } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioFlags(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureFlags(t *testing.T) { t.Run("SetReadOnly_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} + obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} var fernTestValueReadOnly bool // Act @@ -213488,7 +218117,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioFlags(t *testin t.Run("SetRequired_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} + obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} var fernTestValueRequired bool // Act @@ -213519,7 +218148,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioFlags(t *testin t.Run("SetNoExport_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} + obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} var fernTestValueNoExport bool // Act @@ -213550,7 +218179,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioFlags(t *testin t.Run("SetRaw_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioFlags{} + obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} var fernTestValueRaw int // Act @@ -213580,11 +218209,11 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioFlags(t *testin } -func TestGettersDocFormsGet200ResponseFieldsItemRadioRef(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemSignatureRef(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioRef{} + obj := &DocFormsGet200ResponseFieldsItemSignatureRef{} var expected string obj.Kind = expected @@ -213594,7 +218223,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioRef(t *testing.T) { t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioRef + var obj *DocFormsGet200ResponseFieldsItemSignatureRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -213607,8 +218236,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioRef(t *testing.T) { t.Run("GetObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioRef{} - var expected *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber + obj := &DocFormsGet200ResponseFieldsItemSignatureRef{} + var expected *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber obj.ObjectNumber = expected // Act & Assert @@ -213618,7 +218247,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioRef(t *testing.T) { t.Run("GetObjectNumber_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioRef{} + obj := &DocFormsGet200ResponseFieldsItemSignatureRef{} obj.ObjectNumber = nil // Act & Assert @@ -213627,7 +218256,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioRef(t *testing.T) { t.Run("GetObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioRef + var obj *DocFormsGet200ResponseFieldsItemSignatureRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -213640,8 +218269,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioRef(t *testing.T) { t.Run("GetFqn", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioRef{} - var expected *DocFormsGet200ResponseFieldsItemRadioRefFqn + obj := &DocFormsGet200ResponseFieldsItemSignatureRef{} + var expected *DocFormsGet200ResponseFieldsItemSignatureRefFqn obj.Fqn = expected // Act & Assert @@ -213651,7 +218280,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioRef(t *testing.T) { t.Run("GetFqn_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioRef{} + obj := &DocFormsGet200ResponseFieldsItemSignatureRef{} obj.Fqn = nil // Act & Assert @@ -213660,7 +218289,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioRef(t *testing.T) { t.Run("GetFqn_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioRef + var obj *DocFormsGet200ResponseFieldsItemSignatureRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -213672,9 +218301,9 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioRef(t *testing.T) { } -func TestSettersDocFormsGet200ResponseFieldsItemRadioRefFqn(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemSignatureRefFqn(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadioRefFqn{} + obj := &DocFormsGet200ResponseFieldsItemSignatureRefFqn{} var fernTestValueName string obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) @@ -213683,11 +218312,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemRadioRefFqn(t *testing.T) { } -func TestGettersDocFormsGet200ResponseFieldsItemRadioRefFqn(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemSignatureRefFqn(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioRefFqn{} + obj := &DocFormsGet200ResponseFieldsItemSignatureRefFqn{} var expected string obj.Name = expected @@ -213697,7 +218326,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioRefFqn(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioRefFqn + var obj *DocFormsGet200ResponseFieldsItemSignatureRefFqn // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -213709,11 +218338,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioRefFqn(t *testing.T) { } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioRefFqn(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureRefFqn(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioRefFqn{} + obj := &DocFormsGet200ResponseFieldsItemSignatureRefFqn{} var fernTestValueName string // Act @@ -213743,9 +218372,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioRefFqn(t *testi } -func TestSettersDocFormsGet200ResponseFieldsItemRadioRefObjectNumber(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemSignatureRefObjectNumber(t *testing.T) { t.Run("SetFieldObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadioRefObjectNumber{} + obj := &DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber{} var fernTestValueFieldObjectNumber int obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) assert.Equal(t, fernTestValueFieldObjectNumber, obj.FieldObjectNumber) @@ -213754,11 +218383,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemRadioRefObjectNumber(t *testing. } -func TestGettersDocFormsGet200ResponseFieldsItemRadioRefObjectNumber(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemSignatureRefObjectNumber(t *testing.T) { t.Run("GetFieldObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioRefObjectNumber{} + obj := &DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber{} var expected int obj.FieldObjectNumber = expected @@ -213768,7 +218397,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioRefObjectNumber(t *testing. t.Run("GetFieldObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioRefObjectNumber + var obj *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -213780,11 +218409,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioRefObjectNumber(t *testing. } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioRefObjectNumber(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureRefObjectNumber(t *testing.T) { t.Run("SetFieldObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioRefObjectNumber{} + obj := &DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber{} var fernTestValueFieldObjectNumber int // Act @@ -213814,11 +218443,11 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioRefObjectNumber } -func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntry(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntry(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntry{} var expected string obj.Kind = expected @@ -213828,7 +218457,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntry(t *testing.T) { t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioValueEntry + var obj *DocFormsGet200ResponseFieldsItemSignatureValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -213841,8 +218470,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntry(t *testing.T) { t.Run("GetNone", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemRadioValueEntryNone + obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemSignatureValueEntryNone obj.None = expected // Act & Assert @@ -213852,7 +218481,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntry(t *testing.T) { t.Run("GetNone_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntry{} obj.None = nil // Act & Assert @@ -213861,7 +218490,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntry(t *testing.T) { t.Run("GetNone_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioValueEntry + var obj *DocFormsGet200ResponseFieldsItemSignatureValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -213874,8 +218503,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntry(t *testing.T) { t.Run("GetScalar", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar + obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar obj.Scalar = expected // Act & Assert @@ -213885,7 +218514,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntry(t *testing.T) { t.Run("GetScalar_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntry{} obj.Scalar = nil // Act & Assert @@ -213894,7 +218523,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntry(t *testing.T) { t.Run("GetScalar_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioValueEntry + var obj *DocFormsGet200ResponseFieldsItemSignatureValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -213907,8 +218536,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntry(t *testing.T) { t.Run("GetArray", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemRadioValueEntryArray + obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray obj.Array = expected // Act & Assert @@ -213918,7 +218547,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntry(t *testing.T) { t.Run("GetArray_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntry{} obj.Array = nil // Act & Assert @@ -213927,7 +218556,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntry(t *testing.T) { t.Run("GetArray_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioValueEntry + var obj *DocFormsGet200ResponseFieldsItemSignatureValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -213940,8 +218569,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntry(t *testing.T) { t.Run("GetUnsupported", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemRadioValueEntryUnsupported + obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported obj.Unsupported = expected // Act & Assert @@ -213951,7 +218580,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntry(t *testing.T) { t.Run("GetUnsupported_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntry{} obj.Unsupported = nil // Act & Assert @@ -213960,7 +218589,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntry(t *testing.T) { t.Run("GetUnsupported_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioValueEntry + var obj *DocFormsGet200ResponseFieldsItemSignatureValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -213972,9 +218601,9 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntry(t *testing.T) { } -func TestSettersDocFormsGet200ResponseFieldsItemRadioValueEntryArray(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemSignatureValueEntryArray(t *testing.T) { t.Run("SetValues", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadioValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntryArray{} var fernTestValueValues []string obj.SetValues(fernTestValueValues) assert.Equal(t, fernTestValueValues, obj.Values) @@ -213983,11 +218612,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemRadioValueEntryArray(t *testing. } -func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntryArray(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntryArray(t *testing.T) { t.Run("GetValues", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntryArray{} var expected []string obj.Values = expected @@ -213998,7 +218627,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntryArray(t *testing. t.Run("GetValues_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntryArray{} obj.Values = nil // Act & Assert @@ -214007,7 +218636,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntryArray(t *testing. t.Run("GetValues_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioValueEntryArray + var obj *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -214019,11 +218648,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntryArray(t *testing. } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioValueEntryArray(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureValueEntryArray(t *testing.T) { t.Run("SetValues_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntryArray{} var fernTestValueValues []string // Act @@ -214053,9 +218682,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioValueEntryArray } -func TestSettersDocFormsGet200ResponseFieldsItemRadioValueEntryScalar(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemSignatureValueEntryScalar(t *testing.T) { t.Run("SetValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadioValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar{} var fernTestValueValue string obj.SetValue(fernTestValueValue) assert.Equal(t, fernTestValueValue, obj.Value) @@ -214064,11 +218693,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemRadioValueEntryScalar(t *testing } -func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntryScalar(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntryScalar(t *testing.T) { t.Run("GetValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar{} var expected string obj.Value = expected @@ -214078,7 +218707,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntryScalar(t *testing t.Run("GetValue_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioValueEntryScalar + var obj *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -214090,11 +218719,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioValueEntryScalar(t *testing } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioValueEntryScalar(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureValueEntryScalar(t *testing.T) { t.Run("SetValue_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar{} var fernTestValueValue string // Act @@ -214124,9 +218753,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioValueEntryScala } -func TestSettersDocFormsGet200ResponseFieldsItemRadioWidgetsItem(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemSignatureWidgetsItem(t *testing.T) { t.Run("SetAnnotObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemSignatureWidgetsItem{} var fernTestValueAnnotObjectNumber int obj.SetAnnotObjectNumber(fernTestValueAnnotObjectNumber) assert.Equal(t, fernTestValueAnnotObjectNumber, obj.AnnotObjectNumber) @@ -214134,44 +218763,20 @@ func TestSettersDocFormsGet200ResponseFieldsItemRadioWidgetsItem(t *testing.T) { }) t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemSignatureWidgetsItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetOnState", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} - var fernTestValueOnState string - obj.SetOnState(fernTestValueOnState) - assert.Equal(t, fernTestValueOnState, obj.OnState) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetExportValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} - var fernTestValueExportValue string - obj.SetExportValue(fernTestValueExportValue) - assert.Equal(t, fernTestValueExportValue, obj.ExportValue) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetChecked", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} - var fernTestValueChecked bool - obj.SetChecked(fernTestValueChecked) - assert.Equal(t, fernTestValueChecked, obj.Checked) - assert.NotNil(t, obj.explicitFields) - }) - } -func TestGettersDocFormsGet200ResponseFieldsItemRadioWidgetsItem(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemSignatureWidgetsItem(t *testing.T) { t.Run("GetAnnotObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemSignatureWidgetsItem{} var expected int obj.AnnotObjectNumber = expected @@ -214181,7 +218786,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioWidgetsItem(t *testing.T) { t.Run("GetAnnotObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioWidgetsItem + var obj *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -214194,7 +218799,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioWidgetsItem(t *testing.T) { t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemSignatureWidgetsItem{} var expected int obj.PageObjectNumber = expected @@ -214204,7 +218809,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioWidgetsItem(t *testing.T) { t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioWidgetsItem + var obj *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -214214,82 +218819,13 @@ func TestGettersDocFormsGet200ResponseFieldsItemRadioWidgetsItem(t *testing.T) { _ = obj.GetPageObjectNumber() // Should return zero value }) - t.Run("GetOnState", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} - var expected string - obj.OnState = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetOnState(), "getter should return the property value") - }) - - t.Run("GetOnState_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioWidgetsItem - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetOnState() // Should return zero value - }) - - t.Run("GetExportValue", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} - var expected string - obj.ExportValue = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetExportValue(), "getter should return the property value") - }) - - t.Run("GetExportValue_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioWidgetsItem - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetExportValue() // Should return zero value - }) - - t.Run("GetChecked", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} - var expected bool - obj.Checked = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetChecked(), "getter should return the property value") - }) - - t.Run("GetChecked_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemRadioWidgetsItem - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetChecked() // Should return zero value - }) - } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioWidgetsItem(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureWidgetsItem(t *testing.T) { t.Run("SetAnnotObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemSignatureWidgetsItem{} var fernTestValueAnnotObjectNumber int // Act @@ -214320,7 +218856,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioWidgetsItem(t * t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemSignatureWidgetsItem{} var fernTestValuePageObjectNumber int // Act @@ -214348,112 +218884,19 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemRadioWidgetsItem(t * // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetOnState_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} - var fernTestValueOnState string - - // Act - obj.SetOnState(fernTestValueOnState) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetExportValue_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} - var fernTestValueExportValue string - - // Act - obj.SetExportValue(fernTestValueExportValue) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetChecked_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemRadioWidgetsItem{} - var fernTestValueChecked bool - - // Act - obj.SetChecked(fernTestValueChecked) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - } -func TestSettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemText(t *testing.T) { t.Run("SetRef", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignature{} - var fernTestValueRef *DocFormsGet200ResponseFieldsItemSignatureRef + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueRef *DocFormsGet200ResponseFieldsItemTextRef obj.SetRef(fernTestValueRef) assert.Equal(t, fernTestValueRef, obj.Ref) assert.NotNil(t, obj.explicitFields) }) t.Run("SetFieldObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignature{} + obj := &DocFormsGet200ResponseFieldsItemText{} var fernTestValueFieldObjectNumber int obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) assert.Equal(t, fernTestValueFieldObjectNumber, obj.FieldObjectNumber) @@ -214461,7 +218904,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { }) t.Run("SetName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignature{} + obj := &DocFormsGet200ResponseFieldsItemText{} var fernTestValueName string obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) @@ -214469,23 +218912,23 @@ func TestSettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { }) t.Run("SetOrigin", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignature{} - var fernTestValueOrigin DocFormsGet200ResponseFieldsItemSignatureOrigin + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueOrigin DocFormsGet200ResponseFieldsItemTextOrigin obj.SetOrigin(fernTestValueOrigin) assert.Equal(t, fernTestValueOrigin, obj.Origin) assert.NotNil(t, obj.explicitFields) }) t.Run("SetFlags", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignature{} - var fernTestValueFlags *DocFormsGet200ResponseFieldsItemSignatureFlags + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueFlags *DocFormsGet200ResponseFieldsItemTextFlags obj.SetFlags(fernTestValueFlags) assert.Equal(t, fernTestValueFlags, obj.Flags) assert.NotNil(t, obj.explicitFields) }) t.Run("SetAlternateName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignature{} + obj := &DocFormsGet200ResponseFieldsItemText{} var fernTestValueAlternateName *string obj.SetAlternateName(fernTestValueAlternateName) assert.Equal(t, fernTestValueAlternateName, obj.AlternateName) @@ -214493,7 +218936,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { }) t.Run("SetMappingName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignature{} + obj := &DocFormsGet200ResponseFieldsItemText{} var fernTestValueMappingName *string obj.SetMappingName(fernTestValueMappingName) assert.Equal(t, fernTestValueMappingName, obj.MappingName) @@ -214501,23 +218944,23 @@ func TestSettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { }) t.Run("SetValueEntry", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignature{} - var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemSignatureValueEntry + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemTextValueEntry obj.SetValueEntry(fernTestValueValueEntry) assert.Equal(t, fernTestValueValueEntry, obj.ValueEntry) assert.NotNil(t, obj.explicitFields) }) t.Run("SetDefaultValueEntry", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignature{} - var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry obj.SetDefaultValueEntry(fernTestValueDefaultValueEntry) assert.Equal(t, fernTestValueDefaultValueEntry, obj.DefaultValueEntry) assert.NotNil(t, obj.explicitFields) }) t.Run("SetActions", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignature{} + obj := &DocFormsGet200ResponseFieldsItemText{} var fernTestValueActions *PdfFieldActions obj.SetActions(fernTestValueActions) assert.Equal(t, fernTestValueActions, obj.Actions) @@ -214525,21 +218968,69 @@ func TestSettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { }) t.Run("SetWidgets", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignature{} - var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemSignatureWidgetsItem + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemTextWidgetsItem obj.SetWidgets(fernTestValueWidgets) assert.Equal(t, fernTestValueWidgets, obj.Widgets) assert.NotNil(t, obj.explicitFields) }) + t.Run("SetValue", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueValue string + obj.SetValue(fernTestValueValue) + assert.Equal(t, fernTestValueValue, obj.Value) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetDefaultValue", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueDefaultValue string + obj.SetDefaultValue(fernTestValueDefaultValue) + assert.Equal(t, fernTestValueDefaultValue, obj.DefaultValue) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetMaxLength", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueMaxLength *int + obj.SetMaxLength(fernTestValueMaxLength) + assert.Equal(t, fernTestValueMaxLength, obj.MaxLength) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetMultiline", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueMultiline bool + obj.SetMultiline(fernTestValueMultiline) + assert.Equal(t, fernTestValueMultiline, obj.Multiline) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetPassword", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValuePassword bool + obj.SetPassword(fernTestValuePassword) + assert.Equal(t, fernTestValuePassword, obj.Password) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetComb", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueComb bool + obj.SetComb(fernTestValueComb) + assert.Equal(t, fernTestValueComb, obj.Comb) + assert.NotNil(t, obj.explicitFields) + }) + } -func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemText(t *testing.T) { t.Run("GetRef", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} - var expected *DocFormsGet200ResponseFieldsItemSignatureRef + obj := &DocFormsGet200ResponseFieldsItemText{} + var expected *DocFormsGet200ResponseFieldsItemTextRef obj.Ref = expected // Act & Assert @@ -214549,7 +219040,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetRef_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} + obj := &DocFormsGet200ResponseFieldsItemText{} obj.Ref = nil // Act & Assert @@ -214558,7 +219049,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetRef_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignature + var obj *DocFormsGet200ResponseFieldsItemText // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -214571,7 +219062,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetFieldObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} + obj := &DocFormsGet200ResponseFieldsItemText{} var expected int obj.FieldObjectNumber = expected @@ -214581,7 +219072,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetFieldObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignature + var obj *DocFormsGet200ResponseFieldsItemText // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -214594,7 +219085,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} + obj := &DocFormsGet200ResponseFieldsItemText{} var expected string obj.Name = expected @@ -214604,7 +219095,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignature + var obj *DocFormsGet200ResponseFieldsItemText // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -214617,8 +219108,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetOrigin", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} - var expected DocFormsGet200ResponseFieldsItemSignatureOrigin + obj := &DocFormsGet200ResponseFieldsItemText{} + var expected DocFormsGet200ResponseFieldsItemTextOrigin obj.Origin = expected // Act & Assert @@ -214627,7 +219118,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetOrigin_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignature + var obj *DocFormsGet200ResponseFieldsItemText // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -214640,8 +219131,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetFlags", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} - var expected *DocFormsGet200ResponseFieldsItemSignatureFlags + obj := &DocFormsGet200ResponseFieldsItemText{} + var expected *DocFormsGet200ResponseFieldsItemTextFlags obj.Flags = expected // Act & Assert @@ -214651,7 +219142,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetFlags_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} + obj := &DocFormsGet200ResponseFieldsItemText{} obj.Flags = nil // Act & Assert @@ -214660,7 +219151,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetFlags_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignature + var obj *DocFormsGet200ResponseFieldsItemText // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -214673,7 +219164,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetAlternateName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} + obj := &DocFormsGet200ResponseFieldsItemText{} var expected *string obj.AlternateName = expected @@ -214684,7 +219175,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetAlternateName_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} + obj := &DocFormsGet200ResponseFieldsItemText{} obj.AlternateName = nil // Act & Assert @@ -214693,7 +219184,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetAlternateName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignature + var obj *DocFormsGet200ResponseFieldsItemText // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -214706,7 +219197,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetMappingName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} + obj := &DocFormsGet200ResponseFieldsItemText{} var expected *string obj.MappingName = expected @@ -214717,7 +219208,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetMappingName_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} + obj := &DocFormsGet200ResponseFieldsItemText{} obj.MappingName = nil // Act & Assert @@ -214726,7 +219217,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetMappingName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignature + var obj *DocFormsGet200ResponseFieldsItemText // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -214739,8 +219230,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetValueEntry", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} - var expected *DocFormsGet200ResponseFieldsItemSignatureValueEntry + obj := &DocFormsGet200ResponseFieldsItemText{} + var expected *DocFormsGet200ResponseFieldsItemTextValueEntry obj.ValueEntry = expected // Act & Assert @@ -214750,7 +219241,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetValueEntry_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} + obj := &DocFormsGet200ResponseFieldsItemText{} obj.ValueEntry = nil // Act & Assert @@ -214759,7 +219250,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetValueEntry_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignature + var obj *DocFormsGet200ResponseFieldsItemText // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -214772,8 +219263,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetDefaultValueEntry", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} - var expected *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry + obj := &DocFormsGet200ResponseFieldsItemText{} + var expected *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry obj.DefaultValueEntry = expected // Act & Assert @@ -214783,7 +219274,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetDefaultValueEntry_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} + obj := &DocFormsGet200ResponseFieldsItemText{} obj.DefaultValueEntry = nil // Act & Assert @@ -214792,7 +219283,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetDefaultValueEntry_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignature + var obj *DocFormsGet200ResponseFieldsItemText // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -214805,7 +219296,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetActions", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} + obj := &DocFormsGet200ResponseFieldsItemText{} var expected *PdfFieldActions obj.Actions = expected @@ -214816,7 +219307,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetActions_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} + obj := &DocFormsGet200ResponseFieldsItemText{} obj.Actions = nil // Act & Assert @@ -214825,7 +219316,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetActions_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignature + var obj *DocFormsGet200ResponseFieldsItemText // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -214838,8 +219329,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetWidgets", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} - var expected []*DocFormsGet200ResponseFieldsItemSignatureWidgetsItem + obj := &DocFormsGet200ResponseFieldsItemText{} + var expected []*DocFormsGet200ResponseFieldsItemTextWidgetsItem obj.Widgets = expected // Act & Assert @@ -214849,7 +219340,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetWidgets_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} + obj := &DocFormsGet200ResponseFieldsItemText{} obj.Widgets = nil // Act & Assert @@ -214858,7 +219349,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { t.Run("GetWidgets_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignature + var obj *DocFormsGet200ResponseFieldsItemText // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -214868,14 +219359,162 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { _ = obj.GetWidgets() // Should return zero value }) + t.Run("GetValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemText{} + var expected string + obj.Value = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetValue(), "getter should return the property value") + }) + + t.Run("GetValue_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemText + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetValue() // Should return zero value + }) + + t.Run("GetDefaultValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemText{} + var expected string + obj.DefaultValue = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetDefaultValue(), "getter should return the property value") + }) + + t.Run("GetDefaultValue_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemText + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetDefaultValue() // Should return zero value + }) + + t.Run("GetMaxLength", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemText{} + var expected *int + obj.MaxLength = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetMaxLength(), "getter should return the property value") + }) + + t.Run("GetMaxLength_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemText{} + obj.MaxLength = nil + + // Act & Assert + assert.Nil(t, obj.GetMaxLength(), "getter should return nil when property is nil") + }) + + t.Run("GetMaxLength_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemText + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetMaxLength() // Should return zero value + }) + + t.Run("GetMultiline", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemText{} + var expected bool + obj.Multiline = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetMultiline(), "getter should return the property value") + }) + + t.Run("GetMultiline_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemText + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetMultiline() // Should return zero value + }) + + t.Run("GetPassword", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemText{} + var expected bool + obj.Password = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetPassword(), "getter should return the property value") + }) + + t.Run("GetPassword_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemText + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetPassword() // Should return zero value + }) + + t.Run("GetComb", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemText{} + var expected bool + obj.Comb = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetComb(), "getter should return the property value") + }) + + t.Run("GetComb_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemText + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetComb() // Should return zero value + }) + } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignature(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemText(t *testing.T) { t.Run("SetRef_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} - var fernTestValueRef *DocFormsGet200ResponseFieldsItemSignatureRef + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueRef *DocFormsGet200ResponseFieldsItemTextRef // Act obj.SetRef(fernTestValueRef) @@ -214905,7 +219544,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignature(t *testing t.Run("SetFieldObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} + obj := &DocFormsGet200ResponseFieldsItemText{} var fernTestValueFieldObjectNumber int // Act @@ -214936,7 +219575,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignature(t *testing t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} + obj := &DocFormsGet200ResponseFieldsItemText{} var fernTestValueName string // Act @@ -214967,8 +219606,8 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignature(t *testing t.Run("SetOrigin_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} - var fernTestValueOrigin DocFormsGet200ResponseFieldsItemSignatureOrigin + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueOrigin DocFormsGet200ResponseFieldsItemTextOrigin // Act obj.SetOrigin(fernTestValueOrigin) @@ -214998,8 +219637,8 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignature(t *testing t.Run("SetFlags_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} - var fernTestValueFlags *DocFormsGet200ResponseFieldsItemSignatureFlags + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueFlags *DocFormsGet200ResponseFieldsItemTextFlags // Act obj.SetFlags(fernTestValueFlags) @@ -215029,7 +219668,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignature(t *testing t.Run("SetAlternateName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} + obj := &DocFormsGet200ResponseFieldsItemText{} var fernTestValueAlternateName *string // Act @@ -215060,11 +219699,197 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignature(t *testing t.Run("SetMappingName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} + obj := &DocFormsGet200ResponseFieldsItemText{} var fernTestValueMappingName *string // Act - obj.SetMappingName(fernTestValueMappingName) + obj.SetMappingName(fernTestValueMappingName) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetValueEntry_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemTextValueEntry + + // Act + obj.SetValueEntry(fernTestValueValueEntry) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetDefaultValueEntry_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry + + // Act + obj.SetDefaultValueEntry(fernTestValueDefaultValueEntry) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetActions_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueActions *PdfFieldActions + + // Act + obj.SetActions(fernTestValueActions) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetWidgets_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemTextWidgetsItem + + // Act + obj.SetWidgets(fernTestValueWidgets) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetValue_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueValue string + + // Act + obj.SetValue(fernTestValueValue) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetDefaultValue_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueDefaultValue string + + // Act + obj.SetDefaultValue(fernTestValueDefaultValue) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -215088,14 +219913,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignature(t *testing // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetValueEntry_MarksExplicit", func(t *testing.T) { + t.Run("SetMaxLength_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} - var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemSignatureValueEntry + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueMaxLength *int // Act - obj.SetValueEntry(fernTestValueValueEntry) + obj.SetMaxLength(fernTestValueMaxLength) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -215119,14 +219944,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignature(t *testing // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetDefaultValueEntry_MarksExplicit", func(t *testing.T) { + t.Run("SetMultiline_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} - var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueMultiline bool // Act - obj.SetDefaultValueEntry(fernTestValueDefaultValueEntry) + obj.SetMultiline(fernTestValueMultiline) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -215150,14 +219975,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignature(t *testing // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetActions_MarksExplicit", func(t *testing.T) { + t.Run("SetPassword_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} - var fernTestValueActions *PdfFieldActions + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValuePassword bool // Act - obj.SetActions(fernTestValueActions) + obj.SetPassword(fernTestValuePassword) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -215181,14 +220006,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignature(t *testing // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetWidgets_MarksExplicit", func(t *testing.T) { + t.Run("SetComb_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignature{} - var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemSignatureWidgetsItem + obj := &DocFormsGet200ResponseFieldsItemText{} + var fernTestValueComb bool // Act - obj.SetWidgets(fernTestValueWidgets) + obj.SetComb(fernTestValueComb) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -215214,11 +220039,11 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignature(t *testing } -func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemTextDefaultValueEntry(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntry{} var expected string obj.Kind = expected @@ -215228,7 +220053,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry(t *te t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -215241,8 +220066,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry(t *te t.Run("GetNone", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryNone + obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone obj.None = expected // Act & Assert @@ -215252,7 +220077,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry(t *te t.Run("GetNone_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntry{} obj.None = nil // Act & Assert @@ -215261,7 +220086,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry(t *te t.Run("GetNone_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -215274,8 +220099,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry(t *te t.Run("GetScalar", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar + obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar obj.Scalar = expected // Act & Assert @@ -215285,7 +220110,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry(t *te t.Run("GetScalar_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntry{} obj.Scalar = nil // Act & Assert @@ -215294,7 +220119,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry(t *te t.Run("GetScalar_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -215307,8 +220132,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry(t *te t.Run("GetArray", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray + obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray obj.Array = expected // Act & Assert @@ -215318,7 +220143,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry(t *te t.Run("GetArray_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntry{} obj.Array = nil // Act & Assert @@ -215327,7 +220152,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry(t *te t.Run("GetArray_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -215340,8 +220165,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry(t *te t.Run("GetUnsupported", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryUnsupported + obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported obj.Unsupported = expected // Act & Assert @@ -215351,7 +220176,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry(t *te t.Run("GetUnsupported_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntry{} obj.Unsupported = nil // Act & Assert @@ -215360,7 +220185,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry(t *te t.Run("GetUnsupported_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry + var obj *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -215372,9 +220197,9 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntry(t *te } -func TestSettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray(t *testing.T) { t.Run("SetValues", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray{} var fernTestValueValues []string obj.SetValues(fernTestValueValues) assert.Equal(t, fernTestValueValues, obj.Values) @@ -215383,11 +220208,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray( } -func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray(t *testing.T) { t.Run("GetValues", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray{} var expected []string obj.Values = expected @@ -215398,7 +220223,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray( t.Run("GetValues_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray{} obj.Values = nil // Act & Assert @@ -215407,7 +220232,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray( t.Run("GetValues_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray + var obj *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -215419,11 +220244,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray( } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray(t *testing.T) { t.Run("SetValues_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray{} var fernTestValueValues []string // Act @@ -215453,9 +220278,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureDefaultValu } -func TestSettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar(t *testing.T) { t.Run("SetValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar{} var fernTestValueValue string obj.SetValue(fernTestValueValue) assert.Equal(t, fernTestValueValue, obj.Value) @@ -215464,11 +220289,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar } -func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar(t *testing.T) { t.Run("GetValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar{} var expected string obj.Value = expected @@ -215478,7 +220303,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar t.Run("GetValue_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar + var obj *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -215490,11 +220315,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar(t *testing.T) { t.Run("SetValue_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureDefaultValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar{} var fernTestValueValue string // Act @@ -215524,9 +220349,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureDefaultValu } -func TestSettersDocFormsGet200ResponseFieldsItemSignatureFlags(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemTextFlags(t *testing.T) { t.Run("SetReadOnly", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} + obj := &DocFormsGet200ResponseFieldsItemTextFlags{} var fernTestValueReadOnly bool obj.SetReadOnly(fernTestValueReadOnly) assert.Equal(t, fernTestValueReadOnly, obj.ReadOnly) @@ -215534,7 +220359,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemSignatureFlags(t *testing.T) { }) t.Run("SetRequired", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} + obj := &DocFormsGet200ResponseFieldsItemTextFlags{} var fernTestValueRequired bool obj.SetRequired(fernTestValueRequired) assert.Equal(t, fernTestValueRequired, obj.Required) @@ -215542,7 +220367,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemSignatureFlags(t *testing.T) { }) t.Run("SetNoExport", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} + obj := &DocFormsGet200ResponseFieldsItemTextFlags{} var fernTestValueNoExport bool obj.SetNoExport(fernTestValueNoExport) assert.Equal(t, fernTestValueNoExport, obj.NoExport) @@ -215550,7 +220375,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemSignatureFlags(t *testing.T) { }) t.Run("SetRaw", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} + obj := &DocFormsGet200ResponseFieldsItemTextFlags{} var fernTestValueRaw int obj.SetRaw(fernTestValueRaw) assert.Equal(t, fernTestValueRaw, obj.Raw) @@ -215559,11 +220384,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemSignatureFlags(t *testing.T) { } -func TestGettersDocFormsGet200ResponseFieldsItemSignatureFlags(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemTextFlags(t *testing.T) { t.Run("GetReadOnly", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} + obj := &DocFormsGet200ResponseFieldsItemTextFlags{} var expected bool obj.ReadOnly = expected @@ -215573,7 +220398,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureFlags(t *testing.T) { t.Run("GetReadOnly_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureFlags + var obj *DocFormsGet200ResponseFieldsItemTextFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -215586,7 +220411,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureFlags(t *testing.T) { t.Run("GetRequired", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} + obj := &DocFormsGet200ResponseFieldsItemTextFlags{} var expected bool obj.Required = expected @@ -215596,7 +220421,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureFlags(t *testing.T) { t.Run("GetRequired_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureFlags + var obj *DocFormsGet200ResponseFieldsItemTextFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -215609,7 +220434,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureFlags(t *testing.T) { t.Run("GetNoExport", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} + obj := &DocFormsGet200ResponseFieldsItemTextFlags{} var expected bool obj.NoExport = expected @@ -215619,7 +220444,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureFlags(t *testing.T) { t.Run("GetNoExport_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureFlags + var obj *DocFormsGet200ResponseFieldsItemTextFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -215632,7 +220457,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureFlags(t *testing.T) { t.Run("GetRaw", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} + obj := &DocFormsGet200ResponseFieldsItemTextFlags{} var expected int obj.Raw = expected @@ -215642,7 +220467,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureFlags(t *testing.T) { t.Run("GetRaw_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureFlags + var obj *DocFormsGet200ResponseFieldsItemTextFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -215654,11 +220479,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureFlags(t *testing.T) { } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureFlags(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextFlags(t *testing.T) { t.Run("SetReadOnly_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} + obj := &DocFormsGet200ResponseFieldsItemTextFlags{} var fernTestValueReadOnly bool // Act @@ -215689,7 +220514,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureFlags(t *te t.Run("SetRequired_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} + obj := &DocFormsGet200ResponseFieldsItemTextFlags{} var fernTestValueRequired bool // Act @@ -215720,7 +220545,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureFlags(t *te t.Run("SetNoExport_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} + obj := &DocFormsGet200ResponseFieldsItemTextFlags{} var fernTestValueNoExport bool // Act @@ -215751,7 +220576,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureFlags(t *te t.Run("SetRaw_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureFlags{} + obj := &DocFormsGet200ResponseFieldsItemTextFlags{} var fernTestValueRaw int // Act @@ -215781,11 +220606,11 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureFlags(t *te } -func TestGettersDocFormsGet200ResponseFieldsItemSignatureRef(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemTextRef(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureRef{} + obj := &DocFormsGet200ResponseFieldsItemTextRef{} var expected string obj.Kind = expected @@ -215795,7 +220620,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureRef(t *testing.T) { t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureRef + var obj *DocFormsGet200ResponseFieldsItemTextRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -215808,8 +220633,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureRef(t *testing.T) { t.Run("GetObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureRef{} - var expected *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber + obj := &DocFormsGet200ResponseFieldsItemTextRef{} + var expected *DocFormsGet200ResponseFieldsItemTextRefObjectNumber obj.ObjectNumber = expected // Act & Assert @@ -215819,7 +220644,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureRef(t *testing.T) { t.Run("GetObjectNumber_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureRef{} + obj := &DocFormsGet200ResponseFieldsItemTextRef{} obj.ObjectNumber = nil // Act & Assert @@ -215828,7 +220653,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureRef(t *testing.T) { t.Run("GetObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureRef + var obj *DocFormsGet200ResponseFieldsItemTextRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -215841,8 +220666,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureRef(t *testing.T) { t.Run("GetFqn", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureRef{} - var expected *DocFormsGet200ResponseFieldsItemSignatureRefFqn + obj := &DocFormsGet200ResponseFieldsItemTextRef{} + var expected *DocFormsGet200ResponseFieldsItemTextRefFqn obj.Fqn = expected // Act & Assert @@ -215852,7 +220677,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureRef(t *testing.T) { t.Run("GetFqn_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureRef{} + obj := &DocFormsGet200ResponseFieldsItemTextRef{} obj.Fqn = nil // Act & Assert @@ -215861,7 +220686,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureRef(t *testing.T) { t.Run("GetFqn_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureRef + var obj *DocFormsGet200ResponseFieldsItemTextRef // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -215873,9 +220698,9 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureRef(t *testing.T) { } -func TestSettersDocFormsGet200ResponseFieldsItemSignatureRefFqn(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemTextRefFqn(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignatureRefFqn{} + obj := &DocFormsGet200ResponseFieldsItemTextRefFqn{} var fernTestValueName string obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) @@ -215884,11 +220709,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemSignatureRefFqn(t *testing.T) { } -func TestGettersDocFormsGet200ResponseFieldsItemSignatureRefFqn(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemTextRefFqn(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureRefFqn{} + obj := &DocFormsGet200ResponseFieldsItemTextRefFqn{} var expected string obj.Name = expected @@ -215898,7 +220723,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureRefFqn(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureRefFqn + var obj *DocFormsGet200ResponseFieldsItemTextRefFqn // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -215910,11 +220735,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureRefFqn(t *testing.T) { } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureRefFqn(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextRefFqn(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureRefFqn{} + obj := &DocFormsGet200ResponseFieldsItemTextRefFqn{} var fernTestValueName string // Act @@ -215944,9 +220769,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureRefFqn(t *t } -func TestSettersDocFormsGet200ResponseFieldsItemSignatureRefObjectNumber(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemTextRefObjectNumber(t *testing.T) { t.Run("SetFieldObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber{} + obj := &DocFormsGet200ResponseFieldsItemTextRefObjectNumber{} var fernTestValueFieldObjectNumber int obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) assert.Equal(t, fernTestValueFieldObjectNumber, obj.FieldObjectNumber) @@ -215955,11 +220780,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemSignatureRefObjectNumber(t *test } -func TestGettersDocFormsGet200ResponseFieldsItemSignatureRefObjectNumber(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemTextRefObjectNumber(t *testing.T) { t.Run("GetFieldObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber{} + obj := &DocFormsGet200ResponseFieldsItemTextRefObjectNumber{} var expected int obj.FieldObjectNumber = expected @@ -215969,7 +220794,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureRefObjectNumber(t *test t.Run("GetFieldObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber + var obj *DocFormsGet200ResponseFieldsItemTextRefObjectNumber // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -215981,11 +220806,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureRefObjectNumber(t *test } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureRefObjectNumber(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextRefObjectNumber(t *testing.T) { t.Run("SetFieldObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureRefObjectNumber{} + obj := &DocFormsGet200ResponseFieldsItemTextRefObjectNumber{} var fernTestValueFieldObjectNumber int // Act @@ -216015,11 +220840,11 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureRefObjectNu } -func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntry(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemTextValueEntry(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemTextValueEntry{} var expected string obj.Kind = expected @@ -216029,7 +220854,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntry(t *testing.T t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureValueEntry + var obj *DocFormsGet200ResponseFieldsItemTextValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -216042,8 +220867,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntry(t *testing.T t.Run("GetNone", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemSignatureValueEntryNone + obj := &DocFormsGet200ResponseFieldsItemTextValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemTextValueEntryNone obj.None = expected // Act & Assert @@ -216053,7 +220878,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntry(t *testing.T t.Run("GetNone_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemTextValueEntry{} obj.None = nil // Act & Assert @@ -216062,7 +220887,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntry(t *testing.T t.Run("GetNone_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureValueEntry + var obj *DocFormsGet200ResponseFieldsItemTextValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -216075,8 +220900,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntry(t *testing.T t.Run("GetScalar", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar + obj := &DocFormsGet200ResponseFieldsItemTextValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemTextValueEntryScalar obj.Scalar = expected // Act & Assert @@ -216086,7 +220911,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntry(t *testing.T t.Run("GetScalar_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemTextValueEntry{} obj.Scalar = nil // Act & Assert @@ -216095,7 +220920,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntry(t *testing.T t.Run("GetScalar_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureValueEntry + var obj *DocFormsGet200ResponseFieldsItemTextValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -216108,8 +220933,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntry(t *testing.T t.Run("GetArray", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray + obj := &DocFormsGet200ResponseFieldsItemTextValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemTextValueEntryArray obj.Array = expected // Act & Assert @@ -216119,7 +220944,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntry(t *testing.T t.Run("GetArray_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemTextValueEntry{} obj.Array = nil // Act & Assert @@ -216128,7 +220953,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntry(t *testing.T t.Run("GetArray_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureValueEntry + var obj *DocFormsGet200ResponseFieldsItemTextValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -216141,8 +220966,8 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntry(t *testing.T t.Run("GetUnsupported", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemSignatureValueEntryUnsupported + obj := &DocFormsGet200ResponseFieldsItemTextValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported obj.Unsupported = expected // Act & Assert @@ -216152,7 +220977,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntry(t *testing.T t.Run("GetUnsupported_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntry{} + obj := &DocFormsGet200ResponseFieldsItemTextValueEntry{} obj.Unsupported = nil // Act & Assert @@ -216161,7 +220986,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntry(t *testing.T t.Run("GetUnsupported_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureValueEntry + var obj *DocFormsGet200ResponseFieldsItemTextValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -216173,9 +220998,9 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntry(t *testing.T } -func TestSettersDocFormsGet200ResponseFieldsItemSignatureValueEntryArray(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemTextValueEntryArray(t *testing.T) { t.Run("SetValues", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemTextValueEntryArray{} var fernTestValueValues []string obj.SetValues(fernTestValueValues) assert.Equal(t, fernTestValueValues, obj.Values) @@ -216184,11 +221009,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemSignatureValueEntryArray(t *test } -func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntryArray(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemTextValueEntryArray(t *testing.T) { t.Run("GetValues", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemTextValueEntryArray{} var expected []string obj.Values = expected @@ -216199,7 +221024,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntryArray(t *test t.Run("GetValues_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemTextValueEntryArray{} obj.Values = nil // Act & Assert @@ -216208,7 +221033,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntryArray(t *test t.Run("GetValues_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureValueEntryArray + var obj *DocFormsGet200ResponseFieldsItemTextValueEntryArray // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -216220,11 +221045,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntryArray(t *test } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureValueEntryArray(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextValueEntryArray(t *testing.T) { t.Run("SetValues_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntryArray{} + obj := &DocFormsGet200ResponseFieldsItemTextValueEntryArray{} var fernTestValueValues []string // Act @@ -216254,9 +221079,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureValueEntryA } -func TestSettersDocFormsGet200ResponseFieldsItemSignatureValueEntryScalar(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemTextValueEntryScalar(t *testing.T) { t.Run("SetValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemTextValueEntryScalar{} var fernTestValueValue string obj.SetValue(fernTestValueValue) assert.Equal(t, fernTestValueValue, obj.Value) @@ -216265,11 +221090,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemSignatureValueEntryScalar(t *tes } -func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntryScalar(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemTextValueEntryScalar(t *testing.T) { t.Run("GetValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemTextValueEntryScalar{} var expected string obj.Value = expected @@ -216279,7 +221104,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntryScalar(t *tes t.Run("GetValue_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar + var obj *DocFormsGet200ResponseFieldsItemTextValueEntryScalar // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -216291,11 +221116,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureValueEntryScalar(t *tes } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureValueEntryScalar(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextValueEntryScalar(t *testing.T) { t.Run("SetValue_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureValueEntryScalar{} + obj := &DocFormsGet200ResponseFieldsItemTextValueEntryScalar{} var fernTestValueValue string // Act @@ -216325,9 +221150,9 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureValueEntryS } -func TestSettersDocFormsGet200ResponseFieldsItemSignatureWidgetsItem(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemTextWidgetsItem(t *testing.T) { t.Run("SetAnnotObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignatureWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemTextWidgetsItem{} var fernTestValueAnnotObjectNumber int obj.SetAnnotObjectNumber(fernTestValueAnnotObjectNumber) assert.Equal(t, fernTestValueAnnotObjectNumber, obj.AnnotObjectNumber) @@ -216335,7 +221160,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemSignatureWidgetsItem(t *testing. }) t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemSignatureWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemTextWidgetsItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -216344,11 +221169,11 @@ func TestSettersDocFormsGet200ResponseFieldsItemSignatureWidgetsItem(t *testing. } -func TestGettersDocFormsGet200ResponseFieldsItemSignatureWidgetsItem(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemTextWidgetsItem(t *testing.T) { t.Run("GetAnnotObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemTextWidgetsItem{} var expected int obj.AnnotObjectNumber = expected @@ -216358,7 +221183,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureWidgetsItem(t *testing. t.Run("GetAnnotObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem + var obj *DocFormsGet200ResponseFieldsItemTextWidgetsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -216371,7 +221196,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureWidgetsItem(t *testing. t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemTextWidgetsItem{} var expected int obj.PageObjectNumber = expected @@ -216381,7 +221206,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureWidgetsItem(t *testing. t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemSignatureWidgetsItem + var obj *DocFormsGet200ResponseFieldsItemTextWidgetsItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -216393,11 +221218,11 @@ func TestGettersDocFormsGet200ResponseFieldsItemSignatureWidgetsItem(t *testing. } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureWidgetsItem(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextWidgetsItem(t *testing.T) { t.Run("SetAnnotObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemTextWidgetsItem{} var fernTestValueAnnotObjectNumber int // Act @@ -216428,7 +221253,7 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureWidgetsItem t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemSignatureWidgetsItem{} + obj := &DocFormsGet200ResponseFieldsItemTextWidgetsItem{} var fernTestValuePageObjectNumber int // Act @@ -216458,17 +221283,17 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemSignatureWidgetsItem } -func TestSettersDocFormsGet200ResponseFieldsItemText(t *testing.T) { +func TestSettersDocFormsGet200ResponseFieldsItemUnknown(t *testing.T) { t.Run("SetRef", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueRef *DocFormsGet200ResponseFieldsItemTextRef + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var fernTestValueRef *DocFormsGet200ResponseFieldsItemUnknownRef obj.SetRef(fernTestValueRef) assert.Equal(t, fernTestValueRef, obj.Ref) assert.NotNil(t, obj.explicitFields) }) t.Run("SetFieldObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemText{} + obj := &DocFormsGet200ResponseFieldsItemUnknown{} var fernTestValueFieldObjectNumber int obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) assert.Equal(t, fernTestValueFieldObjectNumber, obj.FieldObjectNumber) @@ -216476,7 +221301,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemText(t *testing.T) { }) t.Run("SetName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemText{} + obj := &DocFormsGet200ResponseFieldsItemUnknown{} var fernTestValueName string obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) @@ -216484,23 +221309,23 @@ func TestSettersDocFormsGet200ResponseFieldsItemText(t *testing.T) { }) t.Run("SetOrigin", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueOrigin DocFormsGet200ResponseFieldsItemTextOrigin + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var fernTestValueOrigin DocFormsGet200ResponseFieldsItemUnknownOrigin obj.SetOrigin(fernTestValueOrigin) assert.Equal(t, fernTestValueOrigin, obj.Origin) assert.NotNil(t, obj.explicitFields) }) t.Run("SetFlags", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueFlags *DocFormsGet200ResponseFieldsItemTextFlags + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var fernTestValueFlags *DocFormsGet200ResponseFieldsItemUnknownFlags obj.SetFlags(fernTestValueFlags) assert.Equal(t, fernTestValueFlags, obj.Flags) assert.NotNil(t, obj.explicitFields) }) t.Run("SetAlternateName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemText{} + obj := &DocFormsGet200ResponseFieldsItemUnknown{} var fernTestValueAlternateName *string obj.SetAlternateName(fernTestValueAlternateName) assert.Equal(t, fernTestValueAlternateName, obj.AlternateName) @@ -216508,7 +221333,7 @@ func TestSettersDocFormsGet200ResponseFieldsItemText(t *testing.T) { }) t.Run("SetMappingName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemText{} + obj := &DocFormsGet200ResponseFieldsItemUnknown{} var fernTestValueMappingName *string obj.SetMappingName(fernTestValueMappingName) assert.Equal(t, fernTestValueMappingName, obj.MappingName) @@ -216516,23 +221341,23 @@ func TestSettersDocFormsGet200ResponseFieldsItemText(t *testing.T) { }) t.Run("SetValueEntry", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemTextValueEntry + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemUnknownValueEntry obj.SetValueEntry(fernTestValueValueEntry) assert.Equal(t, fernTestValueValueEntry, obj.ValueEntry) assert.NotNil(t, obj.explicitFields) }) t.Run("SetDefaultValueEntry", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry obj.SetDefaultValueEntry(fernTestValueDefaultValueEntry) assert.Equal(t, fernTestValueDefaultValueEntry, obj.DefaultValueEntry) assert.NotNil(t, obj.explicitFields) }) t.Run("SetActions", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemText{} + obj := &DocFormsGet200ResponseFieldsItemUnknown{} var fernTestValueActions *PdfFieldActions obj.SetActions(fernTestValueActions) assert.Equal(t, fernTestValueActions, obj.Actions) @@ -216540,69 +221365,29 @@ func TestSettersDocFormsGet200ResponseFieldsItemText(t *testing.T) { }) t.Run("SetWidgets", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemTextWidgetsItem + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemUnknownWidgetsItem obj.SetWidgets(fernTestValueWidgets) assert.Equal(t, fernTestValueWidgets, obj.Widgets) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueValue string - obj.SetValue(fernTestValueValue) - assert.Equal(t, fernTestValueValue, obj.Value) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetDefaultValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueDefaultValue string - obj.SetDefaultValue(fernTestValueDefaultValue) - assert.Equal(t, fernTestValueDefaultValue, obj.DefaultValue) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetMaxLength", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueMaxLength *int - obj.SetMaxLength(fernTestValueMaxLength) - assert.Equal(t, fernTestValueMaxLength, obj.MaxLength) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetMultiline", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueMultiline bool - obj.SetMultiline(fernTestValueMultiline) - assert.Equal(t, fernTestValueMultiline, obj.Multiline) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetPassword", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValuePassword bool - obj.SetPassword(fernTestValuePassword) - assert.Equal(t, fernTestValuePassword, obj.Password) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetComb", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueComb bool - obj.SetComb(fernTestValueComb) - assert.Equal(t, fernTestValueComb, obj.Comb) + t.Run("SetRawValue", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var fernTestValueRawValue string + obj.SetRawValue(fernTestValueRawValue) + assert.Equal(t, fernTestValueRawValue, obj.RawValue) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocFormsGet200ResponseFieldsItemText(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemUnknown(t *testing.T) { t.Run("GetRef", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var expected *DocFormsGet200ResponseFieldsItemTextRef + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var expected *DocFormsGet200ResponseFieldsItemUnknownRef obj.Ref = expected // Act & Assert @@ -216612,7 +221397,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemText(t *testing.T) { t.Run("GetRef_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} + obj := &DocFormsGet200ResponseFieldsItemUnknown{} obj.Ref = nil // Act & Assert @@ -216621,7 +221406,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemText(t *testing.T) { t.Run("GetRef_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemText + var obj *DocFormsGet200ResponseFieldsItemUnknown // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -216634,7 +221419,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemText(t *testing.T) { t.Run("GetFieldObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} + obj := &DocFormsGet200ResponseFieldsItemUnknown{} var expected int obj.FieldObjectNumber = expected @@ -216644,7 +221429,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemText(t *testing.T) { t.Run("GetFieldObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemText + var obj *DocFormsGet200ResponseFieldsItemUnknown // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -216654,287 +221439,938 @@ func TestGettersDocFormsGet200ResponseFieldsItemText(t *testing.T) { _ = obj.GetFieldObjectNumber() // Should return zero value }) - t.Run("GetName", func(t *testing.T) { + t.Run("GetName", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var expected string + obj.Name = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetName(), "getter should return the property value") + }) + + t.Run("GetName_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknown + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetName() // Should return zero value + }) + + t.Run("GetOrigin", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var expected DocFormsGet200ResponseFieldsItemUnknownOrigin + obj.Origin = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetOrigin(), "getter should return the property value") + }) + + t.Run("GetOrigin_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknown + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetOrigin() // Should return zero value + }) + + t.Run("GetFlags", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var expected *DocFormsGet200ResponseFieldsItemUnknownFlags + obj.Flags = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetFlags(), "getter should return the property value") + }) + + t.Run("GetFlags_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + obj.Flags = nil + + // Act & Assert + assert.Nil(t, obj.GetFlags(), "getter should return nil when property is nil") + }) + + t.Run("GetFlags_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknown + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetFlags() // Should return zero value + }) + + t.Run("GetAlternateName", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var expected *string + obj.AlternateName = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetAlternateName(), "getter should return the property value") + }) + + t.Run("GetAlternateName_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + obj.AlternateName = nil + + // Act & Assert + assert.Nil(t, obj.GetAlternateName(), "getter should return nil when property is nil") + }) + + t.Run("GetAlternateName_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknown + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetAlternateName() // Should return zero value + }) + + t.Run("GetMappingName", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var expected *string + obj.MappingName = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetMappingName(), "getter should return the property value") + }) + + t.Run("GetMappingName_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + obj.MappingName = nil + + // Act & Assert + assert.Nil(t, obj.GetMappingName(), "getter should return nil when property is nil") + }) + + t.Run("GetMappingName_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknown + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetMappingName() // Should return zero value + }) + + t.Run("GetValueEntry", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var expected *DocFormsGet200ResponseFieldsItemUnknownValueEntry + obj.ValueEntry = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetValueEntry(), "getter should return the property value") + }) + + t.Run("GetValueEntry_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + obj.ValueEntry = nil + + // Act & Assert + assert.Nil(t, obj.GetValueEntry(), "getter should return nil when property is nil") + }) + + t.Run("GetValueEntry_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknown + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetValueEntry() // Should return zero value + }) + + t.Run("GetDefaultValueEntry", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var expected *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry + obj.DefaultValueEntry = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetDefaultValueEntry(), "getter should return the property value") + }) + + t.Run("GetDefaultValueEntry_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + obj.DefaultValueEntry = nil + + // Act & Assert + assert.Nil(t, obj.GetDefaultValueEntry(), "getter should return nil when property is nil") + }) + + t.Run("GetDefaultValueEntry_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknown + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetDefaultValueEntry() // Should return zero value + }) + + t.Run("GetActions", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var expected *PdfFieldActions + obj.Actions = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetActions(), "getter should return the property value") + }) + + t.Run("GetActions_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + obj.Actions = nil + + // Act & Assert + assert.Nil(t, obj.GetActions(), "getter should return nil when property is nil") + }) + + t.Run("GetActions_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknown + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetActions() // Should return zero value + }) + + t.Run("GetWidgets", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var expected []*DocFormsGet200ResponseFieldsItemUnknownWidgetsItem + obj.Widgets = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetWidgets(), "getter should return the property value") + }) + + t.Run("GetWidgets_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + obj.Widgets = nil + + // Act & Assert + assert.Nil(t, obj.GetWidgets(), "getter should return nil when property is nil") + }) + + t.Run("GetWidgets_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknown + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetWidgets() // Should return zero value + }) + + t.Run("GetRawValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var expected string + obj.RawValue = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetRawValue(), "getter should return the property value") + }) + + t.Run("GetRawValue_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknown + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetRawValue() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknown(t *testing.T) { + t.Run("SetRef_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var fernTestValueRef *DocFormsGet200ResponseFieldsItemUnknownRef + + // Act + obj.SetRef(fernTestValueRef) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetFieldObjectNumber_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var fernTestValueFieldObjectNumber int + + // Act + obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetName_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var fernTestValueName string + + // Act + obj.SetName(fernTestValueName) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetOrigin_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var fernTestValueOrigin DocFormsGet200ResponseFieldsItemUnknownOrigin + + // Act + obj.SetOrigin(fernTestValueOrigin) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetFlags_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var fernTestValueFlags *DocFormsGet200ResponseFieldsItemUnknownFlags + + // Act + obj.SetFlags(fernTestValueFlags) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetAlternateName_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var fernTestValueAlternateName *string + + // Act + obj.SetAlternateName(fernTestValueAlternateName) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetMappingName_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var fernTestValueMappingName *string + + // Act + obj.SetMappingName(fernTestValueMappingName) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetValueEntry_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemUnknownValueEntry + + // Act + obj.SetValueEntry(fernTestValueValueEntry) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetDefaultValueEntry_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry + + // Act + obj.SetDefaultValueEntry(fernTestValueDefaultValueEntry) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetActions_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var fernTestValueActions *PdfFieldActions + + // Act + obj.SetActions(fernTestValueActions) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetWidgets_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemUnknownWidgetsItem + + // Act + obj.SetWidgets(fernTestValueWidgets) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetRawValue_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var expected string - obj.Name = expected + obj := &DocFormsGet200ResponseFieldsItemUnknown{} + var fernTestValueRawValue string - // Act & Assert - assert.Equal(t, expected, obj.GetName(), "getter should return the property value") - }) + // Act + obj.SetRawValue(fernTestValueRawValue) - t.Run("GetName_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemText - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetName() // Should return zero value + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("GetOrigin", func(t *testing.T) { +} + +func TestGettersDocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry(t *testing.T) { + t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var expected DocFormsGet200ResponseFieldsItemTextOrigin - obj.Origin = expected + obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry{} + var expected string + obj.Kind = expected // Act & Assert - assert.Equal(t, expected, obj.GetOrigin(), "getter should return the property value") + assert.Equal(t, expected, obj.GetKind(), "getter should return the property value") }) - t.Run("GetOrigin_NilReceiver", func(t *testing.T) { + t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemText + var obj *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetOrigin() // Should return zero value + _ = obj.GetKind() // Should return zero value }) - t.Run("GetFlags", func(t *testing.T) { + t.Run("GetNone", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var expected *DocFormsGet200ResponseFieldsItemTextFlags - obj.Flags = expected + obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone + obj.None = expected // Act & Assert - assert.Equal(t, expected, obj.GetFlags(), "getter should return the property value") + assert.Equal(t, expected, obj.GetNone(), "getter should return the property value") }) - t.Run("GetFlags_NilValue", func(t *testing.T) { + t.Run("GetNone_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - obj.Flags = nil + obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry{} + obj.None = nil // Act & Assert - assert.Nil(t, obj.GetFlags(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetNone(), "getter should return nil when property is nil") }) - t.Run("GetFlags_NilReceiver", func(t *testing.T) { + t.Run("GetNone_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemText + var obj *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetFlags() // Should return zero value + _ = obj.GetNone() // Should return zero value }) - t.Run("GetAlternateName", func(t *testing.T) { + t.Run("GetScalar", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var expected *string - obj.AlternateName = expected + obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar + obj.Scalar = expected // Act & Assert - assert.Equal(t, expected, obj.GetAlternateName(), "getter should return the property value") + assert.Equal(t, expected, obj.GetScalar(), "getter should return the property value") }) - t.Run("GetAlternateName_NilValue", func(t *testing.T) { + t.Run("GetScalar_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - obj.AlternateName = nil + obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry{} + obj.Scalar = nil // Act & Assert - assert.Nil(t, obj.GetAlternateName(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetScalar(), "getter should return nil when property is nil") }) - t.Run("GetAlternateName_NilReceiver", func(t *testing.T) { + t.Run("GetScalar_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemText + var obj *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetAlternateName() // Should return zero value + _ = obj.GetScalar() // Should return zero value }) - t.Run("GetMappingName", func(t *testing.T) { + t.Run("GetArray", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var expected *string - obj.MappingName = expected + obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray + obj.Array = expected // Act & Assert - assert.Equal(t, expected, obj.GetMappingName(), "getter should return the property value") + assert.Equal(t, expected, obj.GetArray(), "getter should return the property value") }) - t.Run("GetMappingName_NilValue", func(t *testing.T) { + t.Run("GetArray_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - obj.MappingName = nil + obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry{} + obj.Array = nil // Act & Assert - assert.Nil(t, obj.GetMappingName(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetArray(), "getter should return nil when property is nil") }) - t.Run("GetMappingName_NilReceiver", func(t *testing.T) { + t.Run("GetArray_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemText + var obj *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetMappingName() // Should return zero value + _ = obj.GetArray() // Should return zero value }) - t.Run("GetValueEntry", func(t *testing.T) { + t.Run("GetUnsupported", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var expected *DocFormsGet200ResponseFieldsItemTextValueEntry - obj.ValueEntry = expected + obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported + obj.Unsupported = expected // Act & Assert - assert.Equal(t, expected, obj.GetValueEntry(), "getter should return the property value") + assert.Equal(t, expected, obj.GetUnsupported(), "getter should return the property value") }) - t.Run("GetValueEntry_NilValue", func(t *testing.T) { + t.Run("GetUnsupported_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - obj.ValueEntry = nil + obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry{} + obj.Unsupported = nil // Act & Assert - assert.Nil(t, obj.GetValueEntry(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetUnsupported(), "getter should return nil when property is nil") }) - t.Run("GetValueEntry_NilReceiver", func(t *testing.T) { + t.Run("GetUnsupported_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemText + var obj *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetValueEntry() // Should return zero value - }) - - t.Run("GetDefaultValueEntry", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var expected *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry - obj.DefaultValueEntry = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetDefaultValueEntry(), "getter should return the property value") + _ = obj.GetUnsupported() // Should return zero value }) - t.Run("GetDefaultValueEntry_NilValue", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - obj.DefaultValueEntry = nil +} - // Act & Assert - assert.Nil(t, obj.GetDefaultValueEntry(), "getter should return nil when property is nil") +func TestSettersDocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray(t *testing.T) { + t.Run("SetValues", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray{} + var fernTestValueValues []string + obj.SetValues(fernTestValueValues) + assert.Equal(t, fernTestValueValues, obj.Values) + assert.NotNil(t, obj.explicitFields) }) - t.Run("GetDefaultValueEntry_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemText - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetDefaultValueEntry() // Should return zero value - }) +} - t.Run("GetActions", func(t *testing.T) { +func TestGettersDocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray(t *testing.T) { + t.Run("GetValues", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var expected *PdfFieldActions - obj.Actions = expected + obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray{} + var expected []string + obj.Values = expected // Act & Assert - assert.Equal(t, expected, obj.GetActions(), "getter should return the property value") + assert.Equal(t, expected, obj.GetValues(), "getter should return the property value") }) - t.Run("GetActions_NilValue", func(t *testing.T) { + t.Run("GetValues_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - obj.Actions = nil + obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray{} + obj.Values = nil // Act & Assert - assert.Nil(t, obj.GetActions(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetValues(), "getter should return nil when property is nil") }) - t.Run("GetActions_NilReceiver", func(t *testing.T) { + t.Run("GetValues_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemText + var obj *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetActions() // Should return zero value + _ = obj.GetValues() // Should return zero value }) - t.Run("GetWidgets", func(t *testing.T) { +} + +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray(t *testing.T) { + t.Run("SetValues_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var expected []*DocFormsGet200ResponseFieldsItemTextWidgetsItem - obj.Widgets = expected + obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray{} + var fernTestValueValues []string - // Act & Assert - assert.Equal(t, expected, obj.GetWidgets(), "getter should return the property value") - }) + // Act + obj.SetValues(fernTestValueValues) - t.Run("GetWidgets_NilValue", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - obj.Widgets = nil + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") - // Act & Assert - assert.Nil(t, obj.GetWidgets(), "getter should return nil when property is nil") + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("GetWidgets_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemText - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetWidgets() // Should return zero value +} + +func TestSettersDocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar(t *testing.T) { + t.Run("SetValue", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar{} + var fernTestValueValue string + obj.SetValue(fernTestValueValue) + assert.Equal(t, fernTestValueValue, obj.Value) + assert.NotNil(t, obj.explicitFields) }) +} + +func TestGettersDocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar(t *testing.T) { t.Run("GetValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} + obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar{} var expected string obj.Value = expected @@ -216944,7 +222380,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemText(t *testing.T) { t.Run("GetValue_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemText + var obj *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -216954,142 +222390,181 @@ func TestGettersDocFormsGet200ResponseFieldsItemText(t *testing.T) { _ = obj.GetValue() // Should return zero value }) - t.Run("GetDefaultValue", func(t *testing.T) { +} + +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar(t *testing.T) { + t.Run("SetValue_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var expected string - obj.DefaultValue = expected + obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar{} + var fernTestValueValue string - // Act & Assert - assert.Equal(t, expected, obj.GetDefaultValue(), "getter should return the property value") + // Act + obj.SetValue(fernTestValueValue) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("GetDefaultValue_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemText - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetDefaultValue() // Should return zero value +} + +func TestSettersDocFormsGet200ResponseFieldsItemUnknownFlags(t *testing.T) { + t.Run("SetReadOnly", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} + var fernTestValueReadOnly bool + obj.SetReadOnly(fernTestValueReadOnly) + assert.Equal(t, fernTestValueReadOnly, obj.ReadOnly) + assert.NotNil(t, obj.explicitFields) }) - t.Run("GetMaxLength", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var expected *int - obj.MaxLength = expected + t.Run("SetRequired", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} + var fernTestValueRequired bool + obj.SetRequired(fernTestValueRequired) + assert.Equal(t, fernTestValueRequired, obj.Required) + assert.NotNil(t, obj.explicitFields) + }) - // Act & Assert - assert.Equal(t, expected, obj.GetMaxLength(), "getter should return the property value") + t.Run("SetNoExport", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} + var fernTestValueNoExport bool + obj.SetNoExport(fernTestValueNoExport) + assert.Equal(t, fernTestValueNoExport, obj.NoExport) + assert.NotNil(t, obj.explicitFields) }) - t.Run("GetMaxLength_NilValue", func(t *testing.T) { + t.Run("SetRaw", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} + var fernTestValueRaw int + obj.SetRaw(fernTestValueRaw) + assert.Equal(t, fernTestValueRaw, obj.Raw) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocFormsGet200ResponseFieldsItemUnknownFlags(t *testing.T) { + t.Run("GetReadOnly", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - obj.MaxLength = nil + obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} + var expected bool + obj.ReadOnly = expected // Act & Assert - assert.Nil(t, obj.GetMaxLength(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetReadOnly(), "getter should return the property value") }) - t.Run("GetMaxLength_NilReceiver", func(t *testing.T) { + t.Run("GetReadOnly_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemText + var obj *DocFormsGet200ResponseFieldsItemUnknownFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetMaxLength() // Should return zero value + _ = obj.GetReadOnly() // Should return zero value }) - t.Run("GetMultiline", func(t *testing.T) { + t.Run("GetRequired", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} + obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} var expected bool - obj.Multiline = expected + obj.Required = expected // Act & Assert - assert.Equal(t, expected, obj.GetMultiline(), "getter should return the property value") + assert.Equal(t, expected, obj.GetRequired(), "getter should return the property value") }) - t.Run("GetMultiline_NilReceiver", func(t *testing.T) { + t.Run("GetRequired_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemText + var obj *DocFormsGet200ResponseFieldsItemUnknownFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetMultiline() // Should return zero value + _ = obj.GetRequired() // Should return zero value }) - t.Run("GetPassword", func(t *testing.T) { + t.Run("GetNoExport", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} + obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} var expected bool - obj.Password = expected + obj.NoExport = expected // Act & Assert - assert.Equal(t, expected, obj.GetPassword(), "getter should return the property value") + assert.Equal(t, expected, obj.GetNoExport(), "getter should return the property value") }) - t.Run("GetPassword_NilReceiver", func(t *testing.T) { + t.Run("GetNoExport_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemText + var obj *DocFormsGet200ResponseFieldsItemUnknownFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetPassword() // Should return zero value + _ = obj.GetNoExport() // Should return zero value }) - t.Run("GetComb", func(t *testing.T) { + t.Run("GetRaw", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var expected bool - obj.Comb = expected + obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} + var expected int + obj.Raw = expected // Act & Assert - assert.Equal(t, expected, obj.GetComb(), "getter should return the property value") + assert.Equal(t, expected, obj.GetRaw(), "getter should return the property value") }) - t.Run("GetComb_NilReceiver", func(t *testing.T) { + t.Run("GetRaw_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemText + var obj *DocFormsGet200ResponseFieldsItemUnknownFlags // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetComb() // Should return zero value + _ = obj.GetRaw() // Should return zero value }) } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemText(t *testing.T) { - t.Run("SetRef_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownFlags(t *testing.T) { + t.Run("SetReadOnly_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueRef *DocFormsGet200ResponseFieldsItemTextRef + obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} + var fernTestValueReadOnly bool // Act - obj.SetRef(fernTestValueRef) + obj.SetReadOnly(fernTestValueReadOnly) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -217113,14 +222588,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemText(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetFieldObjectNumber_MarksExplicit", func(t *testing.T) { + t.Run("SetRequired_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueFieldObjectNumber int + obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} + var fernTestValueRequired bool // Act - obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) + obj.SetRequired(fernTestValueRequired) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -217144,14 +222619,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemText(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetName_MarksExplicit", func(t *testing.T) { + t.Run("SetNoExport_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueName string + obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} + var fernTestValueNoExport bool // Act - obj.SetName(fernTestValueName) + obj.SetNoExport(fernTestValueNoExport) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -217175,14 +222650,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemText(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetOrigin_MarksExplicit", func(t *testing.T) { + t.Run("SetRaw_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueOrigin DocFormsGet200ResponseFieldsItemTextOrigin + obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} + var fernTestValueRaw int // Act - obj.SetOrigin(fernTestValueOrigin) + obj.SetRaw(fernTestValueRaw) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -217206,76 +222681,146 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemText(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetFlags_MarksExplicit", func(t *testing.T) { +} + +func TestGettersDocFormsGet200ResponseFieldsItemUnknownRef(t *testing.T) { + t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueFlags *DocFormsGet200ResponseFieldsItemTextFlags + obj := &DocFormsGet200ResponseFieldsItemUnknownRef{} + var expected string + obj.Kind = expected - // Act - obj.SetFlags(fernTestValueFlags) + // Act & Assert + assert.Equal(t, expected, obj.GetKind(), "getter should return the property value") + }) - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") + t.Run("GetKind_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknownRef + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetKind() // Should return zero value + }) - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } + t.Run("GetObjectNumber", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknownRef{} + var expected *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber + obj.ObjectNumber = expected - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip + // Act & Assert + assert.Equal(t, expected, obj.GetObjectNumber(), "getter should return the property value") }) - t.Run("SetAlternateName_MarksExplicit", func(t *testing.T) { + t.Run("GetObjectNumber_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueAlternateName *string + obj := &DocFormsGet200ResponseFieldsItemUnknownRef{} + obj.ObjectNumber = nil - // Act - obj.SetAlternateName(fernTestValueAlternateName) + // Act & Assert + assert.Nil(t, obj.GetObjectNumber(), "getter should return nil when property is nil") + }) - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") + t.Run("GetObjectNumber_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknownRef + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetObjectNumber() // Should return zero value + }) - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } + t.Run("GetFqn", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknownRef{} + var expected *DocFormsGet200ResponseFieldsItemUnknownRefFqn + obj.Fqn = expected - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip + // Act & Assert + assert.Equal(t, expected, obj.GetFqn(), "getter should return the property value") }) - t.Run("SetMappingName_MarksExplicit", func(t *testing.T) { + t.Run("GetFqn_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueMappingName *string + obj := &DocFormsGet200ResponseFieldsItemUnknownRef{} + obj.Fqn = nil + + // Act & Assert + assert.Nil(t, obj.GetFqn(), "getter should return nil when property is nil") + }) + + t.Run("GetFqn_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknownRef + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetFqn() // Should return zero value + }) + +} + +func TestSettersDocFormsGet200ResponseFieldsItemUnknownRefFqn(t *testing.T) { + t.Run("SetName", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemUnknownRefFqn{} + var fernTestValueName string + obj.SetName(fernTestValueName) + assert.Equal(t, fernTestValueName, obj.Name) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocFormsGet200ResponseFieldsItemUnknownRefFqn(t *testing.T) { + t.Run("GetName", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknownRefFqn{} + var expected string + obj.Name = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetName(), "getter should return the property value") + }) + + t.Run("GetName_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknownRefFqn + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetName() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownRefFqn(t *testing.T) { + t.Run("SetName_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknownRefFqn{} + var fernTestValueName string // Act - obj.SetMappingName(fernTestValueMappingName) + obj.SetName(fernTestValueName) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -217299,14 +222844,54 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemText(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetValueEntry_MarksExplicit", func(t *testing.T) { +} + +func TestSettersDocFormsGet200ResponseFieldsItemUnknownRefObjectNumber(t *testing.T) { + t.Run("SetFieldObjectNumber", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber{} + var fernTestValueFieldObjectNumber int + obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) + assert.Equal(t, fernTestValueFieldObjectNumber, obj.FieldObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocFormsGet200ResponseFieldsItemUnknownRefObjectNumber(t *testing.T) { + t.Run("GetFieldObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemTextValueEntry + obj := &DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber{} + var expected int + obj.FieldObjectNumber = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetFieldObjectNumber(), "getter should return the property value") + }) + + t.Run("GetFieldObjectNumber_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetFieldObjectNumber() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownRefObjectNumber(t *testing.T) { + t.Run("SetFieldObjectNumber_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber{} + var fernTestValueFieldObjectNumber int // Act - obj.SetValueEntry(fernTestValueValueEntry) + obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -217330,14 +222915,222 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemText(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetDefaultValueEntry_MarksExplicit", func(t *testing.T) { +} + +func TestGettersDocFormsGet200ResponseFieldsItemUnknownValueEntry(t *testing.T) { + t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry + obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntry{} + var expected string + obj.Kind = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetKind(), "getter should return the property value") + }) + + t.Run("GetKind_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknownValueEntry + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetKind() // Should return zero value + }) + + t.Run("GetNone", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemUnknownValueEntryNone + obj.None = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetNone(), "getter should return the property value") + }) + + t.Run("GetNone_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntry{} + obj.None = nil + + // Act & Assert + assert.Nil(t, obj.GetNone(), "getter should return nil when property is nil") + }) + + t.Run("GetNone_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknownValueEntry + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetNone() // Should return zero value + }) + + t.Run("GetScalar", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar + obj.Scalar = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetScalar(), "getter should return the property value") + }) + + t.Run("GetScalar_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntry{} + obj.Scalar = nil + + // Act & Assert + assert.Nil(t, obj.GetScalar(), "getter should return nil when property is nil") + }) + + t.Run("GetScalar_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknownValueEntry + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetScalar() // Should return zero value + }) + + t.Run("GetArray", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemUnknownValueEntryArray + obj.Array = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetArray(), "getter should return the property value") + }) + + t.Run("GetArray_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntry{} + obj.Array = nil + + // Act & Assert + assert.Nil(t, obj.GetArray(), "getter should return nil when property is nil") + }) + + t.Run("GetArray_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknownValueEntry + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetArray() // Should return zero value + }) + + t.Run("GetUnsupported", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntry{} + var expected *DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported + obj.Unsupported = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetUnsupported(), "getter should return the property value") + }) + + t.Run("GetUnsupported_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntry{} + obj.Unsupported = nil + + // Act & Assert + assert.Nil(t, obj.GetUnsupported(), "getter should return nil when property is nil") + }) + + t.Run("GetUnsupported_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknownValueEntry + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetUnsupported() // Should return zero value + }) + +} + +func TestSettersDocFormsGet200ResponseFieldsItemUnknownValueEntryArray(t *testing.T) { + t.Run("SetValues", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntryArray{} + var fernTestValueValues []string + obj.SetValues(fernTestValueValues) + assert.Equal(t, fernTestValueValues, obj.Values) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocFormsGet200ResponseFieldsItemUnknownValueEntryArray(t *testing.T) { + t.Run("GetValues", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntryArray{} + var expected []string + obj.Values = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetValues(), "getter should return the property value") + }) + + t.Run("GetValues_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntryArray{} + obj.Values = nil + + // Act & Assert + assert.Nil(t, obj.GetValues(), "getter should return nil when property is nil") + }) + + t.Run("GetValues_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknownValueEntryArray + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetValues() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownValueEntryArray(t *testing.T) { + t.Run("SetValues_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntryArray{} + var fernTestValueValues []string // Act - obj.SetDefaultValueEntry(fernTestValueDefaultValueEntry) + obj.SetValues(fernTestValueValues) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -217361,14 +223154,54 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemText(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetActions_MarksExplicit", func(t *testing.T) { +} + +func TestSettersDocFormsGet200ResponseFieldsItemUnknownValueEntryScalar(t *testing.T) { + t.Run("SetValue", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar{} + var fernTestValueValue string + obj.SetValue(fernTestValueValue) + assert.Equal(t, fernTestValueValue, obj.Value) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocFormsGet200ResponseFieldsItemUnknownValueEntryScalar(t *testing.T) { + t.Run("GetValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueActions *PdfFieldActions + obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar{} + var expected string + obj.Value = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetValue(), "getter should return the property value") + }) + + t.Run("GetValue_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetValue() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownValueEntryScalar(t *testing.T) { + t.Run("SetValue_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar{} + var fernTestValueValue string // Act - obj.SetActions(fernTestValueActions) + obj.SetValue(fernTestValueValue) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -217392,14 +223225,85 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemText(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetWidgets_MarksExplicit", func(t *testing.T) { +} + +func TestSettersDocFormsGet200ResponseFieldsItemUnknownWidgetsItem(t *testing.T) { + t.Run("SetAnnotObjectNumber", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemUnknownWidgetsItem{} + var fernTestValueAnnotObjectNumber int + obj.SetAnnotObjectNumber(fernTestValueAnnotObjectNumber) + assert.Equal(t, fernTestValueAnnotObjectNumber, obj.AnnotObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetPageObjectNumber", func(t *testing.T) { + obj := &DocFormsGet200ResponseFieldsItemUnknownWidgetsItem{} + var fernTestValuePageObjectNumber int + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocFormsGet200ResponseFieldsItemUnknownWidgetsItem(t *testing.T) { + t.Run("GetAnnotObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemTextWidgetsItem + obj := &DocFormsGet200ResponseFieldsItemUnknownWidgetsItem{} + var expected int + obj.AnnotObjectNumber = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetAnnotObjectNumber(), "getter should return the property value") + }) + + t.Run("GetAnnotObjectNumber_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetAnnotObjectNumber() // Should return zero value + }) + + t.Run("GetPageObjectNumber", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknownWidgetsItem{} + var expected int + obj.PageObjectNumber = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + }) + + t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetPageObjectNumber() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownWidgetsItem(t *testing.T) { + t.Run("SetAnnotObjectNumber_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet200ResponseFieldsItemUnknownWidgetsItem{} + var fernTestValueAnnotObjectNumber int // Act - obj.SetWidgets(fernTestValueWidgets) + obj.SetAnnotObjectNumber(fernTestValueAnnotObjectNumber) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -217423,14 +223327,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemText(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetValue_MarksExplicit", func(t *testing.T) { + t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueValue string + obj := &DocFormsGet200ResponseFieldsItemUnknownWidgetsItem{} + var fernTestValuePageObjectNumber int // Act - obj.SetValue(fernTestValueValue) + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -217454,14 +223358,157 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemText(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetDefaultValue_MarksExplicit", func(t *testing.T) { +} + +func TestSettersDocFormsGet404Response(t *testing.T) { + t.Run("SetName", func(t *testing.T) { + obj := &DocFormsGet404Response{} + var fernTestValueName DocFormsGet404ResponseName + obj.SetName(fernTestValueName) + assert.Equal(t, fernTestValueName, obj.Name) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetCode", func(t *testing.T) { + obj := &DocFormsGet404Response{} + var fernTestValueCode DocFormsGet404ResponseCode + obj.SetCode(fernTestValueCode) + assert.Equal(t, fernTestValueCode, obj.Code) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetMessage", func(t *testing.T) { + obj := &DocFormsGet404Response{} + var fernTestValueMessage string + obj.SetMessage(fernTestValueMessage) + assert.Equal(t, fernTestValueMessage, obj.Message) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetDetails", func(t *testing.T) { + obj := &DocFormsGet404Response{} + var fernTestValueDetails map[string]any + obj.SetDetails(fernTestValueDetails) + assert.Equal(t, fernTestValueDetails, obj.Details) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocFormsGet404Response(t *testing.T) { + t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueDefaultValue string + obj := &DocFormsGet404Response{} + var expected DocFormsGet404ResponseName + obj.Name = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetName(), "getter should return the property value") + }) + + t.Run("GetName_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet404Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetName() // Should return zero value + }) + + t.Run("GetCode", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet404Response{} + var expected DocFormsGet404ResponseCode + obj.Code = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetCode(), "getter should return the property value") + }) + + t.Run("GetCode_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet404Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetCode() // Should return zero value + }) + + t.Run("GetMessage", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet404Response{} + var expected string + obj.Message = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") + }) + + t.Run("GetMessage_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet404Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetMessage() // Should return zero value + }) + + t.Run("GetDetails", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet404Response{} + var expected map[string]any + obj.Details = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") + }) + + t.Run("GetDetails_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet404Response{} + obj.Details = nil + + // Act & Assert + assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") + }) + + t.Run("GetDetails_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsGet404Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetDetails() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocFormsGet404Response(t *testing.T) { + t.Run("SetName_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsGet404Response{} + var fernTestValueName DocFormsGet404ResponseName // Act - obj.SetDefaultValue(fernTestValueDefaultValue) + obj.SetName(fernTestValueName) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -217485,14 +223532,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemText(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetMaxLength_MarksExplicit", func(t *testing.T) { + t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueMaxLength *int + obj := &DocFormsGet404Response{} + var fernTestValueCode DocFormsGet404ResponseCode // Act - obj.SetMaxLength(fernTestValueMaxLength) + obj.SetCode(fernTestValueCode) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -217516,14 +223563,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemText(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetMultiline_MarksExplicit", func(t *testing.T) { + t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueMultiline bool + obj := &DocFormsGet404Response{} + var fernTestValueMessage string // Act - obj.SetMultiline(fernTestValueMultiline) + obj.SetMessage(fernTestValueMessage) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -217547,14 +223594,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemText(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetPassword_MarksExplicit", func(t *testing.T) { + t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValuePassword bool + obj := &DocFormsGet404Response{} + var fernTestValueDetails map[string]any // Act - obj.SetPassword(fernTestValuePassword) + obj.SetDetails(fernTestValueDetails) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -217578,14 +223625,64 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemText(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetComb_MarksExplicit", func(t *testing.T) { +} + +func TestSettersDocFormsImportData200Response(t *testing.T) { + t.Run("SetMeta", func(t *testing.T) { + obj := &DocFormsImportData200Response{} + var fernTestValueMeta *DocFormsImportData200ResponseMeta + obj.SetMeta(fernTestValueMeta) + assert.Equal(t, fernTestValueMeta, obj.Meta) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocFormsImportData200Response(t *testing.T) { + t.Run("GetMeta", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemText{} - var fernTestValueComb bool + obj := &DocFormsImportData200Response{} + var expected *DocFormsImportData200ResponseMeta + obj.Meta = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetMeta(), "getter should return the property value") + }) + + t.Run("GetMeta_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsImportData200Response{} + obj.Meta = nil + + // Act & Assert + assert.Nil(t, obj.GetMeta(), "getter should return nil when property is nil") + }) + + t.Run("GetMeta_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsImportData200Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetMeta() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocFormsImportData200Response(t *testing.T) { + t.Run("SetMeta_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsImportData200Response{} + var fernTestValueMeta *DocFormsImportData200ResponseMeta // Act - obj.SetComb(fernTestValueComb) + obj.SetMeta(fernTestValueMeta) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -217611,220 +223708,287 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemText(t *testing.T) { } -func TestGettersDocFormsGet200ResponseFieldsItemTextDefaultValueEntry(t *testing.T) { - t.Run("GetKind", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntry{} - var expected string - obj.Kind = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetKind(), "getter should return the property value") +func TestSettersDocFormsImportData200ResponseMeta(t *testing.T) { + t.Run("SetAffectedPages", func(t *testing.T) { + obj := &DocFormsImportData200ResponseMeta{} + var fernTestValueAffectedPages []*DocFormsImportData200ResponseMetaAffectedPagesItem + obj.SetAffectedPages(fernTestValueAffectedPages) + assert.Equal(t, fernTestValueAffectedPages, obj.AffectedPages) + assert.NotNil(t, obj.explicitFields) }) - t.Run("GetKind_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetKind() // Should return zero value + t.Run("SetCacheDelta", func(t *testing.T) { + obj := &DocFormsImportData200ResponseMeta{} + var fernTestValueCacheDelta *DocFormsImportData200ResponseMetaCacheDelta + obj.SetCacheDelta(fernTestValueCacheDelta) + assert.Equal(t, fernTestValueCacheDelta, obj.CacheDelta) + assert.NotNil(t, obj.explicitFields) }) - t.Run("GetNone", func(t *testing.T) { +} + +func TestGettersDocFormsImportData200ResponseMeta(t *testing.T) { + t.Run("GetAffectedPages", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryNone - obj.None = expected + obj := &DocFormsImportData200ResponseMeta{} + var expected []*DocFormsImportData200ResponseMetaAffectedPagesItem + obj.AffectedPages = expected // Act & Assert - assert.Equal(t, expected, obj.GetNone(), "getter should return the property value") + assert.Equal(t, expected, obj.GetAffectedPages(), "getter should return the property value") }) - t.Run("GetNone_NilValue", func(t *testing.T) { + t.Run("GetAffectedPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntry{} - obj.None = nil + obj := &DocFormsImportData200ResponseMeta{} + obj.AffectedPages = nil // Act & Assert - assert.Nil(t, obj.GetNone(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetAffectedPages(), "getter should return nil when property is nil") }) - t.Run("GetNone_NilReceiver", func(t *testing.T) { + t.Run("GetAffectedPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry + var obj *DocFormsImportData200ResponseMeta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetNone() // Should return zero value + _ = obj.GetAffectedPages() // Should return zero value }) - t.Run("GetScalar", func(t *testing.T) { + t.Run("GetCacheDelta", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar - obj.Scalar = expected + obj := &DocFormsImportData200ResponseMeta{} + var expected *DocFormsImportData200ResponseMetaCacheDelta + obj.CacheDelta = expected // Act & Assert - assert.Equal(t, expected, obj.GetScalar(), "getter should return the property value") + assert.Equal(t, expected, obj.GetCacheDelta(), "getter should return the property value") }) - t.Run("GetScalar_NilValue", func(t *testing.T) { + t.Run("GetCacheDelta_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntry{} - obj.Scalar = nil + obj := &DocFormsImportData200ResponseMeta{} + obj.CacheDelta = nil // Act & Assert - assert.Nil(t, obj.GetScalar(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetCacheDelta(), "getter should return nil when property is nil") }) - t.Run("GetScalar_NilReceiver", func(t *testing.T) { + t.Run("GetCacheDelta_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry + var obj *DocFormsImportData200ResponseMeta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetScalar() // Should return zero value + _ = obj.GetCacheDelta() // Should return zero value }) - t.Run("GetArray", func(t *testing.T) { +} + +func TestSettersMarkExplicitDocFormsImportData200ResponseMeta(t *testing.T) { + t.Run("SetAffectedPages_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray - obj.Array = expected + obj := &DocFormsImportData200ResponseMeta{} + var fernTestValueAffectedPages []*DocFormsImportData200ResponseMetaAffectedPagesItem - // Act & Assert - assert.Equal(t, expected, obj.GetArray(), "getter should return the property value") + // Act + obj.SetAffectedPages(fernTestValueAffectedPages) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("GetArray_NilValue", func(t *testing.T) { + t.Run("SetCacheDelta_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntry{} - obj.Array = nil + obj := &DocFormsImportData200ResponseMeta{} + var fernTestValueCacheDelta *DocFormsImportData200ResponseMetaCacheDelta + + // Act + obj.SetCacheDelta(fernTestValueCacheDelta) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocFormsImportData200ResponseMetaAffectedPagesItem(t *testing.T) { + t.Run("SetPageObjectNumber", func(t *testing.T) { + obj := &DocFormsImportData200ResponseMetaAffectedPagesItem{} + var fernTestValuePageObjectNumber int + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetRevision", func(t *testing.T) { + obj := &DocFormsImportData200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocFormsImportData200ResponseMetaAffectedPagesItemRevision + obj.SetRevision(fernTestValueRevision) + assert.Equal(t, fernTestValueRevision, obj.Revision) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetWeakAnnotationState", func(t *testing.T) { + obj := &DocFormsImportData200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState + obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) + assert.Equal(t, fernTestValueWeakAnnotationState, obj.WeakAnnotationState) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItem(t *testing.T) { + t.Run("GetPageObjectNumber", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsImportData200ResponseMetaAffectedPagesItem{} + var expected int + obj.PageObjectNumber = expected // Act & Assert - assert.Nil(t, obj.GetArray(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") }) - t.Run("GetArray_NilReceiver", func(t *testing.T) { + t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry + var obj *DocFormsImportData200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetArray() // Should return zero value + _ = obj.GetPageObjectNumber() // Should return zero value }) - t.Run("GetUnsupported", func(t *testing.T) { + t.Run("GetRevision", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryUnsupported - obj.Unsupported = expected + obj := &DocFormsImportData200ResponseMetaAffectedPagesItem{} + var expected *DocFormsImportData200ResponseMetaAffectedPagesItemRevision + obj.Revision = expected // Act & Assert - assert.Equal(t, expected, obj.GetUnsupported(), "getter should return the property value") + assert.Equal(t, expected, obj.GetRevision(), "getter should return the property value") }) - t.Run("GetUnsupported_NilValue", func(t *testing.T) { + t.Run("GetRevision_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntry{} - obj.Unsupported = nil + obj := &DocFormsImportData200ResponseMetaAffectedPagesItem{} + obj.Revision = nil // Act & Assert - assert.Nil(t, obj.GetUnsupported(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetRevision(), "getter should return nil when property is nil") }) - t.Run("GetUnsupported_NilReceiver", func(t *testing.T) { + t.Run("GetRevision_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextDefaultValueEntry + var obj *DocFormsImportData200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetUnsupported() // Should return zero value - }) - -} - -func TestSettersDocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray(t *testing.T) { - t.Run("SetValues", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray{} - var fernTestValueValues []string - obj.SetValues(fernTestValueValues) - assert.Equal(t, fernTestValueValues, obj.Values) - assert.NotNil(t, obj.explicitFields) + _ = obj.GetRevision() // Should return zero value }) -} - -func TestGettersDocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray(t *testing.T) { - t.Run("GetValues", func(t *testing.T) { + t.Run("GetWeakAnnotationState", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray{} - var expected []string - obj.Values = expected + obj := &DocFormsImportData200ResponseMetaAffectedPagesItem{} + var expected *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState + obj.WeakAnnotationState = expected // Act & Assert - assert.Equal(t, expected, obj.GetValues(), "getter should return the property value") + assert.Equal(t, expected, obj.GetWeakAnnotationState(), "getter should return the property value") }) - t.Run("GetValues_NilValue", func(t *testing.T) { + t.Run("GetWeakAnnotationState_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray{} - obj.Values = nil + obj := &DocFormsImportData200ResponseMetaAffectedPagesItem{} + obj.WeakAnnotationState = nil // Act & Assert - assert.Nil(t, obj.GetValues(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetWeakAnnotationState(), "getter should return nil when property is nil") }) - t.Run("GetValues_NilReceiver", func(t *testing.T) { + t.Run("GetWeakAnnotationState_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray + var obj *DocFormsImportData200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetValues() // Should return zero value + _ = obj.GetWeakAnnotationState() // Should return zero value }) } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray(t *testing.T) { - t.Run("SetValues_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocFormsImportData200ResponseMetaAffectedPagesItem(t *testing.T) { + t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntryArray{} - var fernTestValueValues []string + obj := &DocFormsImportData200ResponseMetaAffectedPagesItem{} + var fernTestValuePageObjectNumber int // Act - obj.SetValues(fernTestValueValues) + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -217848,54 +224012,45 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextDefaultValueEntr // It verifies that setting a field via setter allows successful JSON round-trip }) -} - -func TestSettersDocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar(t *testing.T) { - t.Run("SetValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar{} - var fernTestValueValue string - obj.SetValue(fernTestValueValue) - assert.Equal(t, fernTestValueValue, obj.Value) - assert.NotNil(t, obj.explicitFields) - }) - -} - -func TestGettersDocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar(t *testing.T) { - t.Run("GetValue", func(t *testing.T) { + t.Run("SetRevision_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar{} - var expected string - obj.Value = expected + obj := &DocFormsImportData200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocFormsImportData200ResponseMetaAffectedPagesItemRevision - // Act & Assert - assert.Equal(t, expected, obj.GetValue(), "getter should return the property value") - }) + // Act + obj.SetRevision(fernTestValueRevision) - t.Run("GetValue_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetValue() // Should return zero value - }) + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") -} + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar(t *testing.T) { - t.Run("SetValue_MarksExplicit", func(t *testing.T) { + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetWeakAnnotationState_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextDefaultValueEntryScalar{} - var fernTestValueValue string + obj := &DocFormsImportData200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState // Act - obj.SetValue(fernTestValueValue) + obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -217921,176 +224076,114 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextDefaultValueEntr } -func TestSettersDocFormsGet200ResponseFieldsItemTextFlags(t *testing.T) { - t.Run("SetReadOnly", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemTextFlags{} - var fernTestValueReadOnly bool - obj.SetReadOnly(fernTestValueReadOnly) - assert.Equal(t, fernTestValueReadOnly, obj.ReadOnly) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetRequired", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemTextFlags{} - var fernTestValueRequired bool - obj.SetRequired(fernTestValueRequired) - assert.Equal(t, fernTestValueRequired, obj.Required) +func TestSettersDocFormsImportData200ResponseMetaAffectedPagesItemRevision(t *testing.T) { + t.Run("SetDocSessionID", func(t *testing.T) { + obj := &DocFormsImportData200ResponseMetaAffectedPagesItemRevision{} + var fernTestValueDocSessionID string + obj.SetDocSessionID(fernTestValueDocSessionID) + assert.Equal(t, fernTestValueDocSessionID, obj.DocSessionID) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetNoExport", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemTextFlags{} - var fernTestValueNoExport bool - obj.SetNoExport(fernTestValueNoExport) - assert.Equal(t, fernTestValueNoExport, obj.NoExport) + t.Run("SetPageObjectNumber", func(t *testing.T) { + obj := &DocFormsImportData200ResponseMetaAffectedPagesItemRevision{} + var fernTestValuePageObjectNumber int + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetRaw", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemTextFlags{} - var fernTestValueRaw int - obj.SetRaw(fernTestValueRaw) - assert.Equal(t, fernTestValueRaw, obj.Raw) + t.Run("SetGeneration", func(t *testing.T) { + obj := &DocFormsImportData200ResponseMetaAffectedPagesItemRevision{} + var fernTestValueGeneration int + obj.SetGeneration(fernTestValueGeneration) + assert.Equal(t, fernTestValueGeneration, obj.Generation) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocFormsGet200ResponseFieldsItemTextFlags(t *testing.T) { - t.Run("GetReadOnly", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextFlags{} - var expected bool - obj.ReadOnly = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetReadOnly(), "getter should return the property value") - }) - - t.Run("GetReadOnly_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextFlags - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetReadOnly() // Should return zero value - }) - - t.Run("GetRequired", func(t *testing.T) { +func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItemRevision(t *testing.T) { + t.Run("GetDocSessionID", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextFlags{} - var expected bool - obj.Required = expected + obj := &DocFormsImportData200ResponseMetaAffectedPagesItemRevision{} + var expected string + obj.DocSessionID = expected // Act & Assert - assert.Equal(t, expected, obj.GetRequired(), "getter should return the property value") + assert.Equal(t, expected, obj.GetDocSessionID(), "getter should return the property value") }) - t.Run("GetRequired_NilReceiver", func(t *testing.T) { + t.Run("GetDocSessionID_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextFlags + var obj *DocFormsImportData200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetRequired() // Should return zero value + _ = obj.GetDocSessionID() // Should return zero value }) - t.Run("GetNoExport", func(t *testing.T) { + t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextFlags{} - var expected bool - obj.NoExport = expected + obj := &DocFormsImportData200ResponseMetaAffectedPagesItemRevision{} + var expected int + obj.PageObjectNumber = expected // Act & Assert - assert.Equal(t, expected, obj.GetNoExport(), "getter should return the property value") + assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") }) - t.Run("GetNoExport_NilReceiver", func(t *testing.T) { + t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextFlags + var obj *DocFormsImportData200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetNoExport() // Should return zero value + _ = obj.GetPageObjectNumber() // Should return zero value }) - t.Run("GetRaw", func(t *testing.T) { + t.Run("GetGeneration", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextFlags{} + obj := &DocFormsImportData200ResponseMetaAffectedPagesItemRevision{} var expected int - obj.Raw = expected + obj.Generation = expected // Act & Assert - assert.Equal(t, expected, obj.GetRaw(), "getter should return the property value") + assert.Equal(t, expected, obj.GetGeneration(), "getter should return the property value") }) - t.Run("GetRaw_NilReceiver", func(t *testing.T) { + t.Run("GetGeneration_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextFlags + var obj *DocFormsImportData200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetRaw() // Should return zero value + _ = obj.GetGeneration() // Should return zero value }) } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextFlags(t *testing.T) { - t.Run("SetReadOnly_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextFlags{} - var fernTestValueReadOnly bool - - // Act - obj.SetReadOnly(fernTestValueReadOnly) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetRequired_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocFormsImportData200ResponseMetaAffectedPagesItemRevision(t *testing.T) { + t.Run("SetDocSessionID_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextFlags{} - var fernTestValueRequired bool + obj := &DocFormsImportData200ResponseMetaAffectedPagesItemRevision{} + var fernTestValueDocSessionID string // Act - obj.SetRequired(fernTestValueRequired) + obj.SetDocSessionID(fernTestValueDocSessionID) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -218114,14 +224207,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextFlags(t *testing // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetNoExport_MarksExplicit", func(t *testing.T) { + t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextFlags{} - var fernTestValueNoExport bool + obj := &DocFormsImportData200ResponseMetaAffectedPagesItemRevision{} + var fernTestValuePageObjectNumber int // Act - obj.SetNoExport(fernTestValueNoExport) + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -218145,14 +224238,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextFlags(t *testing // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetRaw_MarksExplicit", func(t *testing.T) { + t.Run("SetGeneration_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextFlags{} - var fernTestValueRaw int + obj := &DocFormsImportData200ResponseMetaAffectedPagesItemRevision{} + var fernTestValueGeneration int // Act - obj.SetRaw(fernTestValueRaw) + obj.SetGeneration(fernTestValueGeneration) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -218178,11 +224271,11 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextFlags(t *testing } -func TestGettersDocFormsGet200ResponseFieldsItemTextRef(t *testing.T) { +func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextRef{} + obj := &DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState{} var expected string obj.Kind = expected @@ -218192,7 +224285,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemTextRef(t *testing.T) { t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextRef + var obj *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -218202,120 +224295,120 @@ func TestGettersDocFormsGet200ResponseFieldsItemTextRef(t *testing.T) { _ = obj.GetKind() // Should return zero value }) - t.Run("GetObjectNumber", func(t *testing.T) { + t.Run("GetUnknown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextRef{} - var expected *DocFormsGet200ResponseFieldsItemTextRefObjectNumber - obj.ObjectNumber = expected + obj := &DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + obj.Unknown = expected // Act & Assert - assert.Equal(t, expected, obj.GetObjectNumber(), "getter should return the property value") + assert.Equal(t, expected, obj.GetUnknown(), "getter should return the property value") }) - t.Run("GetObjectNumber_NilValue", func(t *testing.T) { + t.Run("GetUnknown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextRef{} - obj.ObjectNumber = nil + obj := &DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj.Unknown = nil // Act & Assert - assert.Nil(t, obj.GetObjectNumber(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetUnknown(), "getter should return nil when property is nil") }) - t.Run("GetObjectNumber_NilReceiver", func(t *testing.T) { + t.Run("GetUnknown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextRef + var obj *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetObjectNumber() // Should return zero value + _ = obj.GetUnknown() // Should return zero value }) - t.Run("GetFqn", func(t *testing.T) { + t.Run("GetKnown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextRef{} - var expected *DocFormsGet200ResponseFieldsItemTextRefFqn - obj.Fqn = expected + obj := &DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + obj.Known = expected // Act & Assert - assert.Equal(t, expected, obj.GetFqn(), "getter should return the property value") + assert.Equal(t, expected, obj.GetKnown(), "getter should return the property value") }) - t.Run("GetFqn_NilValue", func(t *testing.T) { + t.Run("GetKnown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextRef{} - obj.Fqn = nil + obj := &DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj.Known = nil // Act & Assert - assert.Nil(t, obj.GetFqn(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetKnown(), "getter should return nil when property is nil") }) - t.Run("GetFqn_NilReceiver", func(t *testing.T) { + t.Run("GetKnown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextRef + var obj *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetFqn() // Should return zero value + _ = obj.GetKnown() // Should return zero value }) } -func TestSettersDocFormsGet200ResponseFieldsItemTextRefFqn(t *testing.T) { - t.Run("SetName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemTextRefFqn{} - var fernTestValueName string - obj.SetName(fernTestValueName) - assert.Equal(t, fernTestValueName, obj.Name) +func TestSettersDocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("SetHasAnyWeakAnnotations", func(t *testing.T) { + obj := &DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + var fernTestValueHasAnyWeakAnnotations bool + obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) + assert.Equal(t, fernTestValueHasAnyWeakAnnotations, obj.HasAnyWeakAnnotations) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocFormsGet200ResponseFieldsItemTextRefFqn(t *testing.T) { - t.Run("GetName", func(t *testing.T) { +func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("GetHasAnyWeakAnnotations", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextRefFqn{} - var expected string - obj.Name = expected + obj := &DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + var expected bool + obj.HasAnyWeakAnnotations = expected // Act & Assert - assert.Equal(t, expected, obj.GetName(), "getter should return the property value") + assert.Equal(t, expected, obj.GetHasAnyWeakAnnotations(), "getter should return the property value") }) - t.Run("GetName_NilReceiver", func(t *testing.T) { + t.Run("GetHasAnyWeakAnnotations_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextRefFqn + var obj *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetName() // Should return zero value + _ = obj.GetHasAnyWeakAnnotations() // Should return zero value }) } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextRefFqn(t *testing.T) { - t.Run("SetName_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("SetHasAnyWeakAnnotations_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextRefFqn{} - var fernTestValueName string + obj := &DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + var fernTestValueHasAnyWeakAnnotations bool // Act - obj.SetName(fernTestValueName) + obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -218341,291 +224434,165 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextRefFqn(t *testin } -func TestSettersDocFormsGet200ResponseFieldsItemTextRefObjectNumber(t *testing.T) { - t.Run("SetFieldObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemTextRefObjectNumber{} - var fernTestValueFieldObjectNumber int - obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) - assert.Equal(t, fernTestValueFieldObjectNumber, obj.FieldObjectNumber) +func TestSettersDocFormsImportData200ResponseMetaCacheDelta(t *testing.T) { + t.Run("SetPreviousDocVersion", func(t *testing.T) { + obj := &DocFormsImportData200ResponseMetaCacheDelta{} + var fernTestValuePreviousDocVersion int + obj.SetPreviousDocVersion(fernTestValuePreviousDocVersion) + assert.Equal(t, fernTestValuePreviousDocVersion, obj.PreviousDocVersion) assert.NotNil(t, obj.explicitFields) }) -} - -func TestGettersDocFormsGet200ResponseFieldsItemTextRefObjectNumber(t *testing.T) { - t.Run("GetFieldObjectNumber", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextRefObjectNumber{} - var expected int - obj.FieldObjectNumber = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetFieldObjectNumber(), "getter should return the property value") + t.Run("SetDocVersion", func(t *testing.T) { + obj := &DocFormsImportData200ResponseMetaCacheDelta{} + var fernTestValueDocVersion int + obj.SetDocVersion(fernTestValueDocVersion) + assert.Equal(t, fernTestValueDocVersion, obj.DocVersion) + assert.NotNil(t, obj.explicitFields) }) - t.Run("GetFieldObjectNumber_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextRefObjectNumber - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetFieldObjectNumber() // Should return zero value + t.Run("SetAnnotationsVersion", func(t *testing.T) { + obj := &DocFormsImportData200ResponseMetaCacheDelta{} + var fernTestValueAnnotationsVersion *int + obj.SetAnnotationsVersion(fernTestValueAnnotationsVersion) + assert.Equal(t, fernTestValueAnnotationsVersion, obj.AnnotationsVersion) + assert.NotNil(t, obj.explicitFields) }) -} - -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextRefObjectNumber(t *testing.T) { - t.Run("SetFieldObjectNumber_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextRefObjectNumber{} - var fernTestValueFieldObjectNumber int - - // Act - obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip + t.Run("SetPages", func(t *testing.T) { + obj := &DocFormsImportData200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocFormsImportData200ResponseMetaCacheDeltaPagesItem + obj.SetPages(fernTestValuePages) + assert.Equal(t, fernTestValuePages, obj.Pages) + assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocFormsGet200ResponseFieldsItemTextValueEntry(t *testing.T) { - t.Run("GetKind", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextValueEntry{} - var expected string - obj.Kind = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetKind(), "getter should return the property value") - }) - - t.Run("GetKind_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextValueEntry - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetKind() // Should return zero value - }) - - t.Run("GetNone", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemTextValueEntryNone - obj.None = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetNone(), "getter should return the property value") - }) - - t.Run("GetNone_NilValue", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextValueEntry{} - obj.None = nil - - // Act & Assert - assert.Nil(t, obj.GetNone(), "getter should return nil when property is nil") - }) - - t.Run("GetNone_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextValueEntry - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetNone() // Should return zero value - }) - - t.Run("GetScalar", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemTextValueEntryScalar - obj.Scalar = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetScalar(), "getter should return the property value") - }) - - t.Run("GetScalar_NilValue", func(t *testing.T) { +func TestGettersDocFormsImportData200ResponseMetaCacheDelta(t *testing.T) { + t.Run("GetPreviousDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextValueEntry{} - obj.Scalar = nil + obj := &DocFormsImportData200ResponseMetaCacheDelta{} + var expected int + obj.PreviousDocVersion = expected // Act & Assert - assert.Nil(t, obj.GetScalar(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetPreviousDocVersion(), "getter should return the property value") }) - t.Run("GetScalar_NilReceiver", func(t *testing.T) { + t.Run("GetPreviousDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextValueEntry + var obj *DocFormsImportData200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetScalar() // Should return zero value - }) - - t.Run("GetArray", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemTextValueEntryArray - obj.Array = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetArray(), "getter should return the property value") + _ = obj.GetPreviousDocVersion() // Should return zero value }) - t.Run("GetArray_NilValue", func(t *testing.T) { + t.Run("GetDocVersion", func(t *testing.T) { t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextValueEntry{} - obj.Array = nil + // Arrange + obj := &DocFormsImportData200ResponseMetaCacheDelta{} + var expected int + obj.DocVersion = expected // Act & Assert - assert.Nil(t, obj.GetArray(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetDocVersion(), "getter should return the property value") }) - t.Run("GetArray_NilReceiver", func(t *testing.T) { + t.Run("GetDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextValueEntry + var obj *DocFormsImportData200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetArray() // Should return zero value + _ = obj.GetDocVersion() // Should return zero value }) - t.Run("GetUnsupported", func(t *testing.T) { + t.Run("GetAnnotationsVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemTextValueEntryUnsupported - obj.Unsupported = expected + obj := &DocFormsImportData200ResponseMetaCacheDelta{} + var expected *int + obj.AnnotationsVersion = expected // Act & Assert - assert.Equal(t, expected, obj.GetUnsupported(), "getter should return the property value") + assert.Equal(t, expected, obj.GetAnnotationsVersion(), "getter should return the property value") }) - t.Run("GetUnsupported_NilValue", func(t *testing.T) { + t.Run("GetAnnotationsVersion_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextValueEntry{} - obj.Unsupported = nil + obj := &DocFormsImportData200ResponseMetaCacheDelta{} + obj.AnnotationsVersion = nil // Act & Assert - assert.Nil(t, obj.GetUnsupported(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetAnnotationsVersion(), "getter should return nil when property is nil") }) - t.Run("GetUnsupported_NilReceiver", func(t *testing.T) { + t.Run("GetAnnotationsVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextValueEntry + var obj *DocFormsImportData200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetUnsupported() // Should return zero value - }) - -} - -func TestSettersDocFormsGet200ResponseFieldsItemTextValueEntryArray(t *testing.T) { - t.Run("SetValues", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemTextValueEntryArray{} - var fernTestValueValues []string - obj.SetValues(fernTestValueValues) - assert.Equal(t, fernTestValueValues, obj.Values) - assert.NotNil(t, obj.explicitFields) + _ = obj.GetAnnotationsVersion() // Should return zero value }) -} - -func TestGettersDocFormsGet200ResponseFieldsItemTextValueEntryArray(t *testing.T) { - t.Run("GetValues", func(t *testing.T) { + t.Run("GetPages", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextValueEntryArray{} - var expected []string - obj.Values = expected + obj := &DocFormsImportData200ResponseMetaCacheDelta{} + var expected []*DocFormsImportData200ResponseMetaCacheDeltaPagesItem + obj.Pages = expected // Act & Assert - assert.Equal(t, expected, obj.GetValues(), "getter should return the property value") + assert.Equal(t, expected, obj.GetPages(), "getter should return the property value") }) - t.Run("GetValues_NilValue", func(t *testing.T) { + t.Run("GetPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextValueEntryArray{} - obj.Values = nil + obj := &DocFormsImportData200ResponseMetaCacheDelta{} + obj.Pages = nil // Act & Assert - assert.Nil(t, obj.GetValues(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetPages(), "getter should return nil when property is nil") }) - t.Run("GetValues_NilReceiver", func(t *testing.T) { + t.Run("GetPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextValueEntryArray + var obj *DocFormsImportData200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetValues() // Should return zero value + _ = obj.GetPages() // Should return zero value }) } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextValueEntryArray(t *testing.T) { - t.Run("SetValues_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocFormsImportData200ResponseMetaCacheDelta(t *testing.T) { + t.Run("SetPreviousDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextValueEntryArray{} - var fernTestValueValues []string + obj := &DocFormsImportData200ResponseMetaCacheDelta{} + var fernTestValuePreviousDocVersion int // Act - obj.SetValues(fernTestValueValues) + obj.SetPreviousDocVersion(fernTestValuePreviousDocVersion) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -218649,54 +224616,76 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextValueEntryArray( // It verifies that setting a field via setter allows successful JSON round-trip }) -} + t.Run("SetDocVersion_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsImportData200ResponseMetaCacheDelta{} + var fernTestValueDocVersion int -func TestSettersDocFormsGet200ResponseFieldsItemTextValueEntryScalar(t *testing.T) { - t.Run("SetValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemTextValueEntryScalar{} - var fernTestValueValue string - obj.SetValue(fernTestValueValue) - assert.Equal(t, fernTestValueValue, obj.Value) - assert.NotNil(t, obj.explicitFields) - }) + // Act + obj.SetDocVersion(fernTestValueDocVersion) -} + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") -func TestGettersDocFormsGet200ResponseFieldsItemTextValueEntryScalar(t *testing.T) { - t.Run("GetValue", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextValueEntryScalar{} - var expected string - obj.Value = expected + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } - // Act & Assert - assert.Equal(t, expected, obj.GetValue(), "getter should return the property value") + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("GetValue_NilReceiver", func(t *testing.T) { + t.Run("SetAnnotationsVersion_MarksExplicit", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextValueEntryScalar - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetValue() // Should return zero value - }) + // Arrange + obj := &DocFormsImportData200ResponseMetaCacheDelta{} + var fernTestValueAnnotationsVersion *int -} + // Act + obj.SetAnnotationsVersion(fernTestValueAnnotationsVersion) -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextValueEntryScalar(t *testing.T) { - t.Run("SetValue_MarksExplicit", func(t *testing.T) { + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetPages_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextValueEntryScalar{} - var fernTestValueValue string + obj := &DocFormsImportData200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocFormsImportData200ResponseMetaCacheDeltaPagesItem // Act - obj.SetValue(fernTestValueValue) + obj.SetPages(fernTestValuePages) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -218722,83 +224711,93 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextValueEntryScalar } -func TestSettersDocFormsGet200ResponseFieldsItemTextWidgetsItem(t *testing.T) { - t.Run("SetAnnotObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemTextWidgetsItem{} - var fernTestValueAnnotObjectNumber int - obj.SetAnnotObjectNumber(fernTestValueAnnotObjectNumber) - assert.Equal(t, fernTestValueAnnotObjectNumber, obj.AnnotObjectNumber) - assert.NotNil(t, obj.explicitFields) - }) - +func TestSettersDocFormsImportData200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemTextWidgetsItem{} + obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) assert.NotNil(t, obj.explicitFields) }) + t.Run("SetCache", func(t *testing.T) { + obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache + obj.SetCache(fernTestValueCache) + assert.Equal(t, fernTestValueCache, obj.Cache) + assert.NotNil(t, obj.explicitFields) + }) + } -func TestGettersDocFormsGet200ResponseFieldsItemTextWidgetsItem(t *testing.T) { - t.Run("GetAnnotObjectNumber", func(t *testing.T) { +func TestGettersDocFormsImportData200ResponseMetaCacheDeltaPagesItem(t *testing.T) { + t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextWidgetsItem{} + obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItem{} var expected int - obj.AnnotObjectNumber = expected + obj.PageObjectNumber = expected // Act & Assert - assert.Equal(t, expected, obj.GetAnnotObjectNumber(), "getter should return the property value") + assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") }) - t.Run("GetAnnotObjectNumber_NilReceiver", func(t *testing.T) { + t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextWidgetsItem + var obj *DocFormsImportData200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetAnnotObjectNumber() // Should return zero value + _ = obj.GetPageObjectNumber() // Should return zero value }) - t.Run("GetPageObjectNumber", func(t *testing.T) { + t.Run("GetCache", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextWidgetsItem{} - var expected int - obj.PageObjectNumber = expected + obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItem{} + var expected *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache + obj.Cache = expected // Act & Assert - assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + assert.Equal(t, expected, obj.GetCache(), "getter should return the property value") }) - t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Run("GetCache_NilValue", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemTextWidgetsItem + // Arrange + obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItem{} + obj.Cache = nil + + // Act & Assert + assert.Nil(t, obj.GetCache(), "getter should return nil when property is nil") + }) + + t.Run("GetCache_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsImportData200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetPageObjectNumber() // Should return zero value + _ = obj.GetCache() // Should return zero value }) } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextWidgetsItem(t *testing.T) { - t.Run("SetAnnotObjectNumber_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocFormsImportData200ResponseMetaCacheDeltaPagesItem(t *testing.T) { + t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextWidgetsItem{} - var fernTestValueAnnotObjectNumber int + obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItem{} + var fernTestValuePageObjectNumber int // Act - obj.SetAnnotObjectNumber(fernTestValueAnnotObjectNumber) + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -218822,14 +224821,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextWidgetsItem(t *t // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { + t.Run("SetCache_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemTextWidgetsItem{} - var fernTestValuePageObjectNumber int + obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache // Act - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + obj.SetCache(fernTestValueCache) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -218855,473 +224854,288 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemTextWidgetsItem(t *t } -func TestSettersDocFormsGet200ResponseFieldsItemUnknown(t *testing.T) { - t.Run("SetRef", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueRef *DocFormsGet200ResponseFieldsItemUnknownRef - obj.SetRef(fernTestValueRef) - assert.Equal(t, fernTestValueRef, obj.Ref) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetFieldObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueFieldObjectNumber int - obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) - assert.Equal(t, fernTestValueFieldObjectNumber, obj.FieldObjectNumber) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueName string - obj.SetName(fernTestValueName) - assert.Equal(t, fernTestValueName, obj.Name) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetOrigin", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueOrigin DocFormsGet200ResponseFieldsItemUnknownOrigin - obj.SetOrigin(fernTestValueOrigin) - assert.Equal(t, fernTestValueOrigin, obj.Origin) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetFlags", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueFlags *DocFormsGet200ResponseFieldsItemUnknownFlags - obj.SetFlags(fernTestValueFlags) - assert.Equal(t, fernTestValueFlags, obj.Flags) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetAlternateName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueAlternateName *string - obj.SetAlternateName(fernTestValueAlternateName) - assert.Equal(t, fernTestValueAlternateName, obj.AlternateName) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetMappingName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueMappingName *string - obj.SetMappingName(fernTestValueMappingName) - assert.Equal(t, fernTestValueMappingName, obj.MappingName) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetValueEntry", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemUnknownValueEntry - obj.SetValueEntry(fernTestValueValueEntry) - assert.Equal(t, fernTestValueValueEntry, obj.ValueEntry) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetDefaultValueEntry", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry - obj.SetDefaultValueEntry(fernTestValueDefaultValueEntry) - assert.Equal(t, fernTestValueDefaultValueEntry, obj.DefaultValueEntry) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetActions", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueActions *PdfFieldActions - obj.SetActions(fernTestValueActions) - assert.Equal(t, fernTestValueActions, obj.Actions) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetWidgets", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemUnknownWidgetsItem - obj.SetWidgets(fernTestValueWidgets) - assert.Equal(t, fernTestValueWidgets, obj.Widgets) +func TestSettersDocFormsImportData200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("SetContentVersion", func(t *testing.T) { + obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueContentVersion int + obj.SetContentVersion(fernTestValueContentVersion) + assert.Equal(t, fernTestValueContentVersion, obj.ContentVersion) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetRawValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueRawValue string - obj.SetRawValue(fernTestValueRawValue) - assert.Equal(t, fernTestValueRawValue, obj.RawValue) + t.Run("SetAnnotationVersion", func(t *testing.T) { + obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueAnnotationVersion int + obj.SetAnnotationVersion(fernTestValueAnnotationVersion) + assert.Equal(t, fernTestValueAnnotationVersion, obj.AnnotationVersion) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocFormsGet200ResponseFieldsItemUnknown(t *testing.T) { - t.Run("GetRef", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var expected *DocFormsGet200ResponseFieldsItemUnknownRef - obj.Ref = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetRef(), "getter should return the property value") - }) - - t.Run("GetRef_NilValue", func(t *testing.T) { +func TestGettersDocFormsImportData200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("GetContentVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - obj.Ref = nil + obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache{} + var expected int + obj.ContentVersion = expected // Act & Assert - assert.Nil(t, obj.GetRef(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetContentVersion(), "getter should return the property value") }) - t.Run("GetRef_NilReceiver", func(t *testing.T) { + t.Run("GetContentVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknown + var obj *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetRef() // Should return zero value + _ = obj.GetContentVersion() // Should return zero value }) - t.Run("GetFieldObjectNumber", func(t *testing.T) { + t.Run("GetAnnotationVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} + obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache{} var expected int - obj.FieldObjectNumber = expected + obj.AnnotationVersion = expected // Act & Assert - assert.Equal(t, expected, obj.GetFieldObjectNumber(), "getter should return the property value") + assert.Equal(t, expected, obj.GetAnnotationVersion(), "getter should return the property value") }) - t.Run("GetFieldObjectNumber_NilReceiver", func(t *testing.T) { + t.Run("GetAnnotationVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknown + var obj *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetFieldObjectNumber() // Should return zero value - }) - - t.Run("GetName", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var expected string - obj.Name = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetName(), "getter should return the property value") + _ = obj.GetAnnotationVersion() // Should return zero value }) - t.Run("GetName_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknown - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetName() // Should return zero value - }) +} - t.Run("GetOrigin", func(t *testing.T) { +func TestSettersMarkExplicitDocFormsImportData200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("SetContentVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var expected DocFormsGet200ResponseFieldsItemUnknownOrigin - obj.Origin = expected + obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueContentVersion int - // Act & Assert - assert.Equal(t, expected, obj.GetOrigin(), "getter should return the property value") - }) + // Act + obj.SetContentVersion(fernTestValueContentVersion) - t.Run("GetOrigin_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknown - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetOrigin() // Should return zero value - }) + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") - t.Run("GetFlags", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var expected *DocFormsGet200ResponseFieldsItemUnknownFlags - obj.Flags = expected + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } - // Act & Assert - assert.Equal(t, expected, obj.GetFlags(), "getter should return the property value") + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("GetFlags_NilValue", func(t *testing.T) { + t.Run("SetAnnotationVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - obj.Flags = nil + obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueAnnotationVersion int - // Act & Assert - assert.Nil(t, obj.GetFlags(), "getter should return nil when property is nil") - }) + // Act + obj.SetAnnotationVersion(fernTestValueAnnotationVersion) - t.Run("GetFlags_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknown - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetFlags() // Should return zero value - }) + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") - t.Run("GetAlternateName", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var expected *string - obj.AlternateName = expected + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } - // Act & Assert - assert.Equal(t, expected, obj.GetAlternateName(), "getter should return the property value") + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("GetAlternateName_NilValue", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - obj.AlternateName = nil - - // Act & Assert - assert.Nil(t, obj.GetAlternateName(), "getter should return nil when property is nil") - }) +} - t.Run("GetAlternateName_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknown - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetAlternateName() // Should return zero value +func TestSettersDocFormsImportData400Response(t *testing.T) { + t.Run("SetName", func(t *testing.T) { + obj := &DocFormsImportData400Response{} + var fernTestValueName DocFormsImportData400ResponseName + obj.SetName(fernTestValueName) + assert.Equal(t, fernTestValueName, obj.Name) + assert.NotNil(t, obj.explicitFields) }) - t.Run("GetMappingName", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var expected *string - obj.MappingName = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetMappingName(), "getter should return the property value") + t.Run("SetCode", func(t *testing.T) { + obj := &DocFormsImportData400Response{} + var fernTestValueCode DocFormsImportData400ResponseCode + obj.SetCode(fernTestValueCode) + assert.Equal(t, fernTestValueCode, obj.Code) + assert.NotNil(t, obj.explicitFields) }) - t.Run("GetMappingName_NilValue", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - obj.MappingName = nil - - // Act & Assert - assert.Nil(t, obj.GetMappingName(), "getter should return nil when property is nil") + t.Run("SetMessage", func(t *testing.T) { + obj := &DocFormsImportData400Response{} + var fernTestValueMessage string + obj.SetMessage(fernTestValueMessage) + assert.Equal(t, fernTestValueMessage, obj.Message) + assert.NotNil(t, obj.explicitFields) }) - t.Run("GetMappingName_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknown - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetMappingName() // Should return zero value + t.Run("SetDetails", func(t *testing.T) { + obj := &DocFormsImportData400Response{} + var fernTestValueDetails map[string]any + obj.SetDetails(fernTestValueDetails) + assert.Equal(t, fernTestValueDetails, obj.Details) + assert.NotNil(t, obj.explicitFields) }) - t.Run("GetValueEntry", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var expected *DocFormsGet200ResponseFieldsItemUnknownValueEntry - obj.ValueEntry = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetValueEntry(), "getter should return the property value") - }) +} - t.Run("GetValueEntry_NilValue", func(t *testing.T) { +func TestGettersDocFormsImportData400Response(t *testing.T) { + t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - obj.ValueEntry = nil + obj := &DocFormsImportData400Response{} + var expected DocFormsImportData400ResponseName + obj.Name = expected // Act & Assert - assert.Nil(t, obj.GetValueEntry(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetName(), "getter should return the property value") }) - t.Run("GetValueEntry_NilReceiver", func(t *testing.T) { + t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknown + var obj *DocFormsImportData400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetValueEntry() // Should return zero value - }) - - t.Run("GetDefaultValueEntry", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var expected *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry - obj.DefaultValueEntry = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetDefaultValueEntry(), "getter should return the property value") + _ = obj.GetName() // Should return zero value }) - t.Run("GetDefaultValueEntry_NilValue", func(t *testing.T) { + t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - obj.DefaultValueEntry = nil + obj := &DocFormsImportData400Response{} + var expected DocFormsImportData400ResponseCode + obj.Code = expected // Act & Assert - assert.Nil(t, obj.GetDefaultValueEntry(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetCode(), "getter should return the property value") }) - t.Run("GetDefaultValueEntry_NilReceiver", func(t *testing.T) { + t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknown + var obj *DocFormsImportData400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetDefaultValueEntry() // Should return zero value - }) - - t.Run("GetActions", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var expected *PdfFieldActions - obj.Actions = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetActions(), "getter should return the property value") + _ = obj.GetCode() // Should return zero value }) - t.Run("GetActions_NilValue", func(t *testing.T) { + t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - obj.Actions = nil + obj := &DocFormsImportData400Response{} + var expected string + obj.Message = expected // Act & Assert - assert.Nil(t, obj.GetActions(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") }) - t.Run("GetActions_NilReceiver", func(t *testing.T) { + t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknown + var obj *DocFormsImportData400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetActions() // Should return zero value - }) - - t.Run("GetWidgets", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var expected []*DocFormsGet200ResponseFieldsItemUnknownWidgetsItem - obj.Widgets = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetWidgets(), "getter should return the property value") + _ = obj.GetMessage() // Should return zero value }) - t.Run("GetWidgets_NilValue", func(t *testing.T) { + t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - obj.Widgets = nil + obj := &DocFormsImportData400Response{} + var expected map[string]any + obj.Details = expected // Act & Assert - assert.Nil(t, obj.GetWidgets(), "getter should return nil when property is nil") - }) - - t.Run("GetWidgets_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknown - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetWidgets() // Should return zero value + assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") }) - t.Run("GetRawValue", func(t *testing.T) { + t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var expected string - obj.RawValue = expected + obj := &DocFormsImportData400Response{} + obj.Details = nil // Act & Assert - assert.Equal(t, expected, obj.GetRawValue(), "getter should return the property value") + assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") }) - t.Run("GetRawValue_NilReceiver", func(t *testing.T) { + t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknown + var obj *DocFormsImportData400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetRawValue() // Should return zero value + _ = obj.GetDetails() // Should return zero value }) } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknown(t *testing.T) { - t.Run("SetRef_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocFormsImportData400Response(t *testing.T) { + t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueRef *DocFormsGet200ResponseFieldsItemUnknownRef + obj := &DocFormsImportData400Response{} + var fernTestValueName DocFormsImportData400ResponseName // Act - obj.SetRef(fernTestValueRef) + obj.SetName(fernTestValueName) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -219345,14 +225159,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknown(t *testing.T // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetFieldObjectNumber_MarksExplicit", func(t *testing.T) { + t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueFieldObjectNumber int + obj := &DocFormsImportData400Response{} + var fernTestValueCode DocFormsImportData400ResponseCode // Act - obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) + obj.SetCode(fernTestValueCode) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -219376,14 +225190,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknown(t *testing.T // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetName_MarksExplicit", func(t *testing.T) { + t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueName string + obj := &DocFormsImportData400Response{} + var fernTestValueMessage string // Act - obj.SetName(fernTestValueName) + obj.SetMessage(fernTestValueMessage) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -219407,14 +225221,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknown(t *testing.T // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetOrigin_MarksExplicit", func(t *testing.T) { + t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueOrigin DocFormsGet200ResponseFieldsItemUnknownOrigin + obj := &DocFormsImportData400Response{} + var fernTestValueDetails map[string]any // Act - obj.SetOrigin(fernTestValueOrigin) + obj.SetDetails(fernTestValueDetails) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -219438,76 +225252,157 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknown(t *testing.T // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetFlags_MarksExplicit", func(t *testing.T) { +} + +func TestSettersDocFormsImportData404Response(t *testing.T) { + t.Run("SetName", func(t *testing.T) { + obj := &DocFormsImportData404Response{} + var fernTestValueName DocFormsImportData404ResponseName + obj.SetName(fernTestValueName) + assert.Equal(t, fernTestValueName, obj.Name) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetCode", func(t *testing.T) { + obj := &DocFormsImportData404Response{} + var fernTestValueCode DocFormsImportData404ResponseCode + obj.SetCode(fernTestValueCode) + assert.Equal(t, fernTestValueCode, obj.Code) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetMessage", func(t *testing.T) { + obj := &DocFormsImportData404Response{} + var fernTestValueMessage string + obj.SetMessage(fernTestValueMessage) + assert.Equal(t, fernTestValueMessage, obj.Message) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetDetails", func(t *testing.T) { + obj := &DocFormsImportData404Response{} + var fernTestValueDetails map[string]any + obj.SetDetails(fernTestValueDetails) + assert.Equal(t, fernTestValueDetails, obj.Details) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocFormsImportData404Response(t *testing.T) { + t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueFlags *DocFormsGet200ResponseFieldsItemUnknownFlags + obj := &DocFormsImportData404Response{} + var expected DocFormsImportData404ResponseName + obj.Name = expected - // Act - obj.SetFlags(fernTestValueFlags) + // Act & Assert + assert.Equal(t, expected, obj.GetName(), "getter should return the property value") + }) - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") + t.Run("GetName_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsImportData404Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetName() // Should return zero value + }) - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } + t.Run("GetCode", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsImportData404Response{} + var expected DocFormsImportData404ResponseCode + obj.Code = expected - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip + // Act & Assert + assert.Equal(t, expected, obj.GetCode(), "getter should return the property value") }) - t.Run("SetAlternateName_MarksExplicit", func(t *testing.T) { + t.Run("GetCode_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsImportData404Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetCode() // Should return zero value + }) + + t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueAlternateName *string + obj := &DocFormsImportData404Response{} + var expected string + obj.Message = expected - // Act - obj.SetAlternateName(fernTestValueAlternateName) + // Act & Assert + assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") + }) - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") + t.Run("GetMessage_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsImportData404Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetMessage() // Should return zero value + }) - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } + t.Run("GetDetails", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsImportData404Response{} + var expected map[string]any + obj.Details = expected - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip + // Act & Assert + assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") }) - t.Run("SetMappingName_MarksExplicit", func(t *testing.T) { + t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueMappingName *string + obj := &DocFormsImportData404Response{} + obj.Details = nil + + // Act & Assert + assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") + }) + + t.Run("GetDetails_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsImportData404Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetDetails() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocFormsImportData404Response(t *testing.T) { + t.Run("SetName_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsImportData404Response{} + var fernTestValueName DocFormsImportData404ResponseName // Act - obj.SetMappingName(fernTestValueMappingName) + obj.SetName(fernTestValueName) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -219531,14 +225426,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknown(t *testing.T // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetValueEntry_MarksExplicit", func(t *testing.T) { + t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueValueEntry *DocFormsGet200ResponseFieldsItemUnknownValueEntry + obj := &DocFormsImportData404Response{} + var fernTestValueCode DocFormsImportData404ResponseCode // Act - obj.SetValueEntry(fernTestValueValueEntry) + obj.SetCode(fernTestValueCode) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -219562,14 +225457,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknown(t *testing.T // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetDefaultValueEntry_MarksExplicit", func(t *testing.T) { + t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueDefaultValueEntry *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry + obj := &DocFormsImportData404Response{} + var fernTestValueMessage string // Act - obj.SetDefaultValueEntry(fernTestValueDefaultValueEntry) + obj.SetMessage(fernTestValueMessage) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -219593,14 +225488,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknown(t *testing.T // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetActions_MarksExplicit", func(t *testing.T) { + t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueActions *PdfFieldActions + obj := &DocFormsImportData404Response{} + var fernTestValueDetails map[string]any // Act - obj.SetActions(fernTestValueActions) + obj.SetDetails(fernTestValueDetails) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -219624,45 +225519,64 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknown(t *testing.T // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetWidgets_MarksExplicit", func(t *testing.T) { +} + +func TestSettersDocFormsReset200Response(t *testing.T) { + t.Run("SetMeta", func(t *testing.T) { + obj := &DocFormsReset200Response{} + var fernTestValueMeta *DocFormsReset200ResponseMeta + obj.SetMeta(fernTestValueMeta) + assert.Equal(t, fernTestValueMeta, obj.Meta) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocFormsReset200Response(t *testing.T) { + t.Run("GetMeta", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueWidgets []*DocFormsGet200ResponseFieldsItemUnknownWidgetsItem + obj := &DocFormsReset200Response{} + var expected *DocFormsReset200ResponseMeta + obj.Meta = expected - // Act - obj.SetWidgets(fernTestValueWidgets) + // Act & Assert + assert.Equal(t, expected, obj.GetMeta(), "getter should return the property value") + }) - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") + t.Run("GetMeta_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsReset200Response{} + obj.Meta = nil - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } + // Act & Assert + assert.Nil(t, obj.GetMeta(), "getter should return nil when property is nil") + }) - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip + t.Run("GetMeta_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocFormsReset200Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetMeta() // Should return zero value }) - t.Run("SetRawValue_MarksExplicit", func(t *testing.T) { +} + +func TestSettersMarkExplicitDocFormsReset200Response(t *testing.T) { + t.Run("SetMeta_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknown{} - var fernTestValueRawValue string + obj := &DocFormsReset200Response{} + var fernTestValueMeta *DocFormsReset200ResponseMeta // Act - obj.SetRawValue(fernTestValueRawValue) + obj.SetMeta(fernTestValueMeta) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -219688,220 +225602,287 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknown(t *testing.T } -func TestGettersDocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry(t *testing.T) { - t.Run("GetKind", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry{} - var expected string - obj.Kind = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetKind(), "getter should return the property value") +func TestSettersDocFormsReset200ResponseMeta(t *testing.T) { + t.Run("SetAffectedPages", func(t *testing.T) { + obj := &DocFormsReset200ResponseMeta{} + var fernTestValueAffectedPages []*DocFormsReset200ResponseMetaAffectedPagesItem + obj.SetAffectedPages(fernTestValueAffectedPages) + assert.Equal(t, fernTestValueAffectedPages, obj.AffectedPages) + assert.NotNil(t, obj.explicitFields) }) - t.Run("GetKind_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetKind() // Should return zero value + t.Run("SetCacheDelta", func(t *testing.T) { + obj := &DocFormsReset200ResponseMeta{} + var fernTestValueCacheDelta *DocFormsReset200ResponseMetaCacheDelta + obj.SetCacheDelta(fernTestValueCacheDelta) + assert.Equal(t, fernTestValueCacheDelta, obj.CacheDelta) + assert.NotNil(t, obj.explicitFields) }) - t.Run("GetNone", func(t *testing.T) { +} + +func TestGettersDocFormsReset200ResponseMeta(t *testing.T) { + t.Run("GetAffectedPages", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryNone - obj.None = expected + obj := &DocFormsReset200ResponseMeta{} + var expected []*DocFormsReset200ResponseMetaAffectedPagesItem + obj.AffectedPages = expected // Act & Assert - assert.Equal(t, expected, obj.GetNone(), "getter should return the property value") + assert.Equal(t, expected, obj.GetAffectedPages(), "getter should return the property value") }) - t.Run("GetNone_NilValue", func(t *testing.T) { + t.Run("GetAffectedPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry{} - obj.None = nil + obj := &DocFormsReset200ResponseMeta{} + obj.AffectedPages = nil // Act & Assert - assert.Nil(t, obj.GetNone(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetAffectedPages(), "getter should return nil when property is nil") }) - t.Run("GetNone_NilReceiver", func(t *testing.T) { + t.Run("GetAffectedPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry + var obj *DocFormsReset200ResponseMeta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetNone() // Should return zero value + _ = obj.GetAffectedPages() // Should return zero value }) - t.Run("GetScalar", func(t *testing.T) { + t.Run("GetCacheDelta", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar - obj.Scalar = expected + obj := &DocFormsReset200ResponseMeta{} + var expected *DocFormsReset200ResponseMetaCacheDelta + obj.CacheDelta = expected // Act & Assert - assert.Equal(t, expected, obj.GetScalar(), "getter should return the property value") + assert.Equal(t, expected, obj.GetCacheDelta(), "getter should return the property value") }) - t.Run("GetScalar_NilValue", func(t *testing.T) { + t.Run("GetCacheDelta_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry{} - obj.Scalar = nil + obj := &DocFormsReset200ResponseMeta{} + obj.CacheDelta = nil // Act & Assert - assert.Nil(t, obj.GetScalar(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetCacheDelta(), "getter should return nil when property is nil") }) - t.Run("GetScalar_NilReceiver", func(t *testing.T) { + t.Run("GetCacheDelta_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry + var obj *DocFormsReset200ResponseMeta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetScalar() // Should return zero value + _ = obj.GetCacheDelta() // Should return zero value }) - t.Run("GetArray", func(t *testing.T) { +} + +func TestSettersMarkExplicitDocFormsReset200ResponseMeta(t *testing.T) { + t.Run("SetAffectedPages_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray - obj.Array = expected + obj := &DocFormsReset200ResponseMeta{} + var fernTestValueAffectedPages []*DocFormsReset200ResponseMetaAffectedPagesItem - // Act & Assert - assert.Equal(t, expected, obj.GetArray(), "getter should return the property value") + // Act + obj.SetAffectedPages(fernTestValueAffectedPages) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("GetArray_NilValue", func(t *testing.T) { + t.Run("SetCacheDelta_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry{} - obj.Array = nil + obj := &DocFormsReset200ResponseMeta{} + var fernTestValueCacheDelta *DocFormsReset200ResponseMetaCacheDelta + + // Act + obj.SetCacheDelta(fernTestValueCacheDelta) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocFormsReset200ResponseMetaAffectedPagesItem(t *testing.T) { + t.Run("SetPageObjectNumber", func(t *testing.T) { + obj := &DocFormsReset200ResponseMetaAffectedPagesItem{} + var fernTestValuePageObjectNumber int + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetRevision", func(t *testing.T) { + obj := &DocFormsReset200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocFormsReset200ResponseMetaAffectedPagesItemRevision + obj.SetRevision(fernTestValueRevision) + assert.Equal(t, fernTestValueRevision, obj.Revision) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetWeakAnnotationState", func(t *testing.T) { + obj := &DocFormsReset200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState + obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) + assert.Equal(t, fernTestValueWeakAnnotationState, obj.WeakAnnotationState) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocFormsReset200ResponseMetaAffectedPagesItem(t *testing.T) { + t.Run("GetPageObjectNumber", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsReset200ResponseMetaAffectedPagesItem{} + var expected int + obj.PageObjectNumber = expected // Act & Assert - assert.Nil(t, obj.GetArray(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") }) - t.Run("GetArray_NilReceiver", func(t *testing.T) { + t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry + var obj *DocFormsReset200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetArray() // Should return zero value + _ = obj.GetPageObjectNumber() // Should return zero value }) - t.Run("GetUnsupported", func(t *testing.T) { + t.Run("GetRevision", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryUnsupported - obj.Unsupported = expected + obj := &DocFormsReset200ResponseMetaAffectedPagesItem{} + var expected *DocFormsReset200ResponseMetaAffectedPagesItemRevision + obj.Revision = expected // Act & Assert - assert.Equal(t, expected, obj.GetUnsupported(), "getter should return the property value") + assert.Equal(t, expected, obj.GetRevision(), "getter should return the property value") }) - t.Run("GetUnsupported_NilValue", func(t *testing.T) { + t.Run("GetRevision_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry{} - obj.Unsupported = nil + obj := &DocFormsReset200ResponseMetaAffectedPagesItem{} + obj.Revision = nil // Act & Assert - assert.Nil(t, obj.GetUnsupported(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetRevision(), "getter should return nil when property is nil") }) - t.Run("GetUnsupported_NilReceiver", func(t *testing.T) { + t.Run("GetRevision_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntry + var obj *DocFormsReset200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetUnsupported() // Should return zero value - }) - -} - -func TestSettersDocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray(t *testing.T) { - t.Run("SetValues", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray{} - var fernTestValueValues []string - obj.SetValues(fernTestValueValues) - assert.Equal(t, fernTestValueValues, obj.Values) - assert.NotNil(t, obj.explicitFields) + _ = obj.GetRevision() // Should return zero value }) -} - -func TestGettersDocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray(t *testing.T) { - t.Run("GetValues", func(t *testing.T) { + t.Run("GetWeakAnnotationState", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray{} - var expected []string - obj.Values = expected + obj := &DocFormsReset200ResponseMetaAffectedPagesItem{} + var expected *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState + obj.WeakAnnotationState = expected // Act & Assert - assert.Equal(t, expected, obj.GetValues(), "getter should return the property value") + assert.Equal(t, expected, obj.GetWeakAnnotationState(), "getter should return the property value") }) - t.Run("GetValues_NilValue", func(t *testing.T) { + t.Run("GetWeakAnnotationState_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray{} - obj.Values = nil + obj := &DocFormsReset200ResponseMetaAffectedPagesItem{} + obj.WeakAnnotationState = nil // Act & Assert - assert.Nil(t, obj.GetValues(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetWeakAnnotationState(), "getter should return nil when property is nil") }) - t.Run("GetValues_NilReceiver", func(t *testing.T) { + t.Run("GetWeakAnnotationState_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray + var obj *DocFormsReset200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetValues() // Should return zero value + _ = obj.GetWeakAnnotationState() // Should return zero value }) } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray(t *testing.T) { - t.Run("SetValues_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocFormsReset200ResponseMetaAffectedPagesItem(t *testing.T) { + t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryArray{} - var fernTestValueValues []string + obj := &DocFormsReset200ResponseMetaAffectedPagesItem{} + var fernTestValuePageObjectNumber int // Act - obj.SetValues(fernTestValueValues) + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -219925,54 +225906,45 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownDefaultValueE // It verifies that setting a field via setter allows successful JSON round-trip }) -} - -func TestSettersDocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar(t *testing.T) { - t.Run("SetValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar{} - var fernTestValueValue string - obj.SetValue(fernTestValueValue) - assert.Equal(t, fernTestValueValue, obj.Value) - assert.NotNil(t, obj.explicitFields) - }) - -} - -func TestGettersDocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar(t *testing.T) { - t.Run("GetValue", func(t *testing.T) { + t.Run("SetRevision_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar{} - var expected string - obj.Value = expected + obj := &DocFormsReset200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocFormsReset200ResponseMetaAffectedPagesItemRevision - // Act & Assert - assert.Equal(t, expected, obj.GetValue(), "getter should return the property value") - }) + // Act + obj.SetRevision(fernTestValueRevision) - t.Run("GetValue_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetValue() // Should return zero value - }) + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") -} + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar(t *testing.T) { - t.Run("SetValue_MarksExplicit", func(t *testing.T) { + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetWeakAnnotationState_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownDefaultValueEntryScalar{} - var fernTestValueValue string + obj := &DocFormsReset200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState // Act - obj.SetValue(fernTestValueValue) + obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -219998,176 +225970,114 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownDefaultValueE } -func TestSettersDocFormsGet200ResponseFieldsItemUnknownFlags(t *testing.T) { - t.Run("SetReadOnly", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} - var fernTestValueReadOnly bool - obj.SetReadOnly(fernTestValueReadOnly) - assert.Equal(t, fernTestValueReadOnly, obj.ReadOnly) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetRequired", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} - var fernTestValueRequired bool - obj.SetRequired(fernTestValueRequired) - assert.Equal(t, fernTestValueRequired, obj.Required) +func TestSettersDocFormsReset200ResponseMetaAffectedPagesItemRevision(t *testing.T) { + t.Run("SetDocSessionID", func(t *testing.T) { + obj := &DocFormsReset200ResponseMetaAffectedPagesItemRevision{} + var fernTestValueDocSessionID string + obj.SetDocSessionID(fernTestValueDocSessionID) + assert.Equal(t, fernTestValueDocSessionID, obj.DocSessionID) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetNoExport", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} - var fernTestValueNoExport bool - obj.SetNoExport(fernTestValueNoExport) - assert.Equal(t, fernTestValueNoExport, obj.NoExport) + t.Run("SetPageObjectNumber", func(t *testing.T) { + obj := &DocFormsReset200ResponseMetaAffectedPagesItemRevision{} + var fernTestValuePageObjectNumber int + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetRaw", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} - var fernTestValueRaw int - obj.SetRaw(fernTestValueRaw) - assert.Equal(t, fernTestValueRaw, obj.Raw) + t.Run("SetGeneration", func(t *testing.T) { + obj := &DocFormsReset200ResponseMetaAffectedPagesItemRevision{} + var fernTestValueGeneration int + obj.SetGeneration(fernTestValueGeneration) + assert.Equal(t, fernTestValueGeneration, obj.Generation) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocFormsGet200ResponseFieldsItemUnknownFlags(t *testing.T) { - t.Run("GetReadOnly", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} - var expected bool - obj.ReadOnly = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetReadOnly(), "getter should return the property value") - }) - - t.Run("GetReadOnly_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownFlags - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetReadOnly() // Should return zero value - }) - - t.Run("GetRequired", func(t *testing.T) { +func TestGettersDocFormsReset200ResponseMetaAffectedPagesItemRevision(t *testing.T) { + t.Run("GetDocSessionID", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} - var expected bool - obj.Required = expected + obj := &DocFormsReset200ResponseMetaAffectedPagesItemRevision{} + var expected string + obj.DocSessionID = expected // Act & Assert - assert.Equal(t, expected, obj.GetRequired(), "getter should return the property value") + assert.Equal(t, expected, obj.GetDocSessionID(), "getter should return the property value") }) - t.Run("GetRequired_NilReceiver", func(t *testing.T) { + t.Run("GetDocSessionID_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownFlags + var obj *DocFormsReset200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetRequired() // Should return zero value + _ = obj.GetDocSessionID() // Should return zero value }) - t.Run("GetNoExport", func(t *testing.T) { + t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} - var expected bool - obj.NoExport = expected + obj := &DocFormsReset200ResponseMetaAffectedPagesItemRevision{} + var expected int + obj.PageObjectNumber = expected // Act & Assert - assert.Equal(t, expected, obj.GetNoExport(), "getter should return the property value") + assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") }) - t.Run("GetNoExport_NilReceiver", func(t *testing.T) { + t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownFlags + var obj *DocFormsReset200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetNoExport() // Should return zero value + _ = obj.GetPageObjectNumber() // Should return zero value }) - t.Run("GetRaw", func(t *testing.T) { + t.Run("GetGeneration", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} + obj := &DocFormsReset200ResponseMetaAffectedPagesItemRevision{} var expected int - obj.Raw = expected + obj.Generation = expected // Act & Assert - assert.Equal(t, expected, obj.GetRaw(), "getter should return the property value") + assert.Equal(t, expected, obj.GetGeneration(), "getter should return the property value") }) - t.Run("GetRaw_NilReceiver", func(t *testing.T) { + t.Run("GetGeneration_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownFlags + var obj *DocFormsReset200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetRaw() // Should return zero value + _ = obj.GetGeneration() // Should return zero value }) } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownFlags(t *testing.T) { - t.Run("SetReadOnly_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} - var fernTestValueReadOnly bool - - // Act - obj.SetReadOnly(fernTestValueReadOnly) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetRequired_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocFormsReset200ResponseMetaAffectedPagesItemRevision(t *testing.T) { + t.Run("SetDocSessionID_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} - var fernTestValueRequired bool + obj := &DocFormsReset200ResponseMetaAffectedPagesItemRevision{} + var fernTestValueDocSessionID string // Act - obj.SetRequired(fernTestValueRequired) + obj.SetDocSessionID(fernTestValueDocSessionID) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -220191,14 +226101,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownFlags(t *test // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetNoExport_MarksExplicit", func(t *testing.T) { + t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} - var fernTestValueNoExport bool + obj := &DocFormsReset200ResponseMetaAffectedPagesItemRevision{} + var fernTestValuePageObjectNumber int // Act - obj.SetNoExport(fernTestValueNoExport) + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -220222,14 +226132,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownFlags(t *test // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetRaw_MarksExplicit", func(t *testing.T) { + t.Run("SetGeneration_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownFlags{} - var fernTestValueRaw int + obj := &DocFormsReset200ResponseMetaAffectedPagesItemRevision{} + var fernTestValueGeneration int // Act - obj.SetRaw(fernTestValueRaw) + obj.SetGeneration(fernTestValueGeneration) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -220255,11 +226165,11 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownFlags(t *test } -func TestGettersDocFormsGet200ResponseFieldsItemUnknownRef(t *testing.T) { +func TestGettersDocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownRef{} + obj := &DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState{} var expected string obj.Kind = expected @@ -220269,7 +226179,7 @@ func TestGettersDocFormsGet200ResponseFieldsItemUnknownRef(t *testing.T) { t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownRef + var obj *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -220279,120 +226189,120 @@ func TestGettersDocFormsGet200ResponseFieldsItemUnknownRef(t *testing.T) { _ = obj.GetKind() // Should return zero value }) - t.Run("GetObjectNumber", func(t *testing.T) { + t.Run("GetUnknown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownRef{} - var expected *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber - obj.ObjectNumber = expected + obj := &DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + obj.Unknown = expected // Act & Assert - assert.Equal(t, expected, obj.GetObjectNumber(), "getter should return the property value") + assert.Equal(t, expected, obj.GetUnknown(), "getter should return the property value") }) - t.Run("GetObjectNumber_NilValue", func(t *testing.T) { + t.Run("GetUnknown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownRef{} - obj.ObjectNumber = nil + obj := &DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj.Unknown = nil // Act & Assert - assert.Nil(t, obj.GetObjectNumber(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetUnknown(), "getter should return nil when property is nil") }) - t.Run("GetObjectNumber_NilReceiver", func(t *testing.T) { + t.Run("GetUnknown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownRef + var obj *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetObjectNumber() // Should return zero value + _ = obj.GetUnknown() // Should return zero value }) - t.Run("GetFqn", func(t *testing.T) { + t.Run("GetKnown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownRef{} - var expected *DocFormsGet200ResponseFieldsItemUnknownRefFqn - obj.Fqn = expected + obj := &DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + obj.Known = expected // Act & Assert - assert.Equal(t, expected, obj.GetFqn(), "getter should return the property value") + assert.Equal(t, expected, obj.GetKnown(), "getter should return the property value") }) - t.Run("GetFqn_NilValue", func(t *testing.T) { + t.Run("GetKnown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownRef{} - obj.Fqn = nil + obj := &DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj.Known = nil // Act & Assert - assert.Nil(t, obj.GetFqn(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetKnown(), "getter should return nil when property is nil") }) - t.Run("GetFqn_NilReceiver", func(t *testing.T) { + t.Run("GetKnown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownRef + var obj *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetFqn() // Should return zero value + _ = obj.GetKnown() // Should return zero value }) } -func TestSettersDocFormsGet200ResponseFieldsItemUnknownRefFqn(t *testing.T) { - t.Run("SetName", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknownRefFqn{} - var fernTestValueName string - obj.SetName(fernTestValueName) - assert.Equal(t, fernTestValueName, obj.Name) +func TestSettersDocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("SetHasAnyWeakAnnotations", func(t *testing.T) { + obj := &DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + var fernTestValueHasAnyWeakAnnotations bool + obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) + assert.Equal(t, fernTestValueHasAnyWeakAnnotations, obj.HasAnyWeakAnnotations) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocFormsGet200ResponseFieldsItemUnknownRefFqn(t *testing.T) { - t.Run("GetName", func(t *testing.T) { +func TestGettersDocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("GetHasAnyWeakAnnotations", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownRefFqn{} - var expected string - obj.Name = expected + obj := &DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + var expected bool + obj.HasAnyWeakAnnotations = expected // Act & Assert - assert.Equal(t, expected, obj.GetName(), "getter should return the property value") + assert.Equal(t, expected, obj.GetHasAnyWeakAnnotations(), "getter should return the property value") }) - t.Run("GetName_NilReceiver", func(t *testing.T) { + t.Run("GetHasAnyWeakAnnotations_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownRefFqn + var obj *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetName() // Should return zero value + _ = obj.GetHasAnyWeakAnnotations() // Should return zero value }) } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownRefFqn(t *testing.T) { - t.Run("SetName_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("SetHasAnyWeakAnnotations_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownRefFqn{} - var fernTestValueName string + obj := &DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + var fernTestValueHasAnyWeakAnnotations bool // Act - obj.SetName(fernTestValueName) + obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -220418,291 +226328,370 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownRefFqn(t *tes } -func TestSettersDocFormsGet200ResponseFieldsItemUnknownRefObjectNumber(t *testing.T) { - t.Run("SetFieldObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber{} - var fernTestValueFieldObjectNumber int - obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) - assert.Equal(t, fernTestValueFieldObjectNumber, obj.FieldObjectNumber) +func TestSettersDocFormsReset200ResponseMetaCacheDelta(t *testing.T) { + t.Run("SetPreviousDocVersion", func(t *testing.T) { + obj := &DocFormsReset200ResponseMetaCacheDelta{} + var fernTestValuePreviousDocVersion int + obj.SetPreviousDocVersion(fernTestValuePreviousDocVersion) + assert.Equal(t, fernTestValuePreviousDocVersion, obj.PreviousDocVersion) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetDocVersion", func(t *testing.T) { + obj := &DocFormsReset200ResponseMetaCacheDelta{} + var fernTestValueDocVersion int + obj.SetDocVersion(fernTestValueDocVersion) + assert.Equal(t, fernTestValueDocVersion, obj.DocVersion) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetAnnotationsVersion", func(t *testing.T) { + obj := &DocFormsReset200ResponseMetaCacheDelta{} + var fernTestValueAnnotationsVersion *int + obj.SetAnnotationsVersion(fernTestValueAnnotationsVersion) + assert.Equal(t, fernTestValueAnnotationsVersion, obj.AnnotationsVersion) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetPages", func(t *testing.T) { + obj := &DocFormsReset200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocFormsReset200ResponseMetaCacheDeltaPagesItem + obj.SetPages(fernTestValuePages) + assert.Equal(t, fernTestValuePages, obj.Pages) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocFormsGet200ResponseFieldsItemUnknownRefObjectNumber(t *testing.T) { - t.Run("GetFieldObjectNumber", func(t *testing.T) { +func TestGettersDocFormsReset200ResponseMetaCacheDelta(t *testing.T) { + t.Run("GetPreviousDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber{} + obj := &DocFormsReset200ResponseMetaCacheDelta{} var expected int - obj.FieldObjectNumber = expected + obj.PreviousDocVersion = expected // Act & Assert - assert.Equal(t, expected, obj.GetFieldObjectNumber(), "getter should return the property value") + assert.Equal(t, expected, obj.GetPreviousDocVersion(), "getter should return the property value") }) - t.Run("GetFieldObjectNumber_NilReceiver", func(t *testing.T) { + t.Run("GetPreviousDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber + var obj *DocFormsReset200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetFieldObjectNumber() // Should return zero value - }) - -} - -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownRefObjectNumber(t *testing.T) { - t.Run("SetFieldObjectNumber_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownRefObjectNumber{} - var fernTestValueFieldObjectNumber int - - // Act - obj.SetFieldObjectNumber(fernTestValueFieldObjectNumber) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip + _ = obj.GetPreviousDocVersion() // Should return zero value }) -} - -func TestGettersDocFormsGet200ResponseFieldsItemUnknownValueEntry(t *testing.T) { - t.Run("GetKind", func(t *testing.T) { + t.Run("GetDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntry{} - var expected string - obj.Kind = expected + obj := &DocFormsReset200ResponseMetaCacheDelta{} + var expected int + obj.DocVersion = expected // Act & Assert - assert.Equal(t, expected, obj.GetKind(), "getter should return the property value") + assert.Equal(t, expected, obj.GetDocVersion(), "getter should return the property value") }) - t.Run("GetKind_NilReceiver", func(t *testing.T) { + t.Run("GetDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownValueEntry + var obj *DocFormsReset200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetKind() // Should return zero value + _ = obj.GetDocVersion() // Should return zero value }) - t.Run("GetNone", func(t *testing.T) { + t.Run("GetAnnotationsVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemUnknownValueEntryNone - obj.None = expected + obj := &DocFormsReset200ResponseMetaCacheDelta{} + var expected *int + obj.AnnotationsVersion = expected // Act & Assert - assert.Equal(t, expected, obj.GetNone(), "getter should return the property value") + assert.Equal(t, expected, obj.GetAnnotationsVersion(), "getter should return the property value") }) - t.Run("GetNone_NilValue", func(t *testing.T) { + t.Run("GetAnnotationsVersion_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntry{} - obj.None = nil + obj := &DocFormsReset200ResponseMetaCacheDelta{} + obj.AnnotationsVersion = nil // Act & Assert - assert.Nil(t, obj.GetNone(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetAnnotationsVersion(), "getter should return nil when property is nil") }) - t.Run("GetNone_NilReceiver", func(t *testing.T) { + t.Run("GetAnnotationsVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownValueEntry + var obj *DocFormsReset200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetNone() // Should return zero value + _ = obj.GetAnnotationsVersion() // Should return zero value }) - t.Run("GetScalar", func(t *testing.T) { + t.Run("GetPages", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar - obj.Scalar = expected + obj := &DocFormsReset200ResponseMetaCacheDelta{} + var expected []*DocFormsReset200ResponseMetaCacheDeltaPagesItem + obj.Pages = expected // Act & Assert - assert.Equal(t, expected, obj.GetScalar(), "getter should return the property value") + assert.Equal(t, expected, obj.GetPages(), "getter should return the property value") }) - t.Run("GetScalar_NilValue", func(t *testing.T) { + t.Run("GetPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntry{} - obj.Scalar = nil + obj := &DocFormsReset200ResponseMetaCacheDelta{} + obj.Pages = nil // Act & Assert - assert.Nil(t, obj.GetScalar(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetPages(), "getter should return nil when property is nil") }) - t.Run("GetScalar_NilReceiver", func(t *testing.T) { + t.Run("GetPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownValueEntry + var obj *DocFormsReset200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetScalar() // Should return zero value + _ = obj.GetPages() // Should return zero value }) - t.Run("GetArray", func(t *testing.T) { +} + +func TestSettersMarkExplicitDocFormsReset200ResponseMetaCacheDelta(t *testing.T) { + t.Run("SetPreviousDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemUnknownValueEntryArray - obj.Array = expected + obj := &DocFormsReset200ResponseMetaCacheDelta{} + var fernTestValuePreviousDocVersion int - // Act & Assert - assert.Equal(t, expected, obj.GetArray(), "getter should return the property value") + // Act + obj.SetPreviousDocVersion(fernTestValuePreviousDocVersion) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("GetArray_NilValue", func(t *testing.T) { + t.Run("SetDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntry{} - obj.Array = nil + obj := &DocFormsReset200ResponseMetaCacheDelta{} + var fernTestValueDocVersion int - // Act & Assert - assert.Nil(t, obj.GetArray(), "getter should return nil when property is nil") + // Act + obj.SetDocVersion(fernTestValueDocVersion) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("GetArray_NilReceiver", func(t *testing.T) { + t.Run("SetAnnotationsVersion_MarksExplicit", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownValueEntry - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetArray() // Should return zero value + // Arrange + obj := &DocFormsReset200ResponseMetaCacheDelta{} + var fernTestValueAnnotationsVersion *int + + // Act + obj.SetAnnotationsVersion(fernTestValueAnnotationsVersion) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("GetUnsupported", func(t *testing.T) { + t.Run("SetPages_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntry{} - var expected *DocFormsGet200ResponseFieldsItemUnknownValueEntryUnsupported - obj.Unsupported = expected + obj := &DocFormsReset200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocFormsReset200ResponseMetaCacheDeltaPagesItem - // Act & Assert - assert.Equal(t, expected, obj.GetUnsupported(), "getter should return the property value") + // Act + obj.SetPages(fernTestValuePages) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("GetUnsupported_NilValue", func(t *testing.T) { +} + +func TestSettersDocFormsReset200ResponseMetaCacheDeltaPagesItem(t *testing.T) { + t.Run("SetPageObjectNumber", func(t *testing.T) { + obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItem{} + var fernTestValuePageObjectNumber int + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetCache", func(t *testing.T) { + obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache + obj.SetCache(fernTestValueCache) + assert.Equal(t, fernTestValueCache, obj.Cache) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocFormsReset200ResponseMetaCacheDeltaPagesItem(t *testing.T) { + t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntry{} - obj.Unsupported = nil + obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItem{} + var expected int + obj.PageObjectNumber = expected // Act & Assert - assert.Nil(t, obj.GetUnsupported(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") }) - t.Run("GetUnsupported_NilReceiver", func(t *testing.T) { + t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownValueEntry + var obj *DocFormsReset200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetUnsupported() // Should return zero value - }) - -} - -func TestSettersDocFormsGet200ResponseFieldsItemUnknownValueEntryArray(t *testing.T) { - t.Run("SetValues", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntryArray{} - var fernTestValueValues []string - obj.SetValues(fernTestValueValues) - assert.Equal(t, fernTestValueValues, obj.Values) - assert.NotNil(t, obj.explicitFields) + _ = obj.GetPageObjectNumber() // Should return zero value }) -} - -func TestGettersDocFormsGet200ResponseFieldsItemUnknownValueEntryArray(t *testing.T) { - t.Run("GetValues", func(t *testing.T) { + t.Run("GetCache", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntryArray{} - var expected []string - obj.Values = expected + obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItem{} + var expected *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache + obj.Cache = expected // Act & Assert - assert.Equal(t, expected, obj.GetValues(), "getter should return the property value") + assert.Equal(t, expected, obj.GetCache(), "getter should return the property value") }) - t.Run("GetValues_NilValue", func(t *testing.T) { + t.Run("GetCache_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntryArray{} - obj.Values = nil + obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItem{} + obj.Cache = nil // Act & Assert - assert.Nil(t, obj.GetValues(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetCache(), "getter should return nil when property is nil") }) - t.Run("GetValues_NilReceiver", func(t *testing.T) { + t.Run("GetCache_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownValueEntryArray + var obj *DocFormsReset200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetValues() // Should return zero value + _ = obj.GetCache() // Should return zero value }) } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownValueEntryArray(t *testing.T) { - t.Run("SetValues_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocFormsReset200ResponseMetaCacheDeltaPagesItem(t *testing.T) { + t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntryArray{} - var fernTestValueValues []string + obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItem{} + var fernTestValuePageObjectNumber int // Act - obj.SetValues(fernTestValueValues) + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -220726,54 +226715,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownValueEntryArr // It verifies that setting a field via setter allows successful JSON round-trip }) -} - -func TestSettersDocFormsGet200ResponseFieldsItemUnknownValueEntryScalar(t *testing.T) { - t.Run("SetValue", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar{} - var fernTestValueValue string - obj.SetValue(fernTestValueValue) - assert.Equal(t, fernTestValueValue, obj.Value) - assert.NotNil(t, obj.explicitFields) - }) - -} - -func TestGettersDocFormsGet200ResponseFieldsItemUnknownValueEntryScalar(t *testing.T) { - t.Run("GetValue", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar{} - var expected string - obj.Value = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetValue(), "getter should return the property value") - }) - - t.Run("GetValue_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetValue() // Should return zero value - }) - -} - -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownValueEntryScalar(t *testing.T) { - t.Run("SetValue_MarksExplicit", func(t *testing.T) { + t.Run("SetCache_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownValueEntryScalar{} - var fernTestValueValue string + obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache // Act - obj.SetValue(fernTestValueValue) + obj.SetCache(fernTestValueCache) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -220799,83 +226748,83 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownValueEntrySca } -func TestSettersDocFormsGet200ResponseFieldsItemUnknownWidgetsItem(t *testing.T) { - t.Run("SetAnnotObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknownWidgetsItem{} - var fernTestValueAnnotObjectNumber int - obj.SetAnnotObjectNumber(fernTestValueAnnotObjectNumber) - assert.Equal(t, fernTestValueAnnotObjectNumber, obj.AnnotObjectNumber) +func TestSettersDocFormsReset200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("SetContentVersion", func(t *testing.T) { + obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueContentVersion int + obj.SetContentVersion(fernTestValueContentVersion) + assert.Equal(t, fernTestValueContentVersion, obj.ContentVersion) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocFormsGet200ResponseFieldsItemUnknownWidgetsItem{} - var fernTestValuePageObjectNumber int - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) - assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) + t.Run("SetAnnotationVersion", func(t *testing.T) { + obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueAnnotationVersion int + obj.SetAnnotationVersion(fernTestValueAnnotationVersion) + assert.Equal(t, fernTestValueAnnotationVersion, obj.AnnotationVersion) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocFormsGet200ResponseFieldsItemUnknownWidgetsItem(t *testing.T) { - t.Run("GetAnnotObjectNumber", func(t *testing.T) { +func TestGettersDocFormsReset200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("GetContentVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownWidgetsItem{} + obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItemCache{} var expected int - obj.AnnotObjectNumber = expected + obj.ContentVersion = expected // Act & Assert - assert.Equal(t, expected, obj.GetAnnotObjectNumber(), "getter should return the property value") + assert.Equal(t, expected, obj.GetContentVersion(), "getter should return the property value") }) - t.Run("GetAnnotObjectNumber_NilReceiver", func(t *testing.T) { + t.Run("GetContentVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem + var obj *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetAnnotObjectNumber() // Should return zero value + _ = obj.GetContentVersion() // Should return zero value }) - t.Run("GetPageObjectNumber", func(t *testing.T) { + t.Run("GetAnnotationVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownWidgetsItem{} + obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItemCache{} var expected int - obj.PageObjectNumber = expected + obj.AnnotationVersion = expected // Act & Assert - assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + assert.Equal(t, expected, obj.GetAnnotationVersion(), "getter should return the property value") }) - t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Run("GetAnnotationVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet200ResponseFieldsItemUnknownWidgetsItem + var obj *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetPageObjectNumber() // Should return zero value + _ = obj.GetAnnotationVersion() // Should return zero value }) } -func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownWidgetsItem(t *testing.T) { - t.Run("SetAnnotObjectNumber_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocFormsReset200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("SetContentVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownWidgetsItem{} - var fernTestValueAnnotObjectNumber int + obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueContentVersion int // Act - obj.SetAnnotObjectNumber(fernTestValueAnnotObjectNumber) + obj.SetContentVersion(fernTestValueContentVersion) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -220899,14 +226848,14 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownWidgetsItem(t // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { + t.Run("SetAnnotationVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet200ResponseFieldsItemUnknownWidgetsItem{} - var fernTestValuePageObjectNumber int + obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueAnnotationVersion int // Act - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + obj.SetAnnotationVersion(fernTestValueAnnotationVersion) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -220932,25 +226881,25 @@ func TestSettersMarkExplicitDocFormsGet200ResponseFieldsItemUnknownWidgetsItem(t } -func TestSettersDocFormsGet404Response(t *testing.T) { +func TestSettersDocFormsReset404Response(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocFormsGet404Response{} - var fernTestValueName DocFormsGet404ResponseName + obj := &DocFormsReset404Response{} + var fernTestValueName DocFormsReset404ResponseName obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCode", func(t *testing.T) { - obj := &DocFormsGet404Response{} - var fernTestValueCode DocFormsGet404ResponseCode + obj := &DocFormsReset404Response{} + var fernTestValueCode DocFormsReset404ResponseCode obj.SetCode(fernTestValueCode) assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) t.Run("SetMessage", func(t *testing.T) { - obj := &DocFormsGet404Response{} + obj := &DocFormsReset404Response{} var fernTestValueMessage string obj.SetMessage(fernTestValueMessage) assert.Equal(t, fernTestValueMessage, obj.Message) @@ -220958,7 +226907,7 @@ func TestSettersDocFormsGet404Response(t *testing.T) { }) t.Run("SetDetails", func(t *testing.T) { - obj := &DocFormsGet404Response{} + obj := &DocFormsReset404Response{} var fernTestValueDetails map[string]any obj.SetDetails(fernTestValueDetails) assert.Equal(t, fernTestValueDetails, obj.Details) @@ -220967,12 +226916,12 @@ func TestSettersDocFormsGet404Response(t *testing.T) { } -func TestGettersDocFormsGet404Response(t *testing.T) { +func TestGettersDocFormsReset404Response(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet404Response{} - var expected DocFormsGet404ResponseName + obj := &DocFormsReset404Response{} + var expected DocFormsReset404ResponseName obj.Name = expected // Act & Assert @@ -220981,7 +226930,7 @@ func TestGettersDocFormsGet404Response(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet404Response + var obj *DocFormsReset404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -220994,8 +226943,8 @@ func TestGettersDocFormsGet404Response(t *testing.T) { t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet404Response{} - var expected DocFormsGet404ResponseCode + obj := &DocFormsReset404Response{} + var expected DocFormsReset404ResponseCode obj.Code = expected // Act & Assert @@ -221004,7 +226953,7 @@ func TestGettersDocFormsGet404Response(t *testing.T) { t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet404Response + var obj *DocFormsReset404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -221017,7 +226966,7 @@ func TestGettersDocFormsGet404Response(t *testing.T) { t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet404Response{} + obj := &DocFormsReset404Response{} var expected string obj.Message = expected @@ -221027,7 +226976,7 @@ func TestGettersDocFormsGet404Response(t *testing.T) { t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet404Response + var obj *DocFormsReset404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -221040,7 +226989,7 @@ func TestGettersDocFormsGet404Response(t *testing.T) { t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet404Response{} + obj := &DocFormsReset404Response{} var expected map[string]any obj.Details = expected @@ -221051,7 +227000,7 @@ func TestGettersDocFormsGet404Response(t *testing.T) { t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet404Response{} + obj := &DocFormsReset404Response{} obj.Details = nil // Act & Assert @@ -221060,7 +227009,7 @@ func TestGettersDocFormsGet404Response(t *testing.T) { t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsGet404Response + var obj *DocFormsReset404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -221072,12 +227021,12 @@ func TestGettersDocFormsGet404Response(t *testing.T) { } -func TestSettersMarkExplicitDocFormsGet404Response(t *testing.T) { +func TestSettersMarkExplicitDocFormsReset404Response(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet404Response{} - var fernTestValueName DocFormsGet404ResponseName + obj := &DocFormsReset404Response{} + var fernTestValueName DocFormsReset404ResponseName // Act obj.SetName(fernTestValueName) @@ -221107,8 +227056,8 @@ func TestSettersMarkExplicitDocFormsGet404Response(t *testing.T) { t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet404Response{} - var fernTestValueCode DocFormsGet404ResponseCode + obj := &DocFormsReset404Response{} + var fernTestValueCode DocFormsReset404ResponseCode // Act obj.SetCode(fernTestValueCode) @@ -221138,7 +227087,7 @@ func TestSettersMarkExplicitDocFormsGet404Response(t *testing.T) { t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet404Response{} + obj := &DocFormsReset404Response{} var fernTestValueMessage string // Act @@ -221169,7 +227118,7 @@ func TestSettersMarkExplicitDocFormsGet404Response(t *testing.T) { t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsGet404Response{} + obj := &DocFormsReset404Response{} var fernTestValueDetails map[string]any // Act @@ -221199,10 +227148,10 @@ func TestSettersMarkExplicitDocFormsGet404Response(t *testing.T) { } -func TestSettersDocFormsImportData200Response(t *testing.T) { +func TestSettersDocFormsSetValue200Response(t *testing.T) { t.Run("SetMeta", func(t *testing.T) { - obj := &DocFormsImportData200Response{} - var fernTestValueMeta *DocFormsImportData200ResponseMeta + obj := &DocFormsSetValue200Response{} + var fernTestValueMeta *DocFormsSetValue200ResponseMeta obj.SetMeta(fernTestValueMeta) assert.Equal(t, fernTestValueMeta, obj.Meta) assert.NotNil(t, obj.explicitFields) @@ -221210,12 +227159,12 @@ func TestSettersDocFormsImportData200Response(t *testing.T) { } -func TestGettersDocFormsImportData200Response(t *testing.T) { +func TestGettersDocFormsSetValue200Response(t *testing.T) { t.Run("GetMeta", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200Response{} - var expected *DocFormsImportData200ResponseMeta + obj := &DocFormsSetValue200Response{} + var expected *DocFormsSetValue200ResponseMeta obj.Meta = expected // Act & Assert @@ -221225,7 +227174,7 @@ func TestGettersDocFormsImportData200Response(t *testing.T) { t.Run("GetMeta_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200Response{} + obj := &DocFormsSetValue200Response{} obj.Meta = nil // Act & Assert @@ -221234,7 +227183,7 @@ func TestGettersDocFormsImportData200Response(t *testing.T) { t.Run("GetMeta_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData200Response + var obj *DocFormsSetValue200Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -221246,12 +227195,12 @@ func TestGettersDocFormsImportData200Response(t *testing.T) { } -func TestSettersMarkExplicitDocFormsImportData200Response(t *testing.T) { +func TestSettersMarkExplicitDocFormsSetValue200Response(t *testing.T) { t.Run("SetMeta_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200Response{} - var fernTestValueMeta *DocFormsImportData200ResponseMeta + obj := &DocFormsSetValue200Response{} + var fernTestValueMeta *DocFormsSetValue200ResponseMeta // Act obj.SetMeta(fernTestValueMeta) @@ -221280,18 +227229,18 @@ func TestSettersMarkExplicitDocFormsImportData200Response(t *testing.T) { } -func TestSettersDocFormsImportData200ResponseMeta(t *testing.T) { +func TestSettersDocFormsSetValue200ResponseMeta(t *testing.T) { t.Run("SetAffectedPages", func(t *testing.T) { - obj := &DocFormsImportData200ResponseMeta{} - var fernTestValueAffectedPages []*DocFormsImportData200ResponseMetaAffectedPagesItem + obj := &DocFormsSetValue200ResponseMeta{} + var fernTestValueAffectedPages []*DocFormsSetValue200ResponseMetaAffectedPagesItem obj.SetAffectedPages(fernTestValueAffectedPages) assert.Equal(t, fernTestValueAffectedPages, obj.AffectedPages) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCacheDelta", func(t *testing.T) { - obj := &DocFormsImportData200ResponseMeta{} - var fernTestValueCacheDelta *DocFormsImportData200ResponseMetaCacheDelta + obj := &DocFormsSetValue200ResponseMeta{} + var fernTestValueCacheDelta *DocFormsSetValue200ResponseMetaCacheDelta obj.SetCacheDelta(fernTestValueCacheDelta) assert.Equal(t, fernTestValueCacheDelta, obj.CacheDelta) assert.NotNil(t, obj.explicitFields) @@ -221299,12 +227248,12 @@ func TestSettersDocFormsImportData200ResponseMeta(t *testing.T) { } -func TestGettersDocFormsImportData200ResponseMeta(t *testing.T) { +func TestGettersDocFormsSetValue200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMeta{} - var expected []*DocFormsImportData200ResponseMetaAffectedPagesItem + obj := &DocFormsSetValue200ResponseMeta{} + var expected []*DocFormsSetValue200ResponseMetaAffectedPagesItem obj.AffectedPages = expected // Act & Assert @@ -221314,7 +227263,7 @@ func TestGettersDocFormsImportData200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMeta{} + obj := &DocFormsSetValue200ResponseMeta{} obj.AffectedPages = nil // Act & Assert @@ -221323,7 +227272,7 @@ func TestGettersDocFormsImportData200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData200ResponseMeta + var obj *DocFormsSetValue200ResponseMeta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -221336,8 +227285,8 @@ func TestGettersDocFormsImportData200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMeta{} - var expected *DocFormsImportData200ResponseMetaCacheDelta + obj := &DocFormsSetValue200ResponseMeta{} + var expected *DocFormsSetValue200ResponseMetaCacheDelta obj.CacheDelta = expected // Act & Assert @@ -221347,7 +227296,7 @@ func TestGettersDocFormsImportData200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMeta{} + obj := &DocFormsSetValue200ResponseMeta{} obj.CacheDelta = nil // Act & Assert @@ -221356,7 +227305,7 @@ func TestGettersDocFormsImportData200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData200ResponseMeta + var obj *DocFormsSetValue200ResponseMeta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -221368,12 +227317,12 @@ func TestGettersDocFormsImportData200ResponseMeta(t *testing.T) { } -func TestSettersMarkExplicitDocFormsImportData200ResponseMeta(t *testing.T) { +func TestSettersMarkExplicitDocFormsSetValue200ResponseMeta(t *testing.T) { t.Run("SetAffectedPages_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMeta{} - var fernTestValueAffectedPages []*DocFormsImportData200ResponseMetaAffectedPagesItem + obj := &DocFormsSetValue200ResponseMeta{} + var fernTestValueAffectedPages []*DocFormsSetValue200ResponseMetaAffectedPagesItem // Act obj.SetAffectedPages(fernTestValueAffectedPages) @@ -221403,8 +227352,8 @@ func TestSettersMarkExplicitDocFormsImportData200ResponseMeta(t *testing.T) { t.Run("SetCacheDelta_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMeta{} - var fernTestValueCacheDelta *DocFormsImportData200ResponseMetaCacheDelta + obj := &DocFormsSetValue200ResponseMeta{} + var fernTestValueCacheDelta *DocFormsSetValue200ResponseMetaCacheDelta // Act obj.SetCacheDelta(fernTestValueCacheDelta) @@ -221433,9 +227382,9 @@ func TestSettersMarkExplicitDocFormsImportData200ResponseMeta(t *testing.T) { } -func TestSettersDocFormsImportData200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestSettersDocFormsSetValue200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocFormsImportData200ResponseMetaAffectedPagesItem{} + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -221443,16 +227392,16 @@ func TestSettersDocFormsImportData200ResponseMetaAffectedPagesItem(t *testing.T) }) t.Run("SetRevision", func(t *testing.T) { - obj := &DocFormsImportData200ResponseMetaAffectedPagesItem{} - var fernTestValueRevision *DocFormsImportData200ResponseMetaAffectedPagesItemRevision + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision obj.SetRevision(fernTestValueRevision) assert.Equal(t, fernTestValueRevision, obj.Revision) assert.NotNil(t, obj.explicitFields) }) t.Run("SetWeakAnnotationState", func(t *testing.T) { - obj := &DocFormsImportData200ResponseMetaAffectedPagesItem{} - var fernTestValueWeakAnnotationState *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) assert.Equal(t, fernTestValueWeakAnnotationState, obj.WeakAnnotationState) assert.NotNil(t, obj.explicitFields) @@ -221460,11 +227409,11 @@ func TestSettersDocFormsImportData200ResponseMetaAffectedPagesItem(t *testing.T) } -func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaAffectedPagesItem{} + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItem{} var expected int obj.PageObjectNumber = expected @@ -221474,7 +227423,7 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItem(t *testing.T) t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData200ResponseMetaAffectedPagesItem + var obj *DocFormsSetValue200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -221487,8 +227436,8 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItem(t *testing.T) t.Run("GetRevision", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaAffectedPagesItem{} - var expected *DocFormsImportData200ResponseMetaAffectedPagesItemRevision + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItem{} + var expected *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision obj.Revision = expected // Act & Assert @@ -221498,7 +227447,7 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItem(t *testing.T) t.Run("GetRevision_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaAffectedPagesItem{} + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItem{} obj.Revision = nil // Act & Assert @@ -221507,7 +227456,7 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItem(t *testing.T) t.Run("GetRevision_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData200ResponseMetaAffectedPagesItem + var obj *DocFormsSetValue200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -221520,8 +227469,8 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItem(t *testing.T) t.Run("GetWeakAnnotationState", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaAffectedPagesItem{} - var expected *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItem{} + var expected *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState obj.WeakAnnotationState = expected // Act & Assert @@ -221531,7 +227480,7 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItem(t *testing.T) t.Run("GetWeakAnnotationState_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaAffectedPagesItem{} + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItem{} obj.WeakAnnotationState = nil // Act & Assert @@ -221540,7 +227489,7 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItem(t *testing.T) t.Run("GetWeakAnnotationState_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData200ResponseMetaAffectedPagesItem + var obj *DocFormsSetValue200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -221552,11 +227501,11 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItem(t *testing.T) } -func TestSettersMarkExplicitDocFormsImportData200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaAffectedPagesItem{} + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItem{} var fernTestValuePageObjectNumber int // Act @@ -221587,8 +227536,8 @@ func TestSettersMarkExplicitDocFormsImportData200ResponseMetaAffectedPagesItem(t t.Run("SetRevision_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaAffectedPagesItem{} - var fernTestValueRevision *DocFormsImportData200ResponseMetaAffectedPagesItemRevision + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision // Act obj.SetRevision(fernTestValueRevision) @@ -221618,8 +227567,8 @@ func TestSettersMarkExplicitDocFormsImportData200ResponseMetaAffectedPagesItem(t t.Run("SetWeakAnnotationState_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaAffectedPagesItem{} - var fernTestValueWeakAnnotationState *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState // Act obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) @@ -221648,9 +227597,9 @@ func TestSettersMarkExplicitDocFormsImportData200ResponseMetaAffectedPagesItem(t } -func TestSettersDocFormsImportData200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestSettersDocFormsSetValue200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("SetDocSessionID", func(t *testing.T) { - obj := &DocFormsImportData200ResponseMetaAffectedPagesItemRevision{} + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemRevision{} var fernTestValueDocSessionID string obj.SetDocSessionID(fernTestValueDocSessionID) assert.Equal(t, fernTestValueDocSessionID, obj.DocSessionID) @@ -221658,7 +227607,7 @@ func TestSettersDocFormsImportData200ResponseMetaAffectedPagesItemRevision(t *te }) t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocFormsImportData200ResponseMetaAffectedPagesItemRevision{} + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemRevision{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -221666,7 +227615,7 @@ func TestSettersDocFormsImportData200ResponseMetaAffectedPagesItemRevision(t *te }) t.Run("SetGeneration", func(t *testing.T) { - obj := &DocFormsImportData200ResponseMetaAffectedPagesItemRevision{} + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemRevision{} var fernTestValueGeneration int obj.SetGeneration(fernTestValueGeneration) assert.Equal(t, fernTestValueGeneration, obj.Generation) @@ -221675,11 +227624,11 @@ func TestSettersDocFormsImportData200ResponseMetaAffectedPagesItemRevision(t *te } -func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("GetDocSessionID", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaAffectedPagesItemRevision{} + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemRevision{} var expected string obj.DocSessionID = expected @@ -221689,7 +227638,7 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItemRevision(t *te t.Run("GetDocSessionID_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData200ResponseMetaAffectedPagesItemRevision + var obj *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -221702,7 +227651,7 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItemRevision(t *te t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaAffectedPagesItemRevision{} + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemRevision{} var expected int obj.PageObjectNumber = expected @@ -221712,7 +227661,7 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItemRevision(t *te t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData200ResponseMetaAffectedPagesItemRevision + var obj *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -221725,7 +227674,7 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItemRevision(t *te t.Run("GetGeneration", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaAffectedPagesItemRevision{} + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemRevision{} var expected int obj.Generation = expected @@ -221735,7 +227684,7 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItemRevision(t *te t.Run("GetGeneration_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData200ResponseMetaAffectedPagesItemRevision + var obj *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -221747,11 +227696,11 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItemRevision(t *te } -func TestSettersMarkExplicitDocFormsImportData200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("SetDocSessionID_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaAffectedPagesItemRevision{} + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemRevision{} var fernTestValueDocSessionID string // Act @@ -221782,7 +227731,7 @@ func TestSettersMarkExplicitDocFormsImportData200ResponseMetaAffectedPagesItemRe t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaAffectedPagesItemRevision{} + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemRevision{} var fernTestValuePageObjectNumber int // Act @@ -221813,7 +227762,7 @@ func TestSettersMarkExplicitDocFormsImportData200ResponseMetaAffectedPagesItemRe t.Run("SetGeneration_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaAffectedPagesItemRevision{} + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemRevision{} var fernTestValueGeneration int // Act @@ -221843,11 +227792,11 @@ func TestSettersMarkExplicitDocFormsImportData200ResponseMetaAffectedPagesItemRe } -func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { +func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState{} var expected string obj.Kind = expected @@ -221857,7 +227806,7 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotation t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -221870,8 +227819,8 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotation t.Run("GetUnknown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState{} - var expected *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown obj.Unknown = expected // Act & Assert @@ -221881,7 +227830,7 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotation t.Run("GetUnknown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState{} obj.Unknown = nil // Act & Assert @@ -221890,7 +227839,7 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotation t.Run("GetUnknown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -221903,8 +227852,8 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotation t.Run("GetKnown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState{} - var expected *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown obj.Known = expected // Act & Assert @@ -221914,7 +227863,7 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotation t.Run("GetKnown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState{} obj.Known = nil // Act & Assert @@ -221923,7 +227872,7 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotation t.Run("GetKnown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -221935,9 +227884,9 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotation } -func TestSettersDocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestSettersDocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("SetHasAnyWeakAnnotations", func(t *testing.T) { - obj := &DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var fernTestValueHasAnyWeakAnnotations bool obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) assert.Equal(t, fernTestValueHasAnyWeakAnnotations, obj.HasAnyWeakAnnotations) @@ -221946,11 +227895,11 @@ func TestSettersDocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotation } -func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("GetHasAnyWeakAnnotations", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var expected bool obj.HasAnyWeakAnnotations = expected @@ -221960,7 +227909,7 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotation t.Run("GetHasAnyWeakAnnotations_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + var obj *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -221972,11 +227921,11 @@ func TestGettersDocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotation } -func TestSettersMarkExplicitDocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("SetHasAnyWeakAnnotations_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var fernTestValueHasAnyWeakAnnotations bool // Act @@ -222006,9 +227955,9 @@ func TestSettersMarkExplicitDocFormsImportData200ResponseMetaAffectedPagesItemWe } -func TestSettersDocFormsImportData200ResponseMetaCacheDelta(t *testing.T) { +func TestSettersDocFormsSetValue200ResponseMetaCacheDelta(t *testing.T) { t.Run("SetPreviousDocVersion", func(t *testing.T) { - obj := &DocFormsImportData200ResponseMetaCacheDelta{} + obj := &DocFormsSetValue200ResponseMetaCacheDelta{} var fernTestValuePreviousDocVersion int obj.SetPreviousDocVersion(fernTestValuePreviousDocVersion) assert.Equal(t, fernTestValuePreviousDocVersion, obj.PreviousDocVersion) @@ -222016,7 +227965,7 @@ func TestSettersDocFormsImportData200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetDocVersion", func(t *testing.T) { - obj := &DocFormsImportData200ResponseMetaCacheDelta{} + obj := &DocFormsSetValue200ResponseMetaCacheDelta{} var fernTestValueDocVersion int obj.SetDocVersion(fernTestValueDocVersion) assert.Equal(t, fernTestValueDocVersion, obj.DocVersion) @@ -222024,7 +227973,7 @@ func TestSettersDocFormsImportData200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetAnnotationsVersion", func(t *testing.T) { - obj := &DocFormsImportData200ResponseMetaCacheDelta{} + obj := &DocFormsSetValue200ResponseMetaCacheDelta{} var fernTestValueAnnotationsVersion *int obj.SetAnnotationsVersion(fernTestValueAnnotationsVersion) assert.Equal(t, fernTestValueAnnotationsVersion, obj.AnnotationsVersion) @@ -222032,8 +227981,8 @@ func TestSettersDocFormsImportData200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetPages", func(t *testing.T) { - obj := &DocFormsImportData200ResponseMetaCacheDelta{} - var fernTestValuePages []*DocFormsImportData200ResponseMetaCacheDeltaPagesItem + obj := &DocFormsSetValue200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocFormsSetValue200ResponseMetaCacheDeltaPagesItem obj.SetPages(fernTestValuePages) assert.Equal(t, fernTestValuePages, obj.Pages) assert.NotNil(t, obj.explicitFields) @@ -222041,11 +227990,11 @@ func TestSettersDocFormsImportData200ResponseMetaCacheDelta(t *testing.T) { } -func TestGettersDocFormsImportData200ResponseMetaCacheDelta(t *testing.T) { +func TestGettersDocFormsSetValue200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPreviousDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaCacheDelta{} + obj := &DocFormsSetValue200ResponseMetaCacheDelta{} var expected int obj.PreviousDocVersion = expected @@ -222055,7 +228004,7 @@ func TestGettersDocFormsImportData200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPreviousDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData200ResponseMetaCacheDelta + var obj *DocFormsSetValue200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -222068,7 +228017,7 @@ func TestGettersDocFormsImportData200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaCacheDelta{} + obj := &DocFormsSetValue200ResponseMetaCacheDelta{} var expected int obj.DocVersion = expected @@ -222078,7 +228027,7 @@ func TestGettersDocFormsImportData200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData200ResponseMetaCacheDelta + var obj *DocFormsSetValue200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -222091,7 +228040,7 @@ func TestGettersDocFormsImportData200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaCacheDelta{} + obj := &DocFormsSetValue200ResponseMetaCacheDelta{} var expected *int obj.AnnotationsVersion = expected @@ -222102,7 +228051,7 @@ func TestGettersDocFormsImportData200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaCacheDelta{} + obj := &DocFormsSetValue200ResponseMetaCacheDelta{} obj.AnnotationsVersion = nil // Act & Assert @@ -222111,7 +228060,7 @@ func TestGettersDocFormsImportData200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData200ResponseMetaCacheDelta + var obj *DocFormsSetValue200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -222124,8 +228073,8 @@ func TestGettersDocFormsImportData200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaCacheDelta{} - var expected []*DocFormsImportData200ResponseMetaCacheDeltaPagesItem + obj := &DocFormsSetValue200ResponseMetaCacheDelta{} + var expected []*DocFormsSetValue200ResponseMetaCacheDeltaPagesItem obj.Pages = expected // Act & Assert @@ -222135,7 +228084,7 @@ func TestGettersDocFormsImportData200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaCacheDelta{} + obj := &DocFormsSetValue200ResponseMetaCacheDelta{} obj.Pages = nil // Act & Assert @@ -222144,7 +228093,7 @@ func TestGettersDocFormsImportData200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData200ResponseMetaCacheDelta + var obj *DocFormsSetValue200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -222156,11 +228105,11 @@ func TestGettersDocFormsImportData200ResponseMetaCacheDelta(t *testing.T) { } -func TestSettersMarkExplicitDocFormsImportData200ResponseMetaCacheDelta(t *testing.T) { +func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaCacheDelta(t *testing.T) { t.Run("SetPreviousDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaCacheDelta{} + obj := &DocFormsSetValue200ResponseMetaCacheDelta{} var fernTestValuePreviousDocVersion int // Act @@ -222191,7 +228140,7 @@ func TestSettersMarkExplicitDocFormsImportData200ResponseMetaCacheDelta(t *testi t.Run("SetDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaCacheDelta{} + obj := &DocFormsSetValue200ResponseMetaCacheDelta{} var fernTestValueDocVersion int // Act @@ -222222,7 +228171,7 @@ func TestSettersMarkExplicitDocFormsImportData200ResponseMetaCacheDelta(t *testi t.Run("SetAnnotationsVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaCacheDelta{} + obj := &DocFormsSetValue200ResponseMetaCacheDelta{} var fernTestValueAnnotationsVersion *int // Act @@ -222253,8 +228202,8 @@ func TestSettersMarkExplicitDocFormsImportData200ResponseMetaCacheDelta(t *testi t.Run("SetPages_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaCacheDelta{} - var fernTestValuePages []*DocFormsImportData200ResponseMetaCacheDeltaPagesItem + obj := &DocFormsSetValue200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocFormsSetValue200ResponseMetaCacheDeltaPagesItem // Act obj.SetPages(fernTestValuePages) @@ -222283,9 +228232,9 @@ func TestSettersMarkExplicitDocFormsImportData200ResponseMetaCacheDelta(t *testi } -func TestSettersDocFormsImportData200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestSettersDocFormsSetValue200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItem{} + obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -222293,8 +228242,8 @@ func TestSettersDocFormsImportData200ResponseMetaCacheDeltaPagesItem(t *testing. }) t.Run("SetCache", func(t *testing.T) { - obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItem{} - var fernTestValueCache *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache + obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache obj.SetCache(fernTestValueCache) assert.Equal(t, fernTestValueCache, obj.Cache) assert.NotNil(t, obj.explicitFields) @@ -222302,11 +228251,11 @@ func TestSettersDocFormsImportData200ResponseMetaCacheDeltaPagesItem(t *testing. } -func TestGettersDocFormsImportData200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestGettersDocFormsSetValue200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItem{} + obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItem{} var expected int obj.PageObjectNumber = expected @@ -222316,7 +228265,7 @@ func TestGettersDocFormsImportData200ResponseMetaCacheDeltaPagesItem(t *testing. t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData200ResponseMetaCacheDeltaPagesItem + var obj *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -222329,8 +228278,8 @@ func TestGettersDocFormsImportData200ResponseMetaCacheDeltaPagesItem(t *testing. t.Run("GetCache", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItem{} - var expected *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache + obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItem{} + var expected *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache obj.Cache = expected // Act & Assert @@ -222340,7 +228289,7 @@ func TestGettersDocFormsImportData200ResponseMetaCacheDeltaPagesItem(t *testing. t.Run("GetCache_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItem{} + obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItem{} obj.Cache = nil // Act & Assert @@ -222349,7 +228298,7 @@ func TestGettersDocFormsImportData200ResponseMetaCacheDeltaPagesItem(t *testing. t.Run("GetCache_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData200ResponseMetaCacheDeltaPagesItem + var obj *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -222361,11 +228310,11 @@ func TestGettersDocFormsImportData200ResponseMetaCacheDeltaPagesItem(t *testing. } -func TestSettersMarkExplicitDocFormsImportData200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItem{} + obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItem{} var fernTestValuePageObjectNumber int // Act @@ -222396,8 +228345,8 @@ func TestSettersMarkExplicitDocFormsImportData200ResponseMetaCacheDeltaPagesItem t.Run("SetCache_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItem{} - var fernTestValueCache *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache + obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache // Act obj.SetCache(fernTestValueCache) @@ -222426,9 +228375,9 @@ func TestSettersMarkExplicitDocFormsImportData200ResponseMetaCacheDeltaPagesItem } -func TestSettersDocFormsImportData200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { +func TestSettersDocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { t.Run("SetContentVersion", func(t *testing.T) { - obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueContentVersion int obj.SetContentVersion(fernTestValueContentVersion) assert.Equal(t, fernTestValueContentVersion, obj.ContentVersion) @@ -222436,7 +228385,7 @@ func TestSettersDocFormsImportData200ResponseMetaCacheDeltaPagesItemCache(t *tes }) t.Run("SetAnnotationVersion", func(t *testing.T) { - obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueAnnotationVersion int obj.SetAnnotationVersion(fernTestValueAnnotationVersion) assert.Equal(t, fernTestValueAnnotationVersion, obj.AnnotationVersion) @@ -222445,11 +228394,11 @@ func TestSettersDocFormsImportData200ResponseMetaCacheDeltaPagesItemCache(t *tes } -func TestGettersDocFormsImportData200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { +func TestGettersDocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { t.Run("GetContentVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache{} var expected int obj.ContentVersion = expected @@ -222459,7 +228408,7 @@ func TestGettersDocFormsImportData200ResponseMetaCacheDeltaPagesItemCache(t *tes t.Run("GetContentVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache + var obj *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -222472,7 +228421,7 @@ func TestGettersDocFormsImportData200ResponseMetaCacheDeltaPagesItemCache(t *tes t.Run("GetAnnotationVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache{} var expected int obj.AnnotationVersion = expected @@ -222482,7 +228431,7 @@ func TestGettersDocFormsImportData200ResponseMetaCacheDeltaPagesItemCache(t *tes t.Run("GetAnnotationVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache + var obj *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -222494,11 +228443,11 @@ func TestGettersDocFormsImportData200ResponseMetaCacheDeltaPagesItemCache(t *tes } -func TestSettersMarkExplicitDocFormsImportData200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { +func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { t.Run("SetContentVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueContentVersion int // Act @@ -222529,7 +228478,7 @@ func TestSettersMarkExplicitDocFormsImportData200ResponseMetaCacheDeltaPagesItem t.Run("SetAnnotationVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueAnnotationVersion int // Act @@ -222559,25 +228508,25 @@ func TestSettersMarkExplicitDocFormsImportData200ResponseMetaCacheDeltaPagesItem } -func TestSettersDocFormsImportData400Response(t *testing.T) { +func TestSettersDocFormsSetValue400Response(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocFormsImportData400Response{} - var fernTestValueName DocFormsImportData400ResponseName + obj := &DocFormsSetValue400Response{} + var fernTestValueName DocFormsSetValue400ResponseName obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCode", func(t *testing.T) { - obj := &DocFormsImportData400Response{} - var fernTestValueCode DocFormsImportData400ResponseCode + obj := &DocFormsSetValue400Response{} + var fernTestValueCode DocFormsSetValue400ResponseCode obj.SetCode(fernTestValueCode) assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) t.Run("SetMessage", func(t *testing.T) { - obj := &DocFormsImportData400Response{} + obj := &DocFormsSetValue400Response{} var fernTestValueMessage string obj.SetMessage(fernTestValueMessage) assert.Equal(t, fernTestValueMessage, obj.Message) @@ -222585,7 +228534,7 @@ func TestSettersDocFormsImportData400Response(t *testing.T) { }) t.Run("SetDetails", func(t *testing.T) { - obj := &DocFormsImportData400Response{} + obj := &DocFormsSetValue400Response{} var fernTestValueDetails map[string]any obj.SetDetails(fernTestValueDetails) assert.Equal(t, fernTestValueDetails, obj.Details) @@ -222594,12 +228543,12 @@ func TestSettersDocFormsImportData400Response(t *testing.T) { } -func TestGettersDocFormsImportData400Response(t *testing.T) { +func TestGettersDocFormsSetValue400Response(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData400Response{} - var expected DocFormsImportData400ResponseName + obj := &DocFormsSetValue400Response{} + var expected DocFormsSetValue400ResponseName obj.Name = expected // Act & Assert @@ -222608,7 +228557,7 @@ func TestGettersDocFormsImportData400Response(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData400Response + var obj *DocFormsSetValue400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -222621,8 +228570,8 @@ func TestGettersDocFormsImportData400Response(t *testing.T) { t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData400Response{} - var expected DocFormsImportData400ResponseCode + obj := &DocFormsSetValue400Response{} + var expected DocFormsSetValue400ResponseCode obj.Code = expected // Act & Assert @@ -222631,7 +228580,7 @@ func TestGettersDocFormsImportData400Response(t *testing.T) { t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData400Response + var obj *DocFormsSetValue400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -222644,7 +228593,7 @@ func TestGettersDocFormsImportData400Response(t *testing.T) { t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData400Response{} + obj := &DocFormsSetValue400Response{} var expected string obj.Message = expected @@ -222654,7 +228603,7 @@ func TestGettersDocFormsImportData400Response(t *testing.T) { t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData400Response + var obj *DocFormsSetValue400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -222667,7 +228616,7 @@ func TestGettersDocFormsImportData400Response(t *testing.T) { t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData400Response{} + obj := &DocFormsSetValue400Response{} var expected map[string]any obj.Details = expected @@ -222678,7 +228627,7 @@ func TestGettersDocFormsImportData400Response(t *testing.T) { t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData400Response{} + obj := &DocFormsSetValue400Response{} obj.Details = nil // Act & Assert @@ -222687,7 +228636,7 @@ func TestGettersDocFormsImportData400Response(t *testing.T) { t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData400Response + var obj *DocFormsSetValue400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -222699,12 +228648,12 @@ func TestGettersDocFormsImportData400Response(t *testing.T) { } -func TestSettersMarkExplicitDocFormsImportData400Response(t *testing.T) { +func TestSettersMarkExplicitDocFormsSetValue400Response(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData400Response{} - var fernTestValueName DocFormsImportData400ResponseName + obj := &DocFormsSetValue400Response{} + var fernTestValueName DocFormsSetValue400ResponseName // Act obj.SetName(fernTestValueName) @@ -222734,8 +228683,8 @@ func TestSettersMarkExplicitDocFormsImportData400Response(t *testing.T) { t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData400Response{} - var fernTestValueCode DocFormsImportData400ResponseCode + obj := &DocFormsSetValue400Response{} + var fernTestValueCode DocFormsSetValue400ResponseCode // Act obj.SetCode(fernTestValueCode) @@ -222765,7 +228714,7 @@ func TestSettersMarkExplicitDocFormsImportData400Response(t *testing.T) { t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData400Response{} + obj := &DocFormsSetValue400Response{} var fernTestValueMessage string // Act @@ -222796,7 +228745,7 @@ func TestSettersMarkExplicitDocFormsImportData400Response(t *testing.T) { t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData400Response{} + obj := &DocFormsSetValue400Response{} var fernTestValueDetails map[string]any // Act @@ -222826,25 +228775,25 @@ func TestSettersMarkExplicitDocFormsImportData400Response(t *testing.T) { } -func TestSettersDocFormsImportData404Response(t *testing.T) { +func TestSettersDocFormsSetValue404Response(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocFormsImportData404Response{} - var fernTestValueName DocFormsImportData404ResponseName + obj := &DocFormsSetValue404Response{} + var fernTestValueName DocFormsSetValue404ResponseName obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCode", func(t *testing.T) { - obj := &DocFormsImportData404Response{} - var fernTestValueCode DocFormsImportData404ResponseCode + obj := &DocFormsSetValue404Response{} + var fernTestValueCode DocFormsSetValue404ResponseCode obj.SetCode(fernTestValueCode) assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) t.Run("SetMessage", func(t *testing.T) { - obj := &DocFormsImportData404Response{} + obj := &DocFormsSetValue404Response{} var fernTestValueMessage string obj.SetMessage(fernTestValueMessage) assert.Equal(t, fernTestValueMessage, obj.Message) @@ -222852,7 +228801,7 @@ func TestSettersDocFormsImportData404Response(t *testing.T) { }) t.Run("SetDetails", func(t *testing.T) { - obj := &DocFormsImportData404Response{} + obj := &DocFormsSetValue404Response{} var fernTestValueDetails map[string]any obj.SetDetails(fernTestValueDetails) assert.Equal(t, fernTestValueDetails, obj.Details) @@ -222861,12 +228810,12 @@ func TestSettersDocFormsImportData404Response(t *testing.T) { } -func TestGettersDocFormsImportData404Response(t *testing.T) { +func TestGettersDocFormsSetValue404Response(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData404Response{} - var expected DocFormsImportData404ResponseName + obj := &DocFormsSetValue404Response{} + var expected DocFormsSetValue404ResponseName obj.Name = expected // Act & Assert @@ -222875,7 +228824,7 @@ func TestGettersDocFormsImportData404Response(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData404Response + var obj *DocFormsSetValue404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -222888,8 +228837,8 @@ func TestGettersDocFormsImportData404Response(t *testing.T) { t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData404Response{} - var expected DocFormsImportData404ResponseCode + obj := &DocFormsSetValue404Response{} + var expected DocFormsSetValue404ResponseCode obj.Code = expected // Act & Assert @@ -222898,7 +228847,7 @@ func TestGettersDocFormsImportData404Response(t *testing.T) { t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData404Response + var obj *DocFormsSetValue404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -222911,7 +228860,7 @@ func TestGettersDocFormsImportData404Response(t *testing.T) { t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsImportData404Response{} + obj := &DocFormsSetValue404Response{} var expected string obj.Message = expected @@ -222921,356 +228870,60 @@ func TestGettersDocFormsImportData404Response(t *testing.T) { t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsImportData404Response - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetMessage() // Should return zero value - }) - - t.Run("GetDetails", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsImportData404Response{} - var expected map[string]any - obj.Details = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") - }) - - t.Run("GetDetails_NilValue", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsImportData404Response{} - obj.Details = nil - - // Act & Assert - assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") - }) - - t.Run("GetDetails_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsImportData404Response - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetDetails() // Should return zero value - }) - -} - -func TestSettersMarkExplicitDocFormsImportData404Response(t *testing.T) { - t.Run("SetName_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsImportData404Response{} - var fernTestValueName DocFormsImportData404ResponseName - - // Act - obj.SetName(fernTestValueName) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetCode_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsImportData404Response{} - var fernTestValueCode DocFormsImportData404ResponseCode - - // Act - obj.SetCode(fernTestValueCode) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetMessage_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsImportData404Response{} - var fernTestValueMessage string - - // Act - obj.SetMessage(fernTestValueMessage) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetDetails_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsImportData404Response{} - var fernTestValueDetails map[string]any - - // Act - obj.SetDetails(fernTestValueDetails) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - -} - -func TestSettersDocFormsReset200Response(t *testing.T) { - t.Run("SetMeta", func(t *testing.T) { - obj := &DocFormsReset200Response{} - var fernTestValueMeta *DocFormsReset200ResponseMeta - obj.SetMeta(fernTestValueMeta) - assert.Equal(t, fernTestValueMeta, obj.Meta) - assert.NotNil(t, obj.explicitFields) - }) - -} - -func TestGettersDocFormsReset200Response(t *testing.T) { - t.Run("GetMeta", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsReset200Response{} - var expected *DocFormsReset200ResponseMeta - obj.Meta = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetMeta(), "getter should return the property value") - }) - - t.Run("GetMeta_NilValue", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsReset200Response{} - obj.Meta = nil - - // Act & Assert - assert.Nil(t, obj.GetMeta(), "getter should return nil when property is nil") - }) - - t.Run("GetMeta_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsReset200Response - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetMeta() // Should return zero value - }) - -} - -func TestSettersMarkExplicitDocFormsReset200Response(t *testing.T) { - t.Run("SetMeta_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsReset200Response{} - var fernTestValueMeta *DocFormsReset200ResponseMeta - - // Act - obj.SetMeta(fernTestValueMeta) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - -} - -func TestSettersDocFormsReset200ResponseMeta(t *testing.T) { - t.Run("SetAffectedPages", func(t *testing.T) { - obj := &DocFormsReset200ResponseMeta{} - var fernTestValueAffectedPages []*DocFormsReset200ResponseMetaAffectedPagesItem - obj.SetAffectedPages(fernTestValueAffectedPages) - assert.Equal(t, fernTestValueAffectedPages, obj.AffectedPages) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetCacheDelta", func(t *testing.T) { - obj := &DocFormsReset200ResponseMeta{} - var fernTestValueCacheDelta *DocFormsReset200ResponseMetaCacheDelta - obj.SetCacheDelta(fernTestValueCacheDelta) - assert.Equal(t, fernTestValueCacheDelta, obj.CacheDelta) - assert.NotNil(t, obj.explicitFields) - }) - -} - -func TestGettersDocFormsReset200ResponseMeta(t *testing.T) { - t.Run("GetAffectedPages", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsReset200ResponseMeta{} - var expected []*DocFormsReset200ResponseMetaAffectedPagesItem - obj.AffectedPages = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetAffectedPages(), "getter should return the property value") - }) - - t.Run("GetAffectedPages_NilValue", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsReset200ResponseMeta{} - obj.AffectedPages = nil - - // Act & Assert - assert.Nil(t, obj.GetAffectedPages(), "getter should return nil when property is nil") - }) - - t.Run("GetAffectedPages_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsReset200ResponseMeta + var obj *DocFormsSetValue404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetAffectedPages() // Should return zero value + _ = obj.GetMessage() // Should return zero value }) - t.Run("GetCacheDelta", func(t *testing.T) { + t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMeta{} - var expected *DocFormsReset200ResponseMetaCacheDelta - obj.CacheDelta = expected + obj := &DocFormsSetValue404Response{} + var expected map[string]any + obj.Details = expected // Act & Assert - assert.Equal(t, expected, obj.GetCacheDelta(), "getter should return the property value") + assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") }) - t.Run("GetCacheDelta_NilValue", func(t *testing.T) { + t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMeta{} - obj.CacheDelta = nil + obj := &DocFormsSetValue404Response{} + obj.Details = nil // Act & Assert - assert.Nil(t, obj.GetCacheDelta(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") }) - t.Run("GetCacheDelta_NilReceiver", func(t *testing.T) { + t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsReset200ResponseMeta + var obj *DocFormsSetValue404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetCacheDelta() // Should return zero value + _ = obj.GetDetails() // Should return zero value }) } -func TestSettersMarkExplicitDocFormsReset200ResponseMeta(t *testing.T) { - t.Run("SetAffectedPages_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocFormsSetValue404Response(t *testing.T) { + t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMeta{} - var fernTestValueAffectedPages []*DocFormsReset200ResponseMetaAffectedPagesItem + obj := &DocFormsSetValue404Response{} + var fernTestValueName DocFormsSetValue404ResponseName // Act - obj.SetAffectedPages(fernTestValueAffectedPages) + obj.SetName(fernTestValueName) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -223294,14 +228947,76 @@ func TestSettersMarkExplicitDocFormsReset200ResponseMeta(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetCacheDelta_MarksExplicit", func(t *testing.T) { + t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMeta{} - var fernTestValueCacheDelta *DocFormsReset200ResponseMetaCacheDelta + obj := &DocFormsSetValue404Response{} + var fernTestValueCode DocFormsSetValue404ResponseCode // Act - obj.SetCacheDelta(fernTestValueCacheDelta) + obj.SetCode(fernTestValueCode) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetMessage_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsSetValue404Response{} + var fernTestValueMessage string + + // Act + obj.SetMessage(fernTestValueMessage) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetDetails_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocFormsSetValue404Response{} + var fernTestValueDetails map[string]any + + // Act + obj.SetDetails(fernTestValueDetails) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -223327,134 +229042,155 @@ func TestSettersMarkExplicitDocFormsReset200ResponseMeta(t *testing.T) { } -func TestSettersDocFormsReset200ResponseMetaAffectedPagesItem(t *testing.T) { - t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocFormsReset200ResponseMetaAffectedPagesItem{} - var fernTestValuePageObjectNumber int - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) - assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) +func TestSettersDocHead404Response(t *testing.T) { + t.Run("SetName", func(t *testing.T) { + obj := &DocHead404Response{} + var fernTestValueName DocHead404ResponseName + obj.SetName(fernTestValueName) + assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetRevision", func(t *testing.T) { - obj := &DocFormsReset200ResponseMetaAffectedPagesItem{} - var fernTestValueRevision *DocFormsReset200ResponseMetaAffectedPagesItemRevision - obj.SetRevision(fernTestValueRevision) - assert.Equal(t, fernTestValueRevision, obj.Revision) + t.Run("SetCode", func(t *testing.T) { + obj := &DocHead404Response{} + var fernTestValueCode DocHead404ResponseCode + obj.SetCode(fernTestValueCode) + assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetWeakAnnotationState", func(t *testing.T) { - obj := &DocFormsReset200ResponseMetaAffectedPagesItem{} - var fernTestValueWeakAnnotationState *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState - obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) - assert.Equal(t, fernTestValueWeakAnnotationState, obj.WeakAnnotationState) + t.Run("SetMessage", func(t *testing.T) { + obj := &DocHead404Response{} + var fernTestValueMessage string + obj.SetMessage(fernTestValueMessage) + assert.Equal(t, fernTestValueMessage, obj.Message) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetDetails", func(t *testing.T) { + obj := &DocHead404Response{} + var fernTestValueDetails map[string]any + obj.SetDetails(fernTestValueDetails) + assert.Equal(t, fernTestValueDetails, obj.Details) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocFormsReset200ResponseMetaAffectedPagesItem(t *testing.T) { - t.Run("GetPageObjectNumber", func(t *testing.T) { +func TestGettersDocHead404Response(t *testing.T) { + t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaAffectedPagesItem{} - var expected int - obj.PageObjectNumber = expected + obj := &DocHead404Response{} + var expected DocHead404ResponseName + obj.Name = expected // Act & Assert - assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + assert.Equal(t, expected, obj.GetName(), "getter should return the property value") }) - t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsReset200ResponseMetaAffectedPagesItem + var obj *DocHead404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetPageObjectNumber() // Should return zero value + _ = obj.GetName() // Should return zero value }) - t.Run("GetRevision", func(t *testing.T) { + t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaAffectedPagesItem{} - var expected *DocFormsReset200ResponseMetaAffectedPagesItemRevision - obj.Revision = expected + obj := &DocHead404Response{} + var expected DocHead404ResponseCode + obj.Code = expected // Act & Assert - assert.Equal(t, expected, obj.GetRevision(), "getter should return the property value") + assert.Equal(t, expected, obj.GetCode(), "getter should return the property value") }) - t.Run("GetRevision_NilValue", func(t *testing.T) { + t.Run("GetCode_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocHead404Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetCode() // Should return zero value + }) + + t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaAffectedPagesItem{} - obj.Revision = nil + obj := &DocHead404Response{} + var expected string + obj.Message = expected // Act & Assert - assert.Nil(t, obj.GetRevision(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") }) - t.Run("GetRevision_NilReceiver", func(t *testing.T) { + t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsReset200ResponseMetaAffectedPagesItem + var obj *DocHead404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetRevision() // Should return zero value + _ = obj.GetMessage() // Should return zero value }) - t.Run("GetWeakAnnotationState", func(t *testing.T) { + t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaAffectedPagesItem{} - var expected *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState - obj.WeakAnnotationState = expected + obj := &DocHead404Response{} + var expected map[string]any + obj.Details = expected // Act & Assert - assert.Equal(t, expected, obj.GetWeakAnnotationState(), "getter should return the property value") + assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") }) - t.Run("GetWeakAnnotationState_NilValue", func(t *testing.T) { + t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaAffectedPagesItem{} - obj.WeakAnnotationState = nil + obj := &DocHead404Response{} + obj.Details = nil // Act & Assert - assert.Nil(t, obj.GetWeakAnnotationState(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") }) - t.Run("GetWeakAnnotationState_NilReceiver", func(t *testing.T) { + t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsReset200ResponseMetaAffectedPagesItem + var obj *DocHead404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetWeakAnnotationState() // Should return zero value + _ = obj.GetDetails() // Should return zero value }) } -func TestSettersMarkExplicitDocFormsReset200ResponseMetaAffectedPagesItem(t *testing.T) { - t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocHead404Response(t *testing.T) { + t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaAffectedPagesItem{} - var fernTestValuePageObjectNumber int + obj := &DocHead404Response{} + var fernTestValueName DocHead404ResponseName // Act - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + obj.SetName(fernTestValueName) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -223478,14 +229214,14 @@ func TestSettersMarkExplicitDocFormsReset200ResponseMetaAffectedPagesItem(t *tes // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetRevision_MarksExplicit", func(t *testing.T) { + t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaAffectedPagesItem{} - var fernTestValueRevision *DocFormsReset200ResponseMetaAffectedPagesItemRevision + obj := &DocHead404Response{} + var fernTestValueCode DocHead404ResponseCode // Act - obj.SetRevision(fernTestValueRevision) + obj.SetCode(fernTestValueCode) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -223509,14 +229245,45 @@ func TestSettersMarkExplicitDocFormsReset200ResponseMetaAffectedPagesItem(t *tes // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetWeakAnnotationState_MarksExplicit", func(t *testing.T) { + t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaAffectedPagesItem{} - var fernTestValueWeakAnnotationState *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocHead404Response{} + var fernTestValueMessage string // Act - obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) + obj.SetMessage(fernTestValueMessage) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetDetails_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocHead404Response{} + var fernTestValueDetails map[string]any + + // Act + obj.SetDetails(fernTestValueDetails) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -223542,114 +229309,155 @@ func TestSettersMarkExplicitDocFormsReset200ResponseMetaAffectedPagesItem(t *tes } -func TestSettersDocFormsReset200ResponseMetaAffectedPagesItemRevision(t *testing.T) { - t.Run("SetDocSessionID", func(t *testing.T) { - obj := &DocFormsReset200ResponseMetaAffectedPagesItemRevision{} - var fernTestValueDocSessionID string - obj.SetDocSessionID(fernTestValueDocSessionID) - assert.Equal(t, fernTestValueDocSessionID, obj.DocSessionID) +func TestSettersDocManifest404Response(t *testing.T) { + t.Run("SetName", func(t *testing.T) { + obj := &DocManifest404Response{} + var fernTestValueName DocManifest404ResponseName + obj.SetName(fernTestValueName) + assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocFormsReset200ResponseMetaAffectedPagesItemRevision{} - var fernTestValuePageObjectNumber int - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) - assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) + t.Run("SetCode", func(t *testing.T) { + obj := &DocManifest404Response{} + var fernTestValueCode DocManifest404ResponseCode + obj.SetCode(fernTestValueCode) + assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetGeneration", func(t *testing.T) { - obj := &DocFormsReset200ResponseMetaAffectedPagesItemRevision{} - var fernTestValueGeneration int - obj.SetGeneration(fernTestValueGeneration) - assert.Equal(t, fernTestValueGeneration, obj.Generation) + t.Run("SetMessage", func(t *testing.T) { + obj := &DocManifest404Response{} + var fernTestValueMessage string + obj.SetMessage(fernTestValueMessage) + assert.Equal(t, fernTestValueMessage, obj.Message) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetDetails", func(t *testing.T) { + obj := &DocManifest404Response{} + var fernTestValueDetails map[string]any + obj.SetDetails(fernTestValueDetails) + assert.Equal(t, fernTestValueDetails, obj.Details) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocFormsReset200ResponseMetaAffectedPagesItemRevision(t *testing.T) { - t.Run("GetDocSessionID", func(t *testing.T) { +func TestGettersDocManifest404Response(t *testing.T) { + t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaAffectedPagesItemRevision{} - var expected string - obj.DocSessionID = expected + obj := &DocManifest404Response{} + var expected DocManifest404ResponseName + obj.Name = expected // Act & Assert - assert.Equal(t, expected, obj.GetDocSessionID(), "getter should return the property value") + assert.Equal(t, expected, obj.GetName(), "getter should return the property value") }) - t.Run("GetDocSessionID_NilReceiver", func(t *testing.T) { + t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsReset200ResponseMetaAffectedPagesItemRevision + var obj *DocManifest404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetDocSessionID() // Should return zero value + _ = obj.GetName() // Should return zero value }) - t.Run("GetPageObjectNumber", func(t *testing.T) { + t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaAffectedPagesItemRevision{} - var expected int - obj.PageObjectNumber = expected + obj := &DocManifest404Response{} + var expected DocManifest404ResponseCode + obj.Code = expected // Act & Assert - assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + assert.Equal(t, expected, obj.GetCode(), "getter should return the property value") }) - t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsReset200ResponseMetaAffectedPagesItemRevision + var obj *DocManifest404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetPageObjectNumber() // Should return zero value + _ = obj.GetCode() // Should return zero value }) - t.Run("GetGeneration", func(t *testing.T) { + t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaAffectedPagesItemRevision{} - var expected int - obj.Generation = expected + obj := &DocManifest404Response{} + var expected string + obj.Message = expected // Act & Assert - assert.Equal(t, expected, obj.GetGeneration(), "getter should return the property value") + assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") }) - t.Run("GetGeneration_NilReceiver", func(t *testing.T) { + t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsReset200ResponseMetaAffectedPagesItemRevision + var obj *DocManifest404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetGeneration() // Should return zero value + _ = obj.GetMessage() // Should return zero value + }) + + t.Run("GetDetails", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocManifest404Response{} + var expected map[string]any + obj.Details = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") + }) + + t.Run("GetDetails_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocManifest404Response{} + obj.Details = nil + + // Act & Assert + assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") + }) + + t.Run("GetDetails_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocManifest404Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetDetails() // Should return zero value }) } -func TestSettersMarkExplicitDocFormsReset200ResponseMetaAffectedPagesItemRevision(t *testing.T) { - t.Run("SetDocSessionID_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocManifest404Response(t *testing.T) { + t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaAffectedPagesItemRevision{} - var fernTestValueDocSessionID string + obj := &DocManifest404Response{} + var fernTestValueName DocManifest404ResponseName // Act - obj.SetDocSessionID(fernTestValueDocSessionID) + obj.SetName(fernTestValueName) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -223673,14 +229481,14 @@ func TestSettersMarkExplicitDocFormsReset200ResponseMetaAffectedPagesItemRevisio // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { + t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaAffectedPagesItemRevision{} - var fernTestValuePageObjectNumber int + obj := &DocManifest404Response{} + var fernTestValueCode DocManifest404ResponseCode // Act - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + obj.SetCode(fernTestValueCode) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -223704,14 +229512,45 @@ func TestSettersMarkExplicitDocFormsReset200ResponseMetaAffectedPagesItemRevisio // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetGeneration_MarksExplicit", func(t *testing.T) { + t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaAffectedPagesItemRevision{} - var fernTestValueGeneration int + obj := &DocManifest404Response{} + var fernTestValueMessage string // Act - obj.SetGeneration(fernTestValueGeneration) + obj.SetMessage(fernTestValueMessage) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetDetails_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocManifest404Response{} + var fernTestValueDetails map[string]any + + // Act + obj.SetDetails(fernTestValueDetails) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -223737,328 +229576,421 @@ func TestSettersMarkExplicitDocFormsReset200ResponseMetaAffectedPagesItemRevisio } -func TestGettersDocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { - t.Run("GetKind", func(t *testing.T) { +func TestSettersDocMetadataGet200Response(t *testing.T) { + t.Run("SetTitle", func(t *testing.T) { + obj := &DocMetadataGet200Response{} + var fernTestValueTitle *string + obj.SetTitle(fernTestValueTitle) + assert.Equal(t, fernTestValueTitle, obj.Title) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetAuthor", func(t *testing.T) { + obj := &DocMetadataGet200Response{} + var fernTestValueAuthor *string + obj.SetAuthor(fernTestValueAuthor) + assert.Equal(t, fernTestValueAuthor, obj.Author) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetSubject", func(t *testing.T) { + obj := &DocMetadataGet200Response{} + var fernTestValueSubject *string + obj.SetSubject(fernTestValueSubject) + assert.Equal(t, fernTestValueSubject, obj.Subject) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetKeywords", func(t *testing.T) { + obj := &DocMetadataGet200Response{} + var fernTestValueKeywords *string + obj.SetKeywords(fernTestValueKeywords) + assert.Equal(t, fernTestValueKeywords, obj.Keywords) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetProducer", func(t *testing.T) { + obj := &DocMetadataGet200Response{} + var fernTestValueProducer *string + obj.SetProducer(fernTestValueProducer) + assert.Equal(t, fernTestValueProducer, obj.Producer) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetCreator", func(t *testing.T) { + obj := &DocMetadataGet200Response{} + var fernTestValueCreator *string + obj.SetCreator(fernTestValueCreator) + assert.Equal(t, fernTestValueCreator, obj.Creator) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetCreated", func(t *testing.T) { + obj := &DocMetadataGet200Response{} + var fernTestValueCreated *time.Time + obj.SetCreated(fernTestValueCreated) + assert.Equal(t, fernTestValueCreated, obj.Created) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetModified", func(t *testing.T) { + obj := &DocMetadataGet200Response{} + var fernTestValueModified *time.Time + obj.SetModified(fernTestValueModified) + assert.Equal(t, fernTestValueModified, obj.Modified) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetTrapped", func(t *testing.T) { + obj := &DocMetadataGet200Response{} + var fernTestValueTrapped DocMetadataGet200ResponseTrapped + obj.SetTrapped(fernTestValueTrapped) + assert.Equal(t, fernTestValueTrapped, obj.Trapped) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetCustom", func(t *testing.T) { + obj := &DocMetadataGet200Response{} + var fernTestValueCustom map[string]string + obj.SetCustom(fernTestValueCustom) + assert.Equal(t, fernTestValueCustom, obj.Custom) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocMetadataGet200Response(t *testing.T) { + t.Run("GetTitle", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState{} - var expected string - obj.Kind = expected + obj := &DocMetadataGet200Response{} + var expected *string + obj.Title = expected // Act & Assert - assert.Equal(t, expected, obj.GetKind(), "getter should return the property value") + assert.Equal(t, expected, obj.GetTitle(), "getter should return the property value") }) - t.Run("GetKind_NilReceiver", func(t *testing.T) { + t.Run("GetTitle_NilValue", func(t *testing.T) { t.Parallel() - var obj *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState + // Arrange + obj := &DocMetadataGet200Response{} + obj.Title = nil + + // Act & Assert + assert.Nil(t, obj.GetTitle(), "getter should return nil when property is nil") + }) + + t.Run("GetTitle_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocMetadataGet200Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetKind() // Should return zero value + _ = obj.GetTitle() // Should return zero value }) - t.Run("GetUnknown", func(t *testing.T) { + t.Run("GetAuthor", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState{} - var expected *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown - obj.Unknown = expected + obj := &DocMetadataGet200Response{} + var expected *string + obj.Author = expected // Act & Assert - assert.Equal(t, expected, obj.GetUnknown(), "getter should return the property value") + assert.Equal(t, expected, obj.GetAuthor(), "getter should return the property value") }) - t.Run("GetUnknown_NilValue", func(t *testing.T) { + t.Run("GetAuthor_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState{} - obj.Unknown = nil + obj := &DocMetadataGet200Response{} + obj.Author = nil // Act & Assert - assert.Nil(t, obj.GetUnknown(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetAuthor(), "getter should return nil when property is nil") }) - t.Run("GetUnknown_NilReceiver", func(t *testing.T) { + t.Run("GetAuthor_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocMetadataGet200Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetUnknown() // Should return zero value + _ = obj.GetAuthor() // Should return zero value }) - t.Run("GetKnown", func(t *testing.T) { + t.Run("GetSubject", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState{} - var expected *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown - obj.Known = expected + obj := &DocMetadataGet200Response{} + var expected *string + obj.Subject = expected // Act & Assert - assert.Equal(t, expected, obj.GetKnown(), "getter should return the property value") + assert.Equal(t, expected, obj.GetSubject(), "getter should return the property value") }) - t.Run("GetKnown_NilValue", func(t *testing.T) { + t.Run("GetSubject_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState{} - obj.Known = nil + obj := &DocMetadataGet200Response{} + obj.Subject = nil // Act & Assert - assert.Nil(t, obj.GetKnown(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetSubject(), "getter should return nil when property is nil") }) - t.Run("GetKnown_NilReceiver", func(t *testing.T) { + t.Run("GetSubject_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocMetadataGet200Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetKnown() // Should return zero value + _ = obj.GetSubject() // Should return zero value }) -} + t.Run("GetKeywords", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocMetadataGet200Response{} + var expected *string + obj.Keywords = expected -func TestSettersDocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { - t.Run("SetHasAnyWeakAnnotations", func(t *testing.T) { - obj := &DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} - var fernTestValueHasAnyWeakAnnotations bool - obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) - assert.Equal(t, fernTestValueHasAnyWeakAnnotations, obj.HasAnyWeakAnnotations) - assert.NotNil(t, obj.explicitFields) + // Act & Assert + assert.Equal(t, expected, obj.GetKeywords(), "getter should return the property value") }) -} - -func TestGettersDocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { - t.Run("GetHasAnyWeakAnnotations", func(t *testing.T) { + t.Run("GetKeywords_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} - var expected bool - obj.HasAnyWeakAnnotations = expected + obj := &DocMetadataGet200Response{} + obj.Keywords = nil // Act & Assert - assert.Equal(t, expected, obj.GetHasAnyWeakAnnotations(), "getter should return the property value") + assert.Nil(t, obj.GetKeywords(), "getter should return nil when property is nil") }) - t.Run("GetHasAnyWeakAnnotations_NilReceiver", func(t *testing.T) { + t.Run("GetKeywords_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + var obj *DocMetadataGet200Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetHasAnyWeakAnnotations() // Should return zero value + _ = obj.GetKeywords() // Should return zero value }) -} - -func TestSettersMarkExplicitDocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { - t.Run("SetHasAnyWeakAnnotations_MarksExplicit", func(t *testing.T) { + t.Run("GetProducer", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} - var fernTestValueHasAnyWeakAnnotations bool - - // Act - obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } + obj := &DocMetadataGet200Response{} + var expected *string + obj.Producer = expected - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip + // Act & Assert + assert.Equal(t, expected, obj.GetProducer(), "getter should return the property value") }) -} + t.Run("GetProducer_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocMetadataGet200Response{} + obj.Producer = nil -func TestSettersDocFormsReset200ResponseMetaCacheDelta(t *testing.T) { - t.Run("SetPreviousDocVersion", func(t *testing.T) { - obj := &DocFormsReset200ResponseMetaCacheDelta{} - var fernTestValuePreviousDocVersion int - obj.SetPreviousDocVersion(fernTestValuePreviousDocVersion) - assert.Equal(t, fernTestValuePreviousDocVersion, obj.PreviousDocVersion) - assert.NotNil(t, obj.explicitFields) + // Act & Assert + assert.Nil(t, obj.GetProducer(), "getter should return nil when property is nil") }) - t.Run("SetDocVersion", func(t *testing.T) { - obj := &DocFormsReset200ResponseMetaCacheDelta{} - var fernTestValueDocVersion int - obj.SetDocVersion(fernTestValueDocVersion) - assert.Equal(t, fernTestValueDocVersion, obj.DocVersion) - assert.NotNil(t, obj.explicitFields) + t.Run("GetProducer_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocMetadataGet200Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetProducer() // Should return zero value }) - t.Run("SetAnnotationsVersion", func(t *testing.T) { - obj := &DocFormsReset200ResponseMetaCacheDelta{} - var fernTestValueAnnotationsVersion *int - obj.SetAnnotationsVersion(fernTestValueAnnotationsVersion) - assert.Equal(t, fernTestValueAnnotationsVersion, obj.AnnotationsVersion) - assert.NotNil(t, obj.explicitFields) - }) + t.Run("GetCreator", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocMetadataGet200Response{} + var expected *string + obj.Creator = expected - t.Run("SetPages", func(t *testing.T) { - obj := &DocFormsReset200ResponseMetaCacheDelta{} - var fernTestValuePages []*DocFormsReset200ResponseMetaCacheDeltaPagesItem - obj.SetPages(fernTestValuePages) - assert.Equal(t, fernTestValuePages, obj.Pages) - assert.NotNil(t, obj.explicitFields) + // Act & Assert + assert.Equal(t, expected, obj.GetCreator(), "getter should return the property value") }) -} - -func TestGettersDocFormsReset200ResponseMetaCacheDelta(t *testing.T) { - t.Run("GetPreviousDocVersion", func(t *testing.T) { + t.Run("GetCreator_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaCacheDelta{} - var expected int - obj.PreviousDocVersion = expected + obj := &DocMetadataGet200Response{} + obj.Creator = nil // Act & Assert - assert.Equal(t, expected, obj.GetPreviousDocVersion(), "getter should return the property value") + assert.Nil(t, obj.GetCreator(), "getter should return nil when property is nil") }) - t.Run("GetPreviousDocVersion_NilReceiver", func(t *testing.T) { + t.Run("GetCreator_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsReset200ResponseMetaCacheDelta + var obj *DocMetadataGet200Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetPreviousDocVersion() // Should return zero value + _ = obj.GetCreator() // Should return zero value }) - t.Run("GetDocVersion", func(t *testing.T) { + t.Run("GetCreated", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaCacheDelta{} - var expected int - obj.DocVersion = expected + obj := &DocMetadataGet200Response{} + var expected *time.Time + obj.Created = expected // Act & Assert - assert.Equal(t, expected, obj.GetDocVersion(), "getter should return the property value") + assert.Equal(t, expected, obj.GetCreated(), "getter should return the property value") }) - t.Run("GetDocVersion_NilReceiver", func(t *testing.T) { + t.Run("GetCreated_NilValue", func(t *testing.T) { t.Parallel() - var obj *DocFormsReset200ResponseMetaCacheDelta + // Arrange + obj := &DocMetadataGet200Response{} + obj.Created = nil + + // Act & Assert + assert.Nil(t, obj.GetCreated(), "getter should return nil when property is nil") + }) + + t.Run("GetCreated_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocMetadataGet200Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetDocVersion() // Should return zero value + _ = obj.GetCreated() // Should return zero value }) - t.Run("GetAnnotationsVersion", func(t *testing.T) { + t.Run("GetModified", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaCacheDelta{} - var expected *int - obj.AnnotationsVersion = expected + obj := &DocMetadataGet200Response{} + var expected *time.Time + obj.Modified = expected // Act & Assert - assert.Equal(t, expected, obj.GetAnnotationsVersion(), "getter should return the property value") + assert.Equal(t, expected, obj.GetModified(), "getter should return the property value") }) - t.Run("GetAnnotationsVersion_NilValue", func(t *testing.T) { + t.Run("GetModified_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaCacheDelta{} - obj.AnnotationsVersion = nil + obj := &DocMetadataGet200Response{} + obj.Modified = nil // Act & Assert - assert.Nil(t, obj.GetAnnotationsVersion(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetModified(), "getter should return nil when property is nil") }) - t.Run("GetAnnotationsVersion_NilReceiver", func(t *testing.T) { + t.Run("GetModified_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsReset200ResponseMetaCacheDelta + var obj *DocMetadataGet200Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetAnnotationsVersion() // Should return zero value + _ = obj.GetModified() // Should return zero value }) - t.Run("GetPages", func(t *testing.T) { + t.Run("GetTrapped", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaCacheDelta{} - var expected []*DocFormsReset200ResponseMetaCacheDeltaPagesItem - obj.Pages = expected + obj := &DocMetadataGet200Response{} + var expected DocMetadataGet200ResponseTrapped + obj.Trapped = expected // Act & Assert - assert.Equal(t, expected, obj.GetPages(), "getter should return the property value") + assert.Equal(t, expected, obj.GetTrapped(), "getter should return the property value") }) - t.Run("GetPages_NilValue", func(t *testing.T) { + t.Run("GetTrapped_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocMetadataGet200Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetTrapped() // Should return zero value + }) + + t.Run("GetCustom", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaCacheDelta{} - obj.Pages = nil + obj := &DocMetadataGet200Response{} + var expected map[string]string + obj.Custom = expected // Act & Assert - assert.Nil(t, obj.GetPages(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetCustom(), "getter should return the property value") }) - t.Run("GetPages_NilReceiver", func(t *testing.T) { + t.Run("GetCustom_NilValue", func(t *testing.T) { t.Parallel() - var obj *DocFormsReset200ResponseMetaCacheDelta + // Arrange + obj := &DocMetadataGet200Response{} + obj.Custom = nil + + // Act & Assert + assert.Nil(t, obj.GetCustom(), "getter should return nil when property is nil") + }) + + t.Run("GetCustom_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocMetadataGet200Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetPages() // Should return zero value + _ = obj.GetCustom() // Should return zero value }) } -func TestSettersMarkExplicitDocFormsReset200ResponseMetaCacheDelta(t *testing.T) { - t.Run("SetPreviousDocVersion_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocMetadataGet200Response(t *testing.T) { + t.Run("SetTitle_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaCacheDelta{} - var fernTestValuePreviousDocVersion int + obj := &DocMetadataGet200Response{} + var fernTestValueTitle *string // Act - obj.SetPreviousDocVersion(fernTestValuePreviousDocVersion) + obj.SetTitle(fernTestValueTitle) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -224082,14 +230014,14 @@ func TestSettersMarkExplicitDocFormsReset200ResponseMetaCacheDelta(t *testing.T) // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetDocVersion_MarksExplicit", func(t *testing.T) { + t.Run("SetAuthor_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaCacheDelta{} - var fernTestValueDocVersion int + obj := &DocMetadataGet200Response{} + var fernTestValueAuthor *string // Act - obj.SetDocVersion(fernTestValueDocVersion) + obj.SetAuthor(fernTestValueAuthor) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -224113,14 +230045,14 @@ func TestSettersMarkExplicitDocFormsReset200ResponseMetaCacheDelta(t *testing.T) // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetAnnotationsVersion_MarksExplicit", func(t *testing.T) { + t.Run("SetSubject_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaCacheDelta{} - var fernTestValueAnnotationsVersion *int + obj := &DocMetadataGet200Response{} + var fernTestValueSubject *string // Act - obj.SetAnnotationsVersion(fernTestValueAnnotationsVersion) + obj.SetSubject(fernTestValueSubject) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -224144,14 +230076,14 @@ func TestSettersMarkExplicitDocFormsReset200ResponseMetaCacheDelta(t *testing.T) // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetPages_MarksExplicit", func(t *testing.T) { + t.Run("SetKeywords_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaCacheDelta{} - var fernTestValuePages []*DocFormsReset200ResponseMetaCacheDeltaPagesItem + obj := &DocMetadataGet200Response{} + var fernTestValueKeywords *string // Act - obj.SetPages(fernTestValuePages) + obj.SetKeywords(fernTestValueKeywords) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -224175,95 +230107,76 @@ func TestSettersMarkExplicitDocFormsReset200ResponseMetaCacheDelta(t *testing.T) // It verifies that setting a field via setter allows successful JSON round-trip }) -} - -func TestSettersDocFormsReset200ResponseMetaCacheDeltaPagesItem(t *testing.T) { - t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItem{} - var fernTestValuePageObjectNumber int - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) - assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetCache", func(t *testing.T) { - obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItem{} - var fernTestValueCache *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache - obj.SetCache(fernTestValueCache) - assert.Equal(t, fernTestValueCache, obj.Cache) - assert.NotNil(t, obj.explicitFields) - }) - -} - -func TestGettersDocFormsReset200ResponseMetaCacheDeltaPagesItem(t *testing.T) { - t.Run("GetPageObjectNumber", func(t *testing.T) { + t.Run("SetProducer_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItem{} - var expected int - obj.PageObjectNumber = expected + obj := &DocMetadataGet200Response{} + var fernTestValueProducer *string - // Act & Assert - assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") - }) + // Act + obj.SetProducer(fernTestValueProducer) - t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsReset200ResponseMetaCacheDeltaPagesItem - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetPageObjectNumber() // Should return zero value - }) + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") - t.Run("GetCache", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItem{} - var expected *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache - obj.Cache = expected + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } - // Act & Assert - assert.Equal(t, expected, obj.GetCache(), "getter should return the property value") + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("GetCache_NilValue", func(t *testing.T) { + t.Run("SetCreator_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItem{} - obj.Cache = nil + obj := &DocMetadataGet200Response{} + var fernTestValueCreator *string - // Act & Assert - assert.Nil(t, obj.GetCache(), "getter should return nil when property is nil") - }) + // Act + obj.SetCreator(fernTestValueCreator) - t.Run("GetCache_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsReset200ResponseMetaCacheDeltaPagesItem - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetCache() // Should return zero value - }) + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") -} + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } -func TestSettersMarkExplicitDocFormsReset200ResponseMetaCacheDeltaPagesItem(t *testing.T) { - t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetCreated_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItem{} - var fernTestValuePageObjectNumber int + obj := &DocMetadataGet200Response{} + var fernTestValueCreated *time.Time // Act - obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + obj.SetCreated(fernTestValueCreated) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -224287,14 +230200,14 @@ func TestSettersMarkExplicitDocFormsReset200ResponseMetaCacheDeltaPagesItem(t *t // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetCache_MarksExplicit", func(t *testing.T) { + t.Run("SetModified_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItem{} - var fernTestValueCache *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache + obj := &DocMetadataGet200Response{} + var fernTestValueModified *time.Time // Act - obj.SetCache(fernTestValueCache) + obj.SetModified(fernTestValueModified) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -224318,85 +230231,14 @@ func TestSettersMarkExplicitDocFormsReset200ResponseMetaCacheDeltaPagesItem(t *t // It verifies that setting a field via setter allows successful JSON round-trip }) -} - -func TestSettersDocFormsReset200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { - t.Run("SetContentVersion", func(t *testing.T) { - obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItemCache{} - var fernTestValueContentVersion int - obj.SetContentVersion(fernTestValueContentVersion) - assert.Equal(t, fernTestValueContentVersion, obj.ContentVersion) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetAnnotationVersion", func(t *testing.T) { - obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItemCache{} - var fernTestValueAnnotationVersion int - obj.SetAnnotationVersion(fernTestValueAnnotationVersion) - assert.Equal(t, fernTestValueAnnotationVersion, obj.AnnotationVersion) - assert.NotNil(t, obj.explicitFields) - }) - -} - -func TestGettersDocFormsReset200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { - t.Run("GetContentVersion", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItemCache{} - var expected int - obj.ContentVersion = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetContentVersion(), "getter should return the property value") - }) - - t.Run("GetContentVersion_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetContentVersion() // Should return zero value - }) - - t.Run("GetAnnotationVersion", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItemCache{} - var expected int - obj.AnnotationVersion = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetAnnotationVersion(), "getter should return the property value") - }) - - t.Run("GetAnnotationVersion_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocFormsReset200ResponseMetaCacheDeltaPagesItemCache - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetAnnotationVersion() // Should return zero value - }) - -} - -func TestSettersMarkExplicitDocFormsReset200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { - t.Run("SetContentVersion_MarksExplicit", func(t *testing.T) { + t.Run("SetTrapped_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItemCache{} - var fernTestValueContentVersion int + obj := &DocMetadataGet200Response{} + var fernTestValueTrapped DocMetadataGet200ResponseTrapped // Act - obj.SetContentVersion(fernTestValueContentVersion) + obj.SetTrapped(fernTestValueTrapped) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -224420,14 +230262,14 @@ func TestSettersMarkExplicitDocFormsReset200ResponseMetaCacheDeltaPagesItemCache // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetAnnotationVersion_MarksExplicit", func(t *testing.T) { + t.Run("SetCustom_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset200ResponseMetaCacheDeltaPagesItemCache{} - var fernTestValueAnnotationVersion int + obj := &DocMetadataGet200Response{} + var fernTestValueCustom map[string]string // Act - obj.SetAnnotationVersion(fernTestValueAnnotationVersion) + obj.SetCustom(fernTestValueCustom) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -224453,25 +230295,25 @@ func TestSettersMarkExplicitDocFormsReset200ResponseMetaCacheDeltaPagesItemCache } -func TestSettersDocFormsReset404Response(t *testing.T) { +func TestSettersDocMetadataGet404Response(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocFormsReset404Response{} - var fernTestValueName DocFormsReset404ResponseName + obj := &DocMetadataGet404Response{} + var fernTestValueName DocMetadataGet404ResponseName obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCode", func(t *testing.T) { - obj := &DocFormsReset404Response{} - var fernTestValueCode DocFormsReset404ResponseCode + obj := &DocMetadataGet404Response{} + var fernTestValueCode DocMetadataGet404ResponseCode obj.SetCode(fernTestValueCode) assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) t.Run("SetMessage", func(t *testing.T) { - obj := &DocFormsReset404Response{} + obj := &DocMetadataGet404Response{} var fernTestValueMessage string obj.SetMessage(fernTestValueMessage) assert.Equal(t, fernTestValueMessage, obj.Message) @@ -224479,7 +230321,7 @@ func TestSettersDocFormsReset404Response(t *testing.T) { }) t.Run("SetDetails", func(t *testing.T) { - obj := &DocFormsReset404Response{} + obj := &DocMetadataGet404Response{} var fernTestValueDetails map[string]any obj.SetDetails(fernTestValueDetails) assert.Equal(t, fernTestValueDetails, obj.Details) @@ -224488,12 +230330,12 @@ func TestSettersDocFormsReset404Response(t *testing.T) { } -func TestGettersDocFormsReset404Response(t *testing.T) { +func TestGettersDocMetadataGet404Response(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset404Response{} - var expected DocFormsReset404ResponseName + obj := &DocMetadataGet404Response{} + var expected DocMetadataGet404ResponseName obj.Name = expected // Act & Assert @@ -224502,7 +230344,7 @@ func TestGettersDocFormsReset404Response(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsReset404Response + var obj *DocMetadataGet404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -224515,8 +230357,8 @@ func TestGettersDocFormsReset404Response(t *testing.T) { t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset404Response{} - var expected DocFormsReset404ResponseCode + obj := &DocMetadataGet404Response{} + var expected DocMetadataGet404ResponseCode obj.Code = expected // Act & Assert @@ -224525,7 +230367,7 @@ func TestGettersDocFormsReset404Response(t *testing.T) { t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsReset404Response + var obj *DocMetadataGet404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -224538,7 +230380,7 @@ func TestGettersDocFormsReset404Response(t *testing.T) { t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset404Response{} + obj := &DocMetadataGet404Response{} var expected string obj.Message = expected @@ -224548,7 +230390,7 @@ func TestGettersDocFormsReset404Response(t *testing.T) { t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsReset404Response + var obj *DocMetadataGet404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -224561,7 +230403,7 @@ func TestGettersDocFormsReset404Response(t *testing.T) { t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset404Response{} + obj := &DocMetadataGet404Response{} var expected map[string]any obj.Details = expected @@ -224572,7 +230414,7 @@ func TestGettersDocFormsReset404Response(t *testing.T) { t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset404Response{} + obj := &DocMetadataGet404Response{} obj.Details = nil // Act & Assert @@ -224581,7 +230423,7 @@ func TestGettersDocFormsReset404Response(t *testing.T) { t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsReset404Response + var obj *DocMetadataGet404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -224593,12 +230435,12 @@ func TestGettersDocFormsReset404Response(t *testing.T) { } -func TestSettersMarkExplicitDocFormsReset404Response(t *testing.T) { +func TestSettersMarkExplicitDocMetadataGet404Response(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset404Response{} - var fernTestValueName DocFormsReset404ResponseName + obj := &DocMetadataGet404Response{} + var fernTestValueName DocMetadataGet404ResponseName // Act obj.SetName(fernTestValueName) @@ -224628,8 +230470,8 @@ func TestSettersMarkExplicitDocFormsReset404Response(t *testing.T) { t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset404Response{} - var fernTestValueCode DocFormsReset404ResponseCode + obj := &DocMetadataGet404Response{} + var fernTestValueCode DocMetadataGet404ResponseCode // Act obj.SetCode(fernTestValueCode) @@ -224659,7 +230501,7 @@ func TestSettersMarkExplicitDocFormsReset404Response(t *testing.T) { t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset404Response{} + obj := &DocMetadataGet404Response{} var fernTestValueMessage string // Act @@ -224690,7 +230532,7 @@ func TestSettersMarkExplicitDocFormsReset404Response(t *testing.T) { t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsReset404Response{} + obj := &DocMetadataGet404Response{} var fernTestValueDetails map[string]any // Act @@ -224720,10 +230562,10 @@ func TestSettersMarkExplicitDocFormsReset404Response(t *testing.T) { } -func TestSettersDocFormsSetValue200Response(t *testing.T) { +func TestSettersDocPagesDelete200Response(t *testing.T) { t.Run("SetMeta", func(t *testing.T) { - obj := &DocFormsSetValue200Response{} - var fernTestValueMeta *DocFormsSetValue200ResponseMeta + obj := &DocPagesDelete200Response{} + var fernTestValueMeta *DocPagesDelete200ResponseMeta obj.SetMeta(fernTestValueMeta) assert.Equal(t, fernTestValueMeta, obj.Meta) assert.NotNil(t, obj.explicitFields) @@ -224731,12 +230573,12 @@ func TestSettersDocFormsSetValue200Response(t *testing.T) { } -func TestGettersDocFormsSetValue200Response(t *testing.T) { +func TestGettersDocPagesDelete200Response(t *testing.T) { t.Run("GetMeta", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200Response{} - var expected *DocFormsSetValue200ResponseMeta + obj := &DocPagesDelete200Response{} + var expected *DocPagesDelete200ResponseMeta obj.Meta = expected // Act & Assert @@ -224746,7 +230588,7 @@ func TestGettersDocFormsSetValue200Response(t *testing.T) { t.Run("GetMeta_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200Response{} + obj := &DocPagesDelete200Response{} obj.Meta = nil // Act & Assert @@ -224755,7 +230597,7 @@ func TestGettersDocFormsSetValue200Response(t *testing.T) { t.Run("GetMeta_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue200Response + var obj *DocPagesDelete200Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -224767,12 +230609,12 @@ func TestGettersDocFormsSetValue200Response(t *testing.T) { } -func TestSettersMarkExplicitDocFormsSetValue200Response(t *testing.T) { +func TestSettersMarkExplicitDocPagesDelete200Response(t *testing.T) { t.Run("SetMeta_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200Response{} - var fernTestValueMeta *DocFormsSetValue200ResponseMeta + obj := &DocPagesDelete200Response{} + var fernTestValueMeta *DocPagesDelete200ResponseMeta // Act obj.SetMeta(fernTestValueMeta) @@ -224801,18 +230643,18 @@ func TestSettersMarkExplicitDocFormsSetValue200Response(t *testing.T) { } -func TestSettersDocFormsSetValue200ResponseMeta(t *testing.T) { +func TestSettersDocPagesDelete200ResponseMeta(t *testing.T) { t.Run("SetAffectedPages", func(t *testing.T) { - obj := &DocFormsSetValue200ResponseMeta{} - var fernTestValueAffectedPages []*DocFormsSetValue200ResponseMetaAffectedPagesItem + obj := &DocPagesDelete200ResponseMeta{} + var fernTestValueAffectedPages []*DocPagesDelete200ResponseMetaAffectedPagesItem obj.SetAffectedPages(fernTestValueAffectedPages) assert.Equal(t, fernTestValueAffectedPages, obj.AffectedPages) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCacheDelta", func(t *testing.T) { - obj := &DocFormsSetValue200ResponseMeta{} - var fernTestValueCacheDelta *DocFormsSetValue200ResponseMetaCacheDelta + obj := &DocPagesDelete200ResponseMeta{} + var fernTestValueCacheDelta *DocPagesDelete200ResponseMetaCacheDelta obj.SetCacheDelta(fernTestValueCacheDelta) assert.Equal(t, fernTestValueCacheDelta, obj.CacheDelta) assert.NotNil(t, obj.explicitFields) @@ -224820,12 +230662,12 @@ func TestSettersDocFormsSetValue200ResponseMeta(t *testing.T) { } -func TestGettersDocFormsSetValue200ResponseMeta(t *testing.T) { +func TestGettersDocPagesDelete200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMeta{} - var expected []*DocFormsSetValue200ResponseMetaAffectedPagesItem + obj := &DocPagesDelete200ResponseMeta{} + var expected []*DocPagesDelete200ResponseMetaAffectedPagesItem obj.AffectedPages = expected // Act & Assert @@ -224835,7 +230677,7 @@ func TestGettersDocFormsSetValue200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMeta{} + obj := &DocPagesDelete200ResponseMeta{} obj.AffectedPages = nil // Act & Assert @@ -224844,7 +230686,7 @@ func TestGettersDocFormsSetValue200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue200ResponseMeta + var obj *DocPagesDelete200ResponseMeta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -224857,8 +230699,8 @@ func TestGettersDocFormsSetValue200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMeta{} - var expected *DocFormsSetValue200ResponseMetaCacheDelta + obj := &DocPagesDelete200ResponseMeta{} + var expected *DocPagesDelete200ResponseMetaCacheDelta obj.CacheDelta = expected // Act & Assert @@ -224868,7 +230710,7 @@ func TestGettersDocFormsSetValue200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMeta{} + obj := &DocPagesDelete200ResponseMeta{} obj.CacheDelta = nil // Act & Assert @@ -224877,7 +230719,7 @@ func TestGettersDocFormsSetValue200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue200ResponseMeta + var obj *DocPagesDelete200ResponseMeta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -224889,12 +230731,12 @@ func TestGettersDocFormsSetValue200ResponseMeta(t *testing.T) { } -func TestSettersMarkExplicitDocFormsSetValue200ResponseMeta(t *testing.T) { +func TestSettersMarkExplicitDocPagesDelete200ResponseMeta(t *testing.T) { t.Run("SetAffectedPages_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMeta{} - var fernTestValueAffectedPages []*DocFormsSetValue200ResponseMetaAffectedPagesItem + obj := &DocPagesDelete200ResponseMeta{} + var fernTestValueAffectedPages []*DocPagesDelete200ResponseMetaAffectedPagesItem // Act obj.SetAffectedPages(fernTestValueAffectedPages) @@ -224924,8 +230766,8 @@ func TestSettersMarkExplicitDocFormsSetValue200ResponseMeta(t *testing.T) { t.Run("SetCacheDelta_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMeta{} - var fernTestValueCacheDelta *DocFormsSetValue200ResponseMetaCacheDelta + obj := &DocPagesDelete200ResponseMeta{} + var fernTestValueCacheDelta *DocPagesDelete200ResponseMetaCacheDelta // Act obj.SetCacheDelta(fernTestValueCacheDelta) @@ -224954,9 +230796,9 @@ func TestSettersMarkExplicitDocFormsSetValue200ResponseMeta(t *testing.T) { } -func TestSettersDocFormsSetValue200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestSettersDocPagesDelete200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItem{} + obj := &DocPagesDelete200ResponseMetaAffectedPagesItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -224964,16 +230806,16 @@ func TestSettersDocFormsSetValue200ResponseMetaAffectedPagesItem(t *testing.T) { }) t.Run("SetRevision", func(t *testing.T) { - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItem{} - var fernTestValueRevision *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision + obj := &DocPagesDelete200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocPagesDelete200ResponseMetaAffectedPagesItemRevision obj.SetRevision(fernTestValueRevision) assert.Equal(t, fernTestValueRevision, obj.Revision) assert.NotNil(t, obj.explicitFields) }) t.Run("SetWeakAnnotationState", func(t *testing.T) { - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItem{} - var fernTestValueWeakAnnotationState *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocPagesDelete200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) assert.Equal(t, fernTestValueWeakAnnotationState, obj.WeakAnnotationState) assert.NotNil(t, obj.explicitFields) @@ -224981,11 +230823,11 @@ func TestSettersDocFormsSetValue200ResponseMetaAffectedPagesItem(t *testing.T) { } -func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItem{} + obj := &DocPagesDelete200ResponseMetaAffectedPagesItem{} var expected int obj.PageObjectNumber = expected @@ -224995,7 +230837,7 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue200ResponseMetaAffectedPagesItem + var obj *DocPagesDelete200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -225008,8 +230850,8 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetRevision", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItem{} - var expected *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision + obj := &DocPagesDelete200ResponseMetaAffectedPagesItem{} + var expected *DocPagesDelete200ResponseMetaAffectedPagesItemRevision obj.Revision = expected // Act & Assert @@ -225019,7 +230861,7 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetRevision_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItem{} + obj := &DocPagesDelete200ResponseMetaAffectedPagesItem{} obj.Revision = nil // Act & Assert @@ -225028,7 +230870,7 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetRevision_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue200ResponseMetaAffectedPagesItem + var obj *DocPagesDelete200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -225041,8 +230883,8 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetWeakAnnotationState", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItem{} - var expected *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocPagesDelete200ResponseMetaAffectedPagesItem{} + var expected *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState obj.WeakAnnotationState = expected // Act & Assert @@ -225052,7 +230894,7 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetWeakAnnotationState_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItem{} + obj := &DocPagesDelete200ResponseMetaAffectedPagesItem{} obj.WeakAnnotationState = nil // Act & Assert @@ -225061,7 +230903,7 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetWeakAnnotationState_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue200ResponseMetaAffectedPagesItem + var obj *DocPagesDelete200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -225073,11 +230915,11 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItem(t *testing.T) { } -func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestSettersMarkExplicitDocPagesDelete200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItem{} + obj := &DocPagesDelete200ResponseMetaAffectedPagesItem{} var fernTestValuePageObjectNumber int // Act @@ -225108,8 +230950,8 @@ func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaAffectedPagesItem(t * t.Run("SetRevision_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItem{} - var fernTestValueRevision *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision + obj := &DocPagesDelete200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocPagesDelete200ResponseMetaAffectedPagesItemRevision // Act obj.SetRevision(fernTestValueRevision) @@ -225139,8 +230981,8 @@ func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaAffectedPagesItem(t * t.Run("SetWeakAnnotationState_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItem{} - var fernTestValueWeakAnnotationState *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocPagesDelete200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState // Act obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) @@ -225169,9 +231011,9 @@ func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaAffectedPagesItem(t * } -func TestSettersDocFormsSetValue200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestSettersDocPagesDelete200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("SetDocSessionID", func(t *testing.T) { - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesDelete200ResponseMetaAffectedPagesItemRevision{} var fernTestValueDocSessionID string obj.SetDocSessionID(fernTestValueDocSessionID) assert.Equal(t, fernTestValueDocSessionID, obj.DocSessionID) @@ -225179,7 +231021,7 @@ func TestSettersDocFormsSetValue200ResponseMetaAffectedPagesItemRevision(t *test }) t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesDelete200ResponseMetaAffectedPagesItemRevision{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -225187,7 +231029,7 @@ func TestSettersDocFormsSetValue200ResponseMetaAffectedPagesItemRevision(t *test }) t.Run("SetGeneration", func(t *testing.T) { - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesDelete200ResponseMetaAffectedPagesItemRevision{} var fernTestValueGeneration int obj.SetGeneration(fernTestValueGeneration) assert.Equal(t, fernTestValueGeneration, obj.Generation) @@ -225196,11 +231038,11 @@ func TestSettersDocFormsSetValue200ResponseMetaAffectedPagesItemRevision(t *test } -func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("GetDocSessionID", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesDelete200ResponseMetaAffectedPagesItemRevision{} var expected string obj.DocSessionID = expected @@ -225210,7 +231052,7 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItemRevision(t *test t.Run("GetDocSessionID_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision + var obj *DocPagesDelete200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -225223,7 +231065,7 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItemRevision(t *test t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesDelete200ResponseMetaAffectedPagesItemRevision{} var expected int obj.PageObjectNumber = expected @@ -225233,7 +231075,7 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItemRevision(t *test t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision + var obj *DocPagesDelete200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -225246,7 +231088,7 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItemRevision(t *test t.Run("GetGeneration", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesDelete200ResponseMetaAffectedPagesItemRevision{} var expected int obj.Generation = expected @@ -225256,7 +231098,7 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItemRevision(t *test t.Run("GetGeneration_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue200ResponseMetaAffectedPagesItemRevision + var obj *DocPagesDelete200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -225268,11 +231110,11 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItemRevision(t *test } -func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestSettersMarkExplicitDocPagesDelete200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("SetDocSessionID_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesDelete200ResponseMetaAffectedPagesItemRevision{} var fernTestValueDocSessionID string // Act @@ -225303,7 +231145,7 @@ func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaAffectedPagesItemRevi t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesDelete200ResponseMetaAffectedPagesItemRevision{} var fernTestValuePageObjectNumber int // Act @@ -225334,7 +231176,7 @@ func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaAffectedPagesItemRevi t.Run("SetGeneration_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesDelete200ResponseMetaAffectedPagesItemRevision{} var fernTestValueGeneration int // Act @@ -225364,11 +231206,11 @@ func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaAffectedPagesItemRevi } -func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { +func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState{} var expected string obj.Kind = expected @@ -225378,7 +231220,7 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationSt t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -225391,8 +231233,8 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationSt t.Run("GetUnknown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState{} - var expected *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + obj := &DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown obj.Unknown = expected // Act & Assert @@ -225402,7 +231244,7 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationSt t.Run("GetUnknown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState{} obj.Unknown = nil // Act & Assert @@ -225411,7 +231253,7 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationSt t.Run("GetUnknown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -225424,8 +231266,8 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationSt t.Run("GetKnown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState{} - var expected *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + obj := &DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown obj.Known = expected // Act & Assert @@ -225435,7 +231277,7 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationSt t.Run("GetKnown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState{} obj.Known = nil // Act & Assert @@ -225444,7 +231286,7 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationSt t.Run("GetKnown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -225456,9 +231298,9 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationSt } -func TestSettersDocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestSettersDocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("SetHasAnyWeakAnnotations", func(t *testing.T) { - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var fernTestValueHasAnyWeakAnnotations bool obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) assert.Equal(t, fernTestValueHasAnyWeakAnnotations, obj.HasAnyWeakAnnotations) @@ -225467,11 +231309,11 @@ func TestSettersDocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationSt } -func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("GetHasAnyWeakAnnotations", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var expected bool obj.HasAnyWeakAnnotations = expected @@ -225481,7 +231323,7 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationSt t.Run("GetHasAnyWeakAnnotations_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + var obj *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -225493,11 +231335,11 @@ func TestGettersDocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationSt } -func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestSettersMarkExplicitDocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("SetHasAnyWeakAnnotations_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var fernTestValueHasAnyWeakAnnotations bool // Act @@ -225527,9 +231369,9 @@ func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaAffectedPagesItemWeak } -func TestSettersDocFormsSetValue200ResponseMetaCacheDelta(t *testing.T) { +func TestSettersDocPagesDelete200ResponseMetaCacheDelta(t *testing.T) { t.Run("SetPreviousDocVersion", func(t *testing.T) { - obj := &DocFormsSetValue200ResponseMetaCacheDelta{} + obj := &DocPagesDelete200ResponseMetaCacheDelta{} var fernTestValuePreviousDocVersion int obj.SetPreviousDocVersion(fernTestValuePreviousDocVersion) assert.Equal(t, fernTestValuePreviousDocVersion, obj.PreviousDocVersion) @@ -225537,7 +231379,7 @@ func TestSettersDocFormsSetValue200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetDocVersion", func(t *testing.T) { - obj := &DocFormsSetValue200ResponseMetaCacheDelta{} + obj := &DocPagesDelete200ResponseMetaCacheDelta{} var fernTestValueDocVersion int obj.SetDocVersion(fernTestValueDocVersion) assert.Equal(t, fernTestValueDocVersion, obj.DocVersion) @@ -225545,7 +231387,7 @@ func TestSettersDocFormsSetValue200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetAnnotationsVersion", func(t *testing.T) { - obj := &DocFormsSetValue200ResponseMetaCacheDelta{} + obj := &DocPagesDelete200ResponseMetaCacheDelta{} var fernTestValueAnnotationsVersion *int obj.SetAnnotationsVersion(fernTestValueAnnotationsVersion) assert.Equal(t, fernTestValueAnnotationsVersion, obj.AnnotationsVersion) @@ -225553,8 +231395,8 @@ func TestSettersDocFormsSetValue200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetPages", func(t *testing.T) { - obj := &DocFormsSetValue200ResponseMetaCacheDelta{} - var fernTestValuePages []*DocFormsSetValue200ResponseMetaCacheDeltaPagesItem + obj := &DocPagesDelete200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocPagesDelete200ResponseMetaCacheDeltaPagesItem obj.SetPages(fernTestValuePages) assert.Equal(t, fernTestValuePages, obj.Pages) assert.NotNil(t, obj.explicitFields) @@ -225562,11 +231404,11 @@ func TestSettersDocFormsSetValue200ResponseMetaCacheDelta(t *testing.T) { } -func TestGettersDocFormsSetValue200ResponseMetaCacheDelta(t *testing.T) { +func TestGettersDocPagesDelete200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPreviousDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaCacheDelta{} + obj := &DocPagesDelete200ResponseMetaCacheDelta{} var expected int obj.PreviousDocVersion = expected @@ -225576,7 +231418,7 @@ func TestGettersDocFormsSetValue200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPreviousDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue200ResponseMetaCacheDelta + var obj *DocPagesDelete200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -225589,7 +231431,7 @@ func TestGettersDocFormsSetValue200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaCacheDelta{} + obj := &DocPagesDelete200ResponseMetaCacheDelta{} var expected int obj.DocVersion = expected @@ -225599,7 +231441,7 @@ func TestGettersDocFormsSetValue200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue200ResponseMetaCacheDelta + var obj *DocPagesDelete200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -225612,7 +231454,7 @@ func TestGettersDocFormsSetValue200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaCacheDelta{} + obj := &DocPagesDelete200ResponseMetaCacheDelta{} var expected *int obj.AnnotationsVersion = expected @@ -225623,7 +231465,7 @@ func TestGettersDocFormsSetValue200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaCacheDelta{} + obj := &DocPagesDelete200ResponseMetaCacheDelta{} obj.AnnotationsVersion = nil // Act & Assert @@ -225632,7 +231474,7 @@ func TestGettersDocFormsSetValue200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue200ResponseMetaCacheDelta + var obj *DocPagesDelete200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -225645,8 +231487,8 @@ func TestGettersDocFormsSetValue200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaCacheDelta{} - var expected []*DocFormsSetValue200ResponseMetaCacheDeltaPagesItem + obj := &DocPagesDelete200ResponseMetaCacheDelta{} + var expected []*DocPagesDelete200ResponseMetaCacheDeltaPagesItem obj.Pages = expected // Act & Assert @@ -225656,7 +231498,7 @@ func TestGettersDocFormsSetValue200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaCacheDelta{} + obj := &DocPagesDelete200ResponseMetaCacheDelta{} obj.Pages = nil // Act & Assert @@ -225665,7 +231507,7 @@ func TestGettersDocFormsSetValue200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue200ResponseMetaCacheDelta + var obj *DocPagesDelete200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -225677,11 +231519,11 @@ func TestGettersDocFormsSetValue200ResponseMetaCacheDelta(t *testing.T) { } -func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaCacheDelta(t *testing.T) { +func TestSettersMarkExplicitDocPagesDelete200ResponseMetaCacheDelta(t *testing.T) { t.Run("SetPreviousDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaCacheDelta{} + obj := &DocPagesDelete200ResponseMetaCacheDelta{} var fernTestValuePreviousDocVersion int // Act @@ -225712,7 +231554,7 @@ func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaCacheDelta(t *testing t.Run("SetDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaCacheDelta{} + obj := &DocPagesDelete200ResponseMetaCacheDelta{} var fernTestValueDocVersion int // Act @@ -225743,7 +231585,7 @@ func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaCacheDelta(t *testing t.Run("SetAnnotationsVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaCacheDelta{} + obj := &DocPagesDelete200ResponseMetaCacheDelta{} var fernTestValueAnnotationsVersion *int // Act @@ -225774,8 +231616,8 @@ func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaCacheDelta(t *testing t.Run("SetPages_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaCacheDelta{} - var fernTestValuePages []*DocFormsSetValue200ResponseMetaCacheDeltaPagesItem + obj := &DocPagesDelete200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocPagesDelete200ResponseMetaCacheDeltaPagesItem // Act obj.SetPages(fernTestValuePages) @@ -225804,9 +231646,9 @@ func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaCacheDelta(t *testing } -func TestSettersDocFormsSetValue200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestSettersDocPagesDelete200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -225814,8 +231656,8 @@ func TestSettersDocFormsSetValue200ResponseMetaCacheDeltaPagesItem(t *testing.T) }) t.Run("SetCache", func(t *testing.T) { - obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItem{} - var fernTestValueCache *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache + obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache obj.SetCache(fernTestValueCache) assert.Equal(t, fernTestValueCache, obj.Cache) assert.NotNil(t, obj.explicitFields) @@ -225823,11 +231665,11 @@ func TestSettersDocFormsSetValue200ResponseMetaCacheDeltaPagesItem(t *testing.T) } -func TestGettersDocFormsSetValue200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestGettersDocPagesDelete200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItem{} var expected int obj.PageObjectNumber = expected @@ -225837,7 +231679,7 @@ func TestGettersDocFormsSetValue200ResponseMetaCacheDeltaPagesItem(t *testing.T) t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem + var obj *DocPagesDelete200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -225850,8 +231692,8 @@ func TestGettersDocFormsSetValue200ResponseMetaCacheDeltaPagesItem(t *testing.T) t.Run("GetCache", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItem{} - var expected *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache + obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItem{} + var expected *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache obj.Cache = expected // Act & Assert @@ -225861,7 +231703,7 @@ func TestGettersDocFormsSetValue200ResponseMetaCacheDeltaPagesItem(t *testing.T) t.Run("GetCache_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItem{} obj.Cache = nil // Act & Assert @@ -225870,7 +231712,7 @@ func TestGettersDocFormsSetValue200ResponseMetaCacheDeltaPagesItem(t *testing.T) t.Run("GetCache_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue200ResponseMetaCacheDeltaPagesItem + var obj *DocPagesDelete200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -225882,11 +231724,11 @@ func TestGettersDocFormsSetValue200ResponseMetaCacheDeltaPagesItem(t *testing.T) } -func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestSettersMarkExplicitDocPagesDelete200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItem{} var fernTestValuePageObjectNumber int // Act @@ -225917,8 +231759,8 @@ func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaCacheDeltaPagesItem(t t.Run("SetCache_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItem{} - var fernTestValueCache *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache + obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache // Act obj.SetCache(fernTestValueCache) @@ -225947,9 +231789,9 @@ func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaCacheDeltaPagesItem(t } -func TestSettersDocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { +func TestSettersDocPagesDelete200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { t.Run("SetContentVersion", func(t *testing.T) { - obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueContentVersion int obj.SetContentVersion(fernTestValueContentVersion) assert.Equal(t, fernTestValueContentVersion, obj.ContentVersion) @@ -225957,7 +231799,7 @@ func TestSettersDocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache(t *testi }) t.Run("SetAnnotationVersion", func(t *testing.T) { - obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueAnnotationVersion int obj.SetAnnotationVersion(fernTestValueAnnotationVersion) assert.Equal(t, fernTestValueAnnotationVersion, obj.AnnotationVersion) @@ -225966,11 +231808,11 @@ func TestSettersDocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache(t *testi } -func TestGettersDocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { +func TestGettersDocPagesDelete200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { t.Run("GetContentVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache{} var expected int obj.ContentVersion = expected @@ -225980,7 +231822,7 @@ func TestGettersDocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache(t *testi t.Run("GetContentVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache + var obj *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -225993,7 +231835,7 @@ func TestGettersDocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache(t *testi t.Run("GetAnnotationVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache{} var expected int obj.AnnotationVersion = expected @@ -226003,7 +231845,7 @@ func TestGettersDocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache(t *testi t.Run("GetAnnotationVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache + var obj *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -226015,11 +231857,11 @@ func TestGettersDocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache(t *testi } -func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { +func TestSettersMarkExplicitDocPagesDelete200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { t.Run("SetContentVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueContentVersion int // Act @@ -226050,7 +231892,7 @@ func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaCacheDeltaPagesItemCa t.Run("SetAnnotationVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueAnnotationVersion int // Act @@ -226080,25 +231922,25 @@ func TestSettersMarkExplicitDocFormsSetValue200ResponseMetaCacheDeltaPagesItemCa } -func TestSettersDocFormsSetValue400Response(t *testing.T) { +func TestSettersDocPagesDelete400Response(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocFormsSetValue400Response{} - var fernTestValueName DocFormsSetValue400ResponseName + obj := &DocPagesDelete400Response{} + var fernTestValueName DocPagesDelete400ResponseName obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCode", func(t *testing.T) { - obj := &DocFormsSetValue400Response{} - var fernTestValueCode DocFormsSetValue400ResponseCode + obj := &DocPagesDelete400Response{} + var fernTestValueCode DocPagesDelete400ResponseCode obj.SetCode(fernTestValueCode) assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) t.Run("SetMessage", func(t *testing.T) { - obj := &DocFormsSetValue400Response{} + obj := &DocPagesDelete400Response{} var fernTestValueMessage string obj.SetMessage(fernTestValueMessage) assert.Equal(t, fernTestValueMessage, obj.Message) @@ -226106,7 +231948,7 @@ func TestSettersDocFormsSetValue400Response(t *testing.T) { }) t.Run("SetDetails", func(t *testing.T) { - obj := &DocFormsSetValue400Response{} + obj := &DocPagesDelete400Response{} var fernTestValueDetails map[string]any obj.SetDetails(fernTestValueDetails) assert.Equal(t, fernTestValueDetails, obj.Details) @@ -226115,12 +231957,12 @@ func TestSettersDocFormsSetValue400Response(t *testing.T) { } -func TestGettersDocFormsSetValue400Response(t *testing.T) { +func TestGettersDocPagesDelete400Response(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue400Response{} - var expected DocFormsSetValue400ResponseName + obj := &DocPagesDelete400Response{} + var expected DocPagesDelete400ResponseName obj.Name = expected // Act & Assert @@ -226129,7 +231971,7 @@ func TestGettersDocFormsSetValue400Response(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue400Response + var obj *DocPagesDelete400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -226142,8 +231984,8 @@ func TestGettersDocFormsSetValue400Response(t *testing.T) { t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue400Response{} - var expected DocFormsSetValue400ResponseCode + obj := &DocPagesDelete400Response{} + var expected DocPagesDelete400ResponseCode obj.Code = expected // Act & Assert @@ -226152,7 +231994,7 @@ func TestGettersDocFormsSetValue400Response(t *testing.T) { t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue400Response + var obj *DocPagesDelete400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -226165,7 +232007,7 @@ func TestGettersDocFormsSetValue400Response(t *testing.T) { t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue400Response{} + obj := &DocPagesDelete400Response{} var expected string obj.Message = expected @@ -226175,7 +232017,7 @@ func TestGettersDocFormsSetValue400Response(t *testing.T) { t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue400Response + var obj *DocPagesDelete400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -226188,7 +232030,7 @@ func TestGettersDocFormsSetValue400Response(t *testing.T) { t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue400Response{} + obj := &DocPagesDelete400Response{} var expected map[string]any obj.Details = expected @@ -226199,7 +232041,7 @@ func TestGettersDocFormsSetValue400Response(t *testing.T) { t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue400Response{} + obj := &DocPagesDelete400Response{} obj.Details = nil // Act & Assert @@ -226208,7 +232050,7 @@ func TestGettersDocFormsSetValue400Response(t *testing.T) { t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue400Response + var obj *DocPagesDelete400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -226220,12 +232062,12 @@ func TestGettersDocFormsSetValue400Response(t *testing.T) { } -func TestSettersMarkExplicitDocFormsSetValue400Response(t *testing.T) { +func TestSettersMarkExplicitDocPagesDelete400Response(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue400Response{} - var fernTestValueName DocFormsSetValue400ResponseName + obj := &DocPagesDelete400Response{} + var fernTestValueName DocPagesDelete400ResponseName // Act obj.SetName(fernTestValueName) @@ -226255,8 +232097,8 @@ func TestSettersMarkExplicitDocFormsSetValue400Response(t *testing.T) { t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue400Response{} - var fernTestValueCode DocFormsSetValue400ResponseCode + obj := &DocPagesDelete400Response{} + var fernTestValueCode DocPagesDelete400ResponseCode // Act obj.SetCode(fernTestValueCode) @@ -226286,7 +232128,7 @@ func TestSettersMarkExplicitDocFormsSetValue400Response(t *testing.T) { t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue400Response{} + obj := &DocPagesDelete400Response{} var fernTestValueMessage string // Act @@ -226317,7 +232159,7 @@ func TestSettersMarkExplicitDocFormsSetValue400Response(t *testing.T) { t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue400Response{} + obj := &DocPagesDelete400Response{} var fernTestValueDetails map[string]any // Act @@ -226347,25 +232189,25 @@ func TestSettersMarkExplicitDocFormsSetValue400Response(t *testing.T) { } -func TestSettersDocFormsSetValue404Response(t *testing.T) { +func TestSettersDocPagesDelete404Response(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocFormsSetValue404Response{} - var fernTestValueName DocFormsSetValue404ResponseName + obj := &DocPagesDelete404Response{} + var fernTestValueName DocPagesDelete404ResponseName obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCode", func(t *testing.T) { - obj := &DocFormsSetValue404Response{} - var fernTestValueCode DocFormsSetValue404ResponseCode + obj := &DocPagesDelete404Response{} + var fernTestValueCode DocPagesDelete404ResponseCode obj.SetCode(fernTestValueCode) assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) t.Run("SetMessage", func(t *testing.T) { - obj := &DocFormsSetValue404Response{} + obj := &DocPagesDelete404Response{} var fernTestValueMessage string obj.SetMessage(fernTestValueMessage) assert.Equal(t, fernTestValueMessage, obj.Message) @@ -226373,7 +232215,7 @@ func TestSettersDocFormsSetValue404Response(t *testing.T) { }) t.Run("SetDetails", func(t *testing.T) { - obj := &DocFormsSetValue404Response{} + obj := &DocPagesDelete404Response{} var fernTestValueDetails map[string]any obj.SetDetails(fernTestValueDetails) assert.Equal(t, fernTestValueDetails, obj.Details) @@ -226382,12 +232224,12 @@ func TestSettersDocFormsSetValue404Response(t *testing.T) { } -func TestGettersDocFormsSetValue404Response(t *testing.T) { +func TestGettersDocPagesDelete404Response(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue404Response{} - var expected DocFormsSetValue404ResponseName + obj := &DocPagesDelete404Response{} + var expected DocPagesDelete404ResponseName obj.Name = expected // Act & Assert @@ -226396,7 +232238,7 @@ func TestGettersDocFormsSetValue404Response(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue404Response + var obj *DocPagesDelete404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -226409,8 +232251,8 @@ func TestGettersDocFormsSetValue404Response(t *testing.T) { t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue404Response{} - var expected DocFormsSetValue404ResponseCode + obj := &DocPagesDelete404Response{} + var expected DocPagesDelete404ResponseCode obj.Code = expected // Act & Assert @@ -226419,7 +232261,7 @@ func TestGettersDocFormsSetValue404Response(t *testing.T) { t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue404Response + var obj *DocPagesDelete404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -226432,7 +232274,7 @@ func TestGettersDocFormsSetValue404Response(t *testing.T) { t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue404Response{} + obj := &DocPagesDelete404Response{} var expected string obj.Message = expected @@ -226442,7 +232284,7 @@ func TestGettersDocFormsSetValue404Response(t *testing.T) { t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue404Response + var obj *DocPagesDelete404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -226455,7 +232297,7 @@ func TestGettersDocFormsSetValue404Response(t *testing.T) { t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue404Response{} + obj := &DocPagesDelete404Response{} var expected map[string]any obj.Details = expected @@ -226466,7 +232308,7 @@ func TestGettersDocFormsSetValue404Response(t *testing.T) { t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue404Response{} + obj := &DocPagesDelete404Response{} obj.Details = nil // Act & Assert @@ -226475,7 +232317,7 @@ func TestGettersDocFormsSetValue404Response(t *testing.T) { t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocFormsSetValue404Response + var obj *DocPagesDelete404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -226487,12 +232329,12 @@ func TestGettersDocFormsSetValue404Response(t *testing.T) { } -func TestSettersMarkExplicitDocFormsSetValue404Response(t *testing.T) { +func TestSettersMarkExplicitDocPagesDelete404Response(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue404Response{} - var fernTestValueName DocFormsSetValue404ResponseName + obj := &DocPagesDelete404Response{} + var fernTestValueName DocPagesDelete404ResponseName // Act obj.SetName(fernTestValueName) @@ -226522,8 +232364,8 @@ func TestSettersMarkExplicitDocFormsSetValue404Response(t *testing.T) { t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue404Response{} - var fernTestValueCode DocFormsSetValue404ResponseCode + obj := &DocPagesDelete404Response{} + var fernTestValueCode DocPagesDelete404ResponseCode // Act obj.SetCode(fernTestValueCode) @@ -226553,7 +232395,7 @@ func TestSettersMarkExplicitDocFormsSetValue404Response(t *testing.T) { t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue404Response{} + obj := &DocPagesDelete404Response{} var fernTestValueMessage string // Act @@ -226584,7 +232426,7 @@ func TestSettersMarkExplicitDocFormsSetValue404Response(t *testing.T) { t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocFormsSetValue404Response{} + obj := &DocPagesDelete404Response{} var fernTestValueDetails map[string]any // Act @@ -226614,25 +232456,25 @@ func TestSettersMarkExplicitDocFormsSetValue404Response(t *testing.T) { } -func TestSettersDocHead404Response(t *testing.T) { +func TestSettersDocPagesExtract400Response(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocHead404Response{} - var fernTestValueName DocHead404ResponseName + obj := &DocPagesExtract400Response{} + var fernTestValueName DocPagesExtract400ResponseName obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCode", func(t *testing.T) { - obj := &DocHead404Response{} - var fernTestValueCode DocHead404ResponseCode + obj := &DocPagesExtract400Response{} + var fernTestValueCode DocPagesExtract400ResponseCode obj.SetCode(fernTestValueCode) assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) t.Run("SetMessage", func(t *testing.T) { - obj := &DocHead404Response{} + obj := &DocPagesExtract400Response{} var fernTestValueMessage string obj.SetMessage(fernTestValueMessage) assert.Equal(t, fernTestValueMessage, obj.Message) @@ -226640,7 +232482,7 @@ func TestSettersDocHead404Response(t *testing.T) { }) t.Run("SetDetails", func(t *testing.T) { - obj := &DocHead404Response{} + obj := &DocPagesExtract400Response{} var fernTestValueDetails map[string]any obj.SetDetails(fernTestValueDetails) assert.Equal(t, fernTestValueDetails, obj.Details) @@ -226649,12 +232491,12 @@ func TestSettersDocHead404Response(t *testing.T) { } -func TestGettersDocHead404Response(t *testing.T) { +func TestGettersDocPagesExtract400Response(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocHead404Response{} - var expected DocHead404ResponseName + obj := &DocPagesExtract400Response{} + var expected DocPagesExtract400ResponseName obj.Name = expected // Act & Assert @@ -226663,7 +232505,7 @@ func TestGettersDocHead404Response(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocHead404Response + var obj *DocPagesExtract400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -226676,8 +232518,8 @@ func TestGettersDocHead404Response(t *testing.T) { t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocHead404Response{} - var expected DocHead404ResponseCode + obj := &DocPagesExtract400Response{} + var expected DocPagesExtract400ResponseCode obj.Code = expected // Act & Assert @@ -226686,7 +232528,274 @@ func TestGettersDocHead404Response(t *testing.T) { t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocHead404Response + var obj *DocPagesExtract400Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetCode() // Should return zero value + }) + + t.Run("GetMessage", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesExtract400Response{} + var expected string + obj.Message = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") + }) + + t.Run("GetMessage_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesExtract400Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetMessage() // Should return zero value + }) + + t.Run("GetDetails", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesExtract400Response{} + var expected map[string]any + obj.Details = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") + }) + + t.Run("GetDetails_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesExtract400Response{} + obj.Details = nil + + // Act & Assert + assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") + }) + + t.Run("GetDetails_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesExtract400Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetDetails() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocPagesExtract400Response(t *testing.T) { + t.Run("SetName_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesExtract400Response{} + var fernTestValueName DocPagesExtract400ResponseName + + // Act + obj.SetName(fernTestValueName) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetCode_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesExtract400Response{} + var fernTestValueCode DocPagesExtract400ResponseCode + + // Act + obj.SetCode(fernTestValueCode) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetMessage_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesExtract400Response{} + var fernTestValueMessage string + + // Act + obj.SetMessage(fernTestValueMessage) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetDetails_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesExtract400Response{} + var fernTestValueDetails map[string]any + + // Act + obj.SetDetails(fernTestValueDetails) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocPagesExtract404Response(t *testing.T) { + t.Run("SetName", func(t *testing.T) { + obj := &DocPagesExtract404Response{} + var fernTestValueName DocPagesExtract404ResponseName + obj.SetName(fernTestValueName) + assert.Equal(t, fernTestValueName, obj.Name) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetCode", func(t *testing.T) { + obj := &DocPagesExtract404Response{} + var fernTestValueCode DocPagesExtract404ResponseCode + obj.SetCode(fernTestValueCode) + assert.Equal(t, fernTestValueCode, obj.Code) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetMessage", func(t *testing.T) { + obj := &DocPagesExtract404Response{} + var fernTestValueMessage string + obj.SetMessage(fernTestValueMessage) + assert.Equal(t, fernTestValueMessage, obj.Message) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetDetails", func(t *testing.T) { + obj := &DocPagesExtract404Response{} + var fernTestValueDetails map[string]any + obj.SetDetails(fernTestValueDetails) + assert.Equal(t, fernTestValueDetails, obj.Details) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocPagesExtract404Response(t *testing.T) { + t.Run("GetName", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesExtract404Response{} + var expected DocPagesExtract404ResponseName + obj.Name = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetName(), "getter should return the property value") + }) + + t.Run("GetName_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesExtract404Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetName() // Should return zero value + }) + + t.Run("GetCode", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesExtract404Response{} + var expected DocPagesExtract404ResponseCode + obj.Code = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetCode(), "getter should return the property value") + }) + + t.Run("GetCode_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesExtract404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -226696,104 +232805,553 @@ func TestGettersDocHead404Response(t *testing.T) { _ = obj.GetCode() // Should return zero value }) - t.Run("GetMessage", func(t *testing.T) { + t.Run("GetMessage", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesExtract404Response{} + var expected string + obj.Message = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") + }) + + t.Run("GetMessage_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesExtract404Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetMessage() // Should return zero value + }) + + t.Run("GetDetails", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesExtract404Response{} + var expected map[string]any + obj.Details = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") + }) + + t.Run("GetDetails_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesExtract404Response{} + obj.Details = nil + + // Act & Assert + assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") + }) + + t.Run("GetDetails_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesExtract404Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetDetails() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocPagesExtract404Response(t *testing.T) { + t.Run("SetName_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesExtract404Response{} + var fernTestValueName DocPagesExtract404ResponseName + + // Act + obj.SetName(fernTestValueName) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetCode_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesExtract404Response{} + var fernTestValueCode DocPagesExtract404ResponseCode + + // Act + obj.SetCode(fernTestValueCode) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetMessage_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesExtract404Response{} + var fernTestValueMessage string + + // Act + obj.SetMessage(fernTestValueMessage) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetDetails_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesExtract404Response{} + var fernTestValueDetails map[string]any + + // Act + obj.SetDetails(fernTestValueDetails) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocPagesFlatten200Response(t *testing.T) { + t.Run("SetMeta", func(t *testing.T) { + obj := &DocPagesFlatten200Response{} + var fernTestValueMeta *DocPagesFlatten200ResponseMeta + obj.SetMeta(fernTestValueMeta) + assert.Equal(t, fernTestValueMeta, obj.Meta) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocPagesFlatten200Response(t *testing.T) { + t.Run("GetMeta", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesFlatten200Response{} + var expected *DocPagesFlatten200ResponseMeta + obj.Meta = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetMeta(), "getter should return the property value") + }) + + t.Run("GetMeta_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesFlatten200Response{} + obj.Meta = nil + + // Act & Assert + assert.Nil(t, obj.GetMeta(), "getter should return nil when property is nil") + }) + + t.Run("GetMeta_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesFlatten200Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetMeta() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocPagesFlatten200Response(t *testing.T) { + t.Run("SetMeta_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesFlatten200Response{} + var fernTestValueMeta *DocPagesFlatten200ResponseMeta + + // Act + obj.SetMeta(fernTestValueMeta) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocPagesFlatten200ResponseMeta(t *testing.T) { + t.Run("SetAffectedPages", func(t *testing.T) { + obj := &DocPagesFlatten200ResponseMeta{} + var fernTestValueAffectedPages []*DocPagesFlatten200ResponseMetaAffectedPagesItem + obj.SetAffectedPages(fernTestValueAffectedPages) + assert.Equal(t, fernTestValueAffectedPages, obj.AffectedPages) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetCacheDelta", func(t *testing.T) { + obj := &DocPagesFlatten200ResponseMeta{} + var fernTestValueCacheDelta *DocPagesFlatten200ResponseMetaCacheDelta + obj.SetCacheDelta(fernTestValueCacheDelta) + assert.Equal(t, fernTestValueCacheDelta, obj.CacheDelta) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocPagesFlatten200ResponseMeta(t *testing.T) { + t.Run("GetAffectedPages", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesFlatten200ResponseMeta{} + var expected []*DocPagesFlatten200ResponseMetaAffectedPagesItem + obj.AffectedPages = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetAffectedPages(), "getter should return the property value") + }) + + t.Run("GetAffectedPages_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesFlatten200ResponseMeta{} + obj.AffectedPages = nil + + // Act & Assert + assert.Nil(t, obj.GetAffectedPages(), "getter should return nil when property is nil") + }) + + t.Run("GetAffectedPages_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesFlatten200ResponseMeta + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetAffectedPages() // Should return zero value + }) + + t.Run("GetCacheDelta", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesFlatten200ResponseMeta{} + var expected *DocPagesFlatten200ResponseMetaCacheDelta + obj.CacheDelta = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetCacheDelta(), "getter should return the property value") + }) + + t.Run("GetCacheDelta_NilValue", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesFlatten200ResponseMeta{} + obj.CacheDelta = nil + + // Act & Assert + assert.Nil(t, obj.GetCacheDelta(), "getter should return nil when property is nil") + }) + + t.Run("GetCacheDelta_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesFlatten200ResponseMeta + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetCacheDelta() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocPagesFlatten200ResponseMeta(t *testing.T) { + t.Run("SetAffectedPages_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesFlatten200ResponseMeta{} + var fernTestValueAffectedPages []*DocPagesFlatten200ResponseMetaAffectedPagesItem + + // Act + obj.SetAffectedPages(fernTestValueAffectedPages) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + + t.Run("SetCacheDelta_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesFlatten200ResponseMeta{} + var fernTestValueCacheDelta *DocPagesFlatten200ResponseMetaCacheDelta + + // Act + obj.SetCacheDelta(fernTestValueCacheDelta) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocPagesFlatten200ResponseMetaAffectedPagesItem(t *testing.T) { + t.Run("SetPageObjectNumber", func(t *testing.T) { + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItem{} + var fernTestValuePageObjectNumber int + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetRevision", func(t *testing.T) { + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision + obj.SetRevision(fernTestValueRevision) + assert.Equal(t, fernTestValueRevision, obj.Revision) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetWeakAnnotationState", func(t *testing.T) { + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState + obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) + assert.Equal(t, fernTestValueWeakAnnotationState, obj.WeakAnnotationState) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItem(t *testing.T) { + t.Run("GetPageObjectNumber", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItem{} + var expected int + obj.PageObjectNumber = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") + }) + + t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesFlatten200ResponseMetaAffectedPagesItem + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetPageObjectNumber() // Should return zero value + }) + + t.Run("GetRevision", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItem{} + var expected *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision + obj.Revision = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetRevision(), "getter should return the property value") + }) + + t.Run("GetRevision_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocHead404Response{} - var expected string - obj.Message = expected + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItem{} + obj.Revision = nil // Act & Assert - assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") + assert.Nil(t, obj.GetRevision(), "getter should return nil when property is nil") }) - t.Run("GetMessage_NilReceiver", func(t *testing.T) { + t.Run("GetRevision_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocHead404Response + var obj *DocPagesFlatten200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetMessage() // Should return zero value + _ = obj.GetRevision() // Should return zero value }) - t.Run("GetDetails", func(t *testing.T) { + t.Run("GetWeakAnnotationState", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocHead404Response{} - var expected map[string]any - obj.Details = expected + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItem{} + var expected *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState + obj.WeakAnnotationState = expected // Act & Assert - assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") + assert.Equal(t, expected, obj.GetWeakAnnotationState(), "getter should return the property value") }) - t.Run("GetDetails_NilValue", func(t *testing.T) { + t.Run("GetWeakAnnotationState_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocHead404Response{} - obj.Details = nil + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItem{} + obj.WeakAnnotationState = nil // Act & Assert - assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetWeakAnnotationState(), "getter should return nil when property is nil") }) - t.Run("GetDetails_NilReceiver", func(t *testing.T) { + t.Run("GetWeakAnnotationState_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocHead404Response + var obj *DocPagesFlatten200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetDetails() // Should return zero value + _ = obj.GetWeakAnnotationState() // Should return zero value }) } -func TestSettersMarkExplicitDocHead404Response(t *testing.T) { - t.Run("SetName_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocHead404Response{} - var fernTestValueName DocHead404ResponseName - - // Act - obj.SetName(fernTestValueName) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetCode_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaAffectedPagesItem(t *testing.T) { + t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocHead404Response{} - var fernTestValueCode DocHead404ResponseCode + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItem{} + var fernTestValuePageObjectNumber int // Act - obj.SetCode(fernTestValueCode) + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -226817,14 +233375,14 @@ func TestSettersMarkExplicitDocHead404Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetMessage_MarksExplicit", func(t *testing.T) { + t.Run("SetRevision_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocHead404Response{} - var fernTestValueMessage string + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision // Act - obj.SetMessage(fernTestValueMessage) + obj.SetRevision(fernTestValueRevision) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -226848,14 +233406,14 @@ func TestSettersMarkExplicitDocHead404Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetDetails_MarksExplicit", func(t *testing.T) { + t.Run("SetWeakAnnotationState_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocHead404Response{} - var fernTestValueDetails map[string]any + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState // Act - obj.SetDetails(fernTestValueDetails) + obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -226881,186 +233439,114 @@ func TestSettersMarkExplicitDocHead404Response(t *testing.T) { } -func TestSettersDocManifest404Response(t *testing.T) { - t.Run("SetName", func(t *testing.T) { - obj := &DocManifest404Response{} - var fernTestValueName DocManifest404ResponseName - obj.SetName(fernTestValueName) - assert.Equal(t, fernTestValueName, obj.Name) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetCode", func(t *testing.T) { - obj := &DocManifest404Response{} - var fernTestValueCode DocManifest404ResponseCode - obj.SetCode(fernTestValueCode) - assert.Equal(t, fernTestValueCode, obj.Code) +func TestSettersDocPagesFlatten200ResponseMetaAffectedPagesItemRevision(t *testing.T) { + t.Run("SetDocSessionID", func(t *testing.T) { + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemRevision{} + var fernTestValueDocSessionID string + obj.SetDocSessionID(fernTestValueDocSessionID) + assert.Equal(t, fernTestValueDocSessionID, obj.DocSessionID) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetMessage", func(t *testing.T) { - obj := &DocManifest404Response{} - var fernTestValueMessage string - obj.SetMessage(fernTestValueMessage) - assert.Equal(t, fernTestValueMessage, obj.Message) + t.Run("SetPageObjectNumber", func(t *testing.T) { + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemRevision{} + var fernTestValuePageObjectNumber int + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) assert.NotNil(t, obj.explicitFields) }) - t.Run("SetDetails", func(t *testing.T) { - obj := &DocManifest404Response{} - var fernTestValueDetails map[string]any - obj.SetDetails(fernTestValueDetails) - assert.Equal(t, fernTestValueDetails, obj.Details) + t.Run("SetGeneration", func(t *testing.T) { + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemRevision{} + var fernTestValueGeneration int + obj.SetGeneration(fernTestValueGeneration) + assert.Equal(t, fernTestValueGeneration, obj.Generation) assert.NotNil(t, obj.explicitFields) }) } -func TestGettersDocManifest404Response(t *testing.T) { - t.Run("GetName", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocManifest404Response{} - var expected DocManifest404ResponseName - obj.Name = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetName(), "getter should return the property value") - }) - - t.Run("GetName_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocManifest404Response - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetName() // Should return zero value - }) - - t.Run("GetCode", func(t *testing.T) { +func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItemRevision(t *testing.T) { + t.Run("GetDocSessionID", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocManifest404Response{} - var expected DocManifest404ResponseCode - obj.Code = expected + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemRevision{} + var expected string + obj.DocSessionID = expected // Act & Assert - assert.Equal(t, expected, obj.GetCode(), "getter should return the property value") + assert.Equal(t, expected, obj.GetDocSessionID(), "getter should return the property value") }) - t.Run("GetCode_NilReceiver", func(t *testing.T) { + t.Run("GetDocSessionID_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocManifest404Response + var obj *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetCode() // Should return zero value + _ = obj.GetDocSessionID() // Should return zero value }) - t.Run("GetMessage", func(t *testing.T) { + t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocManifest404Response{} - var expected string - obj.Message = expected + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemRevision{} + var expected int + obj.PageObjectNumber = expected // Act & Assert - assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") + assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") }) - t.Run("GetMessage_NilReceiver", func(t *testing.T) { + t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocManifest404Response + var obj *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetMessage() // Should return zero value - }) - - t.Run("GetDetails", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocManifest404Response{} - var expected map[string]any - obj.Details = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") + _ = obj.GetPageObjectNumber() // Should return zero value }) - t.Run("GetDetails_NilValue", func(t *testing.T) { + t.Run("GetGeneration", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocManifest404Response{} - obj.Details = nil + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemRevision{} + var expected int + obj.Generation = expected // Act & Assert - assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetGeneration(), "getter should return the property value") }) - t.Run("GetDetails_NilReceiver", func(t *testing.T) { + t.Run("GetGeneration_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocManifest404Response + var obj *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetDetails() // Should return zero value + _ = obj.GetGeneration() // Should return zero value }) } -func TestSettersMarkExplicitDocManifest404Response(t *testing.T) { - t.Run("SetName_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocManifest404Response{} - var fernTestValueName DocManifest404ResponseName - - // Act - obj.SetName(fernTestValueName) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetCode_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaAffectedPagesItemRevision(t *testing.T) { + t.Run("SetDocSessionID_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocManifest404Response{} - var fernTestValueCode DocManifest404ResponseCode + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemRevision{} + var fernTestValueDocSessionID string // Act - obj.SetCode(fernTestValueCode) + obj.SetDocSessionID(fernTestValueDocSessionID) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -227084,14 +233570,14 @@ func TestSettersMarkExplicitDocManifest404Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetMessage_MarksExplicit", func(t *testing.T) { + t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocManifest404Response{} - var fernTestValueMessage string + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemRevision{} + var fernTestValuePageObjectNumber int // Act - obj.SetMessage(fernTestValueMessage) + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -227115,14 +233601,14 @@ func TestSettersMarkExplicitDocManifest404Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetDetails_MarksExplicit", func(t *testing.T) { + t.Run("SetGeneration_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocManifest404Response{} - var fernTestValueDetails map[string]any + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemRevision{} + var fernTestValueGeneration int // Act - obj.SetDetails(fernTestValueDetails) + obj.SetGeneration(fernTestValueGeneration) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -227148,421 +233634,533 @@ func TestSettersMarkExplicitDocManifest404Response(t *testing.T) { } -func TestSettersDocMetadataGet200Response(t *testing.T) { - t.Run("SetTitle", func(t *testing.T) { - obj := &DocMetadataGet200Response{} - var fernTestValueTitle *string - obj.SetTitle(fernTestValueTitle) - assert.Equal(t, fernTestValueTitle, obj.Title) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetAuthor", func(t *testing.T) { - obj := &DocMetadataGet200Response{} - var fernTestValueAuthor *string - obj.SetAuthor(fernTestValueAuthor) - assert.Equal(t, fernTestValueAuthor, obj.Author) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetSubject", func(t *testing.T) { - obj := &DocMetadataGet200Response{} - var fernTestValueSubject *string - obj.SetSubject(fernTestValueSubject) - assert.Equal(t, fernTestValueSubject, obj.Subject) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetKeywords", func(t *testing.T) { - obj := &DocMetadataGet200Response{} - var fernTestValueKeywords *string - obj.SetKeywords(fernTestValueKeywords) - assert.Equal(t, fernTestValueKeywords, obj.Keywords) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetProducer", func(t *testing.T) { - obj := &DocMetadataGet200Response{} - var fernTestValueProducer *string - obj.SetProducer(fernTestValueProducer) - assert.Equal(t, fernTestValueProducer, obj.Producer) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetCreator", func(t *testing.T) { - obj := &DocMetadataGet200Response{} - var fernTestValueCreator *string - obj.SetCreator(fernTestValueCreator) - assert.Equal(t, fernTestValueCreator, obj.Creator) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetCreated", func(t *testing.T) { - obj := &DocMetadataGet200Response{} - var fernTestValueCreated *time.Time - obj.SetCreated(fernTestValueCreated) - assert.Equal(t, fernTestValueCreated, obj.Created) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetModified", func(t *testing.T) { - obj := &DocMetadataGet200Response{} - var fernTestValueModified *time.Time - obj.SetModified(fernTestValueModified) - assert.Equal(t, fernTestValueModified, obj.Modified) - assert.NotNil(t, obj.explicitFields) - }) +func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { + t.Run("GetKind", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected string + obj.Kind = expected - t.Run("SetTrapped", func(t *testing.T) { - obj := &DocMetadataGet200Response{} - var fernTestValueTrapped DocMetadataGet200ResponseTrapped - obj.SetTrapped(fernTestValueTrapped) - assert.Equal(t, fernTestValueTrapped, obj.Trapped) - assert.NotNil(t, obj.explicitFields) + // Act & Assert + assert.Equal(t, expected, obj.GetKind(), "getter should return the property value") }) - t.Run("SetCustom", func(t *testing.T) { - obj := &DocMetadataGet200Response{} - var fernTestValueCustom map[string]string - obj.SetCustom(fernTestValueCustom) - assert.Equal(t, fernTestValueCustom, obj.Custom) - assert.NotNil(t, obj.explicitFields) + t.Run("GetKind_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetKind() // Should return zero value }) -} - -func TestGettersDocMetadataGet200Response(t *testing.T) { - t.Run("GetTitle", func(t *testing.T) { + t.Run("GetUnknown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - var expected *string - obj.Title = expected + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + obj.Unknown = expected // Act & Assert - assert.Equal(t, expected, obj.GetTitle(), "getter should return the property value") + assert.Equal(t, expected, obj.GetUnknown(), "getter should return the property value") }) - t.Run("GetTitle_NilValue", func(t *testing.T) { + t.Run("GetUnknown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - obj.Title = nil + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj.Unknown = nil // Act & Assert - assert.Nil(t, obj.GetTitle(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetUnknown(), "getter should return nil when property is nil") }) - t.Run("GetTitle_NilReceiver", func(t *testing.T) { + t.Run("GetUnknown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocMetadataGet200Response + var obj *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetTitle() // Should return zero value + _ = obj.GetUnknown() // Should return zero value }) - t.Run("GetAuthor", func(t *testing.T) { + t.Run("GetKnown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - var expected *string - obj.Author = expected + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + obj.Known = expected // Act & Assert - assert.Equal(t, expected, obj.GetAuthor(), "getter should return the property value") + assert.Equal(t, expected, obj.GetKnown(), "getter should return the property value") }) - t.Run("GetAuthor_NilValue", func(t *testing.T) { + t.Run("GetKnown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - obj.Author = nil + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj.Known = nil // Act & Assert - assert.Nil(t, obj.GetAuthor(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetKnown(), "getter should return nil when property is nil") }) - t.Run("GetAuthor_NilReceiver", func(t *testing.T) { + t.Run("GetKnown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocMetadataGet200Response + var obj *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetAuthor() // Should return zero value + _ = obj.GetKnown() // Should return zero value }) - t.Run("GetSubject", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocMetadataGet200Response{} - var expected *string - obj.Subject = expected +} - // Act & Assert - assert.Equal(t, expected, obj.GetSubject(), "getter should return the property value") +func TestSettersDocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("SetHasAnyWeakAnnotations", func(t *testing.T) { + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + var fernTestValueHasAnyWeakAnnotations bool + obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) + assert.Equal(t, fernTestValueHasAnyWeakAnnotations, obj.HasAnyWeakAnnotations) + assert.NotNil(t, obj.explicitFields) }) - t.Run("GetSubject_NilValue", func(t *testing.T) { +} + +func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("GetHasAnyWeakAnnotations", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - obj.Subject = nil + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + var expected bool + obj.HasAnyWeakAnnotations = expected // Act & Assert - assert.Nil(t, obj.GetSubject(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetHasAnyWeakAnnotations(), "getter should return the property value") }) - t.Run("GetSubject_NilReceiver", func(t *testing.T) { + t.Run("GetHasAnyWeakAnnotations_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocMetadataGet200Response + var obj *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetSubject() // Should return zero value + _ = obj.GetHasAnyWeakAnnotations() // Should return zero value }) - t.Run("GetKeywords", func(t *testing.T) { +} + +func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("SetHasAnyWeakAnnotations_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - var expected *string - obj.Keywords = expected + obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + var fernTestValueHasAnyWeakAnnotations bool - // Act & Assert - assert.Equal(t, expected, obj.GetKeywords(), "getter should return the property value") + // Act + obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("GetKeywords_NilValue", func(t *testing.T) { +} + +func TestSettersDocPagesFlatten200ResponseMetaCacheDelta(t *testing.T) { + t.Run("SetPreviousDocVersion", func(t *testing.T) { + obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + var fernTestValuePreviousDocVersion int + obj.SetPreviousDocVersion(fernTestValuePreviousDocVersion) + assert.Equal(t, fernTestValuePreviousDocVersion, obj.PreviousDocVersion) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetDocVersion", func(t *testing.T) { + obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + var fernTestValueDocVersion int + obj.SetDocVersion(fernTestValueDocVersion) + assert.Equal(t, fernTestValueDocVersion, obj.DocVersion) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetAnnotationsVersion", func(t *testing.T) { + obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + var fernTestValueAnnotationsVersion *int + obj.SetAnnotationsVersion(fernTestValueAnnotationsVersion) + assert.Equal(t, fernTestValueAnnotationsVersion, obj.AnnotationsVersion) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetPages", func(t *testing.T) { + obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocPagesFlatten200ResponseMetaCacheDeltaPagesItem + obj.SetPages(fernTestValuePages) + assert.Equal(t, fernTestValuePages, obj.Pages) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocPagesFlatten200ResponseMetaCacheDelta(t *testing.T) { + t.Run("GetPreviousDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - obj.Keywords = nil + obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + var expected int + obj.PreviousDocVersion = expected // Act & Assert - assert.Nil(t, obj.GetKeywords(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetPreviousDocVersion(), "getter should return the property value") }) - t.Run("GetKeywords_NilReceiver", func(t *testing.T) { + t.Run("GetPreviousDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocMetadataGet200Response + var obj *DocPagesFlatten200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetKeywords() // Should return zero value - }) - - t.Run("GetProducer", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocMetadataGet200Response{} - var expected *string - obj.Producer = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetProducer(), "getter should return the property value") + _ = obj.GetPreviousDocVersion() // Should return zero value }) - t.Run("GetProducer_NilValue", func(t *testing.T) { + t.Run("GetDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - obj.Producer = nil + obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + var expected int + obj.DocVersion = expected // Act & Assert - assert.Nil(t, obj.GetProducer(), "getter should return nil when property is nil") + assert.Equal(t, expected, obj.GetDocVersion(), "getter should return the property value") }) - t.Run("GetProducer_NilReceiver", func(t *testing.T) { + t.Run("GetDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocMetadataGet200Response + var obj *DocPagesFlatten200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetProducer() // Should return zero value + _ = obj.GetDocVersion() // Should return zero value }) - t.Run("GetCreator", func(t *testing.T) { + t.Run("GetAnnotationsVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - var expected *string - obj.Creator = expected + obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + var expected *int + obj.AnnotationsVersion = expected // Act & Assert - assert.Equal(t, expected, obj.GetCreator(), "getter should return the property value") + assert.Equal(t, expected, obj.GetAnnotationsVersion(), "getter should return the property value") }) - t.Run("GetCreator_NilValue", func(t *testing.T) { + t.Run("GetAnnotationsVersion_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - obj.Creator = nil + obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + obj.AnnotationsVersion = nil // Act & Assert - assert.Nil(t, obj.GetCreator(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetAnnotationsVersion(), "getter should return nil when property is nil") }) - t.Run("GetCreator_NilReceiver", func(t *testing.T) { + t.Run("GetAnnotationsVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocMetadataGet200Response + var obj *DocPagesFlatten200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetCreator() // Should return zero value + _ = obj.GetAnnotationsVersion() // Should return zero value }) - t.Run("GetCreated", func(t *testing.T) { + t.Run("GetPages", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - var expected *time.Time - obj.Created = expected + obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + var expected []*DocPagesFlatten200ResponseMetaCacheDeltaPagesItem + obj.Pages = expected // Act & Assert - assert.Equal(t, expected, obj.GetCreated(), "getter should return the property value") + assert.Equal(t, expected, obj.GetPages(), "getter should return the property value") }) - t.Run("GetCreated_NilValue", func(t *testing.T) { + t.Run("GetPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - obj.Created = nil + obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + obj.Pages = nil // Act & Assert - assert.Nil(t, obj.GetCreated(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetPages(), "getter should return nil when property is nil") }) - t.Run("GetCreated_NilReceiver", func(t *testing.T) { + t.Run("GetPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocMetadataGet200Response + var obj *DocPagesFlatten200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetCreated() // Should return zero value + _ = obj.GetPages() // Should return zero value }) - t.Run("GetModified", func(t *testing.T) { +} + +func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaCacheDelta(t *testing.T) { + t.Run("SetPreviousDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - var expected *time.Time - obj.Modified = expected + obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + var fernTestValuePreviousDocVersion int - // Act & Assert - assert.Equal(t, expected, obj.GetModified(), "getter should return the property value") + // Act + obj.SetPreviousDocVersion(fernTestValuePreviousDocVersion) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("GetModified_NilValue", func(t *testing.T) { + t.Run("SetDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - obj.Modified = nil + obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + var fernTestValueDocVersion int - // Act & Assert - assert.Nil(t, obj.GetModified(), "getter should return nil when property is nil") + // Act + obj.SetDocVersion(fernTestValueDocVersion) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("GetModified_NilReceiver", func(t *testing.T) { + t.Run("SetAnnotationsVersion_MarksExplicit", func(t *testing.T) { t.Parallel() - var obj *DocMetadataGet200Response - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetModified() // Should return zero value + // Arrange + obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + var fernTestValueAnnotationsVersion *int + + // Act + obj.SetAnnotationsVersion(fernTestValueAnnotationsVersion) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("GetTrapped", func(t *testing.T) { + t.Run("SetPages_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - var expected DocMetadataGet200ResponseTrapped - obj.Trapped = expected + obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocPagesFlatten200ResponseMetaCacheDeltaPagesItem + + // Act + obj.SetPages(fernTestValuePages) + + // Assert - object with explicitly set field can be marshaled/unmarshaled + bytes, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed for test setup") + + // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value + // Detect if marshaled JSON is an object or primitive to use correct unmarshal target + if len(bytes) > 0 && bytes[0] == '{' { + // JSON object - unmarshal into map + var unmarshaled map[string]interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } else { + // JSON primitive (string, number, boolean, null) - unmarshal into interface{} + var unmarshaled interface{} + err = json.Unmarshal(bytes, &unmarshaled) + require.NoError(t, err, "unmarshaling should succeed for test verification") + } + + // Note: This does not explicitly assert the presence of a specific JSON field + // It verifies that setting a field via setter allows successful JSON round-trip + }) + +} + +func TestSettersDocPagesFlatten200ResponseMetaCacheDeltaPagesItem(t *testing.T) { + t.Run("SetPageObjectNumber", func(t *testing.T) { + obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItem{} + var fernTestValuePageObjectNumber int + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) + assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetCache", func(t *testing.T) { + obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache + obj.SetCache(fernTestValueCache) + assert.Equal(t, fernTestValueCache, obj.Cache) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocPagesFlatten200ResponseMetaCacheDeltaPagesItem(t *testing.T) { + t.Run("GetPageObjectNumber", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItem{} + var expected int + obj.PageObjectNumber = expected // Act & Assert - assert.Equal(t, expected, obj.GetTrapped(), "getter should return the property value") + assert.Equal(t, expected, obj.GetPageObjectNumber(), "getter should return the property value") }) - t.Run("GetTrapped_NilReceiver", func(t *testing.T) { + t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocMetadataGet200Response + var obj *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetTrapped() // Should return zero value + _ = obj.GetPageObjectNumber() // Should return zero value }) - t.Run("GetCustom", func(t *testing.T) { + t.Run("GetCache", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - var expected map[string]string - obj.Custom = expected + obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItem{} + var expected *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache + obj.Cache = expected // Act & Assert - assert.Equal(t, expected, obj.GetCustom(), "getter should return the property value") + assert.Equal(t, expected, obj.GetCache(), "getter should return the property value") }) - t.Run("GetCustom_NilValue", func(t *testing.T) { + t.Run("GetCache_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - obj.Custom = nil + obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItem{} + obj.Cache = nil // Act & Assert - assert.Nil(t, obj.GetCustom(), "getter should return nil when property is nil") + assert.Nil(t, obj.GetCache(), "getter should return nil when property is nil") }) - t.Run("GetCustom_NilReceiver", func(t *testing.T) { + t.Run("GetCache_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocMetadataGet200Response + var obj *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { t.Errorf("Getter panicked on nil receiver: %v", r) } }() - _ = obj.GetCustom() // Should return zero value + _ = obj.GetCache() // Should return zero value }) } -func TestSettersMarkExplicitDocMetadataGet200Response(t *testing.T) { - t.Run("SetTitle_MarksExplicit", func(t *testing.T) { +func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaCacheDeltaPagesItem(t *testing.T) { + t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - var fernTestValueTitle *string + obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItem{} + var fernTestValuePageObjectNumber int // Act - obj.SetTitle(fernTestValueTitle) + obj.SetPageObjectNumber(fernTestValuePageObjectNumber) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -227586,14 +234184,14 @@ func TestSettersMarkExplicitDocMetadataGet200Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetAuthor_MarksExplicit", func(t *testing.T) { + t.Run("SetCache_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - var fernTestValueAuthor *string + obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache // Act - obj.SetAuthor(fernTestValueAuthor) + obj.SetCache(fernTestValueCache) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -227617,14 +234215,85 @@ func TestSettersMarkExplicitDocMetadataGet200Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetSubject_MarksExplicit", func(t *testing.T) { +} + +func TestSettersDocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("SetContentVersion", func(t *testing.T) { + obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueContentVersion int + obj.SetContentVersion(fernTestValueContentVersion) + assert.Equal(t, fernTestValueContentVersion, obj.ContentVersion) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetAnnotationVersion", func(t *testing.T) { + obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueAnnotationVersion int + obj.SetAnnotationVersion(fernTestValueAnnotationVersion) + assert.Equal(t, fernTestValueAnnotationVersion, obj.AnnotationVersion) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("GetContentVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - var fernTestValueSubject *string + obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache{} + var expected int + obj.ContentVersion = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetContentVersion(), "getter should return the property value") + }) + + t.Run("GetContentVersion_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetContentVersion() // Should return zero value + }) + + t.Run("GetAnnotationVersion", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache{} + var expected int + obj.AnnotationVersion = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetAnnotationVersion(), "getter should return the property value") + }) + + t.Run("GetAnnotationVersion_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetAnnotationVersion() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("SetContentVersion_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueContentVersion int // Act - obj.SetSubject(fernTestValueSubject) + obj.SetContentVersion(fernTestValueContentVersion) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -227648,14 +234317,14 @@ func TestSettersMarkExplicitDocMetadataGet200Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetKeywords_MarksExplicit", func(t *testing.T) { + t.Run("SetAnnotationVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - var fernTestValueKeywords *string + obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueAnnotationVersion int // Act - obj.SetKeywords(fernTestValueKeywords) + obj.SetAnnotationVersion(fernTestValueAnnotationVersion) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -227679,76 +234348,157 @@ func TestSettersMarkExplicitDocMetadataGet200Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetProducer_MarksExplicit", func(t *testing.T) { +} + +func TestSettersDocPagesFlatten400Response(t *testing.T) { + t.Run("SetName", func(t *testing.T) { + obj := &DocPagesFlatten400Response{} + var fernTestValueName DocPagesFlatten400ResponseName + obj.SetName(fernTestValueName) + assert.Equal(t, fernTestValueName, obj.Name) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetCode", func(t *testing.T) { + obj := &DocPagesFlatten400Response{} + var fernTestValueCode DocPagesFlatten400ResponseCode + obj.SetCode(fernTestValueCode) + assert.Equal(t, fernTestValueCode, obj.Code) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetMessage", func(t *testing.T) { + obj := &DocPagesFlatten400Response{} + var fernTestValueMessage string + obj.SetMessage(fernTestValueMessage) + assert.Equal(t, fernTestValueMessage, obj.Message) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetDetails", func(t *testing.T) { + obj := &DocPagesFlatten400Response{} + var fernTestValueDetails map[string]any + obj.SetDetails(fernTestValueDetails) + assert.Equal(t, fernTestValueDetails, obj.Details) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocPagesFlatten400Response(t *testing.T) { + t.Run("GetName", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesFlatten400Response{} + var expected DocPagesFlatten400ResponseName + obj.Name = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetName(), "getter should return the property value") + }) + + t.Run("GetName_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesFlatten400Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetName() // Should return zero value + }) + + t.Run("GetCode", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesFlatten400Response{} + var expected DocPagesFlatten400ResponseCode + obj.Code = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetCode(), "getter should return the property value") + }) + + t.Run("GetCode_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesFlatten400Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetCode() // Should return zero value + }) + + t.Run("GetMessage", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesFlatten400Response{} + var expected string + obj.Message = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") + }) + + t.Run("GetMessage_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesFlatten400Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetMessage() // Should return zero value + }) + + t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - var fernTestValueProducer *string - - // Act - obj.SetProducer(fernTestValueProducer) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } + obj := &DocPagesFlatten400Response{} + var expected map[string]any + obj.Details = expected - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip + // Act & Assert + assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") }) - t.Run("SetCreator_MarksExplicit", func(t *testing.T) { + t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - var fernTestValueCreator *string - - // Act - obj.SetCreator(fernTestValueCreator) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") + obj := &DocPagesFlatten400Response{} + obj.Details = nil - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } + // Act & Assert + assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") + }) - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip + t.Run("GetDetails_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesFlatten400Response + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetDetails() // Should return zero value }) - t.Run("SetCreated_MarksExplicit", func(t *testing.T) { +} + +func TestSettersMarkExplicitDocPagesFlatten400Response(t *testing.T) { + t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - var fernTestValueCreated *time.Time + obj := &DocPagesFlatten400Response{} + var fernTestValueName DocPagesFlatten400ResponseName // Act - obj.SetCreated(fernTestValueCreated) + obj.SetName(fernTestValueName) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -227772,14 +234522,14 @@ func TestSettersMarkExplicitDocMetadataGet200Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetModified_MarksExplicit", func(t *testing.T) { + t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - var fernTestValueModified *time.Time + obj := &DocPagesFlatten400Response{} + var fernTestValueCode DocPagesFlatten400ResponseCode // Act - obj.SetModified(fernTestValueModified) + obj.SetCode(fernTestValueCode) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -227803,14 +234553,14 @@ func TestSettersMarkExplicitDocMetadataGet200Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetTrapped_MarksExplicit", func(t *testing.T) { + t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - var fernTestValueTrapped DocMetadataGet200ResponseTrapped + obj := &DocPagesFlatten400Response{} + var fernTestValueMessage string // Act - obj.SetTrapped(fernTestValueTrapped) + obj.SetMessage(fernTestValueMessage) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -227834,14 +234584,14 @@ func TestSettersMarkExplicitDocMetadataGet200Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetCustom_MarksExplicit", func(t *testing.T) { + t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet200Response{} - var fernTestValueCustom map[string]string + obj := &DocPagesFlatten400Response{} + var fernTestValueDetails map[string]any // Act - obj.SetCustom(fernTestValueCustom) + obj.SetDetails(fernTestValueDetails) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -227867,25 +234617,25 @@ func TestSettersMarkExplicitDocMetadataGet200Response(t *testing.T) { } -func TestSettersDocMetadataGet404Response(t *testing.T) { +func TestSettersDocPagesFlatten404Response(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocMetadataGet404Response{} - var fernTestValueName DocMetadataGet404ResponseName + obj := &DocPagesFlatten404Response{} + var fernTestValueName DocPagesFlatten404ResponseName obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCode", func(t *testing.T) { - obj := &DocMetadataGet404Response{} - var fernTestValueCode DocMetadataGet404ResponseCode + obj := &DocPagesFlatten404Response{} + var fernTestValueCode DocPagesFlatten404ResponseCode obj.SetCode(fernTestValueCode) assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) t.Run("SetMessage", func(t *testing.T) { - obj := &DocMetadataGet404Response{} + obj := &DocPagesFlatten404Response{} var fernTestValueMessage string obj.SetMessage(fernTestValueMessage) assert.Equal(t, fernTestValueMessage, obj.Message) @@ -227893,7 +234643,7 @@ func TestSettersDocMetadataGet404Response(t *testing.T) { }) t.Run("SetDetails", func(t *testing.T) { - obj := &DocMetadataGet404Response{} + obj := &DocPagesFlatten404Response{} var fernTestValueDetails map[string]any obj.SetDetails(fernTestValueDetails) assert.Equal(t, fernTestValueDetails, obj.Details) @@ -227902,12 +234652,12 @@ func TestSettersDocMetadataGet404Response(t *testing.T) { } -func TestGettersDocMetadataGet404Response(t *testing.T) { +func TestGettersDocPagesFlatten404Response(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet404Response{} - var expected DocMetadataGet404ResponseName + obj := &DocPagesFlatten404Response{} + var expected DocPagesFlatten404ResponseName obj.Name = expected // Act & Assert @@ -227916,7 +234666,7 @@ func TestGettersDocMetadataGet404Response(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocMetadataGet404Response + var obj *DocPagesFlatten404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -227929,8 +234679,8 @@ func TestGettersDocMetadataGet404Response(t *testing.T) { t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet404Response{} - var expected DocMetadataGet404ResponseCode + obj := &DocPagesFlatten404Response{} + var expected DocPagesFlatten404ResponseCode obj.Code = expected // Act & Assert @@ -227939,7 +234689,7 @@ func TestGettersDocMetadataGet404Response(t *testing.T) { t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocMetadataGet404Response + var obj *DocPagesFlatten404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -227952,7 +234702,7 @@ func TestGettersDocMetadataGet404Response(t *testing.T) { t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet404Response{} + obj := &DocPagesFlatten404Response{} var expected string obj.Message = expected @@ -227962,7 +234712,7 @@ func TestGettersDocMetadataGet404Response(t *testing.T) { t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocMetadataGet404Response + var obj *DocPagesFlatten404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -227975,7 +234725,7 @@ func TestGettersDocMetadataGet404Response(t *testing.T) { t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet404Response{} + obj := &DocPagesFlatten404Response{} var expected map[string]any obj.Details = expected @@ -227986,7 +234736,7 @@ func TestGettersDocMetadataGet404Response(t *testing.T) { t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet404Response{} + obj := &DocPagesFlatten404Response{} obj.Details = nil // Act & Assert @@ -227995,7 +234745,7 @@ func TestGettersDocMetadataGet404Response(t *testing.T) { t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocMetadataGet404Response + var obj *DocPagesFlatten404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -228007,12 +234757,12 @@ func TestGettersDocMetadataGet404Response(t *testing.T) { } -func TestSettersMarkExplicitDocMetadataGet404Response(t *testing.T) { +func TestSettersMarkExplicitDocPagesFlatten404Response(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet404Response{} - var fernTestValueName DocMetadataGet404ResponseName + obj := &DocPagesFlatten404Response{} + var fernTestValueName DocPagesFlatten404ResponseName // Act obj.SetName(fernTestValueName) @@ -228042,8 +234792,8 @@ func TestSettersMarkExplicitDocMetadataGet404Response(t *testing.T) { t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet404Response{} - var fernTestValueCode DocMetadataGet404ResponseCode + obj := &DocPagesFlatten404Response{} + var fernTestValueCode DocPagesFlatten404ResponseCode // Act obj.SetCode(fernTestValueCode) @@ -228073,7 +234823,7 @@ func TestSettersMarkExplicitDocMetadataGet404Response(t *testing.T) { t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet404Response{} + obj := &DocPagesFlatten404Response{} var fernTestValueMessage string // Act @@ -228104,7 +234854,7 @@ func TestSettersMarkExplicitDocMetadataGet404Response(t *testing.T) { t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocMetadataGet404Response{} + obj := &DocPagesFlatten404Response{} var fernTestValueDetails map[string]any // Act @@ -228134,10 +234884,10 @@ func TestSettersMarkExplicitDocMetadataGet404Response(t *testing.T) { } -func TestSettersDocPagesDelete200Response(t *testing.T) { +func TestSettersDocPagesInsert200Response(t *testing.T) { t.Run("SetMeta", func(t *testing.T) { - obj := &DocPagesDelete200Response{} - var fernTestValueMeta *DocPagesDelete200ResponseMeta + obj := &DocPagesInsert200Response{} + var fernTestValueMeta *DocPagesInsert200ResponseMeta obj.SetMeta(fernTestValueMeta) assert.Equal(t, fernTestValueMeta, obj.Meta) assert.NotNil(t, obj.explicitFields) @@ -228145,12 +234895,12 @@ func TestSettersDocPagesDelete200Response(t *testing.T) { } -func TestGettersDocPagesDelete200Response(t *testing.T) { +func TestGettersDocPagesInsert200Response(t *testing.T) { t.Run("GetMeta", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200Response{} - var expected *DocPagesDelete200ResponseMeta + obj := &DocPagesInsert200Response{} + var expected *DocPagesInsert200ResponseMeta obj.Meta = expected // Act & Assert @@ -228160,7 +234910,7 @@ func TestGettersDocPagesDelete200Response(t *testing.T) { t.Run("GetMeta_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200Response{} + obj := &DocPagesInsert200Response{} obj.Meta = nil // Act & Assert @@ -228169,7 +234919,7 @@ func TestGettersDocPagesDelete200Response(t *testing.T) { t.Run("GetMeta_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesDelete200Response + var obj *DocPagesInsert200Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -228181,12 +234931,12 @@ func TestGettersDocPagesDelete200Response(t *testing.T) { } -func TestSettersMarkExplicitDocPagesDelete200Response(t *testing.T) { +func TestSettersMarkExplicitDocPagesInsert200Response(t *testing.T) { t.Run("SetMeta_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200Response{} - var fernTestValueMeta *DocPagesDelete200ResponseMeta + obj := &DocPagesInsert200Response{} + var fernTestValueMeta *DocPagesInsert200ResponseMeta // Act obj.SetMeta(fernTestValueMeta) @@ -228215,18 +234965,18 @@ func TestSettersMarkExplicitDocPagesDelete200Response(t *testing.T) { } -func TestSettersDocPagesDelete200ResponseMeta(t *testing.T) { +func TestSettersDocPagesInsert200ResponseMeta(t *testing.T) { t.Run("SetAffectedPages", func(t *testing.T) { - obj := &DocPagesDelete200ResponseMeta{} - var fernTestValueAffectedPages []*DocPagesDelete200ResponseMetaAffectedPagesItem + obj := &DocPagesInsert200ResponseMeta{} + var fernTestValueAffectedPages []*DocPagesInsert200ResponseMetaAffectedPagesItem obj.SetAffectedPages(fernTestValueAffectedPages) assert.Equal(t, fernTestValueAffectedPages, obj.AffectedPages) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCacheDelta", func(t *testing.T) { - obj := &DocPagesDelete200ResponseMeta{} - var fernTestValueCacheDelta *DocPagesDelete200ResponseMetaCacheDelta + obj := &DocPagesInsert200ResponseMeta{} + var fernTestValueCacheDelta *DocPagesInsert200ResponseMetaCacheDelta obj.SetCacheDelta(fernTestValueCacheDelta) assert.Equal(t, fernTestValueCacheDelta, obj.CacheDelta) assert.NotNil(t, obj.explicitFields) @@ -228234,12 +234984,12 @@ func TestSettersDocPagesDelete200ResponseMeta(t *testing.T) { } -func TestGettersDocPagesDelete200ResponseMeta(t *testing.T) { +func TestGettersDocPagesInsert200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMeta{} - var expected []*DocPagesDelete200ResponseMetaAffectedPagesItem + obj := &DocPagesInsert200ResponseMeta{} + var expected []*DocPagesInsert200ResponseMetaAffectedPagesItem obj.AffectedPages = expected // Act & Assert @@ -228249,7 +234999,7 @@ func TestGettersDocPagesDelete200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMeta{} + obj := &DocPagesInsert200ResponseMeta{} obj.AffectedPages = nil // Act & Assert @@ -228258,7 +235008,7 @@ func TestGettersDocPagesDelete200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesDelete200ResponseMeta + var obj *DocPagesInsert200ResponseMeta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -228271,8 +235021,8 @@ func TestGettersDocPagesDelete200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMeta{} - var expected *DocPagesDelete200ResponseMetaCacheDelta + obj := &DocPagesInsert200ResponseMeta{} + var expected *DocPagesInsert200ResponseMetaCacheDelta obj.CacheDelta = expected // Act & Assert @@ -228282,7 +235032,7 @@ func TestGettersDocPagesDelete200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMeta{} + obj := &DocPagesInsert200ResponseMeta{} obj.CacheDelta = nil // Act & Assert @@ -228291,7 +235041,7 @@ func TestGettersDocPagesDelete200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesDelete200ResponseMeta + var obj *DocPagesInsert200ResponseMeta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -228303,12 +235053,12 @@ func TestGettersDocPagesDelete200ResponseMeta(t *testing.T) { } -func TestSettersMarkExplicitDocPagesDelete200ResponseMeta(t *testing.T) { +func TestSettersMarkExplicitDocPagesInsert200ResponseMeta(t *testing.T) { t.Run("SetAffectedPages_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMeta{} - var fernTestValueAffectedPages []*DocPagesDelete200ResponseMetaAffectedPagesItem + obj := &DocPagesInsert200ResponseMeta{} + var fernTestValueAffectedPages []*DocPagesInsert200ResponseMetaAffectedPagesItem // Act obj.SetAffectedPages(fernTestValueAffectedPages) @@ -228338,8 +235088,8 @@ func TestSettersMarkExplicitDocPagesDelete200ResponseMeta(t *testing.T) { t.Run("SetCacheDelta_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMeta{} - var fernTestValueCacheDelta *DocPagesDelete200ResponseMetaCacheDelta + obj := &DocPagesInsert200ResponseMeta{} + var fernTestValueCacheDelta *DocPagesInsert200ResponseMetaCacheDelta // Act obj.SetCacheDelta(fernTestValueCacheDelta) @@ -228368,9 +235118,9 @@ func TestSettersMarkExplicitDocPagesDelete200ResponseMeta(t *testing.T) { } -func TestSettersDocPagesDelete200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestSettersDocPagesInsert200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocPagesDelete200ResponseMetaAffectedPagesItem{} + obj := &DocPagesInsert200ResponseMetaAffectedPagesItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -228378,16 +235128,16 @@ func TestSettersDocPagesDelete200ResponseMetaAffectedPagesItem(t *testing.T) { }) t.Run("SetRevision", func(t *testing.T) { - obj := &DocPagesDelete200ResponseMetaAffectedPagesItem{} - var fernTestValueRevision *DocPagesDelete200ResponseMetaAffectedPagesItemRevision + obj := &DocPagesInsert200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocPagesInsert200ResponseMetaAffectedPagesItemRevision obj.SetRevision(fernTestValueRevision) assert.Equal(t, fernTestValueRevision, obj.Revision) assert.NotNil(t, obj.explicitFields) }) t.Run("SetWeakAnnotationState", func(t *testing.T) { - obj := &DocPagesDelete200ResponseMetaAffectedPagesItem{} - var fernTestValueWeakAnnotationState *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocPagesInsert200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) assert.Equal(t, fernTestValueWeakAnnotationState, obj.WeakAnnotationState) assert.NotNil(t, obj.explicitFields) @@ -228395,11 +235145,11 @@ func TestSettersDocPagesDelete200ResponseMetaAffectedPagesItem(t *testing.T) { } -func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaAffectedPagesItem{} + obj := &DocPagesInsert200ResponseMetaAffectedPagesItem{} var expected int obj.PageObjectNumber = expected @@ -228409,7 +235159,7 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesDelete200ResponseMetaAffectedPagesItem + var obj *DocPagesInsert200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -228422,8 +235172,8 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetRevision", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaAffectedPagesItem{} - var expected *DocPagesDelete200ResponseMetaAffectedPagesItemRevision + obj := &DocPagesInsert200ResponseMetaAffectedPagesItem{} + var expected *DocPagesInsert200ResponseMetaAffectedPagesItemRevision obj.Revision = expected // Act & Assert @@ -228433,7 +235183,7 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetRevision_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaAffectedPagesItem{} + obj := &DocPagesInsert200ResponseMetaAffectedPagesItem{} obj.Revision = nil // Act & Assert @@ -228442,7 +235192,7 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetRevision_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesDelete200ResponseMetaAffectedPagesItem + var obj *DocPagesInsert200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -228455,8 +235205,8 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetWeakAnnotationState", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaAffectedPagesItem{} - var expected *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocPagesInsert200ResponseMetaAffectedPagesItem{} + var expected *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState obj.WeakAnnotationState = expected // Act & Assert @@ -228466,7 +235216,7 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetWeakAnnotationState_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaAffectedPagesItem{} + obj := &DocPagesInsert200ResponseMetaAffectedPagesItem{} obj.WeakAnnotationState = nil // Act & Assert @@ -228475,7 +235225,7 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetWeakAnnotationState_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesDelete200ResponseMetaAffectedPagesItem + var obj *DocPagesInsert200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -228487,11 +235237,11 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItem(t *testing.T) { } -func TestSettersMarkExplicitDocPagesDelete200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestSettersMarkExplicitDocPagesInsert200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaAffectedPagesItem{} + obj := &DocPagesInsert200ResponseMetaAffectedPagesItem{} var fernTestValuePageObjectNumber int // Act @@ -228522,8 +235272,8 @@ func TestSettersMarkExplicitDocPagesDelete200ResponseMetaAffectedPagesItem(t *te t.Run("SetRevision_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaAffectedPagesItem{} - var fernTestValueRevision *DocPagesDelete200ResponseMetaAffectedPagesItemRevision + obj := &DocPagesInsert200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocPagesInsert200ResponseMetaAffectedPagesItemRevision // Act obj.SetRevision(fernTestValueRevision) @@ -228553,8 +235303,8 @@ func TestSettersMarkExplicitDocPagesDelete200ResponseMetaAffectedPagesItem(t *te t.Run("SetWeakAnnotationState_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaAffectedPagesItem{} - var fernTestValueWeakAnnotationState *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocPagesInsert200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState // Act obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) @@ -228583,9 +235333,9 @@ func TestSettersMarkExplicitDocPagesDelete200ResponseMetaAffectedPagesItem(t *te } -func TestSettersDocPagesDelete200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestSettersDocPagesInsert200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("SetDocSessionID", func(t *testing.T) { - obj := &DocPagesDelete200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesInsert200ResponseMetaAffectedPagesItemRevision{} var fernTestValueDocSessionID string obj.SetDocSessionID(fernTestValueDocSessionID) assert.Equal(t, fernTestValueDocSessionID, obj.DocSessionID) @@ -228593,7 +235343,7 @@ func TestSettersDocPagesDelete200ResponseMetaAffectedPagesItemRevision(t *testin }) t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocPagesDelete200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesInsert200ResponseMetaAffectedPagesItemRevision{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -228601,7 +235351,7 @@ func TestSettersDocPagesDelete200ResponseMetaAffectedPagesItemRevision(t *testin }) t.Run("SetGeneration", func(t *testing.T) { - obj := &DocPagesDelete200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesInsert200ResponseMetaAffectedPagesItemRevision{} var fernTestValueGeneration int obj.SetGeneration(fernTestValueGeneration) assert.Equal(t, fernTestValueGeneration, obj.Generation) @@ -228610,11 +235360,11 @@ func TestSettersDocPagesDelete200ResponseMetaAffectedPagesItemRevision(t *testin } -func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("GetDocSessionID", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesInsert200ResponseMetaAffectedPagesItemRevision{} var expected string obj.DocSessionID = expected @@ -228624,7 +235374,7 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItemRevision(t *testin t.Run("GetDocSessionID_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesDelete200ResponseMetaAffectedPagesItemRevision + var obj *DocPagesInsert200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -228637,7 +235387,7 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItemRevision(t *testin t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesInsert200ResponseMetaAffectedPagesItemRevision{} var expected int obj.PageObjectNumber = expected @@ -228647,7 +235397,7 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItemRevision(t *testin t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesDelete200ResponseMetaAffectedPagesItemRevision + var obj *DocPagesInsert200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -228660,7 +235410,7 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItemRevision(t *testin t.Run("GetGeneration", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesInsert200ResponseMetaAffectedPagesItemRevision{} var expected int obj.Generation = expected @@ -228670,7 +235420,7 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItemRevision(t *testin t.Run("GetGeneration_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesDelete200ResponseMetaAffectedPagesItemRevision + var obj *DocPagesInsert200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -228682,11 +235432,11 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItemRevision(t *testin } -func TestSettersMarkExplicitDocPagesDelete200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestSettersMarkExplicitDocPagesInsert200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("SetDocSessionID_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesInsert200ResponseMetaAffectedPagesItemRevision{} var fernTestValueDocSessionID string // Act @@ -228717,7 +235467,7 @@ func TestSettersMarkExplicitDocPagesDelete200ResponseMetaAffectedPagesItemRevisi t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesInsert200ResponseMetaAffectedPagesItemRevision{} var fernTestValuePageObjectNumber int // Act @@ -228748,7 +235498,7 @@ func TestSettersMarkExplicitDocPagesDelete200ResponseMetaAffectedPagesItemRevisi t.Run("SetGeneration_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesInsert200ResponseMetaAffectedPagesItemRevision{} var fernTestValueGeneration int // Act @@ -228778,11 +235528,11 @@ func TestSettersMarkExplicitDocPagesDelete200ResponseMetaAffectedPagesItemRevisi } -func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { +func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState{} var expected string obj.Kind = expected @@ -228792,7 +235542,7 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -228805,8 +235555,8 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetUnknown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState{} - var expected *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + obj := &DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown obj.Unknown = expected // Act & Assert @@ -228816,7 +235566,7 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetUnknown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState{} obj.Unknown = nil // Act & Assert @@ -228825,7 +235575,7 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetUnknown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -228838,8 +235588,8 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetKnown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState{} - var expected *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + obj := &DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown obj.Known = expected // Act & Assert @@ -228849,7 +235599,7 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetKnown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState{} obj.Known = nil // Act & Assert @@ -228858,7 +235608,7 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetKnown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -228870,9 +235620,9 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStat } -func TestSettersDocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestSettersDocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("SetHasAnyWeakAnnotations", func(t *testing.T) { - obj := &DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var fernTestValueHasAnyWeakAnnotations bool obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) assert.Equal(t, fernTestValueHasAnyWeakAnnotations, obj.HasAnyWeakAnnotations) @@ -228881,11 +235631,11 @@ func TestSettersDocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStat } -func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("GetHasAnyWeakAnnotations", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var expected bool obj.HasAnyWeakAnnotations = expected @@ -228895,7 +235645,7 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetHasAnyWeakAnnotations_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + var obj *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -228907,11 +235657,11 @@ func TestGettersDocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStat } -func TestSettersMarkExplicitDocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestSettersMarkExplicitDocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("SetHasAnyWeakAnnotations_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var fernTestValueHasAnyWeakAnnotations bool // Act @@ -228941,9 +235691,9 @@ func TestSettersMarkExplicitDocPagesDelete200ResponseMetaAffectedPagesItemWeakAn } -func TestSettersDocPagesDelete200ResponseMetaCacheDelta(t *testing.T) { +func TestSettersDocPagesInsert200ResponseMetaCacheDelta(t *testing.T) { t.Run("SetPreviousDocVersion", func(t *testing.T) { - obj := &DocPagesDelete200ResponseMetaCacheDelta{} + obj := &DocPagesInsert200ResponseMetaCacheDelta{} var fernTestValuePreviousDocVersion int obj.SetPreviousDocVersion(fernTestValuePreviousDocVersion) assert.Equal(t, fernTestValuePreviousDocVersion, obj.PreviousDocVersion) @@ -228951,7 +235701,7 @@ func TestSettersDocPagesDelete200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetDocVersion", func(t *testing.T) { - obj := &DocPagesDelete200ResponseMetaCacheDelta{} + obj := &DocPagesInsert200ResponseMetaCacheDelta{} var fernTestValueDocVersion int obj.SetDocVersion(fernTestValueDocVersion) assert.Equal(t, fernTestValueDocVersion, obj.DocVersion) @@ -228959,7 +235709,7 @@ func TestSettersDocPagesDelete200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetAnnotationsVersion", func(t *testing.T) { - obj := &DocPagesDelete200ResponseMetaCacheDelta{} + obj := &DocPagesInsert200ResponseMetaCacheDelta{} var fernTestValueAnnotationsVersion *int obj.SetAnnotationsVersion(fernTestValueAnnotationsVersion) assert.Equal(t, fernTestValueAnnotationsVersion, obj.AnnotationsVersion) @@ -228967,8 +235717,8 @@ func TestSettersDocPagesDelete200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetPages", func(t *testing.T) { - obj := &DocPagesDelete200ResponseMetaCacheDelta{} - var fernTestValuePages []*DocPagesDelete200ResponseMetaCacheDeltaPagesItem + obj := &DocPagesInsert200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocPagesInsert200ResponseMetaCacheDeltaPagesItem obj.SetPages(fernTestValuePages) assert.Equal(t, fernTestValuePages, obj.Pages) assert.NotNil(t, obj.explicitFields) @@ -228976,11 +235726,11 @@ func TestSettersDocPagesDelete200ResponseMetaCacheDelta(t *testing.T) { } -func TestGettersDocPagesDelete200ResponseMetaCacheDelta(t *testing.T) { +func TestGettersDocPagesInsert200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPreviousDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaCacheDelta{} + obj := &DocPagesInsert200ResponseMetaCacheDelta{} var expected int obj.PreviousDocVersion = expected @@ -228990,7 +235740,7 @@ func TestGettersDocPagesDelete200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPreviousDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesDelete200ResponseMetaCacheDelta + var obj *DocPagesInsert200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -229003,7 +235753,7 @@ func TestGettersDocPagesDelete200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaCacheDelta{} + obj := &DocPagesInsert200ResponseMetaCacheDelta{} var expected int obj.DocVersion = expected @@ -229013,7 +235763,7 @@ func TestGettersDocPagesDelete200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesDelete200ResponseMetaCacheDelta + var obj *DocPagesInsert200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -229026,7 +235776,7 @@ func TestGettersDocPagesDelete200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaCacheDelta{} + obj := &DocPagesInsert200ResponseMetaCacheDelta{} var expected *int obj.AnnotationsVersion = expected @@ -229037,7 +235787,7 @@ func TestGettersDocPagesDelete200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaCacheDelta{} + obj := &DocPagesInsert200ResponseMetaCacheDelta{} obj.AnnotationsVersion = nil // Act & Assert @@ -229046,7 +235796,7 @@ func TestGettersDocPagesDelete200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesDelete200ResponseMetaCacheDelta + var obj *DocPagesInsert200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -229059,8 +235809,8 @@ func TestGettersDocPagesDelete200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaCacheDelta{} - var expected []*DocPagesDelete200ResponseMetaCacheDeltaPagesItem + obj := &DocPagesInsert200ResponseMetaCacheDelta{} + var expected []*DocPagesInsert200ResponseMetaCacheDeltaPagesItem obj.Pages = expected // Act & Assert @@ -229070,7 +235820,7 @@ func TestGettersDocPagesDelete200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaCacheDelta{} + obj := &DocPagesInsert200ResponseMetaCacheDelta{} obj.Pages = nil // Act & Assert @@ -229079,7 +235829,7 @@ func TestGettersDocPagesDelete200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesDelete200ResponseMetaCacheDelta + var obj *DocPagesInsert200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -229091,11 +235841,11 @@ func TestGettersDocPagesDelete200ResponseMetaCacheDelta(t *testing.T) { } -func TestSettersMarkExplicitDocPagesDelete200ResponseMetaCacheDelta(t *testing.T) { +func TestSettersMarkExplicitDocPagesInsert200ResponseMetaCacheDelta(t *testing.T) { t.Run("SetPreviousDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaCacheDelta{} + obj := &DocPagesInsert200ResponseMetaCacheDelta{} var fernTestValuePreviousDocVersion int // Act @@ -229126,7 +235876,7 @@ func TestSettersMarkExplicitDocPagesDelete200ResponseMetaCacheDelta(t *testing.T t.Run("SetDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaCacheDelta{} + obj := &DocPagesInsert200ResponseMetaCacheDelta{} var fernTestValueDocVersion int // Act @@ -229157,7 +235907,7 @@ func TestSettersMarkExplicitDocPagesDelete200ResponseMetaCacheDelta(t *testing.T t.Run("SetAnnotationsVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaCacheDelta{} + obj := &DocPagesInsert200ResponseMetaCacheDelta{} var fernTestValueAnnotationsVersion *int // Act @@ -229188,8 +235938,8 @@ func TestSettersMarkExplicitDocPagesDelete200ResponseMetaCacheDelta(t *testing.T t.Run("SetPages_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaCacheDelta{} - var fernTestValuePages []*DocPagesDelete200ResponseMetaCacheDeltaPagesItem + obj := &DocPagesInsert200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocPagesInsert200ResponseMetaCacheDeltaPagesItem // Act obj.SetPages(fernTestValuePages) @@ -229218,9 +235968,9 @@ func TestSettersMarkExplicitDocPagesDelete200ResponseMetaCacheDelta(t *testing.T } -func TestSettersDocPagesDelete200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestSettersDocPagesInsert200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -229228,8 +235978,8 @@ func TestSettersDocPagesDelete200ResponseMetaCacheDeltaPagesItem(t *testing.T) { }) t.Run("SetCache", func(t *testing.T) { - obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItem{} - var fernTestValueCache *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache + obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache obj.SetCache(fernTestValueCache) assert.Equal(t, fernTestValueCache, obj.Cache) assert.NotNil(t, obj.explicitFields) @@ -229237,11 +235987,11 @@ func TestSettersDocPagesDelete200ResponseMetaCacheDeltaPagesItem(t *testing.T) { } -func TestGettersDocPagesDelete200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestGettersDocPagesInsert200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItem{} var expected int obj.PageObjectNumber = expected @@ -229251,7 +236001,7 @@ func TestGettersDocPagesDelete200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesDelete200ResponseMetaCacheDeltaPagesItem + var obj *DocPagesInsert200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -229264,8 +236014,8 @@ func TestGettersDocPagesDelete200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetCache", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItem{} - var expected *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache + obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItem{} + var expected *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache obj.Cache = expected // Act & Assert @@ -229275,7 +236025,7 @@ func TestGettersDocPagesDelete200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetCache_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItem{} obj.Cache = nil // Act & Assert @@ -229284,7 +236034,7 @@ func TestGettersDocPagesDelete200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetCache_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesDelete200ResponseMetaCacheDeltaPagesItem + var obj *DocPagesInsert200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -229296,11 +236046,11 @@ func TestGettersDocPagesDelete200ResponseMetaCacheDeltaPagesItem(t *testing.T) { } -func TestSettersMarkExplicitDocPagesDelete200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestSettersMarkExplicitDocPagesInsert200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItem{} var fernTestValuePageObjectNumber int // Act @@ -229331,8 +236081,8 @@ func TestSettersMarkExplicitDocPagesDelete200ResponseMetaCacheDeltaPagesItem(t * t.Run("SetCache_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItem{} - var fernTestValueCache *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache + obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache // Act obj.SetCache(fernTestValueCache) @@ -229359,619 +236109,85 @@ func TestSettersMarkExplicitDocPagesDelete200ResponseMetaCacheDeltaPagesItem(t * // It verifies that setting a field via setter allows successful JSON round-trip }) -} - -func TestSettersDocPagesDelete200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { - t.Run("SetContentVersion", func(t *testing.T) { - obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache{} - var fernTestValueContentVersion int - obj.SetContentVersion(fernTestValueContentVersion) - assert.Equal(t, fernTestValueContentVersion, obj.ContentVersion) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetAnnotationVersion", func(t *testing.T) { - obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache{} - var fernTestValueAnnotationVersion int - obj.SetAnnotationVersion(fernTestValueAnnotationVersion) - assert.Equal(t, fernTestValueAnnotationVersion, obj.AnnotationVersion) - assert.NotNil(t, obj.explicitFields) - }) - -} - -func TestGettersDocPagesDelete200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { - t.Run("GetContentVersion", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache{} - var expected int - obj.ContentVersion = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetContentVersion(), "getter should return the property value") - }) - - t.Run("GetContentVersion_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetContentVersion() // Should return zero value - }) - - t.Run("GetAnnotationVersion", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache{} - var expected int - obj.AnnotationVersion = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetAnnotationVersion(), "getter should return the property value") - }) - - t.Run("GetAnnotationVersion_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetAnnotationVersion() // Should return zero value - }) - -} - -func TestSettersMarkExplicitDocPagesDelete200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { - t.Run("SetContentVersion_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache{} - var fernTestValueContentVersion int - - // Act - obj.SetContentVersion(fernTestValueContentVersion) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetAnnotationVersion_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocPagesDelete200ResponseMetaCacheDeltaPagesItemCache{} - var fernTestValueAnnotationVersion int - - // Act - obj.SetAnnotationVersion(fernTestValueAnnotationVersion) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - -} - -func TestSettersDocPagesDelete400Response(t *testing.T) { - t.Run("SetName", func(t *testing.T) { - obj := &DocPagesDelete400Response{} - var fernTestValueName DocPagesDelete400ResponseName - obj.SetName(fernTestValueName) - assert.Equal(t, fernTestValueName, obj.Name) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetCode", func(t *testing.T) { - obj := &DocPagesDelete400Response{} - var fernTestValueCode DocPagesDelete400ResponseCode - obj.SetCode(fernTestValueCode) - assert.Equal(t, fernTestValueCode, obj.Code) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetMessage", func(t *testing.T) { - obj := &DocPagesDelete400Response{} - var fernTestValueMessage string - obj.SetMessage(fernTestValueMessage) - assert.Equal(t, fernTestValueMessage, obj.Message) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetDetails", func(t *testing.T) { - obj := &DocPagesDelete400Response{} - var fernTestValueDetails map[string]any - obj.SetDetails(fernTestValueDetails) - assert.Equal(t, fernTestValueDetails, obj.Details) - assert.NotNil(t, obj.explicitFields) - }) - -} - -func TestGettersDocPagesDelete400Response(t *testing.T) { - t.Run("GetName", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocPagesDelete400Response{} - var expected DocPagesDelete400ResponseName - obj.Name = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetName(), "getter should return the property value") - }) - - t.Run("GetName_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocPagesDelete400Response - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetName() // Should return zero value - }) - - t.Run("GetCode", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocPagesDelete400Response{} - var expected DocPagesDelete400ResponseCode - obj.Code = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetCode(), "getter should return the property value") - }) - - t.Run("GetCode_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocPagesDelete400Response - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetCode() // Should return zero value - }) - - t.Run("GetMessage", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocPagesDelete400Response{} - var expected string - obj.Message = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") - }) - - t.Run("GetMessage_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocPagesDelete400Response - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetMessage() // Should return zero value - }) - - t.Run("GetDetails", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocPagesDelete400Response{} - var expected map[string]any - obj.Details = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") - }) - - t.Run("GetDetails_NilValue", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocPagesDelete400Response{} - obj.Details = nil - - // Act & Assert - assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") - }) - - t.Run("GetDetails_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocPagesDelete400Response - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetDetails() // Should return zero value - }) - -} - -func TestSettersMarkExplicitDocPagesDelete400Response(t *testing.T) { - t.Run("SetName_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocPagesDelete400Response{} - var fernTestValueName DocPagesDelete400ResponseName - - // Act - obj.SetName(fernTestValueName) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetCode_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocPagesDelete400Response{} - var fernTestValueCode DocPagesDelete400ResponseCode - - // Act - obj.SetCode(fernTestValueCode) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetMessage_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocPagesDelete400Response{} - var fernTestValueMessage string - - // Act - obj.SetMessage(fernTestValueMessage) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetDetails_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocPagesDelete400Response{} - var fernTestValueDetails map[string]any - - // Act - obj.SetDetails(fernTestValueDetails) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - -} - -func TestSettersDocPagesDelete404Response(t *testing.T) { - t.Run("SetName", func(t *testing.T) { - obj := &DocPagesDelete404Response{} - var fernTestValueName DocPagesDelete404ResponseName - obj.SetName(fernTestValueName) - assert.Equal(t, fernTestValueName, obj.Name) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetCode", func(t *testing.T) { - obj := &DocPagesDelete404Response{} - var fernTestValueCode DocPagesDelete404ResponseCode - obj.SetCode(fernTestValueCode) - assert.Equal(t, fernTestValueCode, obj.Code) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetMessage", func(t *testing.T) { - obj := &DocPagesDelete404Response{} - var fernTestValueMessage string - obj.SetMessage(fernTestValueMessage) - assert.Equal(t, fernTestValueMessage, obj.Message) - assert.NotNil(t, obj.explicitFields) - }) - - t.Run("SetDetails", func(t *testing.T) { - obj := &DocPagesDelete404Response{} - var fernTestValueDetails map[string]any - obj.SetDetails(fernTestValueDetails) - assert.Equal(t, fernTestValueDetails, obj.Details) - assert.NotNil(t, obj.explicitFields) - }) - -} - -func TestGettersDocPagesDelete404Response(t *testing.T) { - t.Run("GetName", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocPagesDelete404Response{} - var expected DocPagesDelete404ResponseName - obj.Name = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetName(), "getter should return the property value") - }) - - t.Run("GetName_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocPagesDelete404Response - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetName() // Should return zero value - }) - - t.Run("GetCode", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocPagesDelete404Response{} - var expected DocPagesDelete404ResponseCode - obj.Code = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetCode(), "getter should return the property value") - }) - - t.Run("GetCode_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocPagesDelete404Response - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetCode() // Should return zero value - }) - - t.Run("GetMessage", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocPagesDelete404Response{} - var expected string - obj.Message = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetMessage(), "getter should return the property value") - }) - - t.Run("GetMessage_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocPagesDelete404Response - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetMessage() // Should return zero value - }) - - t.Run("GetDetails", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocPagesDelete404Response{} - var expected map[string]any - obj.Details = expected - - // Act & Assert - assert.Equal(t, expected, obj.GetDetails(), "getter should return the property value") - }) - - t.Run("GetDetails_NilValue", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocPagesDelete404Response{} - obj.Details = nil - - // Act & Assert - assert.Nil(t, obj.GetDetails(), "getter should return nil when property is nil") - }) - - t.Run("GetDetails_NilReceiver", func(t *testing.T) { - t.Parallel() - var obj *DocPagesDelete404Response - // Should not panic - getters should handle nil receiver gracefully - defer func() { - if r := recover(); r != nil { - t.Errorf("Getter panicked on nil receiver: %v", r) - } - }() - _ = obj.GetDetails() // Should return zero value - }) - -} - -func TestSettersMarkExplicitDocPagesDelete404Response(t *testing.T) { - t.Run("SetName_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocPagesDelete404Response{} - var fernTestValueName DocPagesDelete404ResponseName - - // Act - obj.SetName(fernTestValueName) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetCode_MarksExplicit", func(t *testing.T) { - t.Parallel() - // Arrange - obj := &DocPagesDelete404Response{} - var fernTestValueCode DocPagesDelete404ResponseCode - - // Act - obj.SetCode(fernTestValueCode) - - // Assert - object with explicitly set field can be marshaled/unmarshaled - bytes, err := json.Marshal(obj) - require.NoError(t, err, "marshaling should succeed for test setup") - - // This test ensures JSON marshaling and unmarshaling succeed when the field has a zero/nil value - // Detect if marshaled JSON is an object or primitive to use correct unmarshal target - if len(bytes) > 0 && bytes[0] == '{' { - // JSON object - unmarshal into map - var unmarshaled map[string]interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } else { - // JSON primitive (string, number, boolean, null) - unmarshal into interface{} - var unmarshaled interface{} - err = json.Unmarshal(bytes, &unmarshaled) - require.NoError(t, err, "unmarshaling should succeed for test verification") - } - - // Note: This does not explicitly assert the presence of a specific JSON field - // It verifies that setting a field via setter allows successful JSON round-trip - }) - - t.Run("SetMessage_MarksExplicit", func(t *testing.T) { +} + +func TestSettersDocPagesInsert200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("SetContentVersion", func(t *testing.T) { + obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueContentVersion int + obj.SetContentVersion(fernTestValueContentVersion) + assert.Equal(t, fernTestValueContentVersion, obj.ContentVersion) + assert.NotNil(t, obj.explicitFields) + }) + + t.Run("SetAnnotationVersion", func(t *testing.T) { + obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueAnnotationVersion int + obj.SetAnnotationVersion(fernTestValueAnnotationVersion) + assert.Equal(t, fernTestValueAnnotationVersion, obj.AnnotationVersion) + assert.NotNil(t, obj.explicitFields) + }) + +} + +func TestGettersDocPagesInsert200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("GetContentVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete404Response{} - var fernTestValueMessage string + obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache{} + var expected int + obj.ContentVersion = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetContentVersion(), "getter should return the property value") + }) + + t.Run("GetContentVersion_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetContentVersion() // Should return zero value + }) + + t.Run("GetAnnotationVersion", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache{} + var expected int + obj.AnnotationVersion = expected + + // Act & Assert + assert.Equal(t, expected, obj.GetAnnotationVersion(), "getter should return the property value") + }) + + t.Run("GetAnnotationVersion_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache + // Should not panic - getters should handle nil receiver gracefully + defer func() { + if r := recover(); r != nil { + t.Errorf("Getter panicked on nil receiver: %v", r) + } + }() + _ = obj.GetAnnotationVersion() // Should return zero value + }) + +} + +func TestSettersMarkExplicitDocPagesInsert200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("SetContentVersion_MarksExplicit", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueContentVersion int // Act - obj.SetMessage(fernTestValueMessage) + obj.SetContentVersion(fernTestValueContentVersion) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -229995,14 +236211,14 @@ func TestSettersMarkExplicitDocPagesDelete404Response(t *testing.T) { // It verifies that setting a field via setter allows successful JSON round-trip }) - t.Run("SetDetails_MarksExplicit", func(t *testing.T) { + t.Run("SetAnnotationVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesDelete404Response{} - var fernTestValueDetails map[string]any + obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache{} + var fernTestValueAnnotationVersion int // Act - obj.SetDetails(fernTestValueDetails) + obj.SetAnnotationVersion(fernTestValueAnnotationVersion) // Assert - object with explicitly set field can be marshaled/unmarshaled bytes, err := json.Marshal(obj) @@ -230028,25 +236244,25 @@ func TestSettersMarkExplicitDocPagesDelete404Response(t *testing.T) { } -func TestSettersDocPagesExtract400Response(t *testing.T) { +func TestSettersDocPagesInsert400Response(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocPagesExtract400Response{} - var fernTestValueName DocPagesExtract400ResponseName + obj := &DocPagesInsert400Response{} + var fernTestValueName DocPagesInsert400ResponseName obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCode", func(t *testing.T) { - obj := &DocPagesExtract400Response{} - var fernTestValueCode DocPagesExtract400ResponseCode + obj := &DocPagesInsert400Response{} + var fernTestValueCode DocPagesInsert400ResponseCode obj.SetCode(fernTestValueCode) assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) t.Run("SetMessage", func(t *testing.T) { - obj := &DocPagesExtract400Response{} + obj := &DocPagesInsert400Response{} var fernTestValueMessage string obj.SetMessage(fernTestValueMessage) assert.Equal(t, fernTestValueMessage, obj.Message) @@ -230054,7 +236270,7 @@ func TestSettersDocPagesExtract400Response(t *testing.T) { }) t.Run("SetDetails", func(t *testing.T) { - obj := &DocPagesExtract400Response{} + obj := &DocPagesInsert400Response{} var fernTestValueDetails map[string]any obj.SetDetails(fernTestValueDetails) assert.Equal(t, fernTestValueDetails, obj.Details) @@ -230063,12 +236279,12 @@ func TestSettersDocPagesExtract400Response(t *testing.T) { } -func TestGettersDocPagesExtract400Response(t *testing.T) { +func TestGettersDocPagesInsert400Response(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesExtract400Response{} - var expected DocPagesExtract400ResponseName + obj := &DocPagesInsert400Response{} + var expected DocPagesInsert400ResponseName obj.Name = expected // Act & Assert @@ -230077,7 +236293,7 @@ func TestGettersDocPagesExtract400Response(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesExtract400Response + var obj *DocPagesInsert400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -230090,8 +236306,8 @@ func TestGettersDocPagesExtract400Response(t *testing.T) { t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesExtract400Response{} - var expected DocPagesExtract400ResponseCode + obj := &DocPagesInsert400Response{} + var expected DocPagesInsert400ResponseCode obj.Code = expected // Act & Assert @@ -230100,7 +236316,7 @@ func TestGettersDocPagesExtract400Response(t *testing.T) { t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesExtract400Response + var obj *DocPagesInsert400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -230113,7 +236329,7 @@ func TestGettersDocPagesExtract400Response(t *testing.T) { t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesExtract400Response{} + obj := &DocPagesInsert400Response{} var expected string obj.Message = expected @@ -230123,7 +236339,7 @@ func TestGettersDocPagesExtract400Response(t *testing.T) { t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesExtract400Response + var obj *DocPagesInsert400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -230136,7 +236352,7 @@ func TestGettersDocPagesExtract400Response(t *testing.T) { t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesExtract400Response{} + obj := &DocPagesInsert400Response{} var expected map[string]any obj.Details = expected @@ -230147,7 +236363,7 @@ func TestGettersDocPagesExtract400Response(t *testing.T) { t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesExtract400Response{} + obj := &DocPagesInsert400Response{} obj.Details = nil // Act & Assert @@ -230156,7 +236372,7 @@ func TestGettersDocPagesExtract400Response(t *testing.T) { t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesExtract400Response + var obj *DocPagesInsert400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -230168,12 +236384,12 @@ func TestGettersDocPagesExtract400Response(t *testing.T) { } -func TestSettersMarkExplicitDocPagesExtract400Response(t *testing.T) { +func TestSettersMarkExplicitDocPagesInsert400Response(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesExtract400Response{} - var fernTestValueName DocPagesExtract400ResponseName + obj := &DocPagesInsert400Response{} + var fernTestValueName DocPagesInsert400ResponseName // Act obj.SetName(fernTestValueName) @@ -230203,8 +236419,8 @@ func TestSettersMarkExplicitDocPagesExtract400Response(t *testing.T) { t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesExtract400Response{} - var fernTestValueCode DocPagesExtract400ResponseCode + obj := &DocPagesInsert400Response{} + var fernTestValueCode DocPagesInsert400ResponseCode // Act obj.SetCode(fernTestValueCode) @@ -230234,7 +236450,7 @@ func TestSettersMarkExplicitDocPagesExtract400Response(t *testing.T) { t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesExtract400Response{} + obj := &DocPagesInsert400Response{} var fernTestValueMessage string // Act @@ -230265,7 +236481,7 @@ func TestSettersMarkExplicitDocPagesExtract400Response(t *testing.T) { t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesExtract400Response{} + obj := &DocPagesInsert400Response{} var fernTestValueDetails map[string]any // Act @@ -230295,25 +236511,25 @@ func TestSettersMarkExplicitDocPagesExtract400Response(t *testing.T) { } -func TestSettersDocPagesExtract404Response(t *testing.T) { +func TestSettersDocPagesInsert404Response(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocPagesExtract404Response{} - var fernTestValueName DocPagesExtract404ResponseName + obj := &DocPagesInsert404Response{} + var fernTestValueName DocPagesInsert404ResponseName obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCode", func(t *testing.T) { - obj := &DocPagesExtract404Response{} - var fernTestValueCode DocPagesExtract404ResponseCode + obj := &DocPagesInsert404Response{} + var fernTestValueCode DocPagesInsert404ResponseCode obj.SetCode(fernTestValueCode) assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) t.Run("SetMessage", func(t *testing.T) { - obj := &DocPagesExtract404Response{} + obj := &DocPagesInsert404Response{} var fernTestValueMessage string obj.SetMessage(fernTestValueMessage) assert.Equal(t, fernTestValueMessage, obj.Message) @@ -230321,7 +236537,7 @@ func TestSettersDocPagesExtract404Response(t *testing.T) { }) t.Run("SetDetails", func(t *testing.T) { - obj := &DocPagesExtract404Response{} + obj := &DocPagesInsert404Response{} var fernTestValueDetails map[string]any obj.SetDetails(fernTestValueDetails) assert.Equal(t, fernTestValueDetails, obj.Details) @@ -230330,12 +236546,12 @@ func TestSettersDocPagesExtract404Response(t *testing.T) { } -func TestGettersDocPagesExtract404Response(t *testing.T) { +func TestGettersDocPagesInsert404Response(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesExtract404Response{} - var expected DocPagesExtract404ResponseName + obj := &DocPagesInsert404Response{} + var expected DocPagesInsert404ResponseName obj.Name = expected // Act & Assert @@ -230344,7 +236560,7 @@ func TestGettersDocPagesExtract404Response(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesExtract404Response + var obj *DocPagesInsert404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -230357,8 +236573,8 @@ func TestGettersDocPagesExtract404Response(t *testing.T) { t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesExtract404Response{} - var expected DocPagesExtract404ResponseCode + obj := &DocPagesInsert404Response{} + var expected DocPagesInsert404ResponseCode obj.Code = expected // Act & Assert @@ -230367,7 +236583,7 @@ func TestGettersDocPagesExtract404Response(t *testing.T) { t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesExtract404Response + var obj *DocPagesInsert404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -230380,7 +236596,7 @@ func TestGettersDocPagesExtract404Response(t *testing.T) { t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesExtract404Response{} + obj := &DocPagesInsert404Response{} var expected string obj.Message = expected @@ -230390,7 +236606,7 @@ func TestGettersDocPagesExtract404Response(t *testing.T) { t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesExtract404Response + var obj *DocPagesInsert404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -230403,7 +236619,7 @@ func TestGettersDocPagesExtract404Response(t *testing.T) { t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesExtract404Response{} + obj := &DocPagesInsert404Response{} var expected map[string]any obj.Details = expected @@ -230414,7 +236630,7 @@ func TestGettersDocPagesExtract404Response(t *testing.T) { t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesExtract404Response{} + obj := &DocPagesInsert404Response{} obj.Details = nil // Act & Assert @@ -230423,7 +236639,7 @@ func TestGettersDocPagesExtract404Response(t *testing.T) { t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesExtract404Response + var obj *DocPagesInsert404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -230435,12 +236651,12 @@ func TestGettersDocPagesExtract404Response(t *testing.T) { } -func TestSettersMarkExplicitDocPagesExtract404Response(t *testing.T) { +func TestSettersMarkExplicitDocPagesInsert404Response(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesExtract404Response{} - var fernTestValueName DocPagesExtract404ResponseName + obj := &DocPagesInsert404Response{} + var fernTestValueName DocPagesInsert404ResponseName // Act obj.SetName(fernTestValueName) @@ -230470,8 +236686,8 @@ func TestSettersMarkExplicitDocPagesExtract404Response(t *testing.T) { t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesExtract404Response{} - var fernTestValueCode DocPagesExtract404ResponseCode + obj := &DocPagesInsert404Response{} + var fernTestValueCode DocPagesInsert404ResponseCode // Act obj.SetCode(fernTestValueCode) @@ -230501,7 +236717,7 @@ func TestSettersMarkExplicitDocPagesExtract404Response(t *testing.T) { t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesExtract404Response{} + obj := &DocPagesInsert404Response{} var fernTestValueMessage string // Act @@ -230532,7 +236748,7 @@ func TestSettersMarkExplicitDocPagesExtract404Response(t *testing.T) { t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesExtract404Response{} + obj := &DocPagesInsert404Response{} var fernTestValueDetails map[string]any // Act @@ -230562,10 +236778,10 @@ func TestSettersMarkExplicitDocPagesExtract404Response(t *testing.T) { } -func TestSettersDocPagesFlatten200Response(t *testing.T) { +func TestSettersDocPagesInsertBlank200Response(t *testing.T) { t.Run("SetMeta", func(t *testing.T) { - obj := &DocPagesFlatten200Response{} - var fernTestValueMeta *DocPagesFlatten200ResponseMeta + obj := &DocPagesInsertBlank200Response{} + var fernTestValueMeta *DocPagesInsertBlank200ResponseMeta obj.SetMeta(fernTestValueMeta) assert.Equal(t, fernTestValueMeta, obj.Meta) assert.NotNil(t, obj.explicitFields) @@ -230573,12 +236789,12 @@ func TestSettersDocPagesFlatten200Response(t *testing.T) { } -func TestGettersDocPagesFlatten200Response(t *testing.T) { +func TestGettersDocPagesInsertBlank200Response(t *testing.T) { t.Run("GetMeta", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200Response{} - var expected *DocPagesFlatten200ResponseMeta + obj := &DocPagesInsertBlank200Response{} + var expected *DocPagesInsertBlank200ResponseMeta obj.Meta = expected // Act & Assert @@ -230588,7 +236804,7 @@ func TestGettersDocPagesFlatten200Response(t *testing.T) { t.Run("GetMeta_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200Response{} + obj := &DocPagesInsertBlank200Response{} obj.Meta = nil // Act & Assert @@ -230597,7 +236813,7 @@ func TestGettersDocPagesFlatten200Response(t *testing.T) { t.Run("GetMeta_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten200Response + var obj *DocPagesInsertBlank200Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -230609,12 +236825,12 @@ func TestGettersDocPagesFlatten200Response(t *testing.T) { } -func TestSettersMarkExplicitDocPagesFlatten200Response(t *testing.T) { +func TestSettersMarkExplicitDocPagesInsertBlank200Response(t *testing.T) { t.Run("SetMeta_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200Response{} - var fernTestValueMeta *DocPagesFlatten200ResponseMeta + obj := &DocPagesInsertBlank200Response{} + var fernTestValueMeta *DocPagesInsertBlank200ResponseMeta // Act obj.SetMeta(fernTestValueMeta) @@ -230643,18 +236859,18 @@ func TestSettersMarkExplicitDocPagesFlatten200Response(t *testing.T) { } -func TestSettersDocPagesFlatten200ResponseMeta(t *testing.T) { +func TestSettersDocPagesInsertBlank200ResponseMeta(t *testing.T) { t.Run("SetAffectedPages", func(t *testing.T) { - obj := &DocPagesFlatten200ResponseMeta{} - var fernTestValueAffectedPages []*DocPagesFlatten200ResponseMetaAffectedPagesItem + obj := &DocPagesInsertBlank200ResponseMeta{} + var fernTestValueAffectedPages []*DocPagesInsertBlank200ResponseMetaAffectedPagesItem obj.SetAffectedPages(fernTestValueAffectedPages) assert.Equal(t, fernTestValueAffectedPages, obj.AffectedPages) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCacheDelta", func(t *testing.T) { - obj := &DocPagesFlatten200ResponseMeta{} - var fernTestValueCacheDelta *DocPagesFlatten200ResponseMetaCacheDelta + obj := &DocPagesInsertBlank200ResponseMeta{} + var fernTestValueCacheDelta *DocPagesInsertBlank200ResponseMetaCacheDelta obj.SetCacheDelta(fernTestValueCacheDelta) assert.Equal(t, fernTestValueCacheDelta, obj.CacheDelta) assert.NotNil(t, obj.explicitFields) @@ -230662,12 +236878,12 @@ func TestSettersDocPagesFlatten200ResponseMeta(t *testing.T) { } -func TestGettersDocPagesFlatten200ResponseMeta(t *testing.T) { +func TestGettersDocPagesInsertBlank200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMeta{} - var expected []*DocPagesFlatten200ResponseMetaAffectedPagesItem + obj := &DocPagesInsertBlank200ResponseMeta{} + var expected []*DocPagesInsertBlank200ResponseMetaAffectedPagesItem obj.AffectedPages = expected // Act & Assert @@ -230677,7 +236893,7 @@ func TestGettersDocPagesFlatten200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMeta{} + obj := &DocPagesInsertBlank200ResponseMeta{} obj.AffectedPages = nil // Act & Assert @@ -230686,7 +236902,7 @@ func TestGettersDocPagesFlatten200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten200ResponseMeta + var obj *DocPagesInsertBlank200ResponseMeta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -230699,8 +236915,8 @@ func TestGettersDocPagesFlatten200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMeta{} - var expected *DocPagesFlatten200ResponseMetaCacheDelta + obj := &DocPagesInsertBlank200ResponseMeta{} + var expected *DocPagesInsertBlank200ResponseMetaCacheDelta obj.CacheDelta = expected // Act & Assert @@ -230710,7 +236926,7 @@ func TestGettersDocPagesFlatten200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMeta{} + obj := &DocPagesInsertBlank200ResponseMeta{} obj.CacheDelta = nil // Act & Assert @@ -230719,7 +236935,7 @@ func TestGettersDocPagesFlatten200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten200ResponseMeta + var obj *DocPagesInsertBlank200ResponseMeta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -230731,12 +236947,12 @@ func TestGettersDocPagesFlatten200ResponseMeta(t *testing.T) { } -func TestSettersMarkExplicitDocPagesFlatten200ResponseMeta(t *testing.T) { +func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMeta(t *testing.T) { t.Run("SetAffectedPages_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMeta{} - var fernTestValueAffectedPages []*DocPagesFlatten200ResponseMetaAffectedPagesItem + obj := &DocPagesInsertBlank200ResponseMeta{} + var fernTestValueAffectedPages []*DocPagesInsertBlank200ResponseMetaAffectedPagesItem // Act obj.SetAffectedPages(fernTestValueAffectedPages) @@ -230766,8 +236982,8 @@ func TestSettersMarkExplicitDocPagesFlatten200ResponseMeta(t *testing.T) { t.Run("SetCacheDelta_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMeta{} - var fernTestValueCacheDelta *DocPagesFlatten200ResponseMetaCacheDelta + obj := &DocPagesInsertBlank200ResponseMeta{} + var fernTestValueCacheDelta *DocPagesInsertBlank200ResponseMetaCacheDelta // Act obj.SetCacheDelta(fernTestValueCacheDelta) @@ -230796,9 +237012,9 @@ func TestSettersMarkExplicitDocPagesFlatten200ResponseMeta(t *testing.T) { } -func TestSettersDocPagesFlatten200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestSettersDocPagesInsertBlank200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItem{} + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -230806,16 +237022,16 @@ func TestSettersDocPagesFlatten200ResponseMetaAffectedPagesItem(t *testing.T) { }) t.Run("SetRevision", func(t *testing.T) { - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItem{} - var fernTestValueRevision *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision obj.SetRevision(fernTestValueRevision) assert.Equal(t, fernTestValueRevision, obj.Revision) assert.NotNil(t, obj.explicitFields) }) t.Run("SetWeakAnnotationState", func(t *testing.T) { - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItem{} - var fernTestValueWeakAnnotationState *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) assert.Equal(t, fernTestValueWeakAnnotationState, obj.WeakAnnotationState) assert.NotNil(t, obj.explicitFields) @@ -230823,11 +237039,11 @@ func TestSettersDocPagesFlatten200ResponseMetaAffectedPagesItem(t *testing.T) { } -func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItem{} + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItem{} var expected int obj.PageObjectNumber = expected @@ -230837,7 +237053,7 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten200ResponseMetaAffectedPagesItem + var obj *DocPagesInsertBlank200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -230850,8 +237066,8 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetRevision", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItem{} - var expected *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItem{} + var expected *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision obj.Revision = expected // Act & Assert @@ -230861,7 +237077,7 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetRevision_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItem{} + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItem{} obj.Revision = nil // Act & Assert @@ -230870,7 +237086,7 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetRevision_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten200ResponseMetaAffectedPagesItem + var obj *DocPagesInsertBlank200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -230883,8 +237099,8 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetWeakAnnotationState", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItem{} - var expected *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItem{} + var expected *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState obj.WeakAnnotationState = expected // Act & Assert @@ -230894,7 +237110,7 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetWeakAnnotationState_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItem{} + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItem{} obj.WeakAnnotationState = nil // Act & Assert @@ -230903,7 +237119,7 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetWeakAnnotationState_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten200ResponseMetaAffectedPagesItem + var obj *DocPagesInsertBlank200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -230915,11 +237131,11 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItem(t *testing.T) { } -func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItem{} + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItem{} var fernTestValuePageObjectNumber int // Act @@ -230950,8 +237166,8 @@ func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaAffectedPagesItem(t *t t.Run("SetRevision_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItem{} - var fernTestValueRevision *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision // Act obj.SetRevision(fernTestValueRevision) @@ -230981,8 +237197,8 @@ func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaAffectedPagesItem(t *t t.Run("SetWeakAnnotationState_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItem{} - var fernTestValueWeakAnnotationState *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState // Act obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) @@ -231011,9 +237227,9 @@ func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaAffectedPagesItem(t *t } -func TestSettersDocPagesFlatten200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestSettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("SetDocSessionID", func(t *testing.T) { - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision{} var fernTestValueDocSessionID string obj.SetDocSessionID(fernTestValueDocSessionID) assert.Equal(t, fernTestValueDocSessionID, obj.DocSessionID) @@ -231021,7 +237237,7 @@ func TestSettersDocPagesFlatten200ResponseMetaAffectedPagesItemRevision(t *testi }) t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -231029,7 +237245,7 @@ func TestSettersDocPagesFlatten200ResponseMetaAffectedPagesItemRevision(t *testi }) t.Run("SetGeneration", func(t *testing.T) { - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision{} var fernTestValueGeneration int obj.SetGeneration(fernTestValueGeneration) assert.Equal(t, fernTestValueGeneration, obj.Generation) @@ -231038,11 +237254,11 @@ func TestSettersDocPagesFlatten200ResponseMetaAffectedPagesItemRevision(t *testi } -func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("GetDocSessionID", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision{} var expected string obj.DocSessionID = expected @@ -231052,7 +237268,7 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItemRevision(t *testi t.Run("GetDocSessionID_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision + var obj *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -231065,7 +237281,7 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItemRevision(t *testi t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision{} var expected int obj.PageObjectNumber = expected @@ -231075,7 +237291,7 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItemRevision(t *testi t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision + var obj *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -231088,7 +237304,7 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItemRevision(t *testi t.Run("GetGeneration", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision{} var expected int obj.Generation = expected @@ -231098,7 +237314,7 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItemRevision(t *testi t.Run("GetGeneration_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten200ResponseMetaAffectedPagesItemRevision + var obj *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -231110,11 +237326,11 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItemRevision(t *testi } -func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("SetDocSessionID_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision{} var fernTestValueDocSessionID string // Act @@ -231145,7 +237361,7 @@ func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaAffectedPagesItemRevis t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision{} var fernTestValuePageObjectNumber int // Act @@ -231176,7 +237392,7 @@ func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaAffectedPagesItemRevis t.Run("SetGeneration_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision{} var fernTestValueGeneration int // Act @@ -231206,11 +237422,11 @@ func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaAffectedPagesItemRevis } -func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { +func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState{} var expected string obj.Kind = expected @@ -231220,7 +237436,7 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationSta t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -231233,8 +237449,8 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationSta t.Run("GetUnknown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState{} - var expected *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown obj.Unknown = expected // Act & Assert @@ -231244,7 +237460,7 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationSta t.Run("GetUnknown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState{} obj.Unknown = nil // Act & Assert @@ -231253,7 +237469,7 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationSta t.Run("GetUnknown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -231266,8 +237482,8 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationSta t.Run("GetKnown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState{} - var expected *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown obj.Known = expected // Act & Assert @@ -231277,7 +237493,7 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationSta t.Run("GetKnown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState{} obj.Known = nil // Act & Assert @@ -231286,7 +237502,7 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationSta t.Run("GetKnown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -231298,9 +237514,9 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationSta } -func TestSettersDocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestSettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("SetHasAnyWeakAnnotations", func(t *testing.T) { - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var fernTestValueHasAnyWeakAnnotations bool obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) assert.Equal(t, fernTestValueHasAnyWeakAnnotations, obj.HasAnyWeakAnnotations) @@ -231309,11 +237525,11 @@ func TestSettersDocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationSta } -func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("GetHasAnyWeakAnnotations", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var expected bool obj.HasAnyWeakAnnotations = expected @@ -231323,7 +237539,7 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationSta t.Run("GetHasAnyWeakAnnotations_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + var obj *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -231335,11 +237551,11 @@ func TestGettersDocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationSta } -func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("SetHasAnyWeakAnnotations_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var fernTestValueHasAnyWeakAnnotations bool // Act @@ -231369,9 +237585,9 @@ func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaAffectedPagesItemWeakA } -func TestSettersDocPagesFlatten200ResponseMetaCacheDelta(t *testing.T) { +func TestSettersDocPagesInsertBlank200ResponseMetaCacheDelta(t *testing.T) { t.Run("SetPreviousDocVersion", func(t *testing.T) { - obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} var fernTestValuePreviousDocVersion int obj.SetPreviousDocVersion(fernTestValuePreviousDocVersion) assert.Equal(t, fernTestValuePreviousDocVersion, obj.PreviousDocVersion) @@ -231379,7 +237595,7 @@ func TestSettersDocPagesFlatten200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetDocVersion", func(t *testing.T) { - obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} var fernTestValueDocVersion int obj.SetDocVersion(fernTestValueDocVersion) assert.Equal(t, fernTestValueDocVersion, obj.DocVersion) @@ -231387,7 +237603,7 @@ func TestSettersDocPagesFlatten200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetAnnotationsVersion", func(t *testing.T) { - obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} var fernTestValueAnnotationsVersion *int obj.SetAnnotationsVersion(fernTestValueAnnotationsVersion) assert.Equal(t, fernTestValueAnnotationsVersion, obj.AnnotationsVersion) @@ -231395,8 +237611,8 @@ func TestSettersDocPagesFlatten200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetPages", func(t *testing.T) { - obj := &DocPagesFlatten200ResponseMetaCacheDelta{} - var fernTestValuePages []*DocPagesFlatten200ResponseMetaCacheDeltaPagesItem + obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem obj.SetPages(fernTestValuePages) assert.Equal(t, fernTestValuePages, obj.Pages) assert.NotNil(t, obj.explicitFields) @@ -231404,11 +237620,11 @@ func TestSettersDocPagesFlatten200ResponseMetaCacheDelta(t *testing.T) { } -func TestGettersDocPagesFlatten200ResponseMetaCacheDelta(t *testing.T) { +func TestGettersDocPagesInsertBlank200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPreviousDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} var expected int obj.PreviousDocVersion = expected @@ -231418,7 +237634,7 @@ func TestGettersDocPagesFlatten200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPreviousDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten200ResponseMetaCacheDelta + var obj *DocPagesInsertBlank200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -231431,7 +237647,7 @@ func TestGettersDocPagesFlatten200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} var expected int obj.DocVersion = expected @@ -231441,7 +237657,7 @@ func TestGettersDocPagesFlatten200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten200ResponseMetaCacheDelta + var obj *DocPagesInsertBlank200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -231454,7 +237670,7 @@ func TestGettersDocPagesFlatten200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} var expected *int obj.AnnotationsVersion = expected @@ -231465,7 +237681,7 @@ func TestGettersDocPagesFlatten200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} obj.AnnotationsVersion = nil // Act & Assert @@ -231474,7 +237690,7 @@ func TestGettersDocPagesFlatten200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten200ResponseMetaCacheDelta + var obj *DocPagesInsertBlank200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -231487,8 +237703,8 @@ func TestGettersDocPagesFlatten200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaCacheDelta{} - var expected []*DocPagesFlatten200ResponseMetaCacheDeltaPagesItem + obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} + var expected []*DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem obj.Pages = expected // Act & Assert @@ -231498,7 +237714,7 @@ func TestGettersDocPagesFlatten200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} obj.Pages = nil // Act & Assert @@ -231507,7 +237723,7 @@ func TestGettersDocPagesFlatten200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten200ResponseMetaCacheDelta + var obj *DocPagesInsertBlank200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -231519,11 +237735,11 @@ func TestGettersDocPagesFlatten200ResponseMetaCacheDelta(t *testing.T) { } -func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaCacheDelta(t *testing.T) { +func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaCacheDelta(t *testing.T) { t.Run("SetPreviousDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} var fernTestValuePreviousDocVersion int // Act @@ -231554,7 +237770,7 @@ func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaCacheDelta(t *testing. t.Run("SetDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} var fernTestValueDocVersion int // Act @@ -231585,7 +237801,7 @@ func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaCacheDelta(t *testing. t.Run("SetAnnotationsVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaCacheDelta{} + obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} var fernTestValueAnnotationsVersion *int // Act @@ -231616,8 +237832,8 @@ func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaCacheDelta(t *testing. t.Run("SetPages_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaCacheDelta{} - var fernTestValuePages []*DocPagesFlatten200ResponseMetaCacheDeltaPagesItem + obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem // Act obj.SetPages(fernTestValuePages) @@ -231646,9 +237862,9 @@ func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaCacheDelta(t *testing. } -func TestSettersDocPagesFlatten200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestSettersDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -231656,8 +237872,8 @@ func TestSettersDocPagesFlatten200ResponseMetaCacheDeltaPagesItem(t *testing.T) }) t.Run("SetCache", func(t *testing.T) { - obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItem{} - var fernTestValueCache *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache + obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache obj.SetCache(fernTestValueCache) assert.Equal(t, fernTestValueCache, obj.Cache) assert.NotNil(t, obj.explicitFields) @@ -231665,11 +237881,11 @@ func TestSettersDocPagesFlatten200ResponseMetaCacheDeltaPagesItem(t *testing.T) } -func TestGettersDocPagesFlatten200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestGettersDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem{} var expected int obj.PageObjectNumber = expected @@ -231679,7 +237895,7 @@ func TestGettersDocPagesFlatten200ResponseMetaCacheDeltaPagesItem(t *testing.T) t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem + var obj *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -231692,8 +237908,8 @@ func TestGettersDocPagesFlatten200ResponseMetaCacheDeltaPagesItem(t *testing.T) t.Run("GetCache", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItem{} - var expected *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache + obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem{} + var expected *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache obj.Cache = expected // Act & Assert @@ -231703,7 +237919,7 @@ func TestGettersDocPagesFlatten200ResponseMetaCacheDeltaPagesItem(t *testing.T) t.Run("GetCache_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem{} obj.Cache = nil // Act & Assert @@ -231712,7 +237928,7 @@ func TestGettersDocPagesFlatten200ResponseMetaCacheDeltaPagesItem(t *testing.T) t.Run("GetCache_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten200ResponseMetaCacheDeltaPagesItem + var obj *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -231724,11 +237940,11 @@ func TestGettersDocPagesFlatten200ResponseMetaCacheDeltaPagesItem(t *testing.T) } -func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem{} var fernTestValuePageObjectNumber int // Act @@ -231759,8 +237975,8 @@ func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaCacheDeltaPagesItem(t t.Run("SetCache_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItem{} - var fernTestValueCache *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache + obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache // Act obj.SetCache(fernTestValueCache) @@ -231789,9 +238005,9 @@ func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaCacheDeltaPagesItem(t } -func TestSettersDocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { +func TestSettersDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { t.Run("SetContentVersion", func(t *testing.T) { - obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueContentVersion int obj.SetContentVersion(fernTestValueContentVersion) assert.Equal(t, fernTestValueContentVersion, obj.ContentVersion) @@ -231799,7 +238015,7 @@ func TestSettersDocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache(t *testin }) t.Run("SetAnnotationVersion", func(t *testing.T) { - obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueAnnotationVersion int obj.SetAnnotationVersion(fernTestValueAnnotationVersion) assert.Equal(t, fernTestValueAnnotationVersion, obj.AnnotationVersion) @@ -231808,11 +238024,11 @@ func TestSettersDocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache(t *testin } -func TestGettersDocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { +func TestGettersDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { t.Run("GetContentVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache{} var expected int obj.ContentVersion = expected @@ -231822,7 +238038,7 @@ func TestGettersDocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache(t *testin t.Run("GetContentVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache + var obj *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -231835,7 +238051,7 @@ func TestGettersDocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache(t *testin t.Run("GetAnnotationVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache{} var expected int obj.AnnotationVersion = expected @@ -231845,7 +238061,7 @@ func TestGettersDocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache(t *testin t.Run("GetAnnotationVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache + var obj *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -231857,11 +238073,11 @@ func TestGettersDocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache(t *testin } -func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { +func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { t.Run("SetContentVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueContentVersion int // Act @@ -231892,7 +238108,7 @@ func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaCacheDeltaPagesItemCac t.Run("SetAnnotationVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueAnnotationVersion int // Act @@ -231922,25 +238138,25 @@ func TestSettersMarkExplicitDocPagesFlatten200ResponseMetaCacheDeltaPagesItemCac } -func TestSettersDocPagesFlatten400Response(t *testing.T) { +func TestSettersDocPagesInsertBlank400Response(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocPagesFlatten400Response{} - var fernTestValueName DocPagesFlatten400ResponseName + obj := &DocPagesInsertBlank400Response{} + var fernTestValueName DocPagesInsertBlank400ResponseName obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCode", func(t *testing.T) { - obj := &DocPagesFlatten400Response{} - var fernTestValueCode DocPagesFlatten400ResponseCode + obj := &DocPagesInsertBlank400Response{} + var fernTestValueCode DocPagesInsertBlank400ResponseCode obj.SetCode(fernTestValueCode) assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) t.Run("SetMessage", func(t *testing.T) { - obj := &DocPagesFlatten400Response{} + obj := &DocPagesInsertBlank400Response{} var fernTestValueMessage string obj.SetMessage(fernTestValueMessage) assert.Equal(t, fernTestValueMessage, obj.Message) @@ -231948,7 +238164,7 @@ func TestSettersDocPagesFlatten400Response(t *testing.T) { }) t.Run("SetDetails", func(t *testing.T) { - obj := &DocPagesFlatten400Response{} + obj := &DocPagesInsertBlank400Response{} var fernTestValueDetails map[string]any obj.SetDetails(fernTestValueDetails) assert.Equal(t, fernTestValueDetails, obj.Details) @@ -231957,12 +238173,12 @@ func TestSettersDocPagesFlatten400Response(t *testing.T) { } -func TestGettersDocPagesFlatten400Response(t *testing.T) { +func TestGettersDocPagesInsertBlank400Response(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten400Response{} - var expected DocPagesFlatten400ResponseName + obj := &DocPagesInsertBlank400Response{} + var expected DocPagesInsertBlank400ResponseName obj.Name = expected // Act & Assert @@ -231971,7 +238187,7 @@ func TestGettersDocPagesFlatten400Response(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten400Response + var obj *DocPagesInsertBlank400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -231984,8 +238200,8 @@ func TestGettersDocPagesFlatten400Response(t *testing.T) { t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten400Response{} - var expected DocPagesFlatten400ResponseCode + obj := &DocPagesInsertBlank400Response{} + var expected DocPagesInsertBlank400ResponseCode obj.Code = expected // Act & Assert @@ -231994,7 +238210,7 @@ func TestGettersDocPagesFlatten400Response(t *testing.T) { t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten400Response + var obj *DocPagesInsertBlank400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -232007,7 +238223,7 @@ func TestGettersDocPagesFlatten400Response(t *testing.T) { t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten400Response{} + obj := &DocPagesInsertBlank400Response{} var expected string obj.Message = expected @@ -232017,7 +238233,7 @@ func TestGettersDocPagesFlatten400Response(t *testing.T) { t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten400Response + var obj *DocPagesInsertBlank400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -232030,7 +238246,7 @@ func TestGettersDocPagesFlatten400Response(t *testing.T) { t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten400Response{} + obj := &DocPagesInsertBlank400Response{} var expected map[string]any obj.Details = expected @@ -232041,7 +238257,7 @@ func TestGettersDocPagesFlatten400Response(t *testing.T) { t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten400Response{} + obj := &DocPagesInsertBlank400Response{} obj.Details = nil // Act & Assert @@ -232050,7 +238266,7 @@ func TestGettersDocPagesFlatten400Response(t *testing.T) { t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten400Response + var obj *DocPagesInsertBlank400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -232062,12 +238278,12 @@ func TestGettersDocPagesFlatten400Response(t *testing.T) { } -func TestSettersMarkExplicitDocPagesFlatten400Response(t *testing.T) { +func TestSettersMarkExplicitDocPagesInsertBlank400Response(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten400Response{} - var fernTestValueName DocPagesFlatten400ResponseName + obj := &DocPagesInsertBlank400Response{} + var fernTestValueName DocPagesInsertBlank400ResponseName // Act obj.SetName(fernTestValueName) @@ -232097,8 +238313,8 @@ func TestSettersMarkExplicitDocPagesFlatten400Response(t *testing.T) { t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten400Response{} - var fernTestValueCode DocPagesFlatten400ResponseCode + obj := &DocPagesInsertBlank400Response{} + var fernTestValueCode DocPagesInsertBlank400ResponseCode // Act obj.SetCode(fernTestValueCode) @@ -232128,7 +238344,7 @@ func TestSettersMarkExplicitDocPagesFlatten400Response(t *testing.T) { t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten400Response{} + obj := &DocPagesInsertBlank400Response{} var fernTestValueMessage string // Act @@ -232159,7 +238375,7 @@ func TestSettersMarkExplicitDocPagesFlatten400Response(t *testing.T) { t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten400Response{} + obj := &DocPagesInsertBlank400Response{} var fernTestValueDetails map[string]any // Act @@ -232189,25 +238405,25 @@ func TestSettersMarkExplicitDocPagesFlatten400Response(t *testing.T) { } -func TestSettersDocPagesFlatten404Response(t *testing.T) { +func TestSettersDocPagesInsertBlank404Response(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocPagesFlatten404Response{} - var fernTestValueName DocPagesFlatten404ResponseName + obj := &DocPagesInsertBlank404Response{} + var fernTestValueName DocPagesInsertBlank404ResponseName obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCode", func(t *testing.T) { - obj := &DocPagesFlatten404Response{} - var fernTestValueCode DocPagesFlatten404ResponseCode + obj := &DocPagesInsertBlank404Response{} + var fernTestValueCode DocPagesInsertBlank404ResponseCode obj.SetCode(fernTestValueCode) assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) t.Run("SetMessage", func(t *testing.T) { - obj := &DocPagesFlatten404Response{} + obj := &DocPagesInsertBlank404Response{} var fernTestValueMessage string obj.SetMessage(fernTestValueMessage) assert.Equal(t, fernTestValueMessage, obj.Message) @@ -232215,7 +238431,7 @@ func TestSettersDocPagesFlatten404Response(t *testing.T) { }) t.Run("SetDetails", func(t *testing.T) { - obj := &DocPagesFlatten404Response{} + obj := &DocPagesInsertBlank404Response{} var fernTestValueDetails map[string]any obj.SetDetails(fernTestValueDetails) assert.Equal(t, fernTestValueDetails, obj.Details) @@ -232224,12 +238440,12 @@ func TestSettersDocPagesFlatten404Response(t *testing.T) { } -func TestGettersDocPagesFlatten404Response(t *testing.T) { +func TestGettersDocPagesInsertBlank404Response(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten404Response{} - var expected DocPagesFlatten404ResponseName + obj := &DocPagesInsertBlank404Response{} + var expected DocPagesInsertBlank404ResponseName obj.Name = expected // Act & Assert @@ -232238,7 +238454,7 @@ func TestGettersDocPagesFlatten404Response(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten404Response + var obj *DocPagesInsertBlank404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -232251,8 +238467,8 @@ func TestGettersDocPagesFlatten404Response(t *testing.T) { t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten404Response{} - var expected DocPagesFlatten404ResponseCode + obj := &DocPagesInsertBlank404Response{} + var expected DocPagesInsertBlank404ResponseCode obj.Code = expected // Act & Assert @@ -232261,7 +238477,7 @@ func TestGettersDocPagesFlatten404Response(t *testing.T) { t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten404Response + var obj *DocPagesInsertBlank404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -232274,7 +238490,7 @@ func TestGettersDocPagesFlatten404Response(t *testing.T) { t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten404Response{} + obj := &DocPagesInsertBlank404Response{} var expected string obj.Message = expected @@ -232284,7 +238500,7 @@ func TestGettersDocPagesFlatten404Response(t *testing.T) { t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten404Response + var obj *DocPagesInsertBlank404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -232297,7 +238513,7 @@ func TestGettersDocPagesFlatten404Response(t *testing.T) { t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten404Response{} + obj := &DocPagesInsertBlank404Response{} var expected map[string]any obj.Details = expected @@ -232308,7 +238524,7 @@ func TestGettersDocPagesFlatten404Response(t *testing.T) { t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten404Response{} + obj := &DocPagesInsertBlank404Response{} obj.Details = nil // Act & Assert @@ -232317,7 +238533,7 @@ func TestGettersDocPagesFlatten404Response(t *testing.T) { t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesFlatten404Response + var obj *DocPagesInsertBlank404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -232329,12 +238545,12 @@ func TestGettersDocPagesFlatten404Response(t *testing.T) { } -func TestSettersMarkExplicitDocPagesFlatten404Response(t *testing.T) { +func TestSettersMarkExplicitDocPagesInsertBlank404Response(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten404Response{} - var fernTestValueName DocPagesFlatten404ResponseName + obj := &DocPagesInsertBlank404Response{} + var fernTestValueName DocPagesInsertBlank404ResponseName // Act obj.SetName(fernTestValueName) @@ -232364,8 +238580,8 @@ func TestSettersMarkExplicitDocPagesFlatten404Response(t *testing.T) { t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten404Response{} - var fernTestValueCode DocPagesFlatten404ResponseCode + obj := &DocPagesInsertBlank404Response{} + var fernTestValueCode DocPagesInsertBlank404ResponseCode // Act obj.SetCode(fernTestValueCode) @@ -232395,7 +238611,7 @@ func TestSettersMarkExplicitDocPagesFlatten404Response(t *testing.T) { t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten404Response{} + obj := &DocPagesInsertBlank404Response{} var fernTestValueMessage string // Act @@ -232426,7 +238642,7 @@ func TestSettersMarkExplicitDocPagesFlatten404Response(t *testing.T) { t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesFlatten404Response{} + obj := &DocPagesInsertBlank404Response{} var fernTestValueDetails map[string]any // Act @@ -232456,10 +238672,10 @@ func TestSettersMarkExplicitDocPagesFlatten404Response(t *testing.T) { } -func TestSettersDocPagesInsert200Response(t *testing.T) { +func TestSettersDocPagesMove200Response(t *testing.T) { t.Run("SetMeta", func(t *testing.T) { - obj := &DocPagesInsert200Response{} - var fernTestValueMeta *DocPagesInsert200ResponseMeta + obj := &DocPagesMove200Response{} + var fernTestValueMeta *DocPagesMove200ResponseMeta obj.SetMeta(fernTestValueMeta) assert.Equal(t, fernTestValueMeta, obj.Meta) assert.NotNil(t, obj.explicitFields) @@ -232467,12 +238683,12 @@ func TestSettersDocPagesInsert200Response(t *testing.T) { } -func TestGettersDocPagesInsert200Response(t *testing.T) { +func TestGettersDocPagesMove200Response(t *testing.T) { t.Run("GetMeta", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200Response{} - var expected *DocPagesInsert200ResponseMeta + obj := &DocPagesMove200Response{} + var expected *DocPagesMove200ResponseMeta obj.Meta = expected // Act & Assert @@ -232482,7 +238698,7 @@ func TestGettersDocPagesInsert200Response(t *testing.T) { t.Run("GetMeta_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200Response{} + obj := &DocPagesMove200Response{} obj.Meta = nil // Act & Assert @@ -232491,7 +238707,7 @@ func TestGettersDocPagesInsert200Response(t *testing.T) { t.Run("GetMeta_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert200Response + var obj *DocPagesMove200Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -232503,12 +238719,12 @@ func TestGettersDocPagesInsert200Response(t *testing.T) { } -func TestSettersMarkExplicitDocPagesInsert200Response(t *testing.T) { +func TestSettersMarkExplicitDocPagesMove200Response(t *testing.T) { t.Run("SetMeta_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200Response{} - var fernTestValueMeta *DocPagesInsert200ResponseMeta + obj := &DocPagesMove200Response{} + var fernTestValueMeta *DocPagesMove200ResponseMeta // Act obj.SetMeta(fernTestValueMeta) @@ -232537,18 +238753,18 @@ func TestSettersMarkExplicitDocPagesInsert200Response(t *testing.T) { } -func TestSettersDocPagesInsert200ResponseMeta(t *testing.T) { +func TestSettersDocPagesMove200ResponseMeta(t *testing.T) { t.Run("SetAffectedPages", func(t *testing.T) { - obj := &DocPagesInsert200ResponseMeta{} - var fernTestValueAffectedPages []*DocPagesInsert200ResponseMetaAffectedPagesItem + obj := &DocPagesMove200ResponseMeta{} + var fernTestValueAffectedPages []*DocPagesMove200ResponseMetaAffectedPagesItem obj.SetAffectedPages(fernTestValueAffectedPages) assert.Equal(t, fernTestValueAffectedPages, obj.AffectedPages) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCacheDelta", func(t *testing.T) { - obj := &DocPagesInsert200ResponseMeta{} - var fernTestValueCacheDelta *DocPagesInsert200ResponseMetaCacheDelta + obj := &DocPagesMove200ResponseMeta{} + var fernTestValueCacheDelta *DocPagesMove200ResponseMetaCacheDelta obj.SetCacheDelta(fernTestValueCacheDelta) assert.Equal(t, fernTestValueCacheDelta, obj.CacheDelta) assert.NotNil(t, obj.explicitFields) @@ -232556,12 +238772,12 @@ func TestSettersDocPagesInsert200ResponseMeta(t *testing.T) { } -func TestGettersDocPagesInsert200ResponseMeta(t *testing.T) { +func TestGettersDocPagesMove200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMeta{} - var expected []*DocPagesInsert200ResponseMetaAffectedPagesItem + obj := &DocPagesMove200ResponseMeta{} + var expected []*DocPagesMove200ResponseMetaAffectedPagesItem obj.AffectedPages = expected // Act & Assert @@ -232571,7 +238787,7 @@ func TestGettersDocPagesInsert200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMeta{} + obj := &DocPagesMove200ResponseMeta{} obj.AffectedPages = nil // Act & Assert @@ -232580,7 +238796,7 @@ func TestGettersDocPagesInsert200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert200ResponseMeta + var obj *DocPagesMove200ResponseMeta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -232593,8 +238809,8 @@ func TestGettersDocPagesInsert200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMeta{} - var expected *DocPagesInsert200ResponseMetaCacheDelta + obj := &DocPagesMove200ResponseMeta{} + var expected *DocPagesMove200ResponseMetaCacheDelta obj.CacheDelta = expected // Act & Assert @@ -232604,7 +238820,7 @@ func TestGettersDocPagesInsert200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMeta{} + obj := &DocPagesMove200ResponseMeta{} obj.CacheDelta = nil // Act & Assert @@ -232613,7 +238829,7 @@ func TestGettersDocPagesInsert200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert200ResponseMeta + var obj *DocPagesMove200ResponseMeta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -232625,12 +238841,12 @@ func TestGettersDocPagesInsert200ResponseMeta(t *testing.T) { } -func TestSettersMarkExplicitDocPagesInsert200ResponseMeta(t *testing.T) { +func TestSettersMarkExplicitDocPagesMove200ResponseMeta(t *testing.T) { t.Run("SetAffectedPages_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMeta{} - var fernTestValueAffectedPages []*DocPagesInsert200ResponseMetaAffectedPagesItem + obj := &DocPagesMove200ResponseMeta{} + var fernTestValueAffectedPages []*DocPagesMove200ResponseMetaAffectedPagesItem // Act obj.SetAffectedPages(fernTestValueAffectedPages) @@ -232660,8 +238876,8 @@ func TestSettersMarkExplicitDocPagesInsert200ResponseMeta(t *testing.T) { t.Run("SetCacheDelta_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMeta{} - var fernTestValueCacheDelta *DocPagesInsert200ResponseMetaCacheDelta + obj := &DocPagesMove200ResponseMeta{} + var fernTestValueCacheDelta *DocPagesMove200ResponseMetaCacheDelta // Act obj.SetCacheDelta(fernTestValueCacheDelta) @@ -232690,9 +238906,9 @@ func TestSettersMarkExplicitDocPagesInsert200ResponseMeta(t *testing.T) { } -func TestSettersDocPagesInsert200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestSettersDocPagesMove200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocPagesInsert200ResponseMetaAffectedPagesItem{} + obj := &DocPagesMove200ResponseMetaAffectedPagesItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -232700,16 +238916,16 @@ func TestSettersDocPagesInsert200ResponseMetaAffectedPagesItem(t *testing.T) { }) t.Run("SetRevision", func(t *testing.T) { - obj := &DocPagesInsert200ResponseMetaAffectedPagesItem{} - var fernTestValueRevision *DocPagesInsert200ResponseMetaAffectedPagesItemRevision + obj := &DocPagesMove200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocPagesMove200ResponseMetaAffectedPagesItemRevision obj.SetRevision(fernTestValueRevision) assert.Equal(t, fernTestValueRevision, obj.Revision) assert.NotNil(t, obj.explicitFields) }) t.Run("SetWeakAnnotationState", func(t *testing.T) { - obj := &DocPagesInsert200ResponseMetaAffectedPagesItem{} - var fernTestValueWeakAnnotationState *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocPagesMove200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) assert.Equal(t, fernTestValueWeakAnnotationState, obj.WeakAnnotationState) assert.NotNil(t, obj.explicitFields) @@ -232717,11 +238933,11 @@ func TestSettersDocPagesInsert200ResponseMetaAffectedPagesItem(t *testing.T) { } -func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestGettersDocPagesMove200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaAffectedPagesItem{} + obj := &DocPagesMove200ResponseMetaAffectedPagesItem{} var expected int obj.PageObjectNumber = expected @@ -232731,7 +238947,7 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert200ResponseMetaAffectedPagesItem + var obj *DocPagesMove200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -232744,8 +238960,8 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetRevision", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaAffectedPagesItem{} - var expected *DocPagesInsert200ResponseMetaAffectedPagesItemRevision + obj := &DocPagesMove200ResponseMetaAffectedPagesItem{} + var expected *DocPagesMove200ResponseMetaAffectedPagesItemRevision obj.Revision = expected // Act & Assert @@ -232755,7 +238971,7 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetRevision_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaAffectedPagesItem{} + obj := &DocPagesMove200ResponseMetaAffectedPagesItem{} obj.Revision = nil // Act & Assert @@ -232764,7 +238980,7 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetRevision_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert200ResponseMetaAffectedPagesItem + var obj *DocPagesMove200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -232777,8 +238993,8 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetWeakAnnotationState", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaAffectedPagesItem{} - var expected *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocPagesMove200ResponseMetaAffectedPagesItem{} + var expected *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState obj.WeakAnnotationState = expected // Act & Assert @@ -232788,7 +239004,7 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetWeakAnnotationState_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaAffectedPagesItem{} + obj := &DocPagesMove200ResponseMetaAffectedPagesItem{} obj.WeakAnnotationState = nil // Act & Assert @@ -232797,7 +239013,7 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetWeakAnnotationState_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert200ResponseMetaAffectedPagesItem + var obj *DocPagesMove200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -232809,11 +239025,11 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItem(t *testing.T) { } -func TestSettersMarkExplicitDocPagesInsert200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestSettersMarkExplicitDocPagesMove200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaAffectedPagesItem{} + obj := &DocPagesMove200ResponseMetaAffectedPagesItem{} var fernTestValuePageObjectNumber int // Act @@ -232844,8 +239060,8 @@ func TestSettersMarkExplicitDocPagesInsert200ResponseMetaAffectedPagesItem(t *te t.Run("SetRevision_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaAffectedPagesItem{} - var fernTestValueRevision *DocPagesInsert200ResponseMetaAffectedPagesItemRevision + obj := &DocPagesMove200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocPagesMove200ResponseMetaAffectedPagesItemRevision // Act obj.SetRevision(fernTestValueRevision) @@ -232875,8 +239091,8 @@ func TestSettersMarkExplicitDocPagesInsert200ResponseMetaAffectedPagesItem(t *te t.Run("SetWeakAnnotationState_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaAffectedPagesItem{} - var fernTestValueWeakAnnotationState *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocPagesMove200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState // Act obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) @@ -232905,9 +239121,9 @@ func TestSettersMarkExplicitDocPagesInsert200ResponseMetaAffectedPagesItem(t *te } -func TestSettersDocPagesInsert200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestSettersDocPagesMove200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("SetDocSessionID", func(t *testing.T) { - obj := &DocPagesInsert200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesMove200ResponseMetaAffectedPagesItemRevision{} var fernTestValueDocSessionID string obj.SetDocSessionID(fernTestValueDocSessionID) assert.Equal(t, fernTestValueDocSessionID, obj.DocSessionID) @@ -232915,7 +239131,7 @@ func TestSettersDocPagesInsert200ResponseMetaAffectedPagesItemRevision(t *testin }) t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocPagesInsert200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesMove200ResponseMetaAffectedPagesItemRevision{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -232923,7 +239139,7 @@ func TestSettersDocPagesInsert200ResponseMetaAffectedPagesItemRevision(t *testin }) t.Run("SetGeneration", func(t *testing.T) { - obj := &DocPagesInsert200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesMove200ResponseMetaAffectedPagesItemRevision{} var fernTestValueGeneration int obj.SetGeneration(fernTestValueGeneration) assert.Equal(t, fernTestValueGeneration, obj.Generation) @@ -232932,11 +239148,11 @@ func TestSettersDocPagesInsert200ResponseMetaAffectedPagesItemRevision(t *testin } -func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestGettersDocPagesMove200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("GetDocSessionID", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesMove200ResponseMetaAffectedPagesItemRevision{} var expected string obj.DocSessionID = expected @@ -232946,7 +239162,7 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItemRevision(t *testin t.Run("GetDocSessionID_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert200ResponseMetaAffectedPagesItemRevision + var obj *DocPagesMove200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -232959,7 +239175,7 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItemRevision(t *testin t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesMove200ResponseMetaAffectedPagesItemRevision{} var expected int obj.PageObjectNumber = expected @@ -232969,7 +239185,7 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItemRevision(t *testin t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert200ResponseMetaAffectedPagesItemRevision + var obj *DocPagesMove200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -232982,7 +239198,7 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItemRevision(t *testin t.Run("GetGeneration", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesMove200ResponseMetaAffectedPagesItemRevision{} var expected int obj.Generation = expected @@ -232992,7 +239208,7 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItemRevision(t *testin t.Run("GetGeneration_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert200ResponseMetaAffectedPagesItemRevision + var obj *DocPagesMove200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -233004,11 +239220,11 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItemRevision(t *testin } -func TestSettersMarkExplicitDocPagesInsert200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestSettersMarkExplicitDocPagesMove200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("SetDocSessionID_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesMove200ResponseMetaAffectedPagesItemRevision{} var fernTestValueDocSessionID string // Act @@ -233039,7 +239255,7 @@ func TestSettersMarkExplicitDocPagesInsert200ResponseMetaAffectedPagesItemRevisi t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesMove200ResponseMetaAffectedPagesItemRevision{} var fernTestValuePageObjectNumber int // Act @@ -233070,7 +239286,7 @@ func TestSettersMarkExplicitDocPagesInsert200ResponseMetaAffectedPagesItemRevisi t.Run("SetGeneration_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesMove200ResponseMetaAffectedPagesItemRevision{} var fernTestValueGeneration int // Act @@ -233100,11 +239316,11 @@ func TestSettersMarkExplicitDocPagesInsert200ResponseMetaAffectedPagesItemRevisi } -func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { +func TestGettersDocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState{} var expected string obj.Kind = expected @@ -233114,7 +239330,7 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -233127,8 +239343,8 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetUnknown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState{} - var expected *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + obj := &DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown obj.Unknown = expected // Act & Assert @@ -233138,7 +239354,7 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetUnknown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState{} obj.Unknown = nil // Act & Assert @@ -233147,7 +239363,7 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetUnknown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -233160,8 +239376,8 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetKnown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState{} - var expected *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + obj := &DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown obj.Known = expected // Act & Assert @@ -233171,7 +239387,7 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetKnown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState{} obj.Known = nil // Act & Assert @@ -233180,7 +239396,7 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetKnown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -233192,9 +239408,9 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStat } -func TestSettersDocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestSettersDocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("SetHasAnyWeakAnnotations", func(t *testing.T) { - obj := &DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var fernTestValueHasAnyWeakAnnotations bool obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) assert.Equal(t, fernTestValueHasAnyWeakAnnotations, obj.HasAnyWeakAnnotations) @@ -233203,11 +239419,11 @@ func TestSettersDocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStat } -func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestGettersDocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("GetHasAnyWeakAnnotations", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var expected bool obj.HasAnyWeakAnnotations = expected @@ -233217,7 +239433,7 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetHasAnyWeakAnnotations_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + var obj *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -233229,11 +239445,11 @@ func TestGettersDocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStat } -func TestSettersMarkExplicitDocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestSettersMarkExplicitDocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("SetHasAnyWeakAnnotations_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var fernTestValueHasAnyWeakAnnotations bool // Act @@ -233263,9 +239479,9 @@ func TestSettersMarkExplicitDocPagesInsert200ResponseMetaAffectedPagesItemWeakAn } -func TestSettersDocPagesInsert200ResponseMetaCacheDelta(t *testing.T) { +func TestSettersDocPagesMove200ResponseMetaCacheDelta(t *testing.T) { t.Run("SetPreviousDocVersion", func(t *testing.T) { - obj := &DocPagesInsert200ResponseMetaCacheDelta{} + obj := &DocPagesMove200ResponseMetaCacheDelta{} var fernTestValuePreviousDocVersion int obj.SetPreviousDocVersion(fernTestValuePreviousDocVersion) assert.Equal(t, fernTestValuePreviousDocVersion, obj.PreviousDocVersion) @@ -233273,7 +239489,7 @@ func TestSettersDocPagesInsert200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetDocVersion", func(t *testing.T) { - obj := &DocPagesInsert200ResponseMetaCacheDelta{} + obj := &DocPagesMove200ResponseMetaCacheDelta{} var fernTestValueDocVersion int obj.SetDocVersion(fernTestValueDocVersion) assert.Equal(t, fernTestValueDocVersion, obj.DocVersion) @@ -233281,7 +239497,7 @@ func TestSettersDocPagesInsert200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetAnnotationsVersion", func(t *testing.T) { - obj := &DocPagesInsert200ResponseMetaCacheDelta{} + obj := &DocPagesMove200ResponseMetaCacheDelta{} var fernTestValueAnnotationsVersion *int obj.SetAnnotationsVersion(fernTestValueAnnotationsVersion) assert.Equal(t, fernTestValueAnnotationsVersion, obj.AnnotationsVersion) @@ -233289,8 +239505,8 @@ func TestSettersDocPagesInsert200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetPages", func(t *testing.T) { - obj := &DocPagesInsert200ResponseMetaCacheDelta{} - var fernTestValuePages []*DocPagesInsert200ResponseMetaCacheDeltaPagesItem + obj := &DocPagesMove200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocPagesMove200ResponseMetaCacheDeltaPagesItem obj.SetPages(fernTestValuePages) assert.Equal(t, fernTestValuePages, obj.Pages) assert.NotNil(t, obj.explicitFields) @@ -233298,11 +239514,11 @@ func TestSettersDocPagesInsert200ResponseMetaCacheDelta(t *testing.T) { } -func TestGettersDocPagesInsert200ResponseMetaCacheDelta(t *testing.T) { +func TestGettersDocPagesMove200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPreviousDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaCacheDelta{} + obj := &DocPagesMove200ResponseMetaCacheDelta{} var expected int obj.PreviousDocVersion = expected @@ -233312,7 +239528,7 @@ func TestGettersDocPagesInsert200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPreviousDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert200ResponseMetaCacheDelta + var obj *DocPagesMove200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -233325,7 +239541,7 @@ func TestGettersDocPagesInsert200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaCacheDelta{} + obj := &DocPagesMove200ResponseMetaCacheDelta{} var expected int obj.DocVersion = expected @@ -233335,7 +239551,7 @@ func TestGettersDocPagesInsert200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert200ResponseMetaCacheDelta + var obj *DocPagesMove200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -233348,7 +239564,7 @@ func TestGettersDocPagesInsert200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaCacheDelta{} + obj := &DocPagesMove200ResponseMetaCacheDelta{} var expected *int obj.AnnotationsVersion = expected @@ -233359,7 +239575,7 @@ func TestGettersDocPagesInsert200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaCacheDelta{} + obj := &DocPagesMove200ResponseMetaCacheDelta{} obj.AnnotationsVersion = nil // Act & Assert @@ -233368,7 +239584,7 @@ func TestGettersDocPagesInsert200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert200ResponseMetaCacheDelta + var obj *DocPagesMove200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -233381,8 +239597,8 @@ func TestGettersDocPagesInsert200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaCacheDelta{} - var expected []*DocPagesInsert200ResponseMetaCacheDeltaPagesItem + obj := &DocPagesMove200ResponseMetaCacheDelta{} + var expected []*DocPagesMove200ResponseMetaCacheDeltaPagesItem obj.Pages = expected // Act & Assert @@ -233392,7 +239608,7 @@ func TestGettersDocPagesInsert200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaCacheDelta{} + obj := &DocPagesMove200ResponseMetaCacheDelta{} obj.Pages = nil // Act & Assert @@ -233401,7 +239617,7 @@ func TestGettersDocPagesInsert200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert200ResponseMetaCacheDelta + var obj *DocPagesMove200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -233413,11 +239629,11 @@ func TestGettersDocPagesInsert200ResponseMetaCacheDelta(t *testing.T) { } -func TestSettersMarkExplicitDocPagesInsert200ResponseMetaCacheDelta(t *testing.T) { +func TestSettersMarkExplicitDocPagesMove200ResponseMetaCacheDelta(t *testing.T) { t.Run("SetPreviousDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaCacheDelta{} + obj := &DocPagesMove200ResponseMetaCacheDelta{} var fernTestValuePreviousDocVersion int // Act @@ -233448,7 +239664,7 @@ func TestSettersMarkExplicitDocPagesInsert200ResponseMetaCacheDelta(t *testing.T t.Run("SetDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaCacheDelta{} + obj := &DocPagesMove200ResponseMetaCacheDelta{} var fernTestValueDocVersion int // Act @@ -233479,7 +239695,7 @@ func TestSettersMarkExplicitDocPagesInsert200ResponseMetaCacheDelta(t *testing.T t.Run("SetAnnotationsVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaCacheDelta{} + obj := &DocPagesMove200ResponseMetaCacheDelta{} var fernTestValueAnnotationsVersion *int // Act @@ -233510,8 +239726,8 @@ func TestSettersMarkExplicitDocPagesInsert200ResponseMetaCacheDelta(t *testing.T t.Run("SetPages_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaCacheDelta{} - var fernTestValuePages []*DocPagesInsert200ResponseMetaCacheDeltaPagesItem + obj := &DocPagesMove200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocPagesMove200ResponseMetaCacheDeltaPagesItem // Act obj.SetPages(fernTestValuePages) @@ -233540,9 +239756,9 @@ func TestSettersMarkExplicitDocPagesInsert200ResponseMetaCacheDelta(t *testing.T } -func TestSettersDocPagesInsert200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestSettersDocPagesMove200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -233550,8 +239766,8 @@ func TestSettersDocPagesInsert200ResponseMetaCacheDeltaPagesItem(t *testing.T) { }) t.Run("SetCache", func(t *testing.T) { - obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItem{} - var fernTestValueCache *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache + obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache obj.SetCache(fernTestValueCache) assert.Equal(t, fernTestValueCache, obj.Cache) assert.NotNil(t, obj.explicitFields) @@ -233559,11 +239775,11 @@ func TestSettersDocPagesInsert200ResponseMetaCacheDeltaPagesItem(t *testing.T) { } -func TestGettersDocPagesInsert200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestGettersDocPagesMove200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItem{} var expected int obj.PageObjectNumber = expected @@ -233573,7 +239789,7 @@ func TestGettersDocPagesInsert200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert200ResponseMetaCacheDeltaPagesItem + var obj *DocPagesMove200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -233586,8 +239802,8 @@ func TestGettersDocPagesInsert200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetCache", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItem{} - var expected *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache + obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItem{} + var expected *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache obj.Cache = expected // Act & Assert @@ -233597,7 +239813,7 @@ func TestGettersDocPagesInsert200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetCache_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItem{} obj.Cache = nil // Act & Assert @@ -233606,7 +239822,7 @@ func TestGettersDocPagesInsert200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetCache_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert200ResponseMetaCacheDeltaPagesItem + var obj *DocPagesMove200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -233618,11 +239834,11 @@ func TestGettersDocPagesInsert200ResponseMetaCacheDeltaPagesItem(t *testing.T) { } -func TestSettersMarkExplicitDocPagesInsert200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestSettersMarkExplicitDocPagesMove200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItem{} var fernTestValuePageObjectNumber int // Act @@ -233653,8 +239869,8 @@ func TestSettersMarkExplicitDocPagesInsert200ResponseMetaCacheDeltaPagesItem(t * t.Run("SetCache_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItem{} - var fernTestValueCache *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache + obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache // Act obj.SetCache(fernTestValueCache) @@ -233683,9 +239899,9 @@ func TestSettersMarkExplicitDocPagesInsert200ResponseMetaCacheDeltaPagesItem(t * } -func TestSettersDocPagesInsert200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { +func TestSettersDocPagesMove200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { t.Run("SetContentVersion", func(t *testing.T) { - obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueContentVersion int obj.SetContentVersion(fernTestValueContentVersion) assert.Equal(t, fernTestValueContentVersion, obj.ContentVersion) @@ -233693,7 +239909,7 @@ func TestSettersDocPagesInsert200ResponseMetaCacheDeltaPagesItemCache(t *testing }) t.Run("SetAnnotationVersion", func(t *testing.T) { - obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueAnnotationVersion int obj.SetAnnotationVersion(fernTestValueAnnotationVersion) assert.Equal(t, fernTestValueAnnotationVersion, obj.AnnotationVersion) @@ -233702,11 +239918,11 @@ func TestSettersDocPagesInsert200ResponseMetaCacheDeltaPagesItemCache(t *testing } -func TestGettersDocPagesInsert200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { +func TestGettersDocPagesMove200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { t.Run("GetContentVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItemCache{} var expected int obj.ContentVersion = expected @@ -233716,7 +239932,7 @@ func TestGettersDocPagesInsert200ResponseMetaCacheDeltaPagesItemCache(t *testing t.Run("GetContentVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache + var obj *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -233729,7 +239945,7 @@ func TestGettersDocPagesInsert200ResponseMetaCacheDeltaPagesItemCache(t *testing t.Run("GetAnnotationVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItemCache{} var expected int obj.AnnotationVersion = expected @@ -233739,7 +239955,7 @@ func TestGettersDocPagesInsert200ResponseMetaCacheDeltaPagesItemCache(t *testing t.Run("GetAnnotationVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache + var obj *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -233751,11 +239967,11 @@ func TestGettersDocPagesInsert200ResponseMetaCacheDeltaPagesItemCache(t *testing } -func TestSettersMarkExplicitDocPagesInsert200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { +func TestSettersMarkExplicitDocPagesMove200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { t.Run("SetContentVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueContentVersion int // Act @@ -233786,7 +240002,7 @@ func TestSettersMarkExplicitDocPagesInsert200ResponseMetaCacheDeltaPagesItemCach t.Run("SetAnnotationVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueAnnotationVersion int // Act @@ -233816,25 +240032,25 @@ func TestSettersMarkExplicitDocPagesInsert200ResponseMetaCacheDeltaPagesItemCach } -func TestSettersDocPagesInsert400Response(t *testing.T) { +func TestSettersDocPagesMove400Response(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocPagesInsert400Response{} - var fernTestValueName DocPagesInsert400ResponseName + obj := &DocPagesMove400Response{} + var fernTestValueName DocPagesMove400ResponseName obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCode", func(t *testing.T) { - obj := &DocPagesInsert400Response{} - var fernTestValueCode DocPagesInsert400ResponseCode + obj := &DocPagesMove400Response{} + var fernTestValueCode DocPagesMove400ResponseCode obj.SetCode(fernTestValueCode) assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) t.Run("SetMessage", func(t *testing.T) { - obj := &DocPagesInsert400Response{} + obj := &DocPagesMove400Response{} var fernTestValueMessage string obj.SetMessage(fernTestValueMessage) assert.Equal(t, fernTestValueMessage, obj.Message) @@ -233842,7 +240058,7 @@ func TestSettersDocPagesInsert400Response(t *testing.T) { }) t.Run("SetDetails", func(t *testing.T) { - obj := &DocPagesInsert400Response{} + obj := &DocPagesMove400Response{} var fernTestValueDetails map[string]any obj.SetDetails(fernTestValueDetails) assert.Equal(t, fernTestValueDetails, obj.Details) @@ -233851,12 +240067,12 @@ func TestSettersDocPagesInsert400Response(t *testing.T) { } -func TestGettersDocPagesInsert400Response(t *testing.T) { +func TestGettersDocPagesMove400Response(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert400Response{} - var expected DocPagesInsert400ResponseName + obj := &DocPagesMove400Response{} + var expected DocPagesMove400ResponseName obj.Name = expected // Act & Assert @@ -233865,7 +240081,7 @@ func TestGettersDocPagesInsert400Response(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert400Response + var obj *DocPagesMove400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -233878,8 +240094,8 @@ func TestGettersDocPagesInsert400Response(t *testing.T) { t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert400Response{} - var expected DocPagesInsert400ResponseCode + obj := &DocPagesMove400Response{} + var expected DocPagesMove400ResponseCode obj.Code = expected // Act & Assert @@ -233888,7 +240104,7 @@ func TestGettersDocPagesInsert400Response(t *testing.T) { t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert400Response + var obj *DocPagesMove400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -233901,7 +240117,7 @@ func TestGettersDocPagesInsert400Response(t *testing.T) { t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert400Response{} + obj := &DocPagesMove400Response{} var expected string obj.Message = expected @@ -233911,7 +240127,7 @@ func TestGettersDocPagesInsert400Response(t *testing.T) { t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert400Response + var obj *DocPagesMove400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -233924,7 +240140,7 @@ func TestGettersDocPagesInsert400Response(t *testing.T) { t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert400Response{} + obj := &DocPagesMove400Response{} var expected map[string]any obj.Details = expected @@ -233935,7 +240151,7 @@ func TestGettersDocPagesInsert400Response(t *testing.T) { t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert400Response{} + obj := &DocPagesMove400Response{} obj.Details = nil // Act & Assert @@ -233944,7 +240160,7 @@ func TestGettersDocPagesInsert400Response(t *testing.T) { t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert400Response + var obj *DocPagesMove400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -233956,12 +240172,12 @@ func TestGettersDocPagesInsert400Response(t *testing.T) { } -func TestSettersMarkExplicitDocPagesInsert400Response(t *testing.T) { +func TestSettersMarkExplicitDocPagesMove400Response(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert400Response{} - var fernTestValueName DocPagesInsert400ResponseName + obj := &DocPagesMove400Response{} + var fernTestValueName DocPagesMove400ResponseName // Act obj.SetName(fernTestValueName) @@ -233991,8 +240207,8 @@ func TestSettersMarkExplicitDocPagesInsert400Response(t *testing.T) { t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert400Response{} - var fernTestValueCode DocPagesInsert400ResponseCode + obj := &DocPagesMove400Response{} + var fernTestValueCode DocPagesMove400ResponseCode // Act obj.SetCode(fernTestValueCode) @@ -234022,7 +240238,7 @@ func TestSettersMarkExplicitDocPagesInsert400Response(t *testing.T) { t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert400Response{} + obj := &DocPagesMove400Response{} var fernTestValueMessage string // Act @@ -234053,7 +240269,7 @@ func TestSettersMarkExplicitDocPagesInsert400Response(t *testing.T) { t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert400Response{} + obj := &DocPagesMove400Response{} var fernTestValueDetails map[string]any // Act @@ -234083,25 +240299,25 @@ func TestSettersMarkExplicitDocPagesInsert400Response(t *testing.T) { } -func TestSettersDocPagesInsert404Response(t *testing.T) { +func TestSettersDocPagesMove404Response(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocPagesInsert404Response{} - var fernTestValueName DocPagesInsert404ResponseName + obj := &DocPagesMove404Response{} + var fernTestValueName DocPagesMove404ResponseName obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCode", func(t *testing.T) { - obj := &DocPagesInsert404Response{} - var fernTestValueCode DocPagesInsert404ResponseCode + obj := &DocPagesMove404Response{} + var fernTestValueCode DocPagesMove404ResponseCode obj.SetCode(fernTestValueCode) assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) t.Run("SetMessage", func(t *testing.T) { - obj := &DocPagesInsert404Response{} + obj := &DocPagesMove404Response{} var fernTestValueMessage string obj.SetMessage(fernTestValueMessage) assert.Equal(t, fernTestValueMessage, obj.Message) @@ -234109,7 +240325,7 @@ func TestSettersDocPagesInsert404Response(t *testing.T) { }) t.Run("SetDetails", func(t *testing.T) { - obj := &DocPagesInsert404Response{} + obj := &DocPagesMove404Response{} var fernTestValueDetails map[string]any obj.SetDetails(fernTestValueDetails) assert.Equal(t, fernTestValueDetails, obj.Details) @@ -234118,12 +240334,12 @@ func TestSettersDocPagesInsert404Response(t *testing.T) { } -func TestGettersDocPagesInsert404Response(t *testing.T) { +func TestGettersDocPagesMove404Response(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert404Response{} - var expected DocPagesInsert404ResponseName + obj := &DocPagesMove404Response{} + var expected DocPagesMove404ResponseName obj.Name = expected // Act & Assert @@ -234132,7 +240348,7 @@ func TestGettersDocPagesInsert404Response(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert404Response + var obj *DocPagesMove404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -234145,8 +240361,8 @@ func TestGettersDocPagesInsert404Response(t *testing.T) { t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert404Response{} - var expected DocPagesInsert404ResponseCode + obj := &DocPagesMove404Response{} + var expected DocPagesMove404ResponseCode obj.Code = expected // Act & Assert @@ -234155,7 +240371,7 @@ func TestGettersDocPagesInsert404Response(t *testing.T) { t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert404Response + var obj *DocPagesMove404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -234168,7 +240384,7 @@ func TestGettersDocPagesInsert404Response(t *testing.T) { t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert404Response{} + obj := &DocPagesMove404Response{} var expected string obj.Message = expected @@ -234178,7 +240394,7 @@ func TestGettersDocPagesInsert404Response(t *testing.T) { t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert404Response + var obj *DocPagesMove404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -234191,7 +240407,7 @@ func TestGettersDocPagesInsert404Response(t *testing.T) { t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert404Response{} + obj := &DocPagesMove404Response{} var expected map[string]any obj.Details = expected @@ -234202,7 +240418,7 @@ func TestGettersDocPagesInsert404Response(t *testing.T) { t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert404Response{} + obj := &DocPagesMove404Response{} obj.Details = nil // Act & Assert @@ -234211,7 +240427,7 @@ func TestGettersDocPagesInsert404Response(t *testing.T) { t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsert404Response + var obj *DocPagesMove404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -234223,12 +240439,12 @@ func TestGettersDocPagesInsert404Response(t *testing.T) { } -func TestSettersMarkExplicitDocPagesInsert404Response(t *testing.T) { +func TestSettersMarkExplicitDocPagesMove404Response(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert404Response{} - var fernTestValueName DocPagesInsert404ResponseName + obj := &DocPagesMove404Response{} + var fernTestValueName DocPagesMove404ResponseName // Act obj.SetName(fernTestValueName) @@ -234258,8 +240474,8 @@ func TestSettersMarkExplicitDocPagesInsert404Response(t *testing.T) { t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert404Response{} - var fernTestValueCode DocPagesInsert404ResponseCode + obj := &DocPagesMove404Response{} + var fernTestValueCode DocPagesMove404ResponseCode // Act obj.SetCode(fernTestValueCode) @@ -234289,7 +240505,7 @@ func TestSettersMarkExplicitDocPagesInsert404Response(t *testing.T) { t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert404Response{} + obj := &DocPagesMove404Response{} var fernTestValueMessage string // Act @@ -234320,7 +240536,7 @@ func TestSettersMarkExplicitDocPagesInsert404Response(t *testing.T) { t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsert404Response{} + obj := &DocPagesMove404Response{} var fernTestValueDetails map[string]any // Act @@ -234350,10 +240566,10 @@ func TestSettersMarkExplicitDocPagesInsert404Response(t *testing.T) { } -func TestSettersDocPagesInsertBlank200Response(t *testing.T) { +func TestSettersDocPagesRemoveName200Response(t *testing.T) { t.Run("SetMeta", func(t *testing.T) { - obj := &DocPagesInsertBlank200Response{} - var fernTestValueMeta *DocPagesInsertBlank200ResponseMeta + obj := &DocPagesRemoveName200Response{} + var fernTestValueMeta *DocPagesRemoveName200ResponseMeta obj.SetMeta(fernTestValueMeta) assert.Equal(t, fernTestValueMeta, obj.Meta) assert.NotNil(t, obj.explicitFields) @@ -234361,12 +240577,12 @@ func TestSettersDocPagesInsertBlank200Response(t *testing.T) { } -func TestGettersDocPagesInsertBlank200Response(t *testing.T) { +func TestGettersDocPagesRemoveName200Response(t *testing.T) { t.Run("GetMeta", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200Response{} - var expected *DocPagesInsertBlank200ResponseMeta + obj := &DocPagesRemoveName200Response{} + var expected *DocPagesRemoveName200ResponseMeta obj.Meta = expected // Act & Assert @@ -234376,7 +240592,7 @@ func TestGettersDocPagesInsertBlank200Response(t *testing.T) { t.Run("GetMeta_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200Response{} + obj := &DocPagesRemoveName200Response{} obj.Meta = nil // Act & Assert @@ -234385,7 +240601,7 @@ func TestGettersDocPagesInsertBlank200Response(t *testing.T) { t.Run("GetMeta_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank200Response + var obj *DocPagesRemoveName200Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -234397,12 +240613,12 @@ func TestGettersDocPagesInsertBlank200Response(t *testing.T) { } -func TestSettersMarkExplicitDocPagesInsertBlank200Response(t *testing.T) { +func TestSettersMarkExplicitDocPagesRemoveName200Response(t *testing.T) { t.Run("SetMeta_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200Response{} - var fernTestValueMeta *DocPagesInsertBlank200ResponseMeta + obj := &DocPagesRemoveName200Response{} + var fernTestValueMeta *DocPagesRemoveName200ResponseMeta // Act obj.SetMeta(fernTestValueMeta) @@ -234431,18 +240647,18 @@ func TestSettersMarkExplicitDocPagesInsertBlank200Response(t *testing.T) { } -func TestSettersDocPagesInsertBlank200ResponseMeta(t *testing.T) { +func TestSettersDocPagesRemoveName200ResponseMeta(t *testing.T) { t.Run("SetAffectedPages", func(t *testing.T) { - obj := &DocPagesInsertBlank200ResponseMeta{} - var fernTestValueAffectedPages []*DocPagesInsertBlank200ResponseMetaAffectedPagesItem + obj := &DocPagesRemoveName200ResponseMeta{} + var fernTestValueAffectedPages []*DocPagesRemoveName200ResponseMetaAffectedPagesItem obj.SetAffectedPages(fernTestValueAffectedPages) assert.Equal(t, fernTestValueAffectedPages, obj.AffectedPages) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCacheDelta", func(t *testing.T) { - obj := &DocPagesInsertBlank200ResponseMeta{} - var fernTestValueCacheDelta *DocPagesInsertBlank200ResponseMetaCacheDelta + obj := &DocPagesRemoveName200ResponseMeta{} + var fernTestValueCacheDelta *DocPagesRemoveName200ResponseMetaCacheDelta obj.SetCacheDelta(fernTestValueCacheDelta) assert.Equal(t, fernTestValueCacheDelta, obj.CacheDelta) assert.NotNil(t, obj.explicitFields) @@ -234450,12 +240666,12 @@ func TestSettersDocPagesInsertBlank200ResponseMeta(t *testing.T) { } -func TestGettersDocPagesInsertBlank200ResponseMeta(t *testing.T) { +func TestGettersDocPagesRemoveName200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMeta{} - var expected []*DocPagesInsertBlank200ResponseMetaAffectedPagesItem + obj := &DocPagesRemoveName200ResponseMeta{} + var expected []*DocPagesRemoveName200ResponseMetaAffectedPagesItem obj.AffectedPages = expected // Act & Assert @@ -234465,7 +240681,7 @@ func TestGettersDocPagesInsertBlank200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMeta{} + obj := &DocPagesRemoveName200ResponseMeta{} obj.AffectedPages = nil // Act & Assert @@ -234474,7 +240690,7 @@ func TestGettersDocPagesInsertBlank200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank200ResponseMeta + var obj *DocPagesRemoveName200ResponseMeta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -234487,8 +240703,8 @@ func TestGettersDocPagesInsertBlank200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMeta{} - var expected *DocPagesInsertBlank200ResponseMetaCacheDelta + obj := &DocPagesRemoveName200ResponseMeta{} + var expected *DocPagesRemoveName200ResponseMetaCacheDelta obj.CacheDelta = expected // Act & Assert @@ -234498,7 +240714,7 @@ func TestGettersDocPagesInsertBlank200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMeta{} + obj := &DocPagesRemoveName200ResponseMeta{} obj.CacheDelta = nil // Act & Assert @@ -234507,7 +240723,7 @@ func TestGettersDocPagesInsertBlank200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank200ResponseMeta + var obj *DocPagesRemoveName200ResponseMeta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -234519,12 +240735,12 @@ func TestGettersDocPagesInsertBlank200ResponseMeta(t *testing.T) { } -func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMeta(t *testing.T) { +func TestSettersMarkExplicitDocPagesRemoveName200ResponseMeta(t *testing.T) { t.Run("SetAffectedPages_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMeta{} - var fernTestValueAffectedPages []*DocPagesInsertBlank200ResponseMetaAffectedPagesItem + obj := &DocPagesRemoveName200ResponseMeta{} + var fernTestValueAffectedPages []*DocPagesRemoveName200ResponseMetaAffectedPagesItem // Act obj.SetAffectedPages(fernTestValueAffectedPages) @@ -234554,8 +240770,8 @@ func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMeta(t *testing.T) { t.Run("SetCacheDelta_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMeta{} - var fernTestValueCacheDelta *DocPagesInsertBlank200ResponseMetaCacheDelta + obj := &DocPagesRemoveName200ResponseMeta{} + var fernTestValueCacheDelta *DocPagesRemoveName200ResponseMetaCacheDelta // Act obj.SetCacheDelta(fernTestValueCacheDelta) @@ -234584,9 +240800,9 @@ func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMeta(t *testing.T) { } -func TestSettersDocPagesInsertBlank200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestSettersDocPagesRemoveName200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItem{} + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -234594,16 +240810,16 @@ func TestSettersDocPagesInsertBlank200ResponseMetaAffectedPagesItem(t *testing.T }) t.Run("SetRevision", func(t *testing.T) { - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItem{} - var fernTestValueRevision *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision obj.SetRevision(fernTestValueRevision) assert.Equal(t, fernTestValueRevision, obj.Revision) assert.NotNil(t, obj.explicitFields) }) t.Run("SetWeakAnnotationState", func(t *testing.T) { - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItem{} - var fernTestValueWeakAnnotationState *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) assert.Equal(t, fernTestValueWeakAnnotationState, obj.WeakAnnotationState) assert.NotNil(t, obj.explicitFields) @@ -234611,11 +240827,11 @@ func TestSettersDocPagesInsertBlank200ResponseMetaAffectedPagesItem(t *testing.T } -func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestGettersDocPagesRemoveName200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItem{} + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItem{} var expected int obj.PageObjectNumber = expected @@ -234625,7 +240841,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItem(t *testing.T t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank200ResponseMetaAffectedPagesItem + var obj *DocPagesRemoveName200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -234638,8 +240854,8 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItem(t *testing.T t.Run("GetRevision", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItem{} - var expected *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItem{} + var expected *DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision obj.Revision = expected // Act & Assert @@ -234649,7 +240865,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItem(t *testing.T t.Run("GetRevision_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItem{} + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItem{} obj.Revision = nil // Act & Assert @@ -234658,7 +240874,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItem(t *testing.T t.Run("GetRevision_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank200ResponseMetaAffectedPagesItem + var obj *DocPagesRemoveName200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -234671,8 +240887,8 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItem(t *testing.T t.Run("GetWeakAnnotationState", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItem{} - var expected *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItem{} + var expected *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState obj.WeakAnnotationState = expected // Act & Assert @@ -234682,7 +240898,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItem(t *testing.T t.Run("GetWeakAnnotationState_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItem{} + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItem{} obj.WeakAnnotationState = nil // Act & Assert @@ -234691,7 +240907,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItem(t *testing.T t.Run("GetWeakAnnotationState_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank200ResponseMetaAffectedPagesItem + var obj *DocPagesRemoveName200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -234703,11 +240919,11 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItem(t *testing.T } -func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestSettersMarkExplicitDocPagesRemoveName200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItem{} + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItem{} var fernTestValuePageObjectNumber int // Act @@ -234738,8 +240954,8 @@ func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaAffectedPagesItem( t.Run("SetRevision_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItem{} - var fernTestValueRevision *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision // Act obj.SetRevision(fernTestValueRevision) @@ -234769,8 +240985,8 @@ func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaAffectedPagesItem( t.Run("SetWeakAnnotationState_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItem{} - var fernTestValueWeakAnnotationState *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState // Act obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) @@ -234799,9 +241015,9 @@ func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaAffectedPagesItem( } -func TestSettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestSettersDocPagesRemoveName200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("SetDocSessionID", func(t *testing.T) { - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision{} var fernTestValueDocSessionID string obj.SetDocSessionID(fernTestValueDocSessionID) assert.Equal(t, fernTestValueDocSessionID, obj.DocSessionID) @@ -234809,7 +241025,7 @@ func TestSettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision(t *t }) t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -234817,7 +241033,7 @@ func TestSettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision(t *t }) t.Run("SetGeneration", func(t *testing.T) { - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision{} var fernTestValueGeneration int obj.SetGeneration(fernTestValueGeneration) assert.Equal(t, fernTestValueGeneration, obj.Generation) @@ -234826,11 +241042,11 @@ func TestSettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision(t *t } -func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestGettersDocPagesRemoveName200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("GetDocSessionID", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision{} var expected string obj.DocSessionID = expected @@ -234840,7 +241056,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision(t *t t.Run("GetDocSessionID_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision + var obj *DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -234853,7 +241069,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision(t *t t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision{} var expected int obj.PageObjectNumber = expected @@ -234863,7 +241079,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision(t *t t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision + var obj *DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -234876,7 +241092,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision(t *t t.Run("GetGeneration", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision{} var expected int obj.Generation = expected @@ -234886,7 +241102,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision(t *t t.Run("GetGeneration_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision + var obj *DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -234898,11 +241114,11 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision(t *t } -func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestSettersMarkExplicitDocPagesRemoveName200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("SetDocSessionID_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision{} var fernTestValueDocSessionID string // Act @@ -234933,7 +241149,7 @@ func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaAffectedPagesItemR t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision{} var fernTestValuePageObjectNumber int // Act @@ -234964,7 +241180,7 @@ func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaAffectedPagesItemR t.Run("SetGeneration_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision{} var fernTestValueGeneration int // Act @@ -234994,11 +241210,11 @@ func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaAffectedPagesItemR } -func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { +func TestGettersDocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState{} var expected string obj.Kind = expected @@ -235008,7 +241224,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotatio t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -235021,8 +241237,8 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotatio t.Run("GetUnknown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState{} - var expected *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown obj.Unknown = expected // Act & Assert @@ -235032,7 +241248,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotatio t.Run("GetUnknown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState{} obj.Unknown = nil // Act & Assert @@ -235041,7 +241257,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotatio t.Run("GetUnknown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -235054,8 +241270,8 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotatio t.Run("GetKnown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState{} - var expected *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown obj.Known = expected // Act & Assert @@ -235065,7 +241281,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotatio t.Run("GetKnown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState{} obj.Known = nil // Act & Assert @@ -235074,7 +241290,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotatio t.Run("GetKnown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -235086,9 +241302,9 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotatio } -func TestSettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestSettersDocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("SetHasAnyWeakAnnotations", func(t *testing.T) { - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var fernTestValueHasAnyWeakAnnotations bool obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) assert.Equal(t, fernTestValueHasAnyWeakAnnotations, obj.HasAnyWeakAnnotations) @@ -235097,11 +241313,11 @@ func TestSettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotatio } -func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestGettersDocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("GetHasAnyWeakAnnotations", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var expected bool obj.HasAnyWeakAnnotations = expected @@ -235111,7 +241327,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotatio t.Run("GetHasAnyWeakAnnotations_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + var obj *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -235123,11 +241339,11 @@ func TestGettersDocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotatio } -func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestSettersMarkExplicitDocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("SetHasAnyWeakAnnotations_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var fernTestValueHasAnyWeakAnnotations bool // Act @@ -235157,9 +241373,9 @@ func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaAffectedPagesItemW } -func TestSettersDocPagesInsertBlank200ResponseMetaCacheDelta(t *testing.T) { +func TestSettersDocPagesRemoveName200ResponseMetaCacheDelta(t *testing.T) { t.Run("SetPreviousDocVersion", func(t *testing.T) { - obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} + obj := &DocPagesRemoveName200ResponseMetaCacheDelta{} var fernTestValuePreviousDocVersion int obj.SetPreviousDocVersion(fernTestValuePreviousDocVersion) assert.Equal(t, fernTestValuePreviousDocVersion, obj.PreviousDocVersion) @@ -235167,7 +241383,7 @@ func TestSettersDocPagesInsertBlank200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetDocVersion", func(t *testing.T) { - obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} + obj := &DocPagesRemoveName200ResponseMetaCacheDelta{} var fernTestValueDocVersion int obj.SetDocVersion(fernTestValueDocVersion) assert.Equal(t, fernTestValueDocVersion, obj.DocVersion) @@ -235175,7 +241391,7 @@ func TestSettersDocPagesInsertBlank200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetAnnotationsVersion", func(t *testing.T) { - obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} + obj := &DocPagesRemoveName200ResponseMetaCacheDelta{} var fernTestValueAnnotationsVersion *int obj.SetAnnotationsVersion(fernTestValueAnnotationsVersion) assert.Equal(t, fernTestValueAnnotationsVersion, obj.AnnotationsVersion) @@ -235183,8 +241399,8 @@ func TestSettersDocPagesInsertBlank200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetPages", func(t *testing.T) { - obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} - var fernTestValuePages []*DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem + obj := &DocPagesRemoveName200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem obj.SetPages(fernTestValuePages) assert.Equal(t, fernTestValuePages, obj.Pages) assert.NotNil(t, obj.explicitFields) @@ -235192,11 +241408,11 @@ func TestSettersDocPagesInsertBlank200ResponseMetaCacheDelta(t *testing.T) { } -func TestGettersDocPagesInsertBlank200ResponseMetaCacheDelta(t *testing.T) { +func TestGettersDocPagesRemoveName200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPreviousDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} + obj := &DocPagesRemoveName200ResponseMetaCacheDelta{} var expected int obj.PreviousDocVersion = expected @@ -235206,7 +241422,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPreviousDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank200ResponseMetaCacheDelta + var obj *DocPagesRemoveName200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -235219,7 +241435,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} + obj := &DocPagesRemoveName200ResponseMetaCacheDelta{} var expected int obj.DocVersion = expected @@ -235229,7 +241445,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank200ResponseMetaCacheDelta + var obj *DocPagesRemoveName200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -235242,7 +241458,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} + obj := &DocPagesRemoveName200ResponseMetaCacheDelta{} var expected *int obj.AnnotationsVersion = expected @@ -235253,7 +241469,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} + obj := &DocPagesRemoveName200ResponseMetaCacheDelta{} obj.AnnotationsVersion = nil // Act & Assert @@ -235262,7 +241478,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank200ResponseMetaCacheDelta + var obj *DocPagesRemoveName200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -235275,8 +241491,8 @@ func TestGettersDocPagesInsertBlank200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} - var expected []*DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem + obj := &DocPagesRemoveName200ResponseMetaCacheDelta{} + var expected []*DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem obj.Pages = expected // Act & Assert @@ -235286,7 +241502,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} + obj := &DocPagesRemoveName200ResponseMetaCacheDelta{} obj.Pages = nil // Act & Assert @@ -235295,7 +241511,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank200ResponseMetaCacheDelta + var obj *DocPagesRemoveName200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -235307,11 +241523,11 @@ func TestGettersDocPagesInsertBlank200ResponseMetaCacheDelta(t *testing.T) { } -func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaCacheDelta(t *testing.T) { +func TestSettersMarkExplicitDocPagesRemoveName200ResponseMetaCacheDelta(t *testing.T) { t.Run("SetPreviousDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} + obj := &DocPagesRemoveName200ResponseMetaCacheDelta{} var fernTestValuePreviousDocVersion int // Act @@ -235342,7 +241558,7 @@ func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaCacheDelta(t *test t.Run("SetDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} + obj := &DocPagesRemoveName200ResponseMetaCacheDelta{} var fernTestValueDocVersion int // Act @@ -235373,7 +241589,7 @@ func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaCacheDelta(t *test t.Run("SetAnnotationsVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} + obj := &DocPagesRemoveName200ResponseMetaCacheDelta{} var fernTestValueAnnotationsVersion *int // Act @@ -235404,8 +241620,8 @@ func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaCacheDelta(t *test t.Run("SetPages_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaCacheDelta{} - var fernTestValuePages []*DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem + obj := &DocPagesRemoveName200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem // Act obj.SetPages(fernTestValuePages) @@ -235434,9 +241650,9 @@ func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaCacheDelta(t *test } -func TestSettersDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestSettersDocPagesRemoveName200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -235444,8 +241660,8 @@ func TestSettersDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem(t *testing }) t.Run("SetCache", func(t *testing.T) { - obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem{} - var fernTestValueCache *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache + obj := &DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache obj.SetCache(fernTestValueCache) assert.Equal(t, fernTestValueCache, obj.Cache) assert.NotNil(t, obj.explicitFields) @@ -235453,11 +241669,11 @@ func TestSettersDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem(t *testing } -func TestGettersDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestGettersDocPagesRemoveName200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem{} var expected int obj.PageObjectNumber = expected @@ -235467,7 +241683,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem(t *testing t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem + var obj *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -235480,8 +241696,8 @@ func TestGettersDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem(t *testing t.Run("GetCache", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem{} - var expected *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache + obj := &DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem{} + var expected *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache obj.Cache = expected // Act & Assert @@ -235491,7 +241707,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem(t *testing t.Run("GetCache_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem{} obj.Cache = nil // Act & Assert @@ -235500,7 +241716,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem(t *testing t.Run("GetCache_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem + var obj *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -235512,11 +241728,11 @@ func TestGettersDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem(t *testing } -func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestSettersMarkExplicitDocPagesRemoveName200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem{} var fernTestValuePageObjectNumber int // Act @@ -235547,8 +241763,8 @@ func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaCacheDeltaPagesIte t.Run("SetCache_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItem{} - var fernTestValueCache *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache + obj := &DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache // Act obj.SetCache(fernTestValueCache) @@ -235577,9 +241793,9 @@ func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaCacheDeltaPagesIte } -func TestSettersDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { +func TestSettersDocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { t.Run("SetContentVersion", func(t *testing.T) { - obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueContentVersion int obj.SetContentVersion(fernTestValueContentVersion) assert.Equal(t, fernTestValueContentVersion, obj.ContentVersion) @@ -235587,7 +241803,7 @@ func TestSettersDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache(t *te }) t.Run("SetAnnotationVersion", func(t *testing.T) { - obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueAnnotationVersion int obj.SetAnnotationVersion(fernTestValueAnnotationVersion) assert.Equal(t, fernTestValueAnnotationVersion, obj.AnnotationVersion) @@ -235596,11 +241812,11 @@ func TestSettersDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache(t *te } -func TestGettersDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { +func TestGettersDocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { t.Run("GetContentVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache{} var expected int obj.ContentVersion = expected @@ -235610,7 +241826,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache(t *te t.Run("GetContentVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache + var obj *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -235623,7 +241839,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache(t *te t.Run("GetAnnotationVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache{} var expected int obj.AnnotationVersion = expected @@ -235633,7 +241849,7 @@ func TestGettersDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache(t *te t.Run("GetAnnotationVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache + var obj *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -235645,11 +241861,11 @@ func TestGettersDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache(t *te } -func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { +func TestSettersMarkExplicitDocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { t.Run("SetContentVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueContentVersion int // Act @@ -235680,7 +241896,7 @@ func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaCacheDeltaPagesIte t.Run("SetAnnotationVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueAnnotationVersion int // Act @@ -235710,25 +241926,25 @@ func TestSettersMarkExplicitDocPagesInsertBlank200ResponseMetaCacheDeltaPagesIte } -func TestSettersDocPagesInsertBlank400Response(t *testing.T) { +func TestSettersDocPagesRemoveName400Response(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocPagesInsertBlank400Response{} - var fernTestValueName DocPagesInsertBlank400ResponseName + obj := &DocPagesRemoveName400Response{} + var fernTestValueName DocPagesRemoveName400ResponseName obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCode", func(t *testing.T) { - obj := &DocPagesInsertBlank400Response{} - var fernTestValueCode DocPagesInsertBlank400ResponseCode + obj := &DocPagesRemoveName400Response{} + var fernTestValueCode DocPagesRemoveName400ResponseCode obj.SetCode(fernTestValueCode) assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) t.Run("SetMessage", func(t *testing.T) { - obj := &DocPagesInsertBlank400Response{} + obj := &DocPagesRemoveName400Response{} var fernTestValueMessage string obj.SetMessage(fernTestValueMessage) assert.Equal(t, fernTestValueMessage, obj.Message) @@ -235736,7 +241952,7 @@ func TestSettersDocPagesInsertBlank400Response(t *testing.T) { }) t.Run("SetDetails", func(t *testing.T) { - obj := &DocPagesInsertBlank400Response{} + obj := &DocPagesRemoveName400Response{} var fernTestValueDetails map[string]any obj.SetDetails(fernTestValueDetails) assert.Equal(t, fernTestValueDetails, obj.Details) @@ -235745,12 +241961,12 @@ func TestSettersDocPagesInsertBlank400Response(t *testing.T) { } -func TestGettersDocPagesInsertBlank400Response(t *testing.T) { +func TestGettersDocPagesRemoveName400Response(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank400Response{} - var expected DocPagesInsertBlank400ResponseName + obj := &DocPagesRemoveName400Response{} + var expected DocPagesRemoveName400ResponseName obj.Name = expected // Act & Assert @@ -235759,7 +241975,7 @@ func TestGettersDocPagesInsertBlank400Response(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank400Response + var obj *DocPagesRemoveName400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -235772,8 +241988,8 @@ func TestGettersDocPagesInsertBlank400Response(t *testing.T) { t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank400Response{} - var expected DocPagesInsertBlank400ResponseCode + obj := &DocPagesRemoveName400Response{} + var expected DocPagesRemoveName400ResponseCode obj.Code = expected // Act & Assert @@ -235782,7 +241998,7 @@ func TestGettersDocPagesInsertBlank400Response(t *testing.T) { t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank400Response + var obj *DocPagesRemoveName400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -235795,7 +242011,7 @@ func TestGettersDocPagesInsertBlank400Response(t *testing.T) { t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank400Response{} + obj := &DocPagesRemoveName400Response{} var expected string obj.Message = expected @@ -235805,7 +242021,7 @@ func TestGettersDocPagesInsertBlank400Response(t *testing.T) { t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank400Response + var obj *DocPagesRemoveName400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -235818,7 +242034,7 @@ func TestGettersDocPagesInsertBlank400Response(t *testing.T) { t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank400Response{} + obj := &DocPagesRemoveName400Response{} var expected map[string]any obj.Details = expected @@ -235829,7 +242045,7 @@ func TestGettersDocPagesInsertBlank400Response(t *testing.T) { t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank400Response{} + obj := &DocPagesRemoveName400Response{} obj.Details = nil // Act & Assert @@ -235838,7 +242054,7 @@ func TestGettersDocPagesInsertBlank400Response(t *testing.T) { t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank400Response + var obj *DocPagesRemoveName400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -235850,12 +242066,12 @@ func TestGettersDocPagesInsertBlank400Response(t *testing.T) { } -func TestSettersMarkExplicitDocPagesInsertBlank400Response(t *testing.T) { +func TestSettersMarkExplicitDocPagesRemoveName400Response(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank400Response{} - var fernTestValueName DocPagesInsertBlank400ResponseName + obj := &DocPagesRemoveName400Response{} + var fernTestValueName DocPagesRemoveName400ResponseName // Act obj.SetName(fernTestValueName) @@ -235885,8 +242101,8 @@ func TestSettersMarkExplicitDocPagesInsertBlank400Response(t *testing.T) { t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank400Response{} - var fernTestValueCode DocPagesInsertBlank400ResponseCode + obj := &DocPagesRemoveName400Response{} + var fernTestValueCode DocPagesRemoveName400ResponseCode // Act obj.SetCode(fernTestValueCode) @@ -235916,7 +242132,7 @@ func TestSettersMarkExplicitDocPagesInsertBlank400Response(t *testing.T) { t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank400Response{} + obj := &DocPagesRemoveName400Response{} var fernTestValueMessage string // Act @@ -235947,7 +242163,7 @@ func TestSettersMarkExplicitDocPagesInsertBlank400Response(t *testing.T) { t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank400Response{} + obj := &DocPagesRemoveName400Response{} var fernTestValueDetails map[string]any // Act @@ -235977,25 +242193,25 @@ func TestSettersMarkExplicitDocPagesInsertBlank400Response(t *testing.T) { } -func TestSettersDocPagesInsertBlank404Response(t *testing.T) { +func TestSettersDocPagesRemoveName404Response(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocPagesInsertBlank404Response{} - var fernTestValueName DocPagesInsertBlank404ResponseName + obj := &DocPagesRemoveName404Response{} + var fernTestValueName DocPagesRemoveName404ResponseName obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCode", func(t *testing.T) { - obj := &DocPagesInsertBlank404Response{} - var fernTestValueCode DocPagesInsertBlank404ResponseCode + obj := &DocPagesRemoveName404Response{} + var fernTestValueCode DocPagesRemoveName404ResponseCode obj.SetCode(fernTestValueCode) assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) t.Run("SetMessage", func(t *testing.T) { - obj := &DocPagesInsertBlank404Response{} + obj := &DocPagesRemoveName404Response{} var fernTestValueMessage string obj.SetMessage(fernTestValueMessage) assert.Equal(t, fernTestValueMessage, obj.Message) @@ -236003,7 +242219,7 @@ func TestSettersDocPagesInsertBlank404Response(t *testing.T) { }) t.Run("SetDetails", func(t *testing.T) { - obj := &DocPagesInsertBlank404Response{} + obj := &DocPagesRemoveName404Response{} var fernTestValueDetails map[string]any obj.SetDetails(fernTestValueDetails) assert.Equal(t, fernTestValueDetails, obj.Details) @@ -236012,12 +242228,12 @@ func TestSettersDocPagesInsertBlank404Response(t *testing.T) { } -func TestGettersDocPagesInsertBlank404Response(t *testing.T) { +func TestGettersDocPagesRemoveName404Response(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank404Response{} - var expected DocPagesInsertBlank404ResponseName + obj := &DocPagesRemoveName404Response{} + var expected DocPagesRemoveName404ResponseName obj.Name = expected // Act & Assert @@ -236026,7 +242242,7 @@ func TestGettersDocPagesInsertBlank404Response(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank404Response + var obj *DocPagesRemoveName404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -236039,8 +242255,8 @@ func TestGettersDocPagesInsertBlank404Response(t *testing.T) { t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank404Response{} - var expected DocPagesInsertBlank404ResponseCode + obj := &DocPagesRemoveName404Response{} + var expected DocPagesRemoveName404ResponseCode obj.Code = expected // Act & Assert @@ -236049,7 +242265,7 @@ func TestGettersDocPagesInsertBlank404Response(t *testing.T) { t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank404Response + var obj *DocPagesRemoveName404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -236062,7 +242278,7 @@ func TestGettersDocPagesInsertBlank404Response(t *testing.T) { t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank404Response{} + obj := &DocPagesRemoveName404Response{} var expected string obj.Message = expected @@ -236072,7 +242288,7 @@ func TestGettersDocPagesInsertBlank404Response(t *testing.T) { t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank404Response + var obj *DocPagesRemoveName404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -236085,7 +242301,7 @@ func TestGettersDocPagesInsertBlank404Response(t *testing.T) { t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank404Response{} + obj := &DocPagesRemoveName404Response{} var expected map[string]any obj.Details = expected @@ -236096,7 +242312,7 @@ func TestGettersDocPagesInsertBlank404Response(t *testing.T) { t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank404Response{} + obj := &DocPagesRemoveName404Response{} obj.Details = nil // Act & Assert @@ -236105,7 +242321,7 @@ func TestGettersDocPagesInsertBlank404Response(t *testing.T) { t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesInsertBlank404Response + var obj *DocPagesRemoveName404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -236117,12 +242333,12 @@ func TestGettersDocPagesInsertBlank404Response(t *testing.T) { } -func TestSettersMarkExplicitDocPagesInsertBlank404Response(t *testing.T) { +func TestSettersMarkExplicitDocPagesRemoveName404Response(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank404Response{} - var fernTestValueName DocPagesInsertBlank404ResponseName + obj := &DocPagesRemoveName404Response{} + var fernTestValueName DocPagesRemoveName404ResponseName // Act obj.SetName(fernTestValueName) @@ -236152,8 +242368,8 @@ func TestSettersMarkExplicitDocPagesInsertBlank404Response(t *testing.T) { t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank404Response{} - var fernTestValueCode DocPagesInsertBlank404ResponseCode + obj := &DocPagesRemoveName404Response{} + var fernTestValueCode DocPagesRemoveName404ResponseCode // Act obj.SetCode(fernTestValueCode) @@ -236183,7 +242399,7 @@ func TestSettersMarkExplicitDocPagesInsertBlank404Response(t *testing.T) { t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank404Response{} + obj := &DocPagesRemoveName404Response{} var fernTestValueMessage string // Act @@ -236214,7 +242430,7 @@ func TestSettersMarkExplicitDocPagesInsertBlank404Response(t *testing.T) { t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesInsertBlank404Response{} + obj := &DocPagesRemoveName404Response{} var fernTestValueDetails map[string]any // Act @@ -236244,10 +242460,10 @@ func TestSettersMarkExplicitDocPagesInsertBlank404Response(t *testing.T) { } -func TestSettersDocPagesMove200Response(t *testing.T) { +func TestSettersDocPagesRotate200Response(t *testing.T) { t.Run("SetMeta", func(t *testing.T) { - obj := &DocPagesMove200Response{} - var fernTestValueMeta *DocPagesMove200ResponseMeta + obj := &DocPagesRotate200Response{} + var fernTestValueMeta *DocPagesRotate200ResponseMeta obj.SetMeta(fernTestValueMeta) assert.Equal(t, fernTestValueMeta, obj.Meta) assert.NotNil(t, obj.explicitFields) @@ -236255,12 +242471,12 @@ func TestSettersDocPagesMove200Response(t *testing.T) { } -func TestGettersDocPagesMove200Response(t *testing.T) { +func TestGettersDocPagesRotate200Response(t *testing.T) { t.Run("GetMeta", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200Response{} - var expected *DocPagesMove200ResponseMeta + obj := &DocPagesRotate200Response{} + var expected *DocPagesRotate200ResponseMeta obj.Meta = expected // Act & Assert @@ -236270,7 +242486,7 @@ func TestGettersDocPagesMove200Response(t *testing.T) { t.Run("GetMeta_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200Response{} + obj := &DocPagesRotate200Response{} obj.Meta = nil // Act & Assert @@ -236279,7 +242495,7 @@ func TestGettersDocPagesMove200Response(t *testing.T) { t.Run("GetMeta_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove200Response + var obj *DocPagesRotate200Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -236291,12 +242507,12 @@ func TestGettersDocPagesMove200Response(t *testing.T) { } -func TestSettersMarkExplicitDocPagesMove200Response(t *testing.T) { +func TestSettersMarkExplicitDocPagesRotate200Response(t *testing.T) { t.Run("SetMeta_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200Response{} - var fernTestValueMeta *DocPagesMove200ResponseMeta + obj := &DocPagesRotate200Response{} + var fernTestValueMeta *DocPagesRotate200ResponseMeta // Act obj.SetMeta(fernTestValueMeta) @@ -236325,18 +242541,18 @@ func TestSettersMarkExplicitDocPagesMove200Response(t *testing.T) { } -func TestSettersDocPagesMove200ResponseMeta(t *testing.T) { +func TestSettersDocPagesRotate200ResponseMeta(t *testing.T) { t.Run("SetAffectedPages", func(t *testing.T) { - obj := &DocPagesMove200ResponseMeta{} - var fernTestValueAffectedPages []*DocPagesMove200ResponseMetaAffectedPagesItem + obj := &DocPagesRotate200ResponseMeta{} + var fernTestValueAffectedPages []*DocPagesRotate200ResponseMetaAffectedPagesItem obj.SetAffectedPages(fernTestValueAffectedPages) assert.Equal(t, fernTestValueAffectedPages, obj.AffectedPages) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCacheDelta", func(t *testing.T) { - obj := &DocPagesMove200ResponseMeta{} - var fernTestValueCacheDelta *DocPagesMove200ResponseMetaCacheDelta + obj := &DocPagesRotate200ResponseMeta{} + var fernTestValueCacheDelta *DocPagesRotate200ResponseMetaCacheDelta obj.SetCacheDelta(fernTestValueCacheDelta) assert.Equal(t, fernTestValueCacheDelta, obj.CacheDelta) assert.NotNil(t, obj.explicitFields) @@ -236344,12 +242560,12 @@ func TestSettersDocPagesMove200ResponseMeta(t *testing.T) { } -func TestGettersDocPagesMove200ResponseMeta(t *testing.T) { +func TestGettersDocPagesRotate200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMeta{} - var expected []*DocPagesMove200ResponseMetaAffectedPagesItem + obj := &DocPagesRotate200ResponseMeta{} + var expected []*DocPagesRotate200ResponseMetaAffectedPagesItem obj.AffectedPages = expected // Act & Assert @@ -236359,7 +242575,7 @@ func TestGettersDocPagesMove200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMeta{} + obj := &DocPagesRotate200ResponseMeta{} obj.AffectedPages = nil // Act & Assert @@ -236368,7 +242584,7 @@ func TestGettersDocPagesMove200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove200ResponseMeta + var obj *DocPagesRotate200ResponseMeta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -236381,8 +242597,8 @@ func TestGettersDocPagesMove200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMeta{} - var expected *DocPagesMove200ResponseMetaCacheDelta + obj := &DocPagesRotate200ResponseMeta{} + var expected *DocPagesRotate200ResponseMetaCacheDelta obj.CacheDelta = expected // Act & Assert @@ -236392,7 +242608,7 @@ func TestGettersDocPagesMove200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMeta{} + obj := &DocPagesRotate200ResponseMeta{} obj.CacheDelta = nil // Act & Assert @@ -236401,7 +242617,7 @@ func TestGettersDocPagesMove200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove200ResponseMeta + var obj *DocPagesRotate200ResponseMeta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -236413,12 +242629,12 @@ func TestGettersDocPagesMove200ResponseMeta(t *testing.T) { } -func TestSettersMarkExplicitDocPagesMove200ResponseMeta(t *testing.T) { +func TestSettersMarkExplicitDocPagesRotate200ResponseMeta(t *testing.T) { t.Run("SetAffectedPages_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMeta{} - var fernTestValueAffectedPages []*DocPagesMove200ResponseMetaAffectedPagesItem + obj := &DocPagesRotate200ResponseMeta{} + var fernTestValueAffectedPages []*DocPagesRotate200ResponseMetaAffectedPagesItem // Act obj.SetAffectedPages(fernTestValueAffectedPages) @@ -236448,8 +242664,8 @@ func TestSettersMarkExplicitDocPagesMove200ResponseMeta(t *testing.T) { t.Run("SetCacheDelta_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMeta{} - var fernTestValueCacheDelta *DocPagesMove200ResponseMetaCacheDelta + obj := &DocPagesRotate200ResponseMeta{} + var fernTestValueCacheDelta *DocPagesRotate200ResponseMetaCacheDelta // Act obj.SetCacheDelta(fernTestValueCacheDelta) @@ -236478,9 +242694,9 @@ func TestSettersMarkExplicitDocPagesMove200ResponseMeta(t *testing.T) { } -func TestSettersDocPagesMove200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestSettersDocPagesRotate200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocPagesMove200ResponseMetaAffectedPagesItem{} + obj := &DocPagesRotate200ResponseMetaAffectedPagesItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -236488,16 +242704,16 @@ func TestSettersDocPagesMove200ResponseMetaAffectedPagesItem(t *testing.T) { }) t.Run("SetRevision", func(t *testing.T) { - obj := &DocPagesMove200ResponseMetaAffectedPagesItem{} - var fernTestValueRevision *DocPagesMove200ResponseMetaAffectedPagesItemRevision + obj := &DocPagesRotate200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocPagesRotate200ResponseMetaAffectedPagesItemRevision obj.SetRevision(fernTestValueRevision) assert.Equal(t, fernTestValueRevision, obj.Revision) assert.NotNil(t, obj.explicitFields) }) t.Run("SetWeakAnnotationState", func(t *testing.T) { - obj := &DocPagesMove200ResponseMetaAffectedPagesItem{} - var fernTestValueWeakAnnotationState *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocPagesRotate200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) assert.Equal(t, fernTestValueWeakAnnotationState, obj.WeakAnnotationState) assert.NotNil(t, obj.explicitFields) @@ -236505,11 +242721,11 @@ func TestSettersDocPagesMove200ResponseMetaAffectedPagesItem(t *testing.T) { } -func TestGettersDocPagesMove200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaAffectedPagesItem{} + obj := &DocPagesRotate200ResponseMetaAffectedPagesItem{} var expected int obj.PageObjectNumber = expected @@ -236519,7 +242735,7 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove200ResponseMetaAffectedPagesItem + var obj *DocPagesRotate200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -236532,8 +242748,8 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetRevision", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaAffectedPagesItem{} - var expected *DocPagesMove200ResponseMetaAffectedPagesItemRevision + obj := &DocPagesRotate200ResponseMetaAffectedPagesItem{} + var expected *DocPagesRotate200ResponseMetaAffectedPagesItemRevision obj.Revision = expected // Act & Assert @@ -236543,7 +242759,7 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetRevision_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaAffectedPagesItem{} + obj := &DocPagesRotate200ResponseMetaAffectedPagesItem{} obj.Revision = nil // Act & Assert @@ -236552,7 +242768,7 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetRevision_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove200ResponseMetaAffectedPagesItem + var obj *DocPagesRotate200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -236565,8 +242781,8 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetWeakAnnotationState", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaAffectedPagesItem{} - var expected *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocPagesRotate200ResponseMetaAffectedPagesItem{} + var expected *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState obj.WeakAnnotationState = expected // Act & Assert @@ -236576,7 +242792,7 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetWeakAnnotationState_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaAffectedPagesItem{} + obj := &DocPagesRotate200ResponseMetaAffectedPagesItem{} obj.WeakAnnotationState = nil // Act & Assert @@ -236585,7 +242801,7 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetWeakAnnotationState_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove200ResponseMetaAffectedPagesItem + var obj *DocPagesRotate200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -236597,11 +242813,11 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItem(t *testing.T) { } -func TestSettersMarkExplicitDocPagesMove200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestSettersMarkExplicitDocPagesRotate200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaAffectedPagesItem{} + obj := &DocPagesRotate200ResponseMetaAffectedPagesItem{} var fernTestValuePageObjectNumber int // Act @@ -236632,8 +242848,8 @@ func TestSettersMarkExplicitDocPagesMove200ResponseMetaAffectedPagesItem(t *test t.Run("SetRevision_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaAffectedPagesItem{} - var fernTestValueRevision *DocPagesMove200ResponseMetaAffectedPagesItemRevision + obj := &DocPagesRotate200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocPagesRotate200ResponseMetaAffectedPagesItemRevision // Act obj.SetRevision(fernTestValueRevision) @@ -236663,8 +242879,8 @@ func TestSettersMarkExplicitDocPagesMove200ResponseMetaAffectedPagesItem(t *test t.Run("SetWeakAnnotationState_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaAffectedPagesItem{} - var fernTestValueWeakAnnotationState *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocPagesRotate200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState // Act obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) @@ -236693,9 +242909,9 @@ func TestSettersMarkExplicitDocPagesMove200ResponseMetaAffectedPagesItem(t *test } -func TestSettersDocPagesMove200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestSettersDocPagesRotate200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("SetDocSessionID", func(t *testing.T) { - obj := &DocPagesMove200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesRotate200ResponseMetaAffectedPagesItemRevision{} var fernTestValueDocSessionID string obj.SetDocSessionID(fernTestValueDocSessionID) assert.Equal(t, fernTestValueDocSessionID, obj.DocSessionID) @@ -236703,7 +242919,7 @@ func TestSettersDocPagesMove200ResponseMetaAffectedPagesItemRevision(t *testing. }) t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocPagesMove200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesRotate200ResponseMetaAffectedPagesItemRevision{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -236711,7 +242927,7 @@ func TestSettersDocPagesMove200ResponseMetaAffectedPagesItemRevision(t *testing. }) t.Run("SetGeneration", func(t *testing.T) { - obj := &DocPagesMove200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesRotate200ResponseMetaAffectedPagesItemRevision{} var fernTestValueGeneration int obj.SetGeneration(fernTestValueGeneration) assert.Equal(t, fernTestValueGeneration, obj.Generation) @@ -236720,11 +242936,11 @@ func TestSettersDocPagesMove200ResponseMetaAffectedPagesItemRevision(t *testing. } -func TestGettersDocPagesMove200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("GetDocSessionID", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesRotate200ResponseMetaAffectedPagesItemRevision{} var expected string obj.DocSessionID = expected @@ -236734,7 +242950,7 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItemRevision(t *testing. t.Run("GetDocSessionID_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove200ResponseMetaAffectedPagesItemRevision + var obj *DocPagesRotate200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -236747,7 +242963,7 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItemRevision(t *testing. t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesRotate200ResponseMetaAffectedPagesItemRevision{} var expected int obj.PageObjectNumber = expected @@ -236757,7 +242973,7 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItemRevision(t *testing. t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove200ResponseMetaAffectedPagesItemRevision + var obj *DocPagesRotate200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -236770,7 +242986,7 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItemRevision(t *testing. t.Run("GetGeneration", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesRotate200ResponseMetaAffectedPagesItemRevision{} var expected int obj.Generation = expected @@ -236780,7 +242996,7 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItemRevision(t *testing. t.Run("GetGeneration_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove200ResponseMetaAffectedPagesItemRevision + var obj *DocPagesRotate200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -236792,11 +243008,11 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItemRevision(t *testing. } -func TestSettersMarkExplicitDocPagesMove200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestSettersMarkExplicitDocPagesRotate200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("SetDocSessionID_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesRotate200ResponseMetaAffectedPagesItemRevision{} var fernTestValueDocSessionID string // Act @@ -236827,7 +243043,7 @@ func TestSettersMarkExplicitDocPagesMove200ResponseMetaAffectedPagesItemRevision t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesRotate200ResponseMetaAffectedPagesItemRevision{} var fernTestValuePageObjectNumber int // Act @@ -236858,7 +243074,7 @@ func TestSettersMarkExplicitDocPagesMove200ResponseMetaAffectedPagesItemRevision t.Run("SetGeneration_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesRotate200ResponseMetaAffectedPagesItemRevision{} var fernTestValueGeneration int // Act @@ -236888,11 +243104,11 @@ func TestSettersMarkExplicitDocPagesMove200ResponseMetaAffectedPagesItemRevision } -func TestGettersDocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { +func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState{} var expected string obj.Kind = expected @@ -236902,7 +243118,7 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState( t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -236915,8 +243131,8 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState( t.Run("GetUnknown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState{} - var expected *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + obj := &DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown obj.Unknown = expected // Act & Assert @@ -236926,7 +243142,7 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState( t.Run("GetUnknown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState{} obj.Unknown = nil // Act & Assert @@ -236935,7 +243151,7 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState( t.Run("GetUnknown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -236948,8 +243164,8 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState( t.Run("GetKnown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState{} - var expected *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + obj := &DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown obj.Known = expected // Act & Assert @@ -236959,7 +243175,7 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState( t.Run("GetKnown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState{} obj.Known = nil // Act & Assert @@ -236968,7 +243184,7 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState( t.Run("GetKnown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -236980,9 +243196,9 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationState( } -func TestSettersDocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestSettersDocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("SetHasAnyWeakAnnotations", func(t *testing.T) { - obj := &DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var fernTestValueHasAnyWeakAnnotations bool obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) assert.Equal(t, fernTestValueHasAnyWeakAnnotations, obj.HasAnyWeakAnnotations) @@ -236991,11 +243207,11 @@ func TestSettersDocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateK } -func TestGettersDocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("GetHasAnyWeakAnnotations", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var expected bool obj.HasAnyWeakAnnotations = expected @@ -237005,7 +243221,7 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateK t.Run("GetHasAnyWeakAnnotations_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + var obj *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -237017,11 +243233,11 @@ func TestGettersDocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateK } -func TestSettersMarkExplicitDocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestSettersMarkExplicitDocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("SetHasAnyWeakAnnotations_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var fernTestValueHasAnyWeakAnnotations bool // Act @@ -237051,9 +243267,9 @@ func TestSettersMarkExplicitDocPagesMove200ResponseMetaAffectedPagesItemWeakAnno } -func TestSettersDocPagesMove200ResponseMetaCacheDelta(t *testing.T) { +func TestSettersDocPagesRotate200ResponseMetaCacheDelta(t *testing.T) { t.Run("SetPreviousDocVersion", func(t *testing.T) { - obj := &DocPagesMove200ResponseMetaCacheDelta{} + obj := &DocPagesRotate200ResponseMetaCacheDelta{} var fernTestValuePreviousDocVersion int obj.SetPreviousDocVersion(fernTestValuePreviousDocVersion) assert.Equal(t, fernTestValuePreviousDocVersion, obj.PreviousDocVersion) @@ -237061,7 +243277,7 @@ func TestSettersDocPagesMove200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetDocVersion", func(t *testing.T) { - obj := &DocPagesMove200ResponseMetaCacheDelta{} + obj := &DocPagesRotate200ResponseMetaCacheDelta{} var fernTestValueDocVersion int obj.SetDocVersion(fernTestValueDocVersion) assert.Equal(t, fernTestValueDocVersion, obj.DocVersion) @@ -237069,7 +243285,7 @@ func TestSettersDocPagesMove200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetAnnotationsVersion", func(t *testing.T) { - obj := &DocPagesMove200ResponseMetaCacheDelta{} + obj := &DocPagesRotate200ResponseMetaCacheDelta{} var fernTestValueAnnotationsVersion *int obj.SetAnnotationsVersion(fernTestValueAnnotationsVersion) assert.Equal(t, fernTestValueAnnotationsVersion, obj.AnnotationsVersion) @@ -237077,8 +243293,8 @@ func TestSettersDocPagesMove200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetPages", func(t *testing.T) { - obj := &DocPagesMove200ResponseMetaCacheDelta{} - var fernTestValuePages []*DocPagesMove200ResponseMetaCacheDeltaPagesItem + obj := &DocPagesRotate200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocPagesRotate200ResponseMetaCacheDeltaPagesItem obj.SetPages(fernTestValuePages) assert.Equal(t, fernTestValuePages, obj.Pages) assert.NotNil(t, obj.explicitFields) @@ -237086,11 +243302,11 @@ func TestSettersDocPagesMove200ResponseMetaCacheDelta(t *testing.T) { } -func TestGettersDocPagesMove200ResponseMetaCacheDelta(t *testing.T) { +func TestGettersDocPagesRotate200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPreviousDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaCacheDelta{} + obj := &DocPagesRotate200ResponseMetaCacheDelta{} var expected int obj.PreviousDocVersion = expected @@ -237100,7 +243316,7 @@ func TestGettersDocPagesMove200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPreviousDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove200ResponseMetaCacheDelta + var obj *DocPagesRotate200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -237113,7 +243329,7 @@ func TestGettersDocPagesMove200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaCacheDelta{} + obj := &DocPagesRotate200ResponseMetaCacheDelta{} var expected int obj.DocVersion = expected @@ -237123,7 +243339,7 @@ func TestGettersDocPagesMove200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove200ResponseMetaCacheDelta + var obj *DocPagesRotate200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -237136,7 +243352,7 @@ func TestGettersDocPagesMove200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaCacheDelta{} + obj := &DocPagesRotate200ResponseMetaCacheDelta{} var expected *int obj.AnnotationsVersion = expected @@ -237147,7 +243363,7 @@ func TestGettersDocPagesMove200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaCacheDelta{} + obj := &DocPagesRotate200ResponseMetaCacheDelta{} obj.AnnotationsVersion = nil // Act & Assert @@ -237156,7 +243372,7 @@ func TestGettersDocPagesMove200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove200ResponseMetaCacheDelta + var obj *DocPagesRotate200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -237169,8 +243385,8 @@ func TestGettersDocPagesMove200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaCacheDelta{} - var expected []*DocPagesMove200ResponseMetaCacheDeltaPagesItem + obj := &DocPagesRotate200ResponseMetaCacheDelta{} + var expected []*DocPagesRotate200ResponseMetaCacheDeltaPagesItem obj.Pages = expected // Act & Assert @@ -237180,7 +243396,7 @@ func TestGettersDocPagesMove200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaCacheDelta{} + obj := &DocPagesRotate200ResponseMetaCacheDelta{} obj.Pages = nil // Act & Assert @@ -237189,7 +243405,7 @@ func TestGettersDocPagesMove200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove200ResponseMetaCacheDelta + var obj *DocPagesRotate200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -237201,11 +243417,11 @@ func TestGettersDocPagesMove200ResponseMetaCacheDelta(t *testing.T) { } -func TestSettersMarkExplicitDocPagesMove200ResponseMetaCacheDelta(t *testing.T) { +func TestSettersMarkExplicitDocPagesRotate200ResponseMetaCacheDelta(t *testing.T) { t.Run("SetPreviousDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaCacheDelta{} + obj := &DocPagesRotate200ResponseMetaCacheDelta{} var fernTestValuePreviousDocVersion int // Act @@ -237236,7 +243452,7 @@ func TestSettersMarkExplicitDocPagesMove200ResponseMetaCacheDelta(t *testing.T) t.Run("SetDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaCacheDelta{} + obj := &DocPagesRotate200ResponseMetaCacheDelta{} var fernTestValueDocVersion int // Act @@ -237267,7 +243483,7 @@ func TestSettersMarkExplicitDocPagesMove200ResponseMetaCacheDelta(t *testing.T) t.Run("SetAnnotationsVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaCacheDelta{} + obj := &DocPagesRotate200ResponseMetaCacheDelta{} var fernTestValueAnnotationsVersion *int // Act @@ -237298,8 +243514,8 @@ func TestSettersMarkExplicitDocPagesMove200ResponseMetaCacheDelta(t *testing.T) t.Run("SetPages_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaCacheDelta{} - var fernTestValuePages []*DocPagesMove200ResponseMetaCacheDeltaPagesItem + obj := &DocPagesRotate200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocPagesRotate200ResponseMetaCacheDeltaPagesItem // Act obj.SetPages(fernTestValuePages) @@ -237328,9 +243544,9 @@ func TestSettersMarkExplicitDocPagesMove200ResponseMetaCacheDelta(t *testing.T) } -func TestSettersDocPagesMove200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestSettersDocPagesRotate200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -237338,8 +243554,8 @@ func TestSettersDocPagesMove200ResponseMetaCacheDeltaPagesItem(t *testing.T) { }) t.Run("SetCache", func(t *testing.T) { - obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItem{} - var fernTestValueCache *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache + obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache obj.SetCache(fernTestValueCache) assert.Equal(t, fernTestValueCache, obj.Cache) assert.NotNil(t, obj.explicitFields) @@ -237347,11 +243563,11 @@ func TestSettersDocPagesMove200ResponseMetaCacheDeltaPagesItem(t *testing.T) { } -func TestGettersDocPagesMove200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestGettersDocPagesRotate200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItem{} var expected int obj.PageObjectNumber = expected @@ -237361,7 +243577,7 @@ func TestGettersDocPagesMove200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove200ResponseMetaCacheDeltaPagesItem + var obj *DocPagesRotate200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -237374,8 +243590,8 @@ func TestGettersDocPagesMove200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetCache", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItem{} - var expected *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache + obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItem{} + var expected *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache obj.Cache = expected // Act & Assert @@ -237385,7 +243601,7 @@ func TestGettersDocPagesMove200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetCache_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItem{} obj.Cache = nil // Act & Assert @@ -237394,7 +243610,7 @@ func TestGettersDocPagesMove200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetCache_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove200ResponseMetaCacheDeltaPagesItem + var obj *DocPagesRotate200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -237406,11 +243622,11 @@ func TestGettersDocPagesMove200ResponseMetaCacheDeltaPagesItem(t *testing.T) { } -func TestSettersMarkExplicitDocPagesMove200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestSettersMarkExplicitDocPagesRotate200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItem{} var fernTestValuePageObjectNumber int // Act @@ -237441,8 +243657,8 @@ func TestSettersMarkExplicitDocPagesMove200ResponseMetaCacheDeltaPagesItem(t *te t.Run("SetCache_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItem{} - var fernTestValueCache *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache + obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache // Act obj.SetCache(fernTestValueCache) @@ -237471,9 +243687,9 @@ func TestSettersMarkExplicitDocPagesMove200ResponseMetaCacheDeltaPagesItem(t *te } -func TestSettersDocPagesMove200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { +func TestSettersDocPagesRotate200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { t.Run("SetContentVersion", func(t *testing.T) { - obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueContentVersion int obj.SetContentVersion(fernTestValueContentVersion) assert.Equal(t, fernTestValueContentVersion, obj.ContentVersion) @@ -237481,7 +243697,7 @@ func TestSettersDocPagesMove200ResponseMetaCacheDeltaPagesItemCache(t *testing.T }) t.Run("SetAnnotationVersion", func(t *testing.T) { - obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueAnnotationVersion int obj.SetAnnotationVersion(fernTestValueAnnotationVersion) assert.Equal(t, fernTestValueAnnotationVersion, obj.AnnotationVersion) @@ -237490,11 +243706,11 @@ func TestSettersDocPagesMove200ResponseMetaCacheDeltaPagesItemCache(t *testing.T } -func TestGettersDocPagesMove200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { +func TestGettersDocPagesRotate200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { t.Run("GetContentVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache{} var expected int obj.ContentVersion = expected @@ -237504,7 +243720,7 @@ func TestGettersDocPagesMove200ResponseMetaCacheDeltaPagesItemCache(t *testing.T t.Run("GetContentVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache + var obj *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -237517,7 +243733,7 @@ func TestGettersDocPagesMove200ResponseMetaCacheDeltaPagesItemCache(t *testing.T t.Run("GetAnnotationVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache{} var expected int obj.AnnotationVersion = expected @@ -237527,7 +243743,7 @@ func TestGettersDocPagesMove200ResponseMetaCacheDeltaPagesItemCache(t *testing.T t.Run("GetAnnotationVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove200ResponseMetaCacheDeltaPagesItemCache + var obj *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -237539,11 +243755,11 @@ func TestGettersDocPagesMove200ResponseMetaCacheDeltaPagesItemCache(t *testing.T } -func TestSettersMarkExplicitDocPagesMove200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { +func TestSettersMarkExplicitDocPagesRotate200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { t.Run("SetContentVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueContentVersion int // Act @@ -237574,7 +243790,7 @@ func TestSettersMarkExplicitDocPagesMove200ResponseMetaCacheDeltaPagesItemCache( t.Run("SetAnnotationVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueAnnotationVersion int // Act @@ -237604,25 +243820,25 @@ func TestSettersMarkExplicitDocPagesMove200ResponseMetaCacheDeltaPagesItemCache( } -func TestSettersDocPagesMove400Response(t *testing.T) { +func TestSettersDocPagesRotate400Response(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocPagesMove400Response{} - var fernTestValueName DocPagesMove400ResponseName + obj := &DocPagesRotate400Response{} + var fernTestValueName DocPagesRotate400ResponseName obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCode", func(t *testing.T) { - obj := &DocPagesMove400Response{} - var fernTestValueCode DocPagesMove400ResponseCode + obj := &DocPagesRotate400Response{} + var fernTestValueCode DocPagesRotate400ResponseCode obj.SetCode(fernTestValueCode) assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) t.Run("SetMessage", func(t *testing.T) { - obj := &DocPagesMove400Response{} + obj := &DocPagesRotate400Response{} var fernTestValueMessage string obj.SetMessage(fernTestValueMessage) assert.Equal(t, fernTestValueMessage, obj.Message) @@ -237630,7 +243846,7 @@ func TestSettersDocPagesMove400Response(t *testing.T) { }) t.Run("SetDetails", func(t *testing.T) { - obj := &DocPagesMove400Response{} + obj := &DocPagesRotate400Response{} var fernTestValueDetails map[string]any obj.SetDetails(fernTestValueDetails) assert.Equal(t, fernTestValueDetails, obj.Details) @@ -237639,12 +243855,12 @@ func TestSettersDocPagesMove400Response(t *testing.T) { } -func TestGettersDocPagesMove400Response(t *testing.T) { +func TestGettersDocPagesRotate400Response(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove400Response{} - var expected DocPagesMove400ResponseName + obj := &DocPagesRotate400Response{} + var expected DocPagesRotate400ResponseName obj.Name = expected // Act & Assert @@ -237653,7 +243869,7 @@ func TestGettersDocPagesMove400Response(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove400Response + var obj *DocPagesRotate400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -237666,8 +243882,8 @@ func TestGettersDocPagesMove400Response(t *testing.T) { t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove400Response{} - var expected DocPagesMove400ResponseCode + obj := &DocPagesRotate400Response{} + var expected DocPagesRotate400ResponseCode obj.Code = expected // Act & Assert @@ -237676,7 +243892,7 @@ func TestGettersDocPagesMove400Response(t *testing.T) { t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove400Response + var obj *DocPagesRotate400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -237689,7 +243905,7 @@ func TestGettersDocPagesMove400Response(t *testing.T) { t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove400Response{} + obj := &DocPagesRotate400Response{} var expected string obj.Message = expected @@ -237699,7 +243915,7 @@ func TestGettersDocPagesMove400Response(t *testing.T) { t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove400Response + var obj *DocPagesRotate400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -237712,7 +243928,7 @@ func TestGettersDocPagesMove400Response(t *testing.T) { t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove400Response{} + obj := &DocPagesRotate400Response{} var expected map[string]any obj.Details = expected @@ -237723,7 +243939,7 @@ func TestGettersDocPagesMove400Response(t *testing.T) { t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove400Response{} + obj := &DocPagesRotate400Response{} obj.Details = nil // Act & Assert @@ -237732,7 +243948,7 @@ func TestGettersDocPagesMove400Response(t *testing.T) { t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove400Response + var obj *DocPagesRotate400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -237744,12 +243960,12 @@ func TestGettersDocPagesMove400Response(t *testing.T) { } -func TestSettersMarkExplicitDocPagesMove400Response(t *testing.T) { +func TestSettersMarkExplicitDocPagesRotate400Response(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove400Response{} - var fernTestValueName DocPagesMove400ResponseName + obj := &DocPagesRotate400Response{} + var fernTestValueName DocPagesRotate400ResponseName // Act obj.SetName(fernTestValueName) @@ -237779,8 +243995,8 @@ func TestSettersMarkExplicitDocPagesMove400Response(t *testing.T) { t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove400Response{} - var fernTestValueCode DocPagesMove400ResponseCode + obj := &DocPagesRotate400Response{} + var fernTestValueCode DocPagesRotate400ResponseCode // Act obj.SetCode(fernTestValueCode) @@ -237810,7 +244026,7 @@ func TestSettersMarkExplicitDocPagesMove400Response(t *testing.T) { t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove400Response{} + obj := &DocPagesRotate400Response{} var fernTestValueMessage string // Act @@ -237841,7 +244057,7 @@ func TestSettersMarkExplicitDocPagesMove400Response(t *testing.T) { t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove400Response{} + obj := &DocPagesRotate400Response{} var fernTestValueDetails map[string]any // Act @@ -237871,25 +244087,25 @@ func TestSettersMarkExplicitDocPagesMove400Response(t *testing.T) { } -func TestSettersDocPagesMove404Response(t *testing.T) { +func TestSettersDocPagesRotate404Response(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocPagesMove404Response{} - var fernTestValueName DocPagesMove404ResponseName + obj := &DocPagesRotate404Response{} + var fernTestValueName DocPagesRotate404ResponseName obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCode", func(t *testing.T) { - obj := &DocPagesMove404Response{} - var fernTestValueCode DocPagesMove404ResponseCode + obj := &DocPagesRotate404Response{} + var fernTestValueCode DocPagesRotate404ResponseCode obj.SetCode(fernTestValueCode) assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) t.Run("SetMessage", func(t *testing.T) { - obj := &DocPagesMove404Response{} + obj := &DocPagesRotate404Response{} var fernTestValueMessage string obj.SetMessage(fernTestValueMessage) assert.Equal(t, fernTestValueMessage, obj.Message) @@ -237897,7 +244113,7 @@ func TestSettersDocPagesMove404Response(t *testing.T) { }) t.Run("SetDetails", func(t *testing.T) { - obj := &DocPagesMove404Response{} + obj := &DocPagesRotate404Response{} var fernTestValueDetails map[string]any obj.SetDetails(fernTestValueDetails) assert.Equal(t, fernTestValueDetails, obj.Details) @@ -237906,12 +244122,12 @@ func TestSettersDocPagesMove404Response(t *testing.T) { } -func TestGettersDocPagesMove404Response(t *testing.T) { +func TestGettersDocPagesRotate404Response(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove404Response{} - var expected DocPagesMove404ResponseName + obj := &DocPagesRotate404Response{} + var expected DocPagesRotate404ResponseName obj.Name = expected // Act & Assert @@ -237920,7 +244136,7 @@ func TestGettersDocPagesMove404Response(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove404Response + var obj *DocPagesRotate404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -237933,8 +244149,8 @@ func TestGettersDocPagesMove404Response(t *testing.T) { t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove404Response{} - var expected DocPagesMove404ResponseCode + obj := &DocPagesRotate404Response{} + var expected DocPagesRotate404ResponseCode obj.Code = expected // Act & Assert @@ -237943,7 +244159,7 @@ func TestGettersDocPagesMove404Response(t *testing.T) { t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove404Response + var obj *DocPagesRotate404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -237956,7 +244172,7 @@ func TestGettersDocPagesMove404Response(t *testing.T) { t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove404Response{} + obj := &DocPagesRotate404Response{} var expected string obj.Message = expected @@ -237966,7 +244182,7 @@ func TestGettersDocPagesMove404Response(t *testing.T) { t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove404Response + var obj *DocPagesRotate404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -237979,7 +244195,7 @@ func TestGettersDocPagesMove404Response(t *testing.T) { t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove404Response{} + obj := &DocPagesRotate404Response{} var expected map[string]any obj.Details = expected @@ -237990,7 +244206,7 @@ func TestGettersDocPagesMove404Response(t *testing.T) { t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove404Response{} + obj := &DocPagesRotate404Response{} obj.Details = nil // Act & Assert @@ -237999,7 +244215,7 @@ func TestGettersDocPagesMove404Response(t *testing.T) { t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesMove404Response + var obj *DocPagesRotate404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -238011,12 +244227,12 @@ func TestGettersDocPagesMove404Response(t *testing.T) { } -func TestSettersMarkExplicitDocPagesMove404Response(t *testing.T) { +func TestSettersMarkExplicitDocPagesRotate404Response(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove404Response{} - var fernTestValueName DocPagesMove404ResponseName + obj := &DocPagesRotate404Response{} + var fernTestValueName DocPagesRotate404ResponseName // Act obj.SetName(fernTestValueName) @@ -238046,8 +244262,8 @@ func TestSettersMarkExplicitDocPagesMove404Response(t *testing.T) { t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove404Response{} - var fernTestValueCode DocPagesMove404ResponseCode + obj := &DocPagesRotate404Response{} + var fernTestValueCode DocPagesRotate404ResponseCode // Act obj.SetCode(fernTestValueCode) @@ -238077,7 +244293,7 @@ func TestSettersMarkExplicitDocPagesMove404Response(t *testing.T) { t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove404Response{} + obj := &DocPagesRotate404Response{} var fernTestValueMessage string // Act @@ -238108,7 +244324,7 @@ func TestSettersMarkExplicitDocPagesMove404Response(t *testing.T) { t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesMove404Response{} + obj := &DocPagesRotate404Response{} var fernTestValueDetails map[string]any // Act @@ -238138,10 +244354,10 @@ func TestSettersMarkExplicitDocPagesMove404Response(t *testing.T) { } -func TestSettersDocPagesRotate200Response(t *testing.T) { +func TestSettersDocPagesSetName200Response(t *testing.T) { t.Run("SetMeta", func(t *testing.T) { - obj := &DocPagesRotate200Response{} - var fernTestValueMeta *DocPagesRotate200ResponseMeta + obj := &DocPagesSetName200Response{} + var fernTestValueMeta *DocPagesSetName200ResponseMeta obj.SetMeta(fernTestValueMeta) assert.Equal(t, fernTestValueMeta, obj.Meta) assert.NotNil(t, obj.explicitFields) @@ -238149,12 +244365,12 @@ func TestSettersDocPagesRotate200Response(t *testing.T) { } -func TestGettersDocPagesRotate200Response(t *testing.T) { +func TestGettersDocPagesSetName200Response(t *testing.T) { t.Run("GetMeta", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200Response{} - var expected *DocPagesRotate200ResponseMeta + obj := &DocPagesSetName200Response{} + var expected *DocPagesSetName200ResponseMeta obj.Meta = expected // Act & Assert @@ -238164,7 +244380,7 @@ func TestGettersDocPagesRotate200Response(t *testing.T) { t.Run("GetMeta_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200Response{} + obj := &DocPagesSetName200Response{} obj.Meta = nil // Act & Assert @@ -238173,7 +244389,7 @@ func TestGettersDocPagesRotate200Response(t *testing.T) { t.Run("GetMeta_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate200Response + var obj *DocPagesSetName200Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -238185,12 +244401,12 @@ func TestGettersDocPagesRotate200Response(t *testing.T) { } -func TestSettersMarkExplicitDocPagesRotate200Response(t *testing.T) { +func TestSettersMarkExplicitDocPagesSetName200Response(t *testing.T) { t.Run("SetMeta_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200Response{} - var fernTestValueMeta *DocPagesRotate200ResponseMeta + obj := &DocPagesSetName200Response{} + var fernTestValueMeta *DocPagesSetName200ResponseMeta // Act obj.SetMeta(fernTestValueMeta) @@ -238219,18 +244435,18 @@ func TestSettersMarkExplicitDocPagesRotate200Response(t *testing.T) { } -func TestSettersDocPagesRotate200ResponseMeta(t *testing.T) { +func TestSettersDocPagesSetName200ResponseMeta(t *testing.T) { t.Run("SetAffectedPages", func(t *testing.T) { - obj := &DocPagesRotate200ResponseMeta{} - var fernTestValueAffectedPages []*DocPagesRotate200ResponseMetaAffectedPagesItem + obj := &DocPagesSetName200ResponseMeta{} + var fernTestValueAffectedPages []*DocPagesSetName200ResponseMetaAffectedPagesItem obj.SetAffectedPages(fernTestValueAffectedPages) assert.Equal(t, fernTestValueAffectedPages, obj.AffectedPages) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCacheDelta", func(t *testing.T) { - obj := &DocPagesRotate200ResponseMeta{} - var fernTestValueCacheDelta *DocPagesRotate200ResponseMetaCacheDelta + obj := &DocPagesSetName200ResponseMeta{} + var fernTestValueCacheDelta *DocPagesSetName200ResponseMetaCacheDelta obj.SetCacheDelta(fernTestValueCacheDelta) assert.Equal(t, fernTestValueCacheDelta, obj.CacheDelta) assert.NotNil(t, obj.explicitFields) @@ -238238,12 +244454,12 @@ func TestSettersDocPagesRotate200ResponseMeta(t *testing.T) { } -func TestGettersDocPagesRotate200ResponseMeta(t *testing.T) { +func TestGettersDocPagesSetName200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMeta{} - var expected []*DocPagesRotate200ResponseMetaAffectedPagesItem + obj := &DocPagesSetName200ResponseMeta{} + var expected []*DocPagesSetName200ResponseMetaAffectedPagesItem obj.AffectedPages = expected // Act & Assert @@ -238253,7 +244469,7 @@ func TestGettersDocPagesRotate200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMeta{} + obj := &DocPagesSetName200ResponseMeta{} obj.AffectedPages = nil // Act & Assert @@ -238262,7 +244478,7 @@ func TestGettersDocPagesRotate200ResponseMeta(t *testing.T) { t.Run("GetAffectedPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate200ResponseMeta + var obj *DocPagesSetName200ResponseMeta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -238275,8 +244491,8 @@ func TestGettersDocPagesRotate200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMeta{} - var expected *DocPagesRotate200ResponseMetaCacheDelta + obj := &DocPagesSetName200ResponseMeta{} + var expected *DocPagesSetName200ResponseMetaCacheDelta obj.CacheDelta = expected // Act & Assert @@ -238286,7 +244502,7 @@ func TestGettersDocPagesRotate200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMeta{} + obj := &DocPagesSetName200ResponseMeta{} obj.CacheDelta = nil // Act & Assert @@ -238295,7 +244511,7 @@ func TestGettersDocPagesRotate200ResponseMeta(t *testing.T) { t.Run("GetCacheDelta_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate200ResponseMeta + var obj *DocPagesSetName200ResponseMeta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -238307,12 +244523,12 @@ func TestGettersDocPagesRotate200ResponseMeta(t *testing.T) { } -func TestSettersMarkExplicitDocPagesRotate200ResponseMeta(t *testing.T) { +func TestSettersMarkExplicitDocPagesSetName200ResponseMeta(t *testing.T) { t.Run("SetAffectedPages_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMeta{} - var fernTestValueAffectedPages []*DocPagesRotate200ResponseMetaAffectedPagesItem + obj := &DocPagesSetName200ResponseMeta{} + var fernTestValueAffectedPages []*DocPagesSetName200ResponseMetaAffectedPagesItem // Act obj.SetAffectedPages(fernTestValueAffectedPages) @@ -238342,8 +244558,8 @@ func TestSettersMarkExplicitDocPagesRotate200ResponseMeta(t *testing.T) { t.Run("SetCacheDelta_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMeta{} - var fernTestValueCacheDelta *DocPagesRotate200ResponseMetaCacheDelta + obj := &DocPagesSetName200ResponseMeta{} + var fernTestValueCacheDelta *DocPagesSetName200ResponseMetaCacheDelta // Act obj.SetCacheDelta(fernTestValueCacheDelta) @@ -238372,9 +244588,9 @@ func TestSettersMarkExplicitDocPagesRotate200ResponseMeta(t *testing.T) { } -func TestSettersDocPagesRotate200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestSettersDocPagesSetName200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocPagesRotate200ResponseMetaAffectedPagesItem{} + obj := &DocPagesSetName200ResponseMetaAffectedPagesItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -238382,16 +244598,16 @@ func TestSettersDocPagesRotate200ResponseMetaAffectedPagesItem(t *testing.T) { }) t.Run("SetRevision", func(t *testing.T) { - obj := &DocPagesRotate200ResponseMetaAffectedPagesItem{} - var fernTestValueRevision *DocPagesRotate200ResponseMetaAffectedPagesItemRevision + obj := &DocPagesSetName200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocPagesSetName200ResponseMetaAffectedPagesItemRevision obj.SetRevision(fernTestValueRevision) assert.Equal(t, fernTestValueRevision, obj.Revision) assert.NotNil(t, obj.explicitFields) }) t.Run("SetWeakAnnotationState", func(t *testing.T) { - obj := &DocPagesRotate200ResponseMetaAffectedPagesItem{} - var fernTestValueWeakAnnotationState *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocPagesSetName200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) assert.Equal(t, fernTestValueWeakAnnotationState, obj.WeakAnnotationState) assert.NotNil(t, obj.explicitFields) @@ -238399,11 +244615,11 @@ func TestSettersDocPagesRotate200ResponseMetaAffectedPagesItem(t *testing.T) { } -func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestGettersDocPagesSetName200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaAffectedPagesItem{} + obj := &DocPagesSetName200ResponseMetaAffectedPagesItem{} var expected int obj.PageObjectNumber = expected @@ -238413,7 +244629,7 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate200ResponseMetaAffectedPagesItem + var obj *DocPagesSetName200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -238426,8 +244642,8 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetRevision", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaAffectedPagesItem{} - var expected *DocPagesRotate200ResponseMetaAffectedPagesItemRevision + obj := &DocPagesSetName200ResponseMetaAffectedPagesItem{} + var expected *DocPagesSetName200ResponseMetaAffectedPagesItemRevision obj.Revision = expected // Act & Assert @@ -238437,7 +244653,7 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetRevision_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaAffectedPagesItem{} + obj := &DocPagesSetName200ResponseMetaAffectedPagesItem{} obj.Revision = nil // Act & Assert @@ -238446,7 +244662,7 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetRevision_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate200ResponseMetaAffectedPagesItem + var obj *DocPagesSetName200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -238459,8 +244675,8 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetWeakAnnotationState", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaAffectedPagesItem{} - var expected *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocPagesSetName200ResponseMetaAffectedPagesItem{} + var expected *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState obj.WeakAnnotationState = expected // Act & Assert @@ -238470,7 +244686,7 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetWeakAnnotationState_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaAffectedPagesItem{} + obj := &DocPagesSetName200ResponseMetaAffectedPagesItem{} obj.WeakAnnotationState = nil // Act & Assert @@ -238479,7 +244695,7 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("GetWeakAnnotationState_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate200ResponseMetaAffectedPagesItem + var obj *DocPagesSetName200ResponseMetaAffectedPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -238491,11 +244707,11 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItem(t *testing.T) { } -func TestSettersMarkExplicitDocPagesRotate200ResponseMetaAffectedPagesItem(t *testing.T) { +func TestSettersMarkExplicitDocPagesSetName200ResponseMetaAffectedPagesItem(t *testing.T) { t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaAffectedPagesItem{} + obj := &DocPagesSetName200ResponseMetaAffectedPagesItem{} var fernTestValuePageObjectNumber int // Act @@ -238526,8 +244742,8 @@ func TestSettersMarkExplicitDocPagesRotate200ResponseMetaAffectedPagesItem(t *te t.Run("SetRevision_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaAffectedPagesItem{} - var fernTestValueRevision *DocPagesRotate200ResponseMetaAffectedPagesItemRevision + obj := &DocPagesSetName200ResponseMetaAffectedPagesItem{} + var fernTestValueRevision *DocPagesSetName200ResponseMetaAffectedPagesItemRevision // Act obj.SetRevision(fernTestValueRevision) @@ -238557,8 +244773,8 @@ func TestSettersMarkExplicitDocPagesRotate200ResponseMetaAffectedPagesItem(t *te t.Run("SetWeakAnnotationState_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaAffectedPagesItem{} - var fernTestValueWeakAnnotationState *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState + obj := &DocPagesSetName200ResponseMetaAffectedPagesItem{} + var fernTestValueWeakAnnotationState *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState // Act obj.SetWeakAnnotationState(fernTestValueWeakAnnotationState) @@ -238587,9 +244803,9 @@ func TestSettersMarkExplicitDocPagesRotate200ResponseMetaAffectedPagesItem(t *te } -func TestSettersDocPagesRotate200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestSettersDocPagesSetName200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("SetDocSessionID", func(t *testing.T) { - obj := &DocPagesRotate200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemRevision{} var fernTestValueDocSessionID string obj.SetDocSessionID(fernTestValueDocSessionID) assert.Equal(t, fernTestValueDocSessionID, obj.DocSessionID) @@ -238597,7 +244813,7 @@ func TestSettersDocPagesRotate200ResponseMetaAffectedPagesItemRevision(t *testin }) t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocPagesRotate200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemRevision{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -238605,7 +244821,7 @@ func TestSettersDocPagesRotate200ResponseMetaAffectedPagesItemRevision(t *testin }) t.Run("SetGeneration", func(t *testing.T) { - obj := &DocPagesRotate200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemRevision{} var fernTestValueGeneration int obj.SetGeneration(fernTestValueGeneration) assert.Equal(t, fernTestValueGeneration, obj.Generation) @@ -238614,11 +244830,11 @@ func TestSettersDocPagesRotate200ResponseMetaAffectedPagesItemRevision(t *testin } -func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestGettersDocPagesSetName200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("GetDocSessionID", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemRevision{} var expected string obj.DocSessionID = expected @@ -238628,7 +244844,7 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItemRevision(t *testin t.Run("GetDocSessionID_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate200ResponseMetaAffectedPagesItemRevision + var obj *DocPagesSetName200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -238641,7 +244857,7 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItemRevision(t *testin t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemRevision{} var expected int obj.PageObjectNumber = expected @@ -238651,7 +244867,7 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItemRevision(t *testin t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate200ResponseMetaAffectedPagesItemRevision + var obj *DocPagesSetName200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -238664,7 +244880,7 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItemRevision(t *testin t.Run("GetGeneration", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemRevision{} var expected int obj.Generation = expected @@ -238674,7 +244890,7 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItemRevision(t *testin t.Run("GetGeneration_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate200ResponseMetaAffectedPagesItemRevision + var obj *DocPagesSetName200ResponseMetaAffectedPagesItemRevision // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -238686,11 +244902,11 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItemRevision(t *testin } -func TestSettersMarkExplicitDocPagesRotate200ResponseMetaAffectedPagesItemRevision(t *testing.T) { +func TestSettersMarkExplicitDocPagesSetName200ResponseMetaAffectedPagesItemRevision(t *testing.T) { t.Run("SetDocSessionID_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemRevision{} var fernTestValueDocSessionID string // Act @@ -238721,7 +244937,7 @@ func TestSettersMarkExplicitDocPagesRotate200ResponseMetaAffectedPagesItemRevisi t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemRevision{} var fernTestValuePageObjectNumber int // Act @@ -238752,7 +244968,7 @@ func TestSettersMarkExplicitDocPagesRotate200ResponseMetaAffectedPagesItemRevisi t.Run("SetGeneration_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaAffectedPagesItemRevision{} + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemRevision{} var fernTestValueGeneration int // Act @@ -238782,11 +244998,11 @@ func TestSettersMarkExplicitDocPagesRotate200ResponseMetaAffectedPagesItemRevisi } -func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { +func TestGettersDocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState(t *testing.T) { t.Run("GetKind", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState{} var expected string obj.Kind = expected @@ -238796,7 +245012,7 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetKind_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -238809,8 +245025,8 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetUnknown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState{} - var expected *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown obj.Unknown = expected // Act & Assert @@ -238820,7 +245036,7 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetUnknown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState{} obj.Unknown = nil // Act & Assert @@ -238829,7 +245045,7 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetUnknown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -238842,8 +245058,8 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetKnown", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState{} - var expected *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState{} + var expected *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown obj.Known = expected // Act & Assert @@ -238853,7 +245069,7 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetKnown_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState{} + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState{} obj.Known = nil // Act & Assert @@ -238862,7 +245078,7 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetKnown_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationState + var obj *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationState // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -238874,9 +245090,9 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStat } -func TestSettersDocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestSettersDocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("SetHasAnyWeakAnnotations", func(t *testing.T) { - obj := &DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var fernTestValueHasAnyWeakAnnotations bool obj.SetHasAnyWeakAnnotations(fernTestValueHasAnyWeakAnnotations) assert.Equal(t, fernTestValueHasAnyWeakAnnotations, obj.HasAnyWeakAnnotations) @@ -238885,11 +245101,11 @@ func TestSettersDocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStat } -func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestGettersDocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("GetHasAnyWeakAnnotations", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var expected bool obj.HasAnyWeakAnnotations = expected @@ -238899,7 +245115,7 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStat t.Run("GetHasAnyWeakAnnotations_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + var obj *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -238911,11 +245127,11 @@ func TestGettersDocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStat } -func TestSettersMarkExplicitDocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { +func TestSettersMarkExplicitDocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { t.Run("SetHasAnyWeakAnnotations_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} var fernTestValueHasAnyWeakAnnotations bool // Act @@ -238945,9 +245161,9 @@ func TestSettersMarkExplicitDocPagesRotate200ResponseMetaAffectedPagesItemWeakAn } -func TestSettersDocPagesRotate200ResponseMetaCacheDelta(t *testing.T) { +func TestSettersDocPagesSetName200ResponseMetaCacheDelta(t *testing.T) { t.Run("SetPreviousDocVersion", func(t *testing.T) { - obj := &DocPagesRotate200ResponseMetaCacheDelta{} + obj := &DocPagesSetName200ResponseMetaCacheDelta{} var fernTestValuePreviousDocVersion int obj.SetPreviousDocVersion(fernTestValuePreviousDocVersion) assert.Equal(t, fernTestValuePreviousDocVersion, obj.PreviousDocVersion) @@ -238955,7 +245171,7 @@ func TestSettersDocPagesRotate200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetDocVersion", func(t *testing.T) { - obj := &DocPagesRotate200ResponseMetaCacheDelta{} + obj := &DocPagesSetName200ResponseMetaCacheDelta{} var fernTestValueDocVersion int obj.SetDocVersion(fernTestValueDocVersion) assert.Equal(t, fernTestValueDocVersion, obj.DocVersion) @@ -238963,7 +245179,7 @@ func TestSettersDocPagesRotate200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetAnnotationsVersion", func(t *testing.T) { - obj := &DocPagesRotate200ResponseMetaCacheDelta{} + obj := &DocPagesSetName200ResponseMetaCacheDelta{} var fernTestValueAnnotationsVersion *int obj.SetAnnotationsVersion(fernTestValueAnnotationsVersion) assert.Equal(t, fernTestValueAnnotationsVersion, obj.AnnotationsVersion) @@ -238971,8 +245187,8 @@ func TestSettersDocPagesRotate200ResponseMetaCacheDelta(t *testing.T) { }) t.Run("SetPages", func(t *testing.T) { - obj := &DocPagesRotate200ResponseMetaCacheDelta{} - var fernTestValuePages []*DocPagesRotate200ResponseMetaCacheDeltaPagesItem + obj := &DocPagesSetName200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocPagesSetName200ResponseMetaCacheDeltaPagesItem obj.SetPages(fernTestValuePages) assert.Equal(t, fernTestValuePages, obj.Pages) assert.NotNil(t, obj.explicitFields) @@ -238980,11 +245196,11 @@ func TestSettersDocPagesRotate200ResponseMetaCacheDelta(t *testing.T) { } -func TestGettersDocPagesRotate200ResponseMetaCacheDelta(t *testing.T) { +func TestGettersDocPagesSetName200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPreviousDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaCacheDelta{} + obj := &DocPagesSetName200ResponseMetaCacheDelta{} var expected int obj.PreviousDocVersion = expected @@ -238994,7 +245210,7 @@ func TestGettersDocPagesRotate200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPreviousDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate200ResponseMetaCacheDelta + var obj *DocPagesSetName200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -239007,7 +245223,7 @@ func TestGettersDocPagesRotate200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetDocVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaCacheDelta{} + obj := &DocPagesSetName200ResponseMetaCacheDelta{} var expected int obj.DocVersion = expected @@ -239017,7 +245233,7 @@ func TestGettersDocPagesRotate200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetDocVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate200ResponseMetaCacheDelta + var obj *DocPagesSetName200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -239030,7 +245246,7 @@ func TestGettersDocPagesRotate200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaCacheDelta{} + obj := &DocPagesSetName200ResponseMetaCacheDelta{} var expected *int obj.AnnotationsVersion = expected @@ -239041,7 +245257,7 @@ func TestGettersDocPagesRotate200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaCacheDelta{} + obj := &DocPagesSetName200ResponseMetaCacheDelta{} obj.AnnotationsVersion = nil // Act & Assert @@ -239050,7 +245266,7 @@ func TestGettersDocPagesRotate200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetAnnotationsVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate200ResponseMetaCacheDelta + var obj *DocPagesSetName200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -239063,8 +245279,8 @@ func TestGettersDocPagesRotate200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaCacheDelta{} - var expected []*DocPagesRotate200ResponseMetaCacheDeltaPagesItem + obj := &DocPagesSetName200ResponseMetaCacheDelta{} + var expected []*DocPagesSetName200ResponseMetaCacheDeltaPagesItem obj.Pages = expected // Act & Assert @@ -239074,7 +245290,7 @@ func TestGettersDocPagesRotate200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaCacheDelta{} + obj := &DocPagesSetName200ResponseMetaCacheDelta{} obj.Pages = nil // Act & Assert @@ -239083,7 +245299,7 @@ func TestGettersDocPagesRotate200ResponseMetaCacheDelta(t *testing.T) { t.Run("GetPages_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate200ResponseMetaCacheDelta + var obj *DocPagesSetName200ResponseMetaCacheDelta // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -239095,11 +245311,11 @@ func TestGettersDocPagesRotate200ResponseMetaCacheDelta(t *testing.T) { } -func TestSettersMarkExplicitDocPagesRotate200ResponseMetaCacheDelta(t *testing.T) { +func TestSettersMarkExplicitDocPagesSetName200ResponseMetaCacheDelta(t *testing.T) { t.Run("SetPreviousDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaCacheDelta{} + obj := &DocPagesSetName200ResponseMetaCacheDelta{} var fernTestValuePreviousDocVersion int // Act @@ -239130,7 +245346,7 @@ func TestSettersMarkExplicitDocPagesRotate200ResponseMetaCacheDelta(t *testing.T t.Run("SetDocVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaCacheDelta{} + obj := &DocPagesSetName200ResponseMetaCacheDelta{} var fernTestValueDocVersion int // Act @@ -239161,7 +245377,7 @@ func TestSettersMarkExplicitDocPagesRotate200ResponseMetaCacheDelta(t *testing.T t.Run("SetAnnotationsVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaCacheDelta{} + obj := &DocPagesSetName200ResponseMetaCacheDelta{} var fernTestValueAnnotationsVersion *int // Act @@ -239192,8 +245408,8 @@ func TestSettersMarkExplicitDocPagesRotate200ResponseMetaCacheDelta(t *testing.T t.Run("SetPages_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaCacheDelta{} - var fernTestValuePages []*DocPagesRotate200ResponseMetaCacheDeltaPagesItem + obj := &DocPagesSetName200ResponseMetaCacheDelta{} + var fernTestValuePages []*DocPagesSetName200ResponseMetaCacheDeltaPagesItem // Act obj.SetPages(fernTestValuePages) @@ -239222,9 +245438,9 @@ func TestSettersMarkExplicitDocPagesRotate200ResponseMetaCacheDelta(t *testing.T } -func TestSettersDocPagesRotate200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestSettersDocPagesSetName200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("SetPageObjectNumber", func(t *testing.T) { - obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesSetName200ResponseMetaCacheDeltaPagesItem{} var fernTestValuePageObjectNumber int obj.SetPageObjectNumber(fernTestValuePageObjectNumber) assert.Equal(t, fernTestValuePageObjectNumber, obj.PageObjectNumber) @@ -239232,8 +245448,8 @@ func TestSettersDocPagesRotate200ResponseMetaCacheDeltaPagesItem(t *testing.T) { }) t.Run("SetCache", func(t *testing.T) { - obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItem{} - var fernTestValueCache *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache + obj := &DocPagesSetName200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache obj.SetCache(fernTestValueCache) assert.Equal(t, fernTestValueCache, obj.Cache) assert.NotNil(t, obj.explicitFields) @@ -239241,11 +245457,11 @@ func TestSettersDocPagesRotate200ResponseMetaCacheDeltaPagesItem(t *testing.T) { } -func TestGettersDocPagesRotate200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestGettersDocPagesSetName200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetPageObjectNumber", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesSetName200ResponseMetaCacheDeltaPagesItem{} var expected int obj.PageObjectNumber = expected @@ -239255,7 +245471,7 @@ func TestGettersDocPagesRotate200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetPageObjectNumber_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate200ResponseMetaCacheDeltaPagesItem + var obj *DocPagesSetName200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -239268,8 +245484,8 @@ func TestGettersDocPagesRotate200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetCache", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItem{} - var expected *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache + obj := &DocPagesSetName200ResponseMetaCacheDeltaPagesItem{} + var expected *DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache obj.Cache = expected // Act & Assert @@ -239279,7 +245495,7 @@ func TestGettersDocPagesRotate200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetCache_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesSetName200ResponseMetaCacheDeltaPagesItem{} obj.Cache = nil // Act & Assert @@ -239288,7 +245504,7 @@ func TestGettersDocPagesRotate200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("GetCache_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate200ResponseMetaCacheDeltaPagesItem + var obj *DocPagesSetName200ResponseMetaCacheDeltaPagesItem // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -239300,11 +245516,11 @@ func TestGettersDocPagesRotate200ResponseMetaCacheDeltaPagesItem(t *testing.T) { } -func TestSettersMarkExplicitDocPagesRotate200ResponseMetaCacheDeltaPagesItem(t *testing.T) { +func TestSettersMarkExplicitDocPagesSetName200ResponseMetaCacheDeltaPagesItem(t *testing.T) { t.Run("SetPageObjectNumber_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItem{} + obj := &DocPagesSetName200ResponseMetaCacheDeltaPagesItem{} var fernTestValuePageObjectNumber int // Act @@ -239335,8 +245551,8 @@ func TestSettersMarkExplicitDocPagesRotate200ResponseMetaCacheDeltaPagesItem(t * t.Run("SetCache_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItem{} - var fernTestValueCache *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache + obj := &DocPagesSetName200ResponseMetaCacheDeltaPagesItem{} + var fernTestValueCache *DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache // Act obj.SetCache(fernTestValueCache) @@ -239365,9 +245581,9 @@ func TestSettersMarkExplicitDocPagesRotate200ResponseMetaCacheDeltaPagesItem(t * } -func TestSettersDocPagesRotate200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { +func TestSettersDocPagesSetName200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { t.Run("SetContentVersion", func(t *testing.T) { - obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueContentVersion int obj.SetContentVersion(fernTestValueContentVersion) assert.Equal(t, fernTestValueContentVersion, obj.ContentVersion) @@ -239375,7 +245591,7 @@ func TestSettersDocPagesRotate200ResponseMetaCacheDeltaPagesItemCache(t *testing }) t.Run("SetAnnotationVersion", func(t *testing.T) { - obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueAnnotationVersion int obj.SetAnnotationVersion(fernTestValueAnnotationVersion) assert.Equal(t, fernTestValueAnnotationVersion, obj.AnnotationVersion) @@ -239384,11 +245600,11 @@ func TestSettersDocPagesRotate200ResponseMetaCacheDeltaPagesItemCache(t *testing } -func TestGettersDocPagesRotate200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { +func TestGettersDocPagesSetName200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { t.Run("GetContentVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache{} var expected int obj.ContentVersion = expected @@ -239398,7 +245614,7 @@ func TestGettersDocPagesRotate200ResponseMetaCacheDeltaPagesItemCache(t *testing t.Run("GetContentVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache + var obj *DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -239411,7 +245627,7 @@ func TestGettersDocPagesRotate200ResponseMetaCacheDeltaPagesItemCache(t *testing t.Run("GetAnnotationVersion", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache{} var expected int obj.AnnotationVersion = expected @@ -239421,7 +245637,7 @@ func TestGettersDocPagesRotate200ResponseMetaCacheDeltaPagesItemCache(t *testing t.Run("GetAnnotationVersion_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache + var obj *DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -239433,11 +245649,11 @@ func TestGettersDocPagesRotate200ResponseMetaCacheDeltaPagesItemCache(t *testing } -func TestSettersMarkExplicitDocPagesRotate200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { +func TestSettersMarkExplicitDocPagesSetName200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { t.Run("SetContentVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueContentVersion int // Act @@ -239468,7 +245684,7 @@ func TestSettersMarkExplicitDocPagesRotate200ResponseMetaCacheDeltaPagesItemCach t.Run("SetAnnotationVersion_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate200ResponseMetaCacheDeltaPagesItemCache{} + obj := &DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache{} var fernTestValueAnnotationVersion int // Act @@ -239498,25 +245714,25 @@ func TestSettersMarkExplicitDocPagesRotate200ResponseMetaCacheDeltaPagesItemCach } -func TestSettersDocPagesRotate400Response(t *testing.T) { +func TestSettersDocPagesSetName400Response(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocPagesRotate400Response{} - var fernTestValueName DocPagesRotate400ResponseName + obj := &DocPagesSetName400Response{} + var fernTestValueName DocPagesSetName400ResponseName obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCode", func(t *testing.T) { - obj := &DocPagesRotate400Response{} - var fernTestValueCode DocPagesRotate400ResponseCode + obj := &DocPagesSetName400Response{} + var fernTestValueCode DocPagesSetName400ResponseCode obj.SetCode(fernTestValueCode) assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) t.Run("SetMessage", func(t *testing.T) { - obj := &DocPagesRotate400Response{} + obj := &DocPagesSetName400Response{} var fernTestValueMessage string obj.SetMessage(fernTestValueMessage) assert.Equal(t, fernTestValueMessage, obj.Message) @@ -239524,7 +245740,7 @@ func TestSettersDocPagesRotate400Response(t *testing.T) { }) t.Run("SetDetails", func(t *testing.T) { - obj := &DocPagesRotate400Response{} + obj := &DocPagesSetName400Response{} var fernTestValueDetails map[string]any obj.SetDetails(fernTestValueDetails) assert.Equal(t, fernTestValueDetails, obj.Details) @@ -239533,12 +245749,12 @@ func TestSettersDocPagesRotate400Response(t *testing.T) { } -func TestGettersDocPagesRotate400Response(t *testing.T) { +func TestGettersDocPagesSetName400Response(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate400Response{} - var expected DocPagesRotate400ResponseName + obj := &DocPagesSetName400Response{} + var expected DocPagesSetName400ResponseName obj.Name = expected // Act & Assert @@ -239547,7 +245763,7 @@ func TestGettersDocPagesRotate400Response(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate400Response + var obj *DocPagesSetName400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -239560,8 +245776,8 @@ func TestGettersDocPagesRotate400Response(t *testing.T) { t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate400Response{} - var expected DocPagesRotate400ResponseCode + obj := &DocPagesSetName400Response{} + var expected DocPagesSetName400ResponseCode obj.Code = expected // Act & Assert @@ -239570,7 +245786,7 @@ func TestGettersDocPagesRotate400Response(t *testing.T) { t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate400Response + var obj *DocPagesSetName400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -239583,7 +245799,7 @@ func TestGettersDocPagesRotate400Response(t *testing.T) { t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate400Response{} + obj := &DocPagesSetName400Response{} var expected string obj.Message = expected @@ -239593,7 +245809,7 @@ func TestGettersDocPagesRotate400Response(t *testing.T) { t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate400Response + var obj *DocPagesSetName400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -239606,7 +245822,7 @@ func TestGettersDocPagesRotate400Response(t *testing.T) { t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate400Response{} + obj := &DocPagesSetName400Response{} var expected map[string]any obj.Details = expected @@ -239617,7 +245833,7 @@ func TestGettersDocPagesRotate400Response(t *testing.T) { t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate400Response{} + obj := &DocPagesSetName400Response{} obj.Details = nil // Act & Assert @@ -239626,7 +245842,7 @@ func TestGettersDocPagesRotate400Response(t *testing.T) { t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate400Response + var obj *DocPagesSetName400Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -239638,12 +245854,12 @@ func TestGettersDocPagesRotate400Response(t *testing.T) { } -func TestSettersMarkExplicitDocPagesRotate400Response(t *testing.T) { +func TestSettersMarkExplicitDocPagesSetName400Response(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate400Response{} - var fernTestValueName DocPagesRotate400ResponseName + obj := &DocPagesSetName400Response{} + var fernTestValueName DocPagesSetName400ResponseName // Act obj.SetName(fernTestValueName) @@ -239673,8 +245889,8 @@ func TestSettersMarkExplicitDocPagesRotate400Response(t *testing.T) { t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate400Response{} - var fernTestValueCode DocPagesRotate400ResponseCode + obj := &DocPagesSetName400Response{} + var fernTestValueCode DocPagesSetName400ResponseCode // Act obj.SetCode(fernTestValueCode) @@ -239704,7 +245920,7 @@ func TestSettersMarkExplicitDocPagesRotate400Response(t *testing.T) { t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate400Response{} + obj := &DocPagesSetName400Response{} var fernTestValueMessage string // Act @@ -239735,7 +245951,7 @@ func TestSettersMarkExplicitDocPagesRotate400Response(t *testing.T) { t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate400Response{} + obj := &DocPagesSetName400Response{} var fernTestValueDetails map[string]any // Act @@ -239765,25 +245981,25 @@ func TestSettersMarkExplicitDocPagesRotate400Response(t *testing.T) { } -func TestSettersDocPagesRotate404Response(t *testing.T) { +func TestSettersDocPagesSetName404Response(t *testing.T) { t.Run("SetName", func(t *testing.T) { - obj := &DocPagesRotate404Response{} - var fernTestValueName DocPagesRotate404ResponseName + obj := &DocPagesSetName404Response{} + var fernTestValueName DocPagesSetName404ResponseName obj.SetName(fernTestValueName) assert.Equal(t, fernTestValueName, obj.Name) assert.NotNil(t, obj.explicitFields) }) t.Run("SetCode", func(t *testing.T) { - obj := &DocPagesRotate404Response{} - var fernTestValueCode DocPagesRotate404ResponseCode + obj := &DocPagesSetName404Response{} + var fernTestValueCode DocPagesSetName404ResponseCode obj.SetCode(fernTestValueCode) assert.Equal(t, fernTestValueCode, obj.Code) assert.NotNil(t, obj.explicitFields) }) t.Run("SetMessage", func(t *testing.T) { - obj := &DocPagesRotate404Response{} + obj := &DocPagesSetName404Response{} var fernTestValueMessage string obj.SetMessage(fernTestValueMessage) assert.Equal(t, fernTestValueMessage, obj.Message) @@ -239791,7 +246007,7 @@ func TestSettersDocPagesRotate404Response(t *testing.T) { }) t.Run("SetDetails", func(t *testing.T) { - obj := &DocPagesRotate404Response{} + obj := &DocPagesSetName404Response{} var fernTestValueDetails map[string]any obj.SetDetails(fernTestValueDetails) assert.Equal(t, fernTestValueDetails, obj.Details) @@ -239800,12 +246016,12 @@ func TestSettersDocPagesRotate404Response(t *testing.T) { } -func TestGettersDocPagesRotate404Response(t *testing.T) { +func TestGettersDocPagesSetName404Response(t *testing.T) { t.Run("GetName", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate404Response{} - var expected DocPagesRotate404ResponseName + obj := &DocPagesSetName404Response{} + var expected DocPagesSetName404ResponseName obj.Name = expected // Act & Assert @@ -239814,7 +246030,7 @@ func TestGettersDocPagesRotate404Response(t *testing.T) { t.Run("GetName_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate404Response + var obj *DocPagesSetName404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -239827,8 +246043,8 @@ func TestGettersDocPagesRotate404Response(t *testing.T) { t.Run("GetCode", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate404Response{} - var expected DocPagesRotate404ResponseCode + obj := &DocPagesSetName404Response{} + var expected DocPagesSetName404ResponseCode obj.Code = expected // Act & Assert @@ -239837,7 +246053,7 @@ func TestGettersDocPagesRotate404Response(t *testing.T) { t.Run("GetCode_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate404Response + var obj *DocPagesSetName404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -239850,7 +246066,7 @@ func TestGettersDocPagesRotate404Response(t *testing.T) { t.Run("GetMessage", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate404Response{} + obj := &DocPagesSetName404Response{} var expected string obj.Message = expected @@ -239860,7 +246076,7 @@ func TestGettersDocPagesRotate404Response(t *testing.T) { t.Run("GetMessage_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate404Response + var obj *DocPagesSetName404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -239873,7 +246089,7 @@ func TestGettersDocPagesRotate404Response(t *testing.T) { t.Run("GetDetails", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate404Response{} + obj := &DocPagesSetName404Response{} var expected map[string]any obj.Details = expected @@ -239884,7 +246100,7 @@ func TestGettersDocPagesRotate404Response(t *testing.T) { t.Run("GetDetails_NilValue", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate404Response{} + obj := &DocPagesSetName404Response{} obj.Details = nil // Act & Assert @@ -239893,7 +246109,7 @@ func TestGettersDocPagesRotate404Response(t *testing.T) { t.Run("GetDetails_NilReceiver", func(t *testing.T) { t.Parallel() - var obj *DocPagesRotate404Response + var obj *DocPagesSetName404Response // Should not panic - getters should handle nil receiver gracefully defer func() { if r := recover(); r != nil { @@ -239905,12 +246121,12 @@ func TestGettersDocPagesRotate404Response(t *testing.T) { } -func TestSettersMarkExplicitDocPagesRotate404Response(t *testing.T) { +func TestSettersMarkExplicitDocPagesSetName404Response(t *testing.T) { t.Run("SetName_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate404Response{} - var fernTestValueName DocPagesRotate404ResponseName + obj := &DocPagesSetName404Response{} + var fernTestValueName DocPagesSetName404ResponseName // Act obj.SetName(fernTestValueName) @@ -239940,8 +246156,8 @@ func TestSettersMarkExplicitDocPagesRotate404Response(t *testing.T) { t.Run("SetCode_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate404Response{} - var fernTestValueCode DocPagesRotate404ResponseCode + obj := &DocPagesSetName404Response{} + var fernTestValueCode DocPagesSetName404ResponseCode // Act obj.SetCode(fernTestValueCode) @@ -239971,7 +246187,7 @@ func TestSettersMarkExplicitDocPagesRotate404Response(t *testing.T) { t.Run("SetMessage_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate404Response{} + obj := &DocPagesSetName404Response{} var fernTestValueMessage string // Act @@ -240002,7 +246218,7 @@ func TestSettersMarkExplicitDocPagesRotate404Response(t *testing.T) { t.Run("SetDetails_MarksExplicit", func(t *testing.T) { t.Parallel() // Arrange - obj := &DocPagesRotate404Response{} + obj := &DocPagesSetName404Response{} var fernTestValueDetails map[string]any // Act @@ -262788,6 +269004,435 @@ func TestJSONMarshalingDocAnnotationsDelete404Response(t *testing.T) { }) } +func TestJSONMarshalingDocAnnotationsExportAppearance400Response(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsExportAppearance400Response{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocAnnotationsExportAppearance400Response + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsExportAppearance400Response + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsExportAppearance400Response + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocAnnotationsExportAppearance404Response(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsExportAppearance404Response{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocAnnotationsExportAppearance404Response + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsExportAppearance404Response + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsExportAppearance404Response + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocAnnotationsFlatten200Response(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200Response{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocAnnotationsFlatten200Response + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsFlatten200Response + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsFlatten200Response + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocAnnotationsFlatten200ResponseMeta(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMeta{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocAnnotationsFlatten200ResponseMeta + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsFlatten200ResponseMeta + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsFlatten200ResponseMeta + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocAnnotationsFlatten200ResponseMetaAffectedPagesItem(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItem{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocAnnotationsFlatten200ResponseMetaAffectedPagesItem + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsFlatten200ResponseMetaAffectedPagesItem + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsFlatten200ResponseMetaAffectedPagesItem + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocAnnotationsFlatten200ResponseMetaCacheDelta(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaCacheDelta{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocAnnotationsFlatten200ResponseMetaCacheDelta + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsFlatten200ResponseMetaCacheDelta + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsFlatten200ResponseMetaCacheDelta + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocAnnotationsFlatten400Response(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten400Response{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocAnnotationsFlatten400Response + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsFlatten400Response + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsFlatten400Response + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocAnnotationsFlatten404Response(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocAnnotationsFlatten404Response{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocAnnotationsFlatten404Response + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsFlatten404Response + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocAnnotationsFlatten404Response + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + func TestJSONMarshalingDocAnnotationsList200Response(t *testing.T) { t.Run("MarshalUnmarshal", func(t *testing.T) { t.Parallel() @@ -289254,6 +295899,369 @@ func TestJSONMarshalingDocPagesMove404Response(t *testing.T) { }) } +func TestJSONMarshalingDocPagesRemoveName200Response(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesRemoveName200Response{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocPagesRemoveName200Response + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocPagesRemoveName200Response + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocPagesRemoveName200Response + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocPagesRemoveName200ResponseMeta(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesRemoveName200ResponseMeta{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocPagesRemoveName200ResponseMeta + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocPagesRemoveName200ResponseMeta + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocPagesRemoveName200ResponseMeta + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocPagesRemoveName200ResponseMetaAffectedPagesItem(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItem{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocPagesRemoveName200ResponseMetaAffectedPagesItem + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocPagesRemoveName200ResponseMetaAffectedPagesItem + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocPagesRemoveName200ResponseMetaAffectedPagesItem + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocPagesRemoveName200ResponseMetaAffectedPagesItemRevision(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocPagesRemoveName200ResponseMetaCacheDelta(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesRemoveName200ResponseMetaCacheDelta{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocPagesRemoveName200ResponseMetaCacheDelta + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocPagesRemoveName200ResponseMetaCacheDelta + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocPagesRemoveName200ResponseMetaCacheDelta + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocPagesRemoveName200ResponseMetaCacheDeltaPagesItem(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocPagesRemoveName400Response(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesRemoveName400Response{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocPagesRemoveName400Response + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocPagesRemoveName400Response + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocPagesRemoveName400Response + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocPagesRemoveName404Response(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesRemoveName404Response{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocPagesRemoveName404Response + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocPagesRemoveName404Response + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocPagesRemoveName404Response + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + func TestJSONMarshalingDocPagesRotate200Response(t *testing.T) { t.Run("MarshalUnmarshal", func(t *testing.T) { t.Parallel() @@ -289617,6 +296625,369 @@ func TestJSONMarshalingDocPagesRotate404Response(t *testing.T) { }) } +func TestJSONMarshalingDocPagesSetName200Response(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesSetName200Response{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocPagesSetName200Response + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocPagesSetName200Response + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocPagesSetName200Response + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocPagesSetName200ResponseMeta(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesSetName200ResponseMeta{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocPagesSetName200ResponseMeta + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocPagesSetName200ResponseMeta + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocPagesSetName200ResponseMeta + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocPagesSetName200ResponseMetaAffectedPagesItem(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesSetName200ResponseMetaAffectedPagesItem{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocPagesSetName200ResponseMetaAffectedPagesItem + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocPagesSetName200ResponseMetaAffectedPagesItem + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocPagesSetName200ResponseMetaAffectedPagesItem + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocPagesSetName200ResponseMetaAffectedPagesItemRevision(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemRevision{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocPagesSetName200ResponseMetaAffectedPagesItemRevision + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocPagesSetName200ResponseMetaAffectedPagesItemRevision + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocPagesSetName200ResponseMetaAffectedPagesItemRevision + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocPagesSetName200ResponseMetaCacheDelta(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesSetName200ResponseMetaCacheDelta{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocPagesSetName200ResponseMetaCacheDelta + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocPagesSetName200ResponseMetaCacheDelta + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocPagesSetName200ResponseMetaCacheDelta + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocPagesSetName200ResponseMetaCacheDeltaPagesItem(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesSetName200ResponseMetaCacheDeltaPagesItem{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocPagesSetName200ResponseMetaCacheDeltaPagesItem + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocPagesSetName200ResponseMetaCacheDeltaPagesItem + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocPagesSetName200ResponseMetaCacheDeltaPagesItem + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocPagesSetName200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocPagesSetName400Response(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesSetName400Response{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocPagesSetName400Response + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocPagesSetName400Response + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocPagesSetName400Response + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + +func TestJSONMarshalingDocPagesSetName404Response(t *testing.T) { + t.Run("MarshalUnmarshal", func(t *testing.T) { + t.Parallel() + // Arrange + obj := &DocPagesSetName404Response{} + + // Act - Marshal to JSON + data, err := json.Marshal(obj) + require.NoError(t, err, "marshaling should succeed") + assert.NotNil(t, data, "marshaled data should not be nil") + assert.NotEmpty(t, data, "marshaled data should not be empty") + + // Unmarshal back and verify round-trip + var unmarshaled DocPagesSetName404Response + err = json.Unmarshal(data, &unmarshaled) + assert.NoError(t, err, "round-trip unmarshal should succeed") + }) + + t.Run("UnmarshalInvalidJSON", func(t *testing.T) { + t.Parallel() + var obj DocPagesSetName404Response + err := json.Unmarshal([]byte(`{invalid json}`), &obj) + assert.Error(t, err, "unmarshaling invalid JSON should return an error") + }) + + t.Run("UnmarshalEmptyObject", func(t *testing.T) { + t.Parallel() + var obj DocPagesSetName404Response + err := json.Unmarshal([]byte(`{}`), &obj) + assert.NoError(t, err, "unmarshaling empty object should succeed") + }) +} + func TestJSONMarshalingDocRedactionsApply200Response(t *testing.T) { t.Run("MarshalUnmarshal", func(t *testing.T) { t.Parallel() @@ -294440,6 +301811,214 @@ func TestStringDocAnnotationsDelete404Response(t *testing.T) { }) } +func TestStringDocAnnotationsExportAppearance400Response(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsExportAppearance400Response{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsExportAppearance400Response + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocAnnotationsExportAppearance404Response(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsExportAppearance404Response{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsExportAppearance404Response + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocAnnotationsFlatten200Response(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsFlatten200Response{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200Response + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocAnnotationsFlatten200ResponseMeta(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsFlatten200ResponseMeta{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMeta + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocAnnotationsFlatten200ResponseMetaAffectedPagesItem(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItem{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaAffectedPagesItem + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocAnnotationsFlatten200ResponseMetaCacheDelta(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsFlatten200ResponseMetaCacheDelta{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaCacheDelta + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocAnnotationsFlatten400Response(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsFlatten400Response{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten400Response + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocAnnotationsFlatten404Response(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsFlatten404Response{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten404Response + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + func TestStringDocAnnotationsList200Response(t *testing.T) { t.Run("StringMethod", func(t *testing.T) { t.Parallel() @@ -307272,6 +314851,182 @@ func TestStringDocPagesMove404Response(t *testing.T) { }) } +func TestStringDocPagesRemoveName200Response(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocPagesRemoveName200Response{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesRemoveName200Response + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocPagesRemoveName200ResponseMeta(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocPagesRemoveName200ResponseMeta{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesRemoveName200ResponseMeta + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocPagesRemoveName200ResponseMetaAffectedPagesItem(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItem{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesRemoveName200ResponseMetaAffectedPagesItem + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocPagesRemoveName200ResponseMetaAffectedPagesItemRevision(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocPagesRemoveName200ResponseMetaCacheDelta(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocPagesRemoveName200ResponseMetaCacheDelta{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesRemoveName200ResponseMetaCacheDelta + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocPagesRemoveName200ResponseMetaCacheDeltaPagesItem(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocPagesRemoveName400Response(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocPagesRemoveName400Response{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesRemoveName400Response + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocPagesRemoveName404Response(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocPagesRemoveName404Response{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesRemoveName404Response + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + func TestStringDocPagesRotate200Response(t *testing.T) { t.Run("StringMethod", func(t *testing.T) { t.Parallel() @@ -307448,6 +315203,182 @@ func TestStringDocPagesRotate404Response(t *testing.T) { }) } +func TestStringDocPagesSetName200Response(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocPagesSetName200Response{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesSetName200Response + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocPagesSetName200ResponseMeta(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocPagesSetName200ResponseMeta{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesSetName200ResponseMeta + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocPagesSetName200ResponseMetaAffectedPagesItem(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocPagesSetName200ResponseMetaAffectedPagesItem{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesSetName200ResponseMetaAffectedPagesItem + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocPagesSetName200ResponseMetaAffectedPagesItemRevision(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemRevision{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesSetName200ResponseMetaAffectedPagesItemRevision + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocPagesSetName200ResponseMetaCacheDelta(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocPagesSetName200ResponseMetaCacheDelta{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesSetName200ResponseMetaCacheDelta + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocPagesSetName200ResponseMetaCacheDeltaPagesItem(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocPagesSetName200ResponseMetaCacheDeltaPagesItem{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesSetName200ResponseMetaCacheDeltaPagesItem + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocPagesSetName200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocPagesSetName400Response(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocPagesSetName400Response{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesSetName400Response + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + +func TestStringDocPagesSetName404Response(t *testing.T) { + t.Run("StringMethod", func(t *testing.T) { + t.Parallel() + obj := &DocPagesSetName404Response{} + result := obj.String() + assert.NotEmpty(t, result, "String() should return a non-empty representation") + }) + + t.Run("StringMethod_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesSetName404Response + result := obj.String() + assert.Equal(t, "", result, "String() should return for nil receiver") + }) +} + func TestStringDocRedactionsApply200Response(t *testing.T) { t.Run("StringMethod", func(t *testing.T) { t.Parallel() @@ -310118,6 +318049,686 @@ func TestEnumDocAnnotationsDelete404ResponseName(t *testing.T) { }) } +func TestEnumDocAnnotationsExportAppearance400ResponseCode(t *testing.T) { + t.Run("NewFromString_Unknown", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance400ResponseCodeFromString("Unknown") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance400ResponseCode("Unknown"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_InvalidArg", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance400ResponseCodeFromString("InvalidArg") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance400ResponseCode("InvalidArg"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocNotOpen", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance400ResponseCodeFromString("DocNotOpen") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance400ResponseCode("DocNotOpen"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocOpenFailed", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance400ResponseCodeFromString("DocOpenFailed") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance400ResponseCode("DocOpenFailed"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocPasswordRequired", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance400ResponseCodeFromString("DocPasswordRequired") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance400ResponseCode("DocPasswordRequired"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocPasswordIncorrect", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance400ResponseCodeFromString("DocPasswordIncorrect") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance400ResponseCode("DocPasswordIncorrect"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_SharePasswordRequired", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance400ResponseCodeFromString("SharePasswordRequired") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance400ResponseCode("SharePasswordRequired"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Aborted", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance400ResponseCodeFromString("Aborted") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance400ResponseCode("Aborted"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Network", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance400ResponseCodeFromString("Network") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance400ResponseCode("Network"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Unauthenticated", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance400ResponseCodeFromString("Unauthenticated") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance400ResponseCode("Unauthenticated"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Forbidden", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance400ResponseCodeFromString("Forbidden") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance400ResponseCode("Forbidden"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_NotFound", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance400ResponseCodeFromString("NotFound") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance400ResponseCode("NotFound"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_WireFormat", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance400ResponseCodeFromString("WireFormat") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance400ResponseCode("WireFormat"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_RuntimeUnavailable", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance400ResponseCodeFromString("RuntimeUnavailable") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance400ResponseCode("RuntimeUnavailable"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_InvalidReference", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance400ResponseCodeFromString("InvalidReference") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance400ResponseCode("InvalidReference"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_WeakAnnotationSessionConflict", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance400ResponseCodeFromString("WeakAnnotationSessionConflict") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance400ResponseCode("WeakAnnotationSessionConflict"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_LayerVersionConflict", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance400ResponseCodeFromString("LayerVersionConflict") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance400ResponseCode("LayerVersionConflict"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_NotImplemented", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance400ResponseCodeFromString("NotImplemented") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance400ResponseCode("NotImplemented"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_MalformedPdf", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance400ResponseCodeFromString("MalformedPdf") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance400ResponseCode("MalformedPdf"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Invalid", func(t *testing.T) { + _, err := NewDocAnnotationsExportAppearance400ResponseCodeFromString("invalid_value_that_does_not_exist") + assert.Error(t, err) + }) + + t.Run("Ptr", func(t *testing.T) { + val, err := NewDocAnnotationsExportAppearance400ResponseCodeFromString("Unknown") + assert.NoError(t, err) + ptr := val.Ptr() + assert.NotNil(t, ptr) + assert.Equal(t, val, *ptr) + }) +} + +func TestEnumDocAnnotationsExportAppearance400ResponseName(t *testing.T) { + t.Run("NewFromString_EngineError", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance400ResponseNameFromString("EngineError") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance400ResponseName("EngineError"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Invalid", func(t *testing.T) { + _, err := NewDocAnnotationsExportAppearance400ResponseNameFromString("invalid_value_that_does_not_exist") + assert.Error(t, err) + }) + + t.Run("Ptr", func(t *testing.T) { + val, err := NewDocAnnotationsExportAppearance400ResponseNameFromString("EngineError") + assert.NoError(t, err) + ptr := val.Ptr() + assert.NotNil(t, ptr) + assert.Equal(t, val, *ptr) + }) +} + +func TestEnumDocAnnotationsExportAppearance404ResponseCode(t *testing.T) { + t.Run("NewFromString_Unknown", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance404ResponseCodeFromString("Unknown") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance404ResponseCode("Unknown"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_InvalidArg", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance404ResponseCodeFromString("InvalidArg") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance404ResponseCode("InvalidArg"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocNotOpen", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance404ResponseCodeFromString("DocNotOpen") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance404ResponseCode("DocNotOpen"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocOpenFailed", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance404ResponseCodeFromString("DocOpenFailed") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance404ResponseCode("DocOpenFailed"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocPasswordRequired", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance404ResponseCodeFromString("DocPasswordRequired") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance404ResponseCode("DocPasswordRequired"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocPasswordIncorrect", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance404ResponseCodeFromString("DocPasswordIncorrect") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance404ResponseCode("DocPasswordIncorrect"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_SharePasswordRequired", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance404ResponseCodeFromString("SharePasswordRequired") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance404ResponseCode("SharePasswordRequired"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Aborted", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance404ResponseCodeFromString("Aborted") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance404ResponseCode("Aborted"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Network", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance404ResponseCodeFromString("Network") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance404ResponseCode("Network"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Unauthenticated", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance404ResponseCodeFromString("Unauthenticated") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance404ResponseCode("Unauthenticated"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Forbidden", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance404ResponseCodeFromString("Forbidden") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance404ResponseCode("Forbidden"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_NotFound", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance404ResponseCodeFromString("NotFound") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance404ResponseCode("NotFound"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_WireFormat", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance404ResponseCodeFromString("WireFormat") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance404ResponseCode("WireFormat"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_RuntimeUnavailable", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance404ResponseCodeFromString("RuntimeUnavailable") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance404ResponseCode("RuntimeUnavailable"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_InvalidReference", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance404ResponseCodeFromString("InvalidReference") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance404ResponseCode("InvalidReference"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_WeakAnnotationSessionConflict", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance404ResponseCodeFromString("WeakAnnotationSessionConflict") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance404ResponseCode("WeakAnnotationSessionConflict"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_LayerVersionConflict", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance404ResponseCodeFromString("LayerVersionConflict") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance404ResponseCode("LayerVersionConflict"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_NotImplemented", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance404ResponseCodeFromString("NotImplemented") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance404ResponseCode("NotImplemented"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_MalformedPdf", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance404ResponseCodeFromString("MalformedPdf") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance404ResponseCode("MalformedPdf"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Invalid", func(t *testing.T) { + _, err := NewDocAnnotationsExportAppearance404ResponseCodeFromString("invalid_value_that_does_not_exist") + assert.Error(t, err) + }) + + t.Run("Ptr", func(t *testing.T) { + val, err := NewDocAnnotationsExportAppearance404ResponseCodeFromString("Unknown") + assert.NoError(t, err) + ptr := val.Ptr() + assert.NotNil(t, ptr) + assert.Equal(t, val, *ptr) + }) +} + +func TestEnumDocAnnotationsExportAppearance404ResponseName(t *testing.T) { + t.Run("NewFromString_EngineError", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsExportAppearance404ResponseNameFromString("EngineError") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsExportAppearance404ResponseName("EngineError"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Invalid", func(t *testing.T) { + _, err := NewDocAnnotationsExportAppearance404ResponseNameFromString("invalid_value_that_does_not_exist") + assert.Error(t, err) + }) + + t.Run("Ptr", func(t *testing.T) { + val, err := NewDocAnnotationsExportAppearance404ResponseNameFromString("EngineError") + assert.NoError(t, err) + ptr := val.Ptr() + assert.NotNil(t, ptr) + assert.Equal(t, val, *ptr) + }) +} + +func TestEnumDocAnnotationsFlatten400ResponseCode(t *testing.T) { + t.Run("NewFromString_Unknown", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten400ResponseCodeFromString("Unknown") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten400ResponseCode("Unknown"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_InvalidArg", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten400ResponseCodeFromString("InvalidArg") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten400ResponseCode("InvalidArg"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocNotOpen", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten400ResponseCodeFromString("DocNotOpen") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten400ResponseCode("DocNotOpen"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocOpenFailed", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten400ResponseCodeFromString("DocOpenFailed") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten400ResponseCode("DocOpenFailed"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocPasswordRequired", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten400ResponseCodeFromString("DocPasswordRequired") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten400ResponseCode("DocPasswordRequired"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocPasswordIncorrect", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten400ResponseCodeFromString("DocPasswordIncorrect") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten400ResponseCode("DocPasswordIncorrect"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_SharePasswordRequired", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten400ResponseCodeFromString("SharePasswordRequired") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten400ResponseCode("SharePasswordRequired"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Aborted", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten400ResponseCodeFromString("Aborted") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten400ResponseCode("Aborted"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Network", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten400ResponseCodeFromString("Network") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten400ResponseCode("Network"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Unauthenticated", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten400ResponseCodeFromString("Unauthenticated") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten400ResponseCode("Unauthenticated"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Forbidden", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten400ResponseCodeFromString("Forbidden") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten400ResponseCode("Forbidden"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_NotFound", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten400ResponseCodeFromString("NotFound") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten400ResponseCode("NotFound"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_WireFormat", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten400ResponseCodeFromString("WireFormat") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten400ResponseCode("WireFormat"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_RuntimeUnavailable", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten400ResponseCodeFromString("RuntimeUnavailable") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten400ResponseCode("RuntimeUnavailable"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_InvalidReference", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten400ResponseCodeFromString("InvalidReference") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten400ResponseCode("InvalidReference"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_WeakAnnotationSessionConflict", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten400ResponseCodeFromString("WeakAnnotationSessionConflict") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten400ResponseCode("WeakAnnotationSessionConflict"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_LayerVersionConflict", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten400ResponseCodeFromString("LayerVersionConflict") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten400ResponseCode("LayerVersionConflict"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_NotImplemented", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten400ResponseCodeFromString("NotImplemented") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten400ResponseCode("NotImplemented"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_MalformedPdf", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten400ResponseCodeFromString("MalformedPdf") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten400ResponseCode("MalformedPdf"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Invalid", func(t *testing.T) { + _, err := NewDocAnnotationsFlatten400ResponseCodeFromString("invalid_value_that_does_not_exist") + assert.Error(t, err) + }) + + t.Run("Ptr", func(t *testing.T) { + val, err := NewDocAnnotationsFlatten400ResponseCodeFromString("Unknown") + assert.NoError(t, err) + ptr := val.Ptr() + assert.NotNil(t, ptr) + assert.Equal(t, val, *ptr) + }) +} + +func TestEnumDocAnnotationsFlatten400ResponseName(t *testing.T) { + t.Run("NewFromString_EngineError", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten400ResponseNameFromString("EngineError") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten400ResponseName("EngineError"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Invalid", func(t *testing.T) { + _, err := NewDocAnnotationsFlatten400ResponseNameFromString("invalid_value_that_does_not_exist") + assert.Error(t, err) + }) + + t.Run("Ptr", func(t *testing.T) { + val, err := NewDocAnnotationsFlatten400ResponseNameFromString("EngineError") + assert.NoError(t, err) + ptr := val.Ptr() + assert.NotNil(t, ptr) + assert.Equal(t, val, *ptr) + }) +} + +func TestEnumDocAnnotationsFlatten404ResponseCode(t *testing.T) { + t.Run("NewFromString_Unknown", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten404ResponseCodeFromString("Unknown") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten404ResponseCode("Unknown"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_InvalidArg", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten404ResponseCodeFromString("InvalidArg") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten404ResponseCode("InvalidArg"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocNotOpen", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten404ResponseCodeFromString("DocNotOpen") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten404ResponseCode("DocNotOpen"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocOpenFailed", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten404ResponseCodeFromString("DocOpenFailed") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten404ResponseCode("DocOpenFailed"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocPasswordRequired", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten404ResponseCodeFromString("DocPasswordRequired") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten404ResponseCode("DocPasswordRequired"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocPasswordIncorrect", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten404ResponseCodeFromString("DocPasswordIncorrect") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten404ResponseCode("DocPasswordIncorrect"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_SharePasswordRequired", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten404ResponseCodeFromString("SharePasswordRequired") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten404ResponseCode("SharePasswordRequired"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Aborted", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten404ResponseCodeFromString("Aborted") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten404ResponseCode("Aborted"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Network", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten404ResponseCodeFromString("Network") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten404ResponseCode("Network"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Unauthenticated", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten404ResponseCodeFromString("Unauthenticated") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten404ResponseCode("Unauthenticated"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Forbidden", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten404ResponseCodeFromString("Forbidden") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten404ResponseCode("Forbidden"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_NotFound", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten404ResponseCodeFromString("NotFound") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten404ResponseCode("NotFound"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_WireFormat", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten404ResponseCodeFromString("WireFormat") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten404ResponseCode("WireFormat"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_RuntimeUnavailable", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten404ResponseCodeFromString("RuntimeUnavailable") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten404ResponseCode("RuntimeUnavailable"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_InvalidReference", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten404ResponseCodeFromString("InvalidReference") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten404ResponseCode("InvalidReference"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_WeakAnnotationSessionConflict", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten404ResponseCodeFromString("WeakAnnotationSessionConflict") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten404ResponseCode("WeakAnnotationSessionConflict"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_LayerVersionConflict", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten404ResponseCodeFromString("LayerVersionConflict") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten404ResponseCode("LayerVersionConflict"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_NotImplemented", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten404ResponseCodeFromString("NotImplemented") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten404ResponseCode("NotImplemented"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_MalformedPdf", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten404ResponseCodeFromString("MalformedPdf") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten404ResponseCode("MalformedPdf"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Invalid", func(t *testing.T) { + _, err := NewDocAnnotationsFlatten404ResponseCodeFromString("invalid_value_that_does_not_exist") + assert.Error(t, err) + }) + + t.Run("Ptr", func(t *testing.T) { + val, err := NewDocAnnotationsFlatten404ResponseCodeFromString("Unknown") + assert.NoError(t, err) + ptr := val.Ptr() + assert.NotNil(t, ptr) + assert.Equal(t, val, *ptr) + }) +} + +func TestEnumDocAnnotationsFlatten404ResponseName(t *testing.T) { + t.Run("NewFromString_EngineError", func(t *testing.T) { + t.Parallel() + val, err := NewDocAnnotationsFlatten404ResponseNameFromString("EngineError") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocAnnotationsFlatten404ResponseName("EngineError"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Invalid", func(t *testing.T) { + _, err := NewDocAnnotationsFlatten404ResponseNameFromString("invalid_value_that_does_not_exist") + assert.Error(t, err) + }) + + t.Run("Ptr", func(t *testing.T) { + val, err := NewDocAnnotationsFlatten404ResponseNameFromString("EngineError") + assert.NoError(t, err) + ptr := val.Ptr() + assert.NotNil(t, ptr) + assert.Equal(t, val, *ptr) + }) +} + func TestEnumDocAnnotationsList200ResponseAnnotationsItemCaretBlendMode(t *testing.T) { t.Run("NewFromString_normal", func(t *testing.T) { t.Parallel() @@ -325190,6 +333801,346 @@ func TestEnumDocPagesMove404ResponseName(t *testing.T) { }) } +func TestEnumDocPagesRemoveName400ResponseCode(t *testing.T) { + t.Run("NewFromString_Unknown", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName400ResponseCodeFromString("Unknown") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName400ResponseCode("Unknown"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_InvalidArg", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName400ResponseCodeFromString("InvalidArg") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName400ResponseCode("InvalidArg"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocNotOpen", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName400ResponseCodeFromString("DocNotOpen") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName400ResponseCode("DocNotOpen"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocOpenFailed", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName400ResponseCodeFromString("DocOpenFailed") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName400ResponseCode("DocOpenFailed"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocPasswordRequired", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName400ResponseCodeFromString("DocPasswordRequired") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName400ResponseCode("DocPasswordRequired"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocPasswordIncorrect", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName400ResponseCodeFromString("DocPasswordIncorrect") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName400ResponseCode("DocPasswordIncorrect"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_SharePasswordRequired", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName400ResponseCodeFromString("SharePasswordRequired") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName400ResponseCode("SharePasswordRequired"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Aborted", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName400ResponseCodeFromString("Aborted") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName400ResponseCode("Aborted"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Network", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName400ResponseCodeFromString("Network") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName400ResponseCode("Network"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Unauthenticated", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName400ResponseCodeFromString("Unauthenticated") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName400ResponseCode("Unauthenticated"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Forbidden", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName400ResponseCodeFromString("Forbidden") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName400ResponseCode("Forbidden"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_NotFound", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName400ResponseCodeFromString("NotFound") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName400ResponseCode("NotFound"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_WireFormat", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName400ResponseCodeFromString("WireFormat") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName400ResponseCode("WireFormat"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_RuntimeUnavailable", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName400ResponseCodeFromString("RuntimeUnavailable") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName400ResponseCode("RuntimeUnavailable"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_InvalidReference", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName400ResponseCodeFromString("InvalidReference") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName400ResponseCode("InvalidReference"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_WeakAnnotationSessionConflict", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName400ResponseCodeFromString("WeakAnnotationSessionConflict") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName400ResponseCode("WeakAnnotationSessionConflict"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_LayerVersionConflict", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName400ResponseCodeFromString("LayerVersionConflict") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName400ResponseCode("LayerVersionConflict"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_NotImplemented", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName400ResponseCodeFromString("NotImplemented") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName400ResponseCode("NotImplemented"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_MalformedPdf", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName400ResponseCodeFromString("MalformedPdf") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName400ResponseCode("MalformedPdf"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Invalid", func(t *testing.T) { + _, err := NewDocPagesRemoveName400ResponseCodeFromString("invalid_value_that_does_not_exist") + assert.Error(t, err) + }) + + t.Run("Ptr", func(t *testing.T) { + val, err := NewDocPagesRemoveName400ResponseCodeFromString("Unknown") + assert.NoError(t, err) + ptr := val.Ptr() + assert.NotNil(t, ptr) + assert.Equal(t, val, *ptr) + }) +} + +func TestEnumDocPagesRemoveName400ResponseName(t *testing.T) { + t.Run("NewFromString_EngineError", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName400ResponseNameFromString("EngineError") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName400ResponseName("EngineError"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Invalid", func(t *testing.T) { + _, err := NewDocPagesRemoveName400ResponseNameFromString("invalid_value_that_does_not_exist") + assert.Error(t, err) + }) + + t.Run("Ptr", func(t *testing.T) { + val, err := NewDocPagesRemoveName400ResponseNameFromString("EngineError") + assert.NoError(t, err) + ptr := val.Ptr() + assert.NotNil(t, ptr) + assert.Equal(t, val, *ptr) + }) +} + +func TestEnumDocPagesRemoveName404ResponseCode(t *testing.T) { + t.Run("NewFromString_Unknown", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName404ResponseCodeFromString("Unknown") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName404ResponseCode("Unknown"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_InvalidArg", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName404ResponseCodeFromString("InvalidArg") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName404ResponseCode("InvalidArg"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocNotOpen", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName404ResponseCodeFromString("DocNotOpen") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName404ResponseCode("DocNotOpen"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocOpenFailed", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName404ResponseCodeFromString("DocOpenFailed") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName404ResponseCode("DocOpenFailed"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocPasswordRequired", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName404ResponseCodeFromString("DocPasswordRequired") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName404ResponseCode("DocPasswordRequired"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocPasswordIncorrect", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName404ResponseCodeFromString("DocPasswordIncorrect") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName404ResponseCode("DocPasswordIncorrect"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_SharePasswordRequired", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName404ResponseCodeFromString("SharePasswordRequired") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName404ResponseCode("SharePasswordRequired"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Aborted", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName404ResponseCodeFromString("Aborted") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName404ResponseCode("Aborted"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Network", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName404ResponseCodeFromString("Network") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName404ResponseCode("Network"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Unauthenticated", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName404ResponseCodeFromString("Unauthenticated") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName404ResponseCode("Unauthenticated"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Forbidden", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName404ResponseCodeFromString("Forbidden") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName404ResponseCode("Forbidden"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_NotFound", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName404ResponseCodeFromString("NotFound") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName404ResponseCode("NotFound"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_WireFormat", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName404ResponseCodeFromString("WireFormat") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName404ResponseCode("WireFormat"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_RuntimeUnavailable", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName404ResponseCodeFromString("RuntimeUnavailable") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName404ResponseCode("RuntimeUnavailable"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_InvalidReference", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName404ResponseCodeFromString("InvalidReference") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName404ResponseCode("InvalidReference"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_WeakAnnotationSessionConflict", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName404ResponseCodeFromString("WeakAnnotationSessionConflict") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName404ResponseCode("WeakAnnotationSessionConflict"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_LayerVersionConflict", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName404ResponseCodeFromString("LayerVersionConflict") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName404ResponseCode("LayerVersionConflict"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_NotImplemented", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName404ResponseCodeFromString("NotImplemented") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName404ResponseCode("NotImplemented"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_MalformedPdf", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName404ResponseCodeFromString("MalformedPdf") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName404ResponseCode("MalformedPdf"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Invalid", func(t *testing.T) { + _, err := NewDocPagesRemoveName404ResponseCodeFromString("invalid_value_that_does_not_exist") + assert.Error(t, err) + }) + + t.Run("Ptr", func(t *testing.T) { + val, err := NewDocPagesRemoveName404ResponseCodeFromString("Unknown") + assert.NoError(t, err) + ptr := val.Ptr() + assert.NotNil(t, ptr) + assert.Equal(t, val, *ptr) + }) +} + +func TestEnumDocPagesRemoveName404ResponseName(t *testing.T) { + t.Run("NewFromString_EngineError", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesRemoveName404ResponseNameFromString("EngineError") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesRemoveName404ResponseName("EngineError"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Invalid", func(t *testing.T) { + _, err := NewDocPagesRemoveName404ResponseNameFromString("invalid_value_that_does_not_exist") + assert.Error(t, err) + }) + + t.Run("Ptr", func(t *testing.T) { + val, err := NewDocPagesRemoveName404ResponseNameFromString("EngineError") + assert.NoError(t, err) + ptr := val.Ptr() + assert.NotNil(t, ptr) + assert.Equal(t, val, *ptr) + }) +} + func TestEnumDocPagesRotate400ResponseCode(t *testing.T) { t.Run("NewFromString_Unknown", func(t *testing.T) { t.Parallel() @@ -325530,6 +334481,346 @@ func TestEnumDocPagesRotate404ResponseName(t *testing.T) { }) } +func TestEnumDocPagesSetName400ResponseCode(t *testing.T) { + t.Run("NewFromString_Unknown", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName400ResponseCodeFromString("Unknown") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName400ResponseCode("Unknown"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_InvalidArg", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName400ResponseCodeFromString("InvalidArg") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName400ResponseCode("InvalidArg"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocNotOpen", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName400ResponseCodeFromString("DocNotOpen") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName400ResponseCode("DocNotOpen"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocOpenFailed", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName400ResponseCodeFromString("DocOpenFailed") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName400ResponseCode("DocOpenFailed"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocPasswordRequired", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName400ResponseCodeFromString("DocPasswordRequired") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName400ResponseCode("DocPasswordRequired"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocPasswordIncorrect", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName400ResponseCodeFromString("DocPasswordIncorrect") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName400ResponseCode("DocPasswordIncorrect"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_SharePasswordRequired", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName400ResponseCodeFromString("SharePasswordRequired") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName400ResponseCode("SharePasswordRequired"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Aborted", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName400ResponseCodeFromString("Aborted") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName400ResponseCode("Aborted"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Network", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName400ResponseCodeFromString("Network") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName400ResponseCode("Network"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Unauthenticated", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName400ResponseCodeFromString("Unauthenticated") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName400ResponseCode("Unauthenticated"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Forbidden", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName400ResponseCodeFromString("Forbidden") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName400ResponseCode("Forbidden"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_NotFound", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName400ResponseCodeFromString("NotFound") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName400ResponseCode("NotFound"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_WireFormat", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName400ResponseCodeFromString("WireFormat") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName400ResponseCode("WireFormat"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_RuntimeUnavailable", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName400ResponseCodeFromString("RuntimeUnavailable") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName400ResponseCode("RuntimeUnavailable"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_InvalidReference", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName400ResponseCodeFromString("InvalidReference") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName400ResponseCode("InvalidReference"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_WeakAnnotationSessionConflict", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName400ResponseCodeFromString("WeakAnnotationSessionConflict") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName400ResponseCode("WeakAnnotationSessionConflict"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_LayerVersionConflict", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName400ResponseCodeFromString("LayerVersionConflict") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName400ResponseCode("LayerVersionConflict"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_NotImplemented", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName400ResponseCodeFromString("NotImplemented") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName400ResponseCode("NotImplemented"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_MalformedPdf", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName400ResponseCodeFromString("MalformedPdf") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName400ResponseCode("MalformedPdf"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Invalid", func(t *testing.T) { + _, err := NewDocPagesSetName400ResponseCodeFromString("invalid_value_that_does_not_exist") + assert.Error(t, err) + }) + + t.Run("Ptr", func(t *testing.T) { + val, err := NewDocPagesSetName400ResponseCodeFromString("Unknown") + assert.NoError(t, err) + ptr := val.Ptr() + assert.NotNil(t, ptr) + assert.Equal(t, val, *ptr) + }) +} + +func TestEnumDocPagesSetName400ResponseName(t *testing.T) { + t.Run("NewFromString_EngineError", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName400ResponseNameFromString("EngineError") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName400ResponseName("EngineError"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Invalid", func(t *testing.T) { + _, err := NewDocPagesSetName400ResponseNameFromString("invalid_value_that_does_not_exist") + assert.Error(t, err) + }) + + t.Run("Ptr", func(t *testing.T) { + val, err := NewDocPagesSetName400ResponseNameFromString("EngineError") + assert.NoError(t, err) + ptr := val.Ptr() + assert.NotNil(t, ptr) + assert.Equal(t, val, *ptr) + }) +} + +func TestEnumDocPagesSetName404ResponseCode(t *testing.T) { + t.Run("NewFromString_Unknown", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName404ResponseCodeFromString("Unknown") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName404ResponseCode("Unknown"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_InvalidArg", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName404ResponseCodeFromString("InvalidArg") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName404ResponseCode("InvalidArg"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocNotOpen", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName404ResponseCodeFromString("DocNotOpen") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName404ResponseCode("DocNotOpen"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocOpenFailed", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName404ResponseCodeFromString("DocOpenFailed") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName404ResponseCode("DocOpenFailed"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocPasswordRequired", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName404ResponseCodeFromString("DocPasswordRequired") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName404ResponseCode("DocPasswordRequired"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_DocPasswordIncorrect", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName404ResponseCodeFromString("DocPasswordIncorrect") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName404ResponseCode("DocPasswordIncorrect"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_SharePasswordRequired", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName404ResponseCodeFromString("SharePasswordRequired") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName404ResponseCode("SharePasswordRequired"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Aborted", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName404ResponseCodeFromString("Aborted") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName404ResponseCode("Aborted"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Network", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName404ResponseCodeFromString("Network") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName404ResponseCode("Network"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Unauthenticated", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName404ResponseCodeFromString("Unauthenticated") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName404ResponseCode("Unauthenticated"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Forbidden", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName404ResponseCodeFromString("Forbidden") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName404ResponseCode("Forbidden"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_NotFound", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName404ResponseCodeFromString("NotFound") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName404ResponseCode("NotFound"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_WireFormat", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName404ResponseCodeFromString("WireFormat") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName404ResponseCode("WireFormat"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_RuntimeUnavailable", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName404ResponseCodeFromString("RuntimeUnavailable") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName404ResponseCode("RuntimeUnavailable"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_InvalidReference", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName404ResponseCodeFromString("InvalidReference") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName404ResponseCode("InvalidReference"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_WeakAnnotationSessionConflict", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName404ResponseCodeFromString("WeakAnnotationSessionConflict") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName404ResponseCode("WeakAnnotationSessionConflict"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_LayerVersionConflict", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName404ResponseCodeFromString("LayerVersionConflict") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName404ResponseCode("LayerVersionConflict"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_NotImplemented", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName404ResponseCodeFromString("NotImplemented") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName404ResponseCode("NotImplemented"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_MalformedPdf", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName404ResponseCodeFromString("MalformedPdf") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName404ResponseCode("MalformedPdf"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Invalid", func(t *testing.T) { + _, err := NewDocPagesSetName404ResponseCodeFromString("invalid_value_that_does_not_exist") + assert.Error(t, err) + }) + + t.Run("Ptr", func(t *testing.T) { + val, err := NewDocPagesSetName404ResponseCodeFromString("Unknown") + assert.NoError(t, err) + ptr := val.Ptr() + assert.NotNil(t, ptr) + assert.Equal(t, val, *ptr) + }) +} + +func TestEnumDocPagesSetName404ResponseName(t *testing.T) { + t.Run("NewFromString_EngineError", func(t *testing.T) { + t.Parallel() + val, err := NewDocPagesSetName404ResponseNameFromString("EngineError") + assert.NoError(t, err, "valid enum value should not return error") + assert.Equal(t, DocPagesSetName404ResponseName("EngineError"), val, "enum value should match expected wire value") + }) + + t.Run("NewFromString_Invalid", func(t *testing.T) { + _, err := NewDocPagesSetName404ResponseNameFromString("invalid_value_that_does_not_exist") + assert.Error(t, err) + }) + + t.Run("Ptr", func(t *testing.T) { + val, err := NewDocPagesSetName404ResponseNameFromString("EngineError") + assert.NoError(t, err) + ptr := val.Ptr() + assert.NotNil(t, ptr) + assert.Equal(t, val, *ptr) + }) +} + func TestEnumDocRedactionsApply400ResponseCode(t *testing.T) { t.Run("NewFromString_Unknown", func(t *testing.T) { t.Parallel() @@ -327146,6 +336437,305 @@ func TestExtraPropertiesDocAnnotationsDelete404Response(t *testing.T) { }) } +func TestExtraPropertiesDocAnnotationsExportAppearance400Response(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsExportAppearance400Response{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsExportAppearance400Response + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocAnnotationsExportAppearance404Response(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsExportAppearance404Response{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsExportAppearance404Response + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocAnnotationsFlatten200Response(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsFlatten200Response{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200Response + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocAnnotationsFlatten200ResponseMeta(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsFlatten200ResponseMeta{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMeta + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocAnnotationsFlatten200ResponseMetaAffectedPagesItem(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItem{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaAffectedPagesItem + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemRevision + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocAnnotationsFlatten200ResponseMetaCacheDelta(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsFlatten200ResponseMetaCacheDelta{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaCacheDelta + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItem + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten200ResponseMetaCacheDeltaPagesItemCache + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocAnnotationsFlatten400Response(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsFlatten400Response{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten400Response + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocAnnotationsFlatten404Response(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocAnnotationsFlatten404Response{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocAnnotationsFlatten404Response + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + func TestExtraPropertiesDocAnnotationsList200Response(t *testing.T) { t.Run("GetExtraProperties", func(t *testing.T) { t.Parallel() @@ -345592,6 +355182,259 @@ func TestExtraPropertiesDocPagesMove404Response(t *testing.T) { }) } +func TestExtraPropertiesDocPagesRemoveName200Response(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocPagesRemoveName200Response{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesRemoveName200Response + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocPagesRemoveName200ResponseMeta(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocPagesRemoveName200ResponseMeta{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesRemoveName200ResponseMeta + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocPagesRemoveName200ResponseMetaAffectedPagesItem(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItem{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesRemoveName200ResponseMetaAffectedPagesItem + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocPagesRemoveName200ResponseMetaAffectedPagesItemRevision(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesRemoveName200ResponseMetaAffectedPagesItemRevision + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesRemoveName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocPagesRemoveName200ResponseMetaCacheDelta(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocPagesRemoveName200ResponseMetaCacheDelta{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesRemoveName200ResponseMetaCacheDelta + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocPagesRemoveName200ResponseMetaCacheDeltaPagesItem(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItem + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesRemoveName200ResponseMetaCacheDeltaPagesItemCache + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocPagesRemoveName400Response(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocPagesRemoveName400Response{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesRemoveName400Response + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocPagesRemoveName404Response(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocPagesRemoveName404Response{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesRemoveName404Response + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + func TestExtraPropertiesDocPagesRotate200Response(t *testing.T) { t.Run("GetExtraProperties", func(t *testing.T) { t.Parallel() @@ -345845,6 +355688,259 @@ func TestExtraPropertiesDocPagesRotate404Response(t *testing.T) { }) } +func TestExtraPropertiesDocPagesSetName200Response(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocPagesSetName200Response{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesSetName200Response + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocPagesSetName200ResponseMeta(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocPagesSetName200ResponseMeta{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesSetName200ResponseMeta + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocPagesSetName200ResponseMetaAffectedPagesItem(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocPagesSetName200ResponseMetaAffectedPagesItem{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesSetName200ResponseMetaAffectedPagesItem + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocPagesSetName200ResponseMetaAffectedPagesItemRevision(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemRevision{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesSetName200ResponseMetaAffectedPagesItemRevision + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateKnown + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesSetName200ResponseMetaAffectedPagesItemWeakAnnotationStateUnknown + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocPagesSetName200ResponseMetaCacheDelta(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocPagesSetName200ResponseMetaCacheDelta{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesSetName200ResponseMetaCacheDelta + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocPagesSetName200ResponseMetaCacheDeltaPagesItem(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocPagesSetName200ResponseMetaCacheDeltaPagesItem{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesSetName200ResponseMetaCacheDeltaPagesItem + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocPagesSetName200ResponseMetaCacheDeltaPagesItemCache(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesSetName200ResponseMetaCacheDeltaPagesItemCache + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocPagesSetName400Response(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocPagesSetName400Response{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesSetName400Response + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + +func TestExtraPropertiesDocPagesSetName404Response(t *testing.T) { + t.Run("GetExtraProperties", func(t *testing.T) { + t.Parallel() + obj := &DocPagesSetName404Response{} + // Should not panic when calling GetExtraProperties() + defer func() { + if r := recover(); r != nil { + t.Errorf("GetExtraProperties() panicked: %v", r) + } + }() + extraProps := obj.GetExtraProperties() + // Result can be nil or an empty/non-empty map + _ = extraProps + }) + + t.Run("GetExtraProperties_NilReceiver", func(t *testing.T) { + t.Parallel() + var obj *DocPagesSetName404Response + extraProps := obj.GetExtraProperties() + assert.Nil(t, extraProps, "nil receiver should return nil without panicking") + }) +} + func TestExtraPropertiesDocRedactionsApply200Response(t *testing.T) { t.Run("GetExtraProperties", func(t *testing.T) { t.Parallel() diff --git a/wiremock/wiremock-mappings.json b/wiremock/wiremock-mappings.json index 94d0275..926b0f6 100644 --- a/wiremock/wiremock-mappings.json +++ b/wiremock/wiremock-mappings.json @@ -1318,6 +1318,90 @@ } } }, + { + "id": "910be54b-8165-4cdd-9be4-f73384638138", + "name": "The chosen annotations' appearances as one single-page PDF sized to their union rect — vector, positions preserved. A read; the source is untouched. - default", + "request": { + "urlPathTemplate": "/v1/docs/{docId}/layers/{layerName}/annotations/pages/{pon}/items/appearance", + "method": "POST", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "docId": { + "equalTo": "docId" + }, + "layerName": { + "equalTo": "layerName" + }, + "pon": { + "equalTo": "1" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"key\": \"value\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "910be54b-8165-4cdd-9be4-f73384638138", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "ef91122c-5659-445f-a290-237f7d147003", + "name": "Flatten a chosen set of one page's annotations into its content — pages.flatten for a selection. Painted annotations are removed; ineligible ones report skipped. - default", + "request": { + "urlPathTemplate": "/v1/docs/{docId}/layers/{layerName}/annotations/pages/{pon}/items/flatten", + "method": "POST", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "docId": { + "equalTo": "docId" + }, + "layerName": { + "equalTo": "layerName" + }, + "pon": { + "equalTo": "1" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"meta\": {\n \"affectedPages\": [\n {\n \"pageObjectNumber\": 1,\n \"revision\": {\n \"docSessionId\": \"docSessionId\",\n \"pageObjectNumber\": 1,\n \"generation\": 1\n },\n \"weakAnnotationState\": {\n \"kind\": \"unknown\"\n }\n }\n ],\n \"cacheDelta\": {\n \"previousDocVersion\": 1,\n \"docVersion\": 1,\n \"annotationsVersion\": 1,\n \"pages\": [\n {\n \"pageObjectNumber\": 1,\n \"cache\": {\n \"contentVersion\": 1,\n \"annotationVersion\": 1\n }\n }\n ]\n }\n }\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "ef91122c-5659-445f-a290-237f7d147003", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, { "id": "df9c7ba7-23af-4d1c-89c8-d54c27050629", "name": "Reconciled form snapshot: fields, widgets, values. - default", @@ -1792,6 +1876,84 @@ } } }, + { + "id": "6c9427c8-e293-4796-bfeb-fed69651cc5c", + "name": "Register or rename a /Names /Pages entry (a named page). A page-structure mutation: the layout version advances. - default", + "request": { + "urlPathTemplate": "/v1/docs/{docId}/layers/{layerName}/pages/names", + "method": "POST", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "docId": { + "equalTo": "docId" + }, + "layerName": { + "equalTo": "layerName" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"meta\": {\n \"affectedPages\": [\n {\n \"pageObjectNumber\": 1,\n \"revision\": {\n \"docSessionId\": \"docSessionId\",\n \"pageObjectNumber\": 1,\n \"generation\": 1\n },\n \"weakAnnotationState\": {\n \"kind\": \"unknown\"\n }\n }\n ],\n \"cacheDelta\": {\n \"previousDocVersion\": 1,\n \"docVersion\": 1,\n \"annotationsVersion\": 1,\n \"pages\": [\n {\n \"pageObjectNumber\": 1,\n \"cache\": {\n \"contentVersion\": 1,\n \"annotationVersion\": 1\n }\n }\n ]\n }\n }\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "6c9427c8-e293-4796-bfeb-fed69651cc5c", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "7f01b933-9bc4-4489-975a-89a257ffb98b", + "name": "Remove a /Names /Pages entry; the page itself stays. - default", + "request": { + "urlPathTemplate": "/v1/docs/{docId}/layers/{layerName}/pages/names/delete", + "method": "POST", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "docId": { + "equalTo": "docId" + }, + "layerName": { + "equalTo": "layerName" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"meta\": {\n \"affectedPages\": [\n {\n \"pageObjectNumber\": 1,\n \"revision\": {\n \"docSessionId\": \"docSessionId\",\n \"pageObjectNumber\": 1,\n \"generation\": 1\n },\n \"weakAnnotationState\": {\n \"kind\": \"unknown\"\n }\n }\n ],\n \"cacheDelta\": {\n \"previousDocVersion\": 1,\n \"docVersion\": 1,\n \"annotationsVersion\": 1,\n \"pages\": [\n {\n \"pageObjectNumber\": 1,\n \"cache\": {\n \"contentVersion\": 1,\n \"annotationVersion\": 1\n }\n }\n ]\n }\n }\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "7f01b933-9bc4-4489-975a-89a257ffb98b", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, { "id": "158b288c-49c5-455f-a2d8-c5ae10d66635", "name": "Set absolute rotation on pages. - default", @@ -1872,6 +2034,6 @@ } ], "meta": { - "total": 49 + "total": 53 } } \ No newline at end of file